// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: message.proto

package com.ywt.gapi.message;

/**
 * <pre>
 * 发送短信相关功能埋点数据
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.message.SmsTrackingData}
 */
public final class SmsTrackingData extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.message.SmsTrackingData)
    SmsTrackingDataOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SmsTrackingData.newBuilder() to construct.
  private SmsTrackingData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SmsTrackingData() {
    serviceName_ = "";
    ip_ = "";
    methodName_ = "";
    authData_ = "";
    extData_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new SmsTrackingData();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SmsTrackingData(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 8: {

            terminal_ = input.readInt32();
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            serviceName_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            ip_ = s;
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            methodName_ = s;
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            authData_ = s;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            extData_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.message.MessageProto.internal_static_com_ywt_gapi_message_SmsTrackingData_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.message.MessageProto.internal_static_com_ywt_gapi_message_SmsTrackingData_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.message.SmsTrackingData.class, com.ywt.gapi.message.SmsTrackingData.Builder.class);
  }

  public static final int TERMINAL_FIELD_NUMBER = 1;
  private int terminal_;
  /**
   * <pre>
   * 调用终端
   * </pre>
   *
   * <code>int32 terminal = 1;</code>
   * @return The terminal.
   */
  @java.lang.Override
  public int getTerminal() {
    return terminal_;
  }

  public static final int SERVICENAME_FIELD_NUMBER = 2;
  private volatile java.lang.Object serviceName_;
  /**
   * <pre>
   * 调用服务名称
   * </pre>
   *
   * <code>string serviceName = 2;</code>
   * @return The serviceName.
   */
  @java.lang.Override
  public java.lang.String getServiceName() {
    java.lang.Object ref = serviceName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      serviceName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 调用服务名称
   * </pre>
   *
   * <code>string serviceName = 2;</code>
   * @return The bytes for serviceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getServiceNameBytes() {
    java.lang.Object ref = serviceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      serviceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int IP_FIELD_NUMBER = 3;
  private volatile java.lang.Object ip_;
  /**
   * <pre>
   * IP
   * </pre>
   *
   * <code>string ip = 3;</code>
   * @return The ip.
   */
  @java.lang.Override
  public java.lang.String getIp() {
    java.lang.Object ref = ip_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      ip_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * IP
   * </pre>
   *
   * <code>string ip = 3;</code>
   * @return The bytes for ip.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getIpBytes() {
    java.lang.Object ref = ip_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      ip_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int METHODNAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object methodName_;
  /**
   * <pre>
   * 方法名
   * </pre>
   *
   * <code>string methodName = 4;</code>
   * @return The methodName.
   */
  @java.lang.Override
  public java.lang.String getMethodName() {
    java.lang.Object ref = methodName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      methodName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 方法名
   * </pre>
   *
   * <code>string methodName = 4;</code>
   * @return The bytes for methodName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMethodNameBytes() {
    java.lang.Object ref = methodName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      methodName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AUTHDATA_FIELD_NUMBER = 5;
  private volatile java.lang.Object authData_;
  /**
   * <pre>
   * 网关鉴权信息
   * </pre>
   *
   * <code>string authData = 5;</code>
   * @return The authData.
   */
  @java.lang.Override
  public java.lang.String getAuthData() {
    java.lang.Object ref = authData_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      authData_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 网关鉴权信息
   * </pre>
   *
   * <code>string authData = 5;</code>
   * @return The bytes for authData.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAuthDataBytes() {
    java.lang.Object ref = authData_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      authData_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXTDATA_FIELD_NUMBER = 6;
  private volatile java.lang.Object extData_;
  /**
   * <pre>
   * 其他额外信息
   * </pre>
   *
   * <code>string extData = 6;</code>
   * @return The extData.
   */
  @java.lang.Override
  public java.lang.String getExtData() {
    java.lang.Object ref = extData_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      extData_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 其他额外信息
   * </pre>
   *
   * <code>string extData = 6;</code>
   * @return The bytes for extData.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getExtDataBytes() {
    java.lang.Object ref = extData_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      extData_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (terminal_ != 0) {
      output.writeInt32(1, terminal_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ip_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, methodName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authData_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, authData_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extData_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, extData_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (terminal_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, terminal_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ip_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, methodName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authData_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, authData_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(extData_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, extData_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.message.SmsTrackingData)) {
      return super.equals(obj);
    }
    com.ywt.gapi.message.SmsTrackingData other = (com.ywt.gapi.message.SmsTrackingData) obj;

    if (getTerminal()
        != other.getTerminal()) return false;
    if (!getServiceName()
        .equals(other.getServiceName())) return false;
    if (!getIp()
        .equals(other.getIp())) return false;
    if (!getMethodName()
        .equals(other.getMethodName())) return false;
    if (!getAuthData()
        .equals(other.getAuthData())) return false;
    if (!getExtData()
        .equals(other.getExtData())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + TERMINAL_FIELD_NUMBER;
    hash = (53 * hash) + getTerminal();
    hash = (37 * hash) + SERVICENAME_FIELD_NUMBER;
    hash = (53 * hash) + getServiceName().hashCode();
    hash = (37 * hash) + IP_FIELD_NUMBER;
    hash = (53 * hash) + getIp().hashCode();
    hash = (37 * hash) + METHODNAME_FIELD_NUMBER;
    hash = (53 * hash) + getMethodName().hashCode();
    hash = (37 * hash) + AUTHDATA_FIELD_NUMBER;
    hash = (53 * hash) + getAuthData().hashCode();
    hash = (37 * hash) + EXTDATA_FIELD_NUMBER;
    hash = (53 * hash) + getExtData().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.SmsTrackingData parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.message.SmsTrackingData prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * 发送短信相关功能埋点数据
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.message.SmsTrackingData}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.message.SmsTrackingData)
      com.ywt.gapi.message.SmsTrackingDataOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.message.MessageProto.internal_static_com_ywt_gapi_message_SmsTrackingData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.message.MessageProto.internal_static_com_ywt_gapi_message_SmsTrackingData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.message.SmsTrackingData.class, com.ywt.gapi.message.SmsTrackingData.Builder.class);
    }

    // Construct using com.ywt.gapi.message.SmsTrackingData.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      terminal_ = 0;

      serviceName_ = "";

      ip_ = "";

      methodName_ = "";

      authData_ = "";

      extData_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.message.MessageProto.internal_static_com_ywt_gapi_message_SmsTrackingData_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.message.SmsTrackingData getDefaultInstanceForType() {
      return com.ywt.gapi.message.SmsTrackingData.getDefaultInstance();
    }

    @java.lang.Override
    public com.ywt.gapi.message.SmsTrackingData build() {
      com.ywt.gapi.message.SmsTrackingData result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ywt.gapi.message.SmsTrackingData buildPartial() {
      com.ywt.gapi.message.SmsTrackingData result = new com.ywt.gapi.message.SmsTrackingData(this);
      result.terminal_ = terminal_;
      result.serviceName_ = serviceName_;
      result.ip_ = ip_;
      result.methodName_ = methodName_;
      result.authData_ = authData_;
      result.extData_ = extData_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.ywt.gapi.message.SmsTrackingData) {
        return mergeFrom((com.ywt.gapi.message.SmsTrackingData)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.message.SmsTrackingData other) {
      if (other == com.ywt.gapi.message.SmsTrackingData.getDefaultInstance()) return this;
      if (other.getTerminal() != 0) {
        setTerminal(other.getTerminal());
      }
      if (!other.getServiceName().isEmpty()) {
        serviceName_ = other.serviceName_;
        onChanged();
      }
      if (!other.getIp().isEmpty()) {
        ip_ = other.ip_;
        onChanged();
      }
      if (!other.getMethodName().isEmpty()) {
        methodName_ = other.methodName_;
        onChanged();
      }
      if (!other.getAuthData().isEmpty()) {
        authData_ = other.authData_;
        onChanged();
      }
      if (!other.getExtData().isEmpty()) {
        extData_ = other.extData_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.ywt.gapi.message.SmsTrackingData parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.message.SmsTrackingData) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int terminal_ ;
    /**
     * <pre>
     * 调用终端
     * </pre>
     *
     * <code>int32 terminal = 1;</code>
     * @return The terminal.
     */
    @java.lang.Override
    public int getTerminal() {
      return terminal_;
    }
    /**
     * <pre>
     * 调用终端
     * </pre>
     *
     * <code>int32 terminal = 1;</code>
     * @param value The terminal to set.
     * @return This builder for chaining.
     */
    public Builder setTerminal(int value) {
      
      terminal_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 调用终端
     * </pre>
     *
     * <code>int32 terminal = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearTerminal() {
      
      terminal_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object serviceName_ = "";
    /**
     * <pre>
     * 调用服务名称
     * </pre>
     *
     * <code>string serviceName = 2;</code>
     * @return The serviceName.
     */
    public java.lang.String getServiceName() {
      java.lang.Object ref = serviceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serviceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 调用服务名称
     * </pre>
     *
     * <code>string serviceName = 2;</code>
     * @return The bytes for serviceName.
     */
    public com.google.protobuf.ByteString
        getServiceNameBytes() {
      java.lang.Object ref = serviceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        serviceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 调用服务名称
     * </pre>
     *
     * <code>string serviceName = 2;</code>
     * @param value The serviceName to set.
     * @return This builder for chaining.
     */
    public Builder setServiceName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      serviceName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 调用服务名称
     * </pre>
     *
     * <code>string serviceName = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearServiceName() {
      
      serviceName_ = getDefaultInstance().getServiceName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 调用服务名称
     * </pre>
     *
     * <code>string serviceName = 2;</code>
     * @param value The bytes for serviceName to set.
     * @return This builder for chaining.
     */
    public Builder setServiceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      serviceName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object ip_ = "";
    /**
     * <pre>
     * IP
     * </pre>
     *
     * <code>string ip = 3;</code>
     * @return The ip.
     */
    public java.lang.String getIp() {
      java.lang.Object ref = ip_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        ip_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * IP
     * </pre>
     *
     * <code>string ip = 3;</code>
     * @return The bytes for ip.
     */
    public com.google.protobuf.ByteString
        getIpBytes() {
      java.lang.Object ref = ip_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ip_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * IP
     * </pre>
     *
     * <code>string ip = 3;</code>
     * @param value The ip to set.
     * @return This builder for chaining.
     */
    public Builder setIp(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      ip_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IP
     * </pre>
     *
     * <code>string ip = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearIp() {
      
      ip_ = getDefaultInstance().getIp();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * IP
     * </pre>
     *
     * <code>string ip = 3;</code>
     * @param value The bytes for ip to set.
     * @return This builder for chaining.
     */
    public Builder setIpBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      ip_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object methodName_ = "";
    /**
     * <pre>
     * 方法名
     * </pre>
     *
     * <code>string methodName = 4;</code>
     * @return The methodName.
     */
    public java.lang.String getMethodName() {
      java.lang.Object ref = methodName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        methodName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 方法名
     * </pre>
     *
     * <code>string methodName = 4;</code>
     * @return The bytes for methodName.
     */
    public com.google.protobuf.ByteString
        getMethodNameBytes() {
      java.lang.Object ref = methodName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        methodName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 方法名
     * </pre>
     *
     * <code>string methodName = 4;</code>
     * @param value The methodName to set.
     * @return This builder for chaining.
     */
    public Builder setMethodName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      methodName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 方法名
     * </pre>
     *
     * <code>string methodName = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearMethodName() {
      
      methodName_ = getDefaultInstance().getMethodName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 方法名
     * </pre>
     *
     * <code>string methodName = 4;</code>
     * @param value The bytes for methodName to set.
     * @return This builder for chaining.
     */
    public Builder setMethodNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      methodName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object authData_ = "";
    /**
     * <pre>
     * 网关鉴权信息
     * </pre>
     *
     * <code>string authData = 5;</code>
     * @return The authData.
     */
    public java.lang.String getAuthData() {
      java.lang.Object ref = authData_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        authData_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 网关鉴权信息
     * </pre>
     *
     * <code>string authData = 5;</code>
     * @return The bytes for authData.
     */
    public com.google.protobuf.ByteString
        getAuthDataBytes() {
      java.lang.Object ref = authData_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        authData_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 网关鉴权信息
     * </pre>
     *
     * <code>string authData = 5;</code>
     * @param value The authData to set.
     * @return This builder for chaining.
     */
    public Builder setAuthData(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      authData_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网关鉴权信息
     * </pre>
     *
     * <code>string authData = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAuthData() {
      
      authData_ = getDefaultInstance().getAuthData();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 网关鉴权信息
     * </pre>
     *
     * <code>string authData = 5;</code>
     * @param value The bytes for authData to set.
     * @return This builder for chaining.
     */
    public Builder setAuthDataBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      authData_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object extData_ = "";
    /**
     * <pre>
     * 其他额外信息
     * </pre>
     *
     * <code>string extData = 6;</code>
     * @return The extData.
     */
    public java.lang.String getExtData() {
      java.lang.Object ref = extData_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        extData_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 其他额外信息
     * </pre>
     *
     * <code>string extData = 6;</code>
     * @return The bytes for extData.
     */
    public com.google.protobuf.ByteString
        getExtDataBytes() {
      java.lang.Object ref = extData_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        extData_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 其他额外信息
     * </pre>
     *
     * <code>string extData = 6;</code>
     * @param value The extData to set.
     * @return This builder for chaining.
     */
    public Builder setExtData(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      extData_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 其他额外信息
     * </pre>
     *
     * <code>string extData = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearExtData() {
      
      extData_ = getDefaultInstance().getExtData();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 其他额外信息
     * </pre>
     *
     * <code>string extData = 6;</code>
     * @param value The bytes for extData to set.
     * @return This builder for chaining.
     */
    public Builder setExtDataBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      extData_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.message.SmsTrackingData)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.message.SmsTrackingData)
  private static final com.ywt.gapi.message.SmsTrackingData DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ywt.gapi.message.SmsTrackingData();
  }

  public static com.ywt.gapi.message.SmsTrackingData getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<SmsTrackingData>
      PARSER = new com.google.protobuf.AbstractParser<SmsTrackingData>() {
    @java.lang.Override
    public SmsTrackingData parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SmsTrackingData(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser<SmsTrackingData> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<SmsTrackingData> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.ywt.gapi.message.SmsTrackingData getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

