// 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.SendSmsRequest}
 */
public  final class SendSmsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.message.SendSmsRequest)
    SendSmsRequestOrBuilder {
  // Use SendSmsRequest.newBuilder() to construct.
  private SendSmsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private SendSmsRequest() {
    phoneNumbers_ = "";
    templateCode_ = "";
    templateParam_ = "";
    dstime_ = "";
    smsSign_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private SendSmsRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

            smsSign_ = s;
            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 {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.message.Message.internal_static_com_ywt_gapi_message_SendSmsRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.message.Message.internal_static_com_ywt_gapi_message_SendSmsRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.message.SendSmsRequest.class, com.ywt.gapi.message.SendSmsRequest.Builder.class);
  }

  public static final int PHONENUMBERS_FIELD_NUMBER = 1;
  private volatile java.lang.Object phoneNumbers_;
  /**
   * <pre>
   *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
   * </pre>
   *
   * <code>string phoneNumbers = 1;</code>
   */
  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>
   *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
   * </pre>
   *
   * <code>string phoneNumbers = 1;</code>
   */
  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 TEMPLATECODE_FIELD_NUMBER = 2;
  private volatile java.lang.Object templateCode_;
  /**
   * <pre>
   *短信模板编号，定义在sms_template表中
   * </pre>
   *
   * <code>string templateCode = 2;</code>
   */
  public java.lang.String getTemplateCode() {
    java.lang.Object ref = templateCode_;
    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();
      templateCode_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *短信模板编号，定义在sms_template表中
   * </pre>
   *
   * <code>string templateCode = 2;</code>
   */
  public com.google.protobuf.ByteString
      getTemplateCodeBytes() {
    java.lang.Object ref = templateCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      templateCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TEMPLATEPARAM_FIELD_NUMBER = 3;
  private volatile java.lang.Object templateParam_;
  /**
   * <pre>
   *短信模板参数
   * </pre>
   *
   * <code>string templateParam = 3;</code>
   */
  public java.lang.String getTemplateParam() {
    java.lang.Object ref = templateParam_;
    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();
      templateParam_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *短信模板参数
   * </pre>
   *
   * <code>string templateParam = 3;</code>
   */
  public com.google.protobuf.ByteString
      getTemplateParamBytes() {
    java.lang.Object ref = templateParam_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      templateParam_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DSTIME_FIELD_NUMBER = 4;
  private volatile java.lang.Object dstime_;
  /**
   * <pre>
   *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
   * </pre>
   *
   * <code>string dstime = 4;</code>
   */
  public java.lang.String getDstime() {
    java.lang.Object ref = dstime_;
    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();
      dstime_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
   * </pre>
   *
   * <code>string dstime = 4;</code>
   */
  public com.google.protobuf.ByteString
      getDstimeBytes() {
    java.lang.Object ref = dstime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      dstime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SMSSIGN_FIELD_NUMBER = 5;
  private volatile java.lang.Object smsSign_;
  /**
   * <pre>
   *签名：南方医务通，不填默认：南方医务
   * </pre>
   *
   * <code>string smsSign = 5;</code>
   */
  public java.lang.String getSmsSign() {
    java.lang.Object ref = smsSign_;
    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();
      smsSign_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *签名：南方医务通，不填默认：南方医务
   * </pre>
   *
   * <code>string smsSign = 5;</code>
   */
  public com.google.protobuf.ByteString
      getSmsSignBytes() {
    java.lang.Object ref = smsSign_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      smsSign_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  private byte memoizedIsInitialized = -1;
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getPhoneNumbersBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, phoneNumbers_);
    }
    if (!getTemplateCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, templateCode_);
    }
    if (!getTemplateParamBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateParam_);
    }
    if (!getDstimeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dstime_);
    }
    if (!getSmsSignBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, smsSign_);
    }
  }

  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!getPhoneNumbersBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, phoneNumbers_);
    }
    if (!getTemplateCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, templateCode_);
    }
    if (!getTemplateParamBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateParam_);
    }
    if (!getDstimeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dstime_);
    }
    if (!getSmsSignBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, smsSign_);
    }
    memoizedSize = size;
    return size;
  }

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.ywt.gapi.message.SendSmsRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.message.SendSmsRequest other = (com.ywt.gapi.message.SendSmsRequest) obj;

    boolean result = true;
    result = result && getPhoneNumbers()
        .equals(other.getPhoneNumbers());
    result = result && getTemplateCode()
        .equals(other.getTemplateCode());
    result = result && getTemplateParam()
        .equals(other.getTemplateParam());
    result = result && getDstime()
        .equals(other.getDstime());
    result = result && getSmsSign()
        .equals(other.getSmsSign());
    return result;
  }

  @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) + TEMPLATECODE_FIELD_NUMBER;
    hash = (53 * hash) + getTemplateCode().hashCode();
    hash = (37 * hash) + TEMPLATEPARAM_FIELD_NUMBER;
    hash = (53 * hash) + getTemplateParam().hashCode();
    hash = (37 * hash) + DSTIME_FIELD_NUMBER;
    hash = (53 * hash) + getDstime().hashCode();
    hash = (37 * hash) + SMSSIGN_FIELD_NUMBER;
    hash = (53 * hash) + getSmsSign().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.message.SendSmsRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.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.message.SendSmsRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.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.message.SendSmsRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.message.SendSmsRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.message.SendSmsRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.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.message.SendSmsRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.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.message.SendSmsRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.message.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);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.message.SendSmsRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  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.SendSmsRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.message.SendSmsRequest)
      com.ywt.gapi.message.SendSmsRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.message.Message.internal_static_com_ywt_gapi_message_SendSmsRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.message.Message.internal_static_com_ywt_gapi_message_SendSmsRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.message.SendSmsRequest.class, com.ywt.gapi.message.SendSmsRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.message.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) {
      }
    }
    public Builder clear() {
      super.clear();
      phoneNumbers_ = "";

      templateCode_ = "";

      templateParam_ = "";

      dstime_ = "";

      smsSign_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.message.Message.internal_static_com_ywt_gapi_message_SendSmsRequest_descriptor;
    }

    public com.ywt.gapi.message.SendSmsRequest getDefaultInstanceForType() {
      return com.ywt.gapi.message.SendSmsRequest.getDefaultInstance();
    }

    public com.ywt.gapi.message.SendSmsRequest build() {
      com.ywt.gapi.message.SendSmsRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.ywt.gapi.message.SendSmsRequest buildPartial() {
      com.ywt.gapi.message.SendSmsRequest result = new com.ywt.gapi.message.SendSmsRequest(this);
      result.phoneNumbers_ = phoneNumbers_;
      result.templateCode_ = templateCode_;
      result.templateParam_ = templateParam_;
      result.dstime_ = dstime_;
      result.smsSign_ = smsSign_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.message.SendSmsRequest other) {
      if (other == com.ywt.gapi.message.SendSmsRequest.getDefaultInstance()) return this;
      if (!other.getPhoneNumbers().isEmpty()) {
        phoneNumbers_ = other.phoneNumbers_;
        onChanged();
      }
      if (!other.getTemplateCode().isEmpty()) {
        templateCode_ = other.templateCode_;
        onChanged();
      }
      if (!other.getTemplateParam().isEmpty()) {
        templateParam_ = other.templateParam_;
        onChanged();
      }
      if (!other.getDstime().isEmpty()) {
        dstime_ = other.dstime_;
        onChanged();
      }
      if (!other.getSmsSign().isEmpty()) {
        smsSign_ = other.smsSign_;
        onChanged();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private java.lang.Object phoneNumbers_ = "";
    /**
     * <pre>
     *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     */
    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>
     *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     */
    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>
     *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     */
    public Builder setPhoneNumbers(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      phoneNumbers_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     */
    public Builder clearPhoneNumbers() {
      
      phoneNumbers_ = getDefaultInstance().getPhoneNumbers();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信接收手机号，多个手机号为用半角 , 分开，如13899999999,13688888888
     * </pre>
     *
     * <code>string phoneNumbers = 1;</code>
     */
    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 templateCode_ = "";
    /**
     * <pre>
     *短信模板编号，定义在sms_template表中
     * </pre>
     *
     * <code>string templateCode = 2;</code>
     */
    public java.lang.String getTemplateCode() {
      java.lang.Object ref = templateCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        templateCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *短信模板编号，定义在sms_template表中
     * </pre>
     *
     * <code>string templateCode = 2;</code>
     */
    public com.google.protobuf.ByteString
        getTemplateCodeBytes() {
      java.lang.Object ref = templateCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        templateCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *短信模板编号，定义在sms_template表中
     * </pre>
     *
     * <code>string templateCode = 2;</code>
     */
    public Builder setTemplateCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      templateCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板编号，定义在sms_template表中
     * </pre>
     *
     * <code>string templateCode = 2;</code>
     */
    public Builder clearTemplateCode() {
      
      templateCode_ = getDefaultInstance().getTemplateCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板编号，定义在sms_template表中
     * </pre>
     *
     * <code>string templateCode = 2;</code>
     */
    public Builder setTemplateCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      templateCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object templateParam_ = "";
    /**
     * <pre>
     *短信模板参数
     * </pre>
     *
     * <code>string templateParam = 3;</code>
     */
    public java.lang.String getTemplateParam() {
      java.lang.Object ref = templateParam_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        templateParam_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *短信模板参数
     * </pre>
     *
     * <code>string templateParam = 3;</code>
     */
    public com.google.protobuf.ByteString
        getTemplateParamBytes() {
      java.lang.Object ref = templateParam_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        templateParam_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *短信模板参数
     * </pre>
     *
     * <code>string templateParam = 3;</code>
     */
    public Builder setTemplateParam(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      templateParam_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板参数
     * </pre>
     *
     * <code>string templateParam = 3;</code>
     */
    public Builder clearTemplateParam() {
      
      templateParam_ = getDefaultInstance().getTemplateParam();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *短信模板参数
     * </pre>
     *
     * <code>string templateParam = 3;</code>
     */
    public Builder setTemplateParamBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      templateParam_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object dstime_ = "";
    /**
     * <pre>
     *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
     * </pre>
     *
     * <code>string dstime = 4;</code>
     */
    public java.lang.String getDstime() {
      java.lang.Object ref = dstime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        dstime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
     * </pre>
     *
     * <code>string dstime = 4;</code>
     */
    public com.google.protobuf.ByteString
        getDstimeBytes() {
      java.lang.Object ref = dstime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dstime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
     * </pre>
     *
     * <code>string dstime = 4;</code>
     */
    public Builder setDstime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      dstime_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
     * </pre>
     *
     * <code>string dstime = 4;</code>
     */
    public Builder clearDstime() {
      
      dstime_ = getDefaultInstance().getDstime();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *定时时间，为空时表示立即发送 格式：yyyy-MM-dd HH:mm:ss 例如：2016-09-10 09:00:00
     * </pre>
     *
     * <code>string dstime = 4;</code>
     */
    public Builder setDstimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      dstime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object smsSign_ = "";
    /**
     * <pre>
     *签名：南方医务通，不填默认：南方医务
     * </pre>
     *
     * <code>string smsSign = 5;</code>
     */
    public java.lang.String getSmsSign() {
      java.lang.Object ref = smsSign_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        smsSign_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *签名：南方医务通，不填默认：南方医务
     * </pre>
     *
     * <code>string smsSign = 5;</code>
     */
    public com.google.protobuf.ByteString
        getSmsSignBytes() {
      java.lang.Object ref = smsSign_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        smsSign_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *签名：南方医务通，不填默认：南方医务
     * </pre>
     *
     * <code>string smsSign = 5;</code>
     */
    public Builder setSmsSign(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      smsSign_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *签名：南方医务通，不填默认：南方医务
     * </pre>
     *
     * <code>string smsSign = 5;</code>
     */
    public Builder clearSmsSign() {
      
      smsSign_ = getDefaultInstance().getSmsSign();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *签名：南方医务通，不填默认：南方医务
     * </pre>
     *
     * <code>string smsSign = 5;</code>
     */
    public Builder setSmsSignBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      smsSign_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }


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

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

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

  private static final com.google.protobuf.Parser<SendSmsRequest>
      PARSER = new com.google.protobuf.AbstractParser<SendSmsRequest>() {
    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;
  }

  public com.ywt.gapi.message.SendSmsRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

