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

package com.ywt.gapi.base.wechat;

/**
 * <pre>
 *发送短信请求
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.base.wechat.SendSmsRequest}
 */
public final class SendSmsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.base.wechat.SendSmsRequest)
    SendSmsRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SendSmsRequest.newBuilder() to construct.
  private SendSmsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SendSmsRequest() {
    phoneNumbers_ = "";
    tplCode_ = "";
    tplParam_ = "";
    outId_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SendSmsRequest(
      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 10: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

            outId_ = 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.base.wechat.WechatProto.internal_static_com_ywt_gapi_base_wechat_SendSmsRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.base.wechat.WechatProto.internal_static_com_ywt_gapi_base_wechat_SendSmsRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.base.wechat.SendSmsRequest.class, com.ywt.gapi.base.wechat.SendSmsRequest.Builder.class);
  }

  public static final int PHONENUMBERS_FIELD_NUMBER = 1;
  private volatile java.lang.Object phoneNumbers_;
  /**
   * <pre>
   *短信接收号码，多个号码以逗号分隔，批量上限为1000个
   * </pre>
   *
   * <code>string phoneNumbers = 1;</code>
   * @return The phoneNumbers.
   */
  @java.lang.Override
  public java.lang.String getPhoneNumbers() {
    java.lang.Object ref = phoneNumbers_;
    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();
      phoneNumbers_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *短信接收号码，多个号码以逗号分隔，批量上限为1000个
   * </pre>
   *
   * <code>string phoneNumbers = 1;</code>
   * @return The bytes for phoneNumbers.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getPhoneNumbersBytes() {
    java.lang.Object ref = phoneNumbers_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      phoneNumbers_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TPLCODE_FIELD_NUMBER = 2;
  private volatile java.lang.Object tplCode_;
  /**
   * <pre>
   *短信模板ID
   * </pre>
   *
   * <code>string tplCode = 2;</code>
   * @return The tplCode.
   */
  @java.lang.Override
  public java.lang.String getTplCode() {
    java.lang.Object ref = tplCode_;
    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();
      tplCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *短信模板ID
   * </pre>
   *
   * <code>string tplCode = 2;</code>
   * @return The bytes for tplCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTplCodeBytes() {
    java.lang.Object ref = tplCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      tplCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TPLPARAM_FIELD_NUMBER = 3;
  private volatile java.lang.Object tplParam_;
  /**
   * <pre>
   *短信模板参数（可选）
   * </pre>
   *
   * <code>string tplParam = 3;</code>
   * @return The tplParam.
   */
  @java.lang.Override
  public java.lang.String getTplParam() {
    java.lang.Object ref = tplParam_;
    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();
      tplParam_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *短信模板参数（可选）
   * </pre>
   *
   * <code>string tplParam = 3;</code>
   * @return The bytes for tplParam.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTplParamBytes() {
    java.lang.Object ref = tplParam_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      tplParam_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OUTID_FIELD_NUMBER = 4;
  private volatile java.lang.Object outId_;
  /**
   * <pre>
   *外部流水扩展字段（可选）
   * </pre>
   *
   * <code>string outId = 4;</code>
   * @return The outId.
   */
  @java.lang.Override
  public java.lang.String getOutId() {
    java.lang.Object ref = outId_;
    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();
      outId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *外部流水扩展字段（可选）
   * </pre>
   *
   * <code>string outId = 4;</code>
   * @return The bytes for outId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOutIdBytes() {
    java.lang.Object ref = outId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      outId_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNumbers_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phoneNumbers_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tplCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tplCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tplParam_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tplParam_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, outId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneNumbers_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phoneNumbers_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tplCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tplCode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tplParam_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tplParam_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outId_);
    }
    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.base.wechat.SendSmsRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.base.wechat.SendSmsRequest other = (com.ywt.gapi.base.wechat.SendSmsRequest) obj;

    if (!getPhoneNumbers()
        .equals(other.getPhoneNumbers())) return false;
    if (!getTplCode()
        .equals(other.getTplCode())) return false;
    if (!getTplParam()
        .equals(other.getTplParam())) return false;
    if (!getOutId()
        .equals(other.getOutId())) 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) + PHONENUMBERS_FIELD_NUMBER;
    hash = (53 * hash) + getPhoneNumbers().hashCode();
    hash = (37 * hash) + TPLCODE_FIELD_NUMBER;
    hash = (53 * hash) + getTplCode().hashCode();
    hash = (37 * hash) + TPLPARAM_FIELD_NUMBER;
    hash = (53 * hash) + getTplParam().hashCode();
    hash = (37 * hash) + OUTID_FIELD_NUMBER;
    hash = (53 * hash) + getOutId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.base.wechat.SendSmsRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest 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.base.wechat.SendSmsRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.base.wechat.SendSmsRequest)
      com.ywt.gapi.base.wechat.SendSmsRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.base.wechat.WechatProto.internal_static_com_ywt_gapi_base_wechat_SendSmsRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.base.wechat.WechatProto.internal_static_com_ywt_gapi_base_wechat_SendSmsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.base.wechat.SendSmsRequest.class, com.ywt.gapi.base.wechat.SendSmsRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.base.wechat.SendSmsRequest.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();
      phoneNumbers_ = "";

      tplCode_ = "";

      tplParam_ = "";

      outId_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.base.wechat.WechatProto.internal_static_com_ywt_gapi_base_wechat_SendSmsRequest_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.base.wechat.SendSmsRequest getDefaultInstanceForType() {
      return com.ywt.gapi.base.wechat.SendSmsRequest.getDefaultInstance();
    }

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

    @java.lang.Override
    public com.ywt.gapi.base.wechat.SendSmsRequest buildPartial() {
      com.ywt.gapi.base.wechat.SendSmsRequest result = new com.ywt.gapi.base.wechat.SendSmsRequest(this);
      result.phoneNumbers_ = phoneNumbers_;
      result.tplCode_ = tplCode_;
      result.tplParam_ = tplParam_;
      result.outId_ = outId_;
      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.base.wechat.SendSmsRequest) {
        return mergeFrom((com.ywt.gapi.base.wechat.SendSmsRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.base.wechat.SendSmsRequest other) {
      if (other == com.ywt.gapi.base.wechat.SendSmsRequest.getDefaultInstance()) return this;
      if (!other.getPhoneNumbers().isEmpty()) {
        phoneNumbers_ = other.phoneNumbers_;
        onChanged();
      }
      if (!other.getTplCode().isEmpty()) {
        tplCode_ = other.tplCode_;
        onChanged();
      }
      if (!other.getTplParam().isEmpty()) {
        tplParam_ = other.tplParam_;
        onChanged();
      }
      if (!other.getOutId().isEmpty()) {
        outId_ = other.outId_;
        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.base.wechat.SendSmsRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.base.wechat.SendSmsRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object phoneNumbers_ = "";
    /**
     * <pre>
     *短信接收号码，多个号码以逗号分隔，批量上限为1000个
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     * @return The phoneNumbers.
     */
    public java.lang.String getPhoneNumbers() {
      java.lang.Object ref = phoneNumbers_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        phoneNumbers_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *短信接收号码，多个号码以逗号分隔，批量上限为1000个
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     * @return The bytes for phoneNumbers.
     */
    public com.google.protobuf.ByteString
        getPhoneNumbersBytes() {
      java.lang.Object ref = phoneNumbers_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        phoneNumbers_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *短信接收号码，多个号码以逗号分隔，批量上限为1000个
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     * @param value The phoneNumbers to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNumbers(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      phoneNumbers_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信接收号码，多个号码以逗号分隔，批量上限为1000个
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearPhoneNumbers() {
      
      phoneNumbers_ = getDefaultInstance().getPhoneNumbers();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信接收号码，多个号码以逗号分隔，批量上限为1000个
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     * @param value The bytes for phoneNumbers to set.
     * @return This builder for chaining.
     */
    public Builder setPhoneNumbersBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      phoneNumbers_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object tplCode_ = "";
    /**
     * <pre>
     *短信模板ID
     * </pre>
     *
     * <code>string tplCode = 2;</code>
     * @return The tplCode.
     */
    public java.lang.String getTplCode() {
      java.lang.Object ref = tplCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        tplCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *短信模板ID
     * </pre>
     *
     * <code>string tplCode = 2;</code>
     * @return The bytes for tplCode.
     */
    public com.google.protobuf.ByteString
        getTplCodeBytes() {
      java.lang.Object ref = tplCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        tplCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *短信模板ID
     * </pre>
     *
     * <code>string tplCode = 2;</code>
     * @param value The tplCode to set.
     * @return This builder for chaining.
     */
    public Builder setTplCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      tplCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板ID
     * </pre>
     *
     * <code>string tplCode = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearTplCode() {
      
      tplCode_ = getDefaultInstance().getTplCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板ID
     * </pre>
     *
     * <code>string tplCode = 2;</code>
     * @param value The bytes for tplCode to set.
     * @return This builder for chaining.
     */
    public Builder setTplCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      tplCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object tplParam_ = "";
    /**
     * <pre>
     *短信模板参数（可选）
     * </pre>
     *
     * <code>string tplParam = 3;</code>
     * @return The tplParam.
     */
    public java.lang.String getTplParam() {
      java.lang.Object ref = tplParam_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        tplParam_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *短信模板参数（可选）
     * </pre>
     *
     * <code>string tplParam = 3;</code>
     * @return The bytes for tplParam.
     */
    public com.google.protobuf.ByteString
        getTplParamBytes() {
      java.lang.Object ref = tplParam_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        tplParam_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *短信模板参数（可选）
     * </pre>
     *
     * <code>string tplParam = 3;</code>
     * @param value The tplParam to set.
     * @return This builder for chaining.
     */
    public Builder setTplParam(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      tplParam_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板参数（可选）
     * </pre>
     *
     * <code>string tplParam = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearTplParam() {
      
      tplParam_ = getDefaultInstance().getTplParam();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板参数（可选）
     * </pre>
     *
     * <code>string tplParam = 3;</code>
     * @param value The bytes for tplParam to set.
     * @return This builder for chaining.
     */
    public Builder setTplParamBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      tplParam_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object outId_ = "";
    /**
     * <pre>
     *外部流水扩展字段（可选）
     * </pre>
     *
     * <code>string outId = 4;</code>
     * @return The outId.
     */
    public java.lang.String getOutId() {
      java.lang.Object ref = outId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        outId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *外部流水扩展字段（可选）
     * </pre>
     *
     * <code>string outId = 4;</code>
     * @return The bytes for outId.
     */
    public com.google.protobuf.ByteString
        getOutIdBytes() {
      java.lang.Object ref = outId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        outId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *外部流水扩展字段（可选）
     * </pre>
     *
     * <code>string outId = 4;</code>
     * @param value The outId to set.
     * @return This builder for chaining.
     */
    public Builder setOutId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      outId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *外部流水扩展字段（可选）
     * </pre>
     *
     * <code>string outId = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearOutId() {
      
      outId_ = getDefaultInstance().getOutId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *外部流水扩展字段（可选）
     * </pre>
     *
     * <code>string outId = 4;</code>
     * @param value The bytes for outId to set.
     * @return This builder for chaining.
     */
    public Builder setOutIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      outId_ = 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.base.wechat.SendSmsRequest)
  }

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

  public static com.ywt.gapi.base.wechat.SendSmsRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.base.wechat.SendSmsRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

