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

package com.ywt.gapi.sf;

/**
 * <pre>
 *顺丰下单接口request.
 *暂不支持跨境寄件，暂未支持路由推送注册，暂未支持子母单;未支持筛单处理
 *如后续需要扩展，根据顺丰规范文档增加相应字段即可
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.sf.CreateOrderRequest}
 */
public final class CreateOrderRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.sf.CreateOrderRequest)
    CreateOrderRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use CreateOrderRequest.newBuilder() to construct.
  private CreateOrderRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private CreateOrderRequest() {
    orderId_ = "";
    senderAddress_ = "";
    senderCompany_ = "";
    senderContact_ = "";
    senderTel_ = "";
    receiverProvince_ = "";
    receiverCity_ = "";
    receiverAddress_ = "";
    custid_ = "";
    remark_ = "";
    name_ = "";
    addedServiceName_ = "";
    addedServiceValue_ = "";
    receiverCompany_ = "";
    receiverContact_ = "";
    receiverTel_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private CreateOrderRequest(
      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();

            orderId_ = s;
            break;
          }
          case 16: {

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

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

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

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

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

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

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

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

            custid_ = s;
            break;
          }
          case 88: {

            tempRange_ = input.readInt32();
            break;
          }
          case 96: {

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

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

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

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

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

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

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

            receiverTel_ = 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.sf.SfProto.internal_static_com_ywt_gapi_sf_CreateOrderRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.sf.SfProto.internal_static_com_ywt_gapi_sf_CreateOrderRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.sf.CreateOrderRequest.class, com.ywt.gapi.sf.CreateOrderRequest.Builder.class);
  }

  public static final int ORDERID_FIELD_NUMBER = 1;
  private volatile java.lang.Object orderId_;
  /**
   * <pre>
   *[R]订单编号
   * </pre>
   *
   * <code>string orderId = 1;</code>
   * @return The orderId.
   */
  @java.lang.Override
  public java.lang.String getOrderId() {
    java.lang.Object ref = orderId_;
    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();
      orderId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]订单编号
   * </pre>
   *
   * <code>string orderId = 1;</code>
   * @return The bytes for orderId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getOrderIdBytes() {
    java.lang.Object ref = orderId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int EXPRESSTYPE_FIELD_NUMBER = 2;
  private int expressType_;
  /**
   * <pre>
   *[O]快件产品类型。1-标准快递；2-顺丰特惠；3-电商特惠；6-即日件，12-医药专递等。详情查阅顺丰规范文档
   * </pre>
   *
   * <code>int32 expressType = 2;</code>
   * @return The expressType.
   */
  @java.lang.Override
  public int getExpressType() {
    return expressType_;
  }

  public static final int SENDERADDRESS_FIELD_NUMBER = 3;
  private volatile java.lang.Object senderAddress_;
  /**
   * <pre>
   *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
   * </pre>
   *
   * <code>string senderAddress = 3;</code>
   * @return The senderAddress.
   */
  @java.lang.Override
  public java.lang.String getSenderAddress() {
    java.lang.Object ref = senderAddress_;
    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();
      senderAddress_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
   * </pre>
   *
   * <code>string senderAddress = 3;</code>
   * @return The bytes for senderAddress.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSenderAddressBytes() {
    java.lang.Object ref = senderAddress_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      senderAddress_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SENDERCOMPANY_FIELD_NUMBER = 4;
  private volatile java.lang.Object senderCompany_;
  /**
   * <pre>
   *[R[寄件方公司
   * </pre>
   *
   * <code>string senderCompany = 4;</code>
   * @return The senderCompany.
   */
  @java.lang.Override
  public java.lang.String getSenderCompany() {
    java.lang.Object ref = senderCompany_;
    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();
      senderCompany_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R[寄件方公司
   * </pre>
   *
   * <code>string senderCompany = 4;</code>
   * @return The bytes for senderCompany.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSenderCompanyBytes() {
    java.lang.Object ref = senderCompany_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      senderCompany_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SENDERCONTACT_FIELD_NUMBER = 5;
  private volatile java.lang.Object senderContact_;
  /**
   * <pre>
   *[R[寄件方联系人
   * </pre>
   *
   * <code>string senderContact = 5;</code>
   * @return The senderContact.
   */
  @java.lang.Override
  public java.lang.String getSenderContact() {
    java.lang.Object ref = senderContact_;
    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();
      senderContact_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R[寄件方联系人
   * </pre>
   *
   * <code>string senderContact = 5;</code>
   * @return The bytes for senderContact.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSenderContactBytes() {
    java.lang.Object ref = senderContact_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      senderContact_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SENDERTEL_FIELD_NUMBER = 6;
  private volatile java.lang.Object senderTel_;
  /**
   * <pre>
   *[R]寄件方联系电话
   * </pre>
   *
   * <code>string senderTel = 6;</code>
   * @return The senderTel.
   */
  @java.lang.Override
  public java.lang.String getSenderTel() {
    java.lang.Object ref = senderTel_;
    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();
      senderTel_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]寄件方联系电话
   * </pre>
   *
   * <code>string senderTel = 6;</code>
   * @return The bytes for senderTel.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSenderTelBytes() {
    java.lang.Object ref = senderTel_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      senderTel_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERPROVINCE_FIELD_NUMBER = 7;
  private volatile java.lang.Object receiverProvince_;
  /**
   * <pre>
   *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
   * </pre>
   *
   * <code>string receiverProvince = 7;</code>
   * @return The receiverProvince.
   */
  @java.lang.Override
  public java.lang.String getReceiverProvince() {
    java.lang.Object ref = receiverProvince_;
    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();
      receiverProvince_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
   * </pre>
   *
   * <code>string receiverProvince = 7;</code>
   * @return The bytes for receiverProvince.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverProvinceBytes() {
    java.lang.Object ref = receiverProvince_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverProvince_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERCITY_FIELD_NUMBER = 8;
  private volatile java.lang.Object receiverCity_;
  /**
   * <pre>
   *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
   * </pre>
   *
   * <code>string receiverCity = 8;</code>
   * @return The receiverCity.
   */
  @java.lang.Override
  public java.lang.String getReceiverCity() {
    java.lang.Object ref = receiverCity_;
    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();
      receiverCity_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
   * </pre>
   *
   * <code>string receiverCity = 8;</code>
   * @return The bytes for receiverCity.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverCityBytes() {
    java.lang.Object ref = receiverCity_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverCity_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERADDRESS_FIELD_NUMBER = 9;
  private volatile java.lang.Object receiverAddress_;
  /**
   * <pre>
   *[R]到件方详细地址
   * </pre>
   *
   * <code>string receiverAddress = 9;</code>
   * @return The receiverAddress.
   */
  @java.lang.Override
  public java.lang.String getReceiverAddress() {
    java.lang.Object ref = receiverAddress_;
    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();
      receiverAddress_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]到件方详细地址
   * </pre>
   *
   * <code>string receiverAddress = 9;</code>
   * @return The bytes for receiverAddress.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverAddressBytes() {
    java.lang.Object ref = receiverAddress_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverAddress_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CUSTID_FIELD_NUMBER = 10;
  private volatile java.lang.Object custid_;
  /**
   * <pre>
   *[C]顺丰月结卡号
   * </pre>
   *
   * <code>string custid = 10;</code>
   * @return The custid.
   */
  @java.lang.Override
  public java.lang.String getCustid() {
    java.lang.Object ref = custid_;
    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();
      custid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[C]顺丰月结卡号
   * </pre>
   *
   * <code>string custid = 10;</code>
   * @return The bytes for custid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCustidBytes() {
    java.lang.Object ref = custid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      custid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TEMPRANGE_FIELD_NUMBER = 11;
  private int tempRange_;
  /**
   * <pre>
   *[C]温度范围类型，当express_type为12医药温控件时必填：1为冷藏;3为冷冻
   * </pre>
   *
   * <code>int32 tempRange = 11;</code>
   * @return The tempRange.
   */
  @java.lang.Override
  public int getTempRange() {
    return tempRange_;
  }

  public static final int PAYMETHOD_FIELD_NUMBER = 12;
  private int payMethod_;
  /**
   * <pre>
   *[O]付款方式：1:寄方付;2:收方付;3:第三方付
   * </pre>
   *
   * <code>int32 payMethod = 12;</code>
   * @return The payMethod.
   */
  @java.lang.Override
  public int getPayMethod() {
    return payMethod_;
  }

  public static final int REMARK_FIELD_NUMBER = 13;
  private volatile java.lang.Object remark_;
  /**
   * <pre>
   *[O]备注
   * </pre>
   *
   * <code>string remark = 13;</code>
   * @return The remark.
   */
  @java.lang.Override
  public java.lang.String getRemark() {
    java.lang.Object ref = remark_;
    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();
      remark_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[O]备注
   * </pre>
   *
   * <code>string remark = 13;</code>
   * @return The bytes for remark.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRemarkBytes() {
    java.lang.Object ref = remark_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      remark_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NAME_FIELD_NUMBER = 14;
  private volatile java.lang.Object name_;
  /**
   * <pre>
   *[C]货物名称，如果需要生成电子运单，则为必填。
   * </pre>
   *
   * <code>string name = 14;</code>
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    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();
      name_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[C]货物名称，如果需要生成电子运单，则为必填。
   * </pre>
   *
   * <code>string name = 14;</code>
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDEDSERVICENAME_FIELD_NUMBER = 15;
  private volatile java.lang.Object addedServiceName_;
  /**
   * <pre>
   *[O]增值服务名，如COD等。
   * </pre>
   *
   * <code>string addedServiceName = 15;</code>
   * @return The addedServiceName.
   */
  @java.lang.Override
  public java.lang.String getAddedServiceName() {
    java.lang.Object ref = addedServiceName_;
    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();
      addedServiceName_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[O]增值服务名，如COD等。
   * </pre>
   *
   * <code>string addedServiceName = 15;</code>
   * @return The bytes for addedServiceName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAddedServiceNameBytes() {
    java.lang.Object ref = addedServiceName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      addedServiceName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ADDEDSERVICEVALUE_FIELD_NUMBER = 16;
  private volatile java.lang.Object addedServiceValue_;
  /**
   * <pre>
   *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
   * </pre>
   *
   * <code>string addedServiceValue = 16;</code>
   * @return The addedServiceValue.
   */
  @java.lang.Override
  public java.lang.String getAddedServiceValue() {
    java.lang.Object ref = addedServiceValue_;
    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();
      addedServiceValue_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
   * </pre>
   *
   * <code>string addedServiceValue = 16;</code>
   * @return The bytes for addedServiceValue.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAddedServiceValueBytes() {
    java.lang.Object ref = addedServiceValue_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      addedServiceValue_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERCOMPANY_FIELD_NUMBER = 17;
  private volatile java.lang.Object receiverCompany_;
  /**
   * <pre>
   *[R]到件方公司名称
   * </pre>
   *
   * <code>string receiverCompany = 17;</code>
   * @return The receiverCompany.
   */
  @java.lang.Override
  public java.lang.String getReceiverCompany() {
    java.lang.Object ref = receiverCompany_;
    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();
      receiverCompany_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]到件方公司名称
   * </pre>
   *
   * <code>string receiverCompany = 17;</code>
   * @return The bytes for receiverCompany.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverCompanyBytes() {
    java.lang.Object ref = receiverCompany_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverCompany_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERCONTACT_FIELD_NUMBER = 18;
  private volatile java.lang.Object receiverContact_;
  /**
   * <pre>
   *[R]到件方联系人
   * </pre>
   *
   * <code>string receiverContact = 18;</code>
   * @return The receiverContact.
   */
  @java.lang.Override
  public java.lang.String getReceiverContact() {
    java.lang.Object ref = receiverContact_;
    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();
      receiverContact_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]到件方联系人
   * </pre>
   *
   * <code>string receiverContact = 18;</code>
   * @return The bytes for receiverContact.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverContactBytes() {
    java.lang.Object ref = receiverContact_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverContact_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVERTEL_FIELD_NUMBER = 19;
  private volatile java.lang.Object receiverTel_;
  /**
   * <pre>
   *[R]到件方联系电话
   * </pre>
   *
   * <code>string receiverTel = 19;</code>
   * @return The receiverTel.
   */
  @java.lang.Override
  public java.lang.String getReceiverTel() {
    java.lang.Object ref = receiverTel_;
    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();
      receiverTel_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *[R]到件方联系电话
   * </pre>
   *
   * <code>string receiverTel = 19;</code>
   * @return The bytes for receiverTel.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverTelBytes() {
    java.lang.Object ref = receiverTel_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverTel_ = 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(orderId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderId_);
    }
    if (expressType_ != 0) {
      output.writeInt32(2, expressType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderAddress_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, senderAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderCompany_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, senderCompany_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderContact_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, senderContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderTel_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, senderTel_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverProvince_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, receiverProvince_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverCity_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, receiverCity_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverAddress_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, receiverAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(custid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, custid_);
    }
    if (tempRange_ != 0) {
      output.writeInt32(11, tempRange_);
    }
    if (payMethod_ != 0) {
      output.writeInt32(12, payMethod_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, remark_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 14, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addedServiceName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, addedServiceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addedServiceValue_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 16, addedServiceValue_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverCompany_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 17, receiverCompany_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverContact_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 18, receiverContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverTel_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 19, receiverTel_);
    }
    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(orderId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderId_);
    }
    if (expressType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, expressType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderAddress_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, senderAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderCompany_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, senderCompany_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderContact_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, senderContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(senderTel_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, senderTel_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverProvince_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, receiverProvince_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverCity_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, receiverCity_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverAddress_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, receiverAddress_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(custid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, custid_);
    }
    if (tempRange_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, tempRange_);
    }
    if (payMethod_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(12, payMethod_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remark_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, remark_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addedServiceName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, addedServiceName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addedServiceValue_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, addedServiceValue_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverCompany_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, receiverCompany_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverContact_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, receiverContact_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverTel_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, receiverTel_);
    }
    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.sf.CreateOrderRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.sf.CreateOrderRequest other = (com.ywt.gapi.sf.CreateOrderRequest) obj;

    if (!getOrderId()
        .equals(other.getOrderId())) return false;
    if (getExpressType()
        != other.getExpressType()) return false;
    if (!getSenderAddress()
        .equals(other.getSenderAddress())) return false;
    if (!getSenderCompany()
        .equals(other.getSenderCompany())) return false;
    if (!getSenderContact()
        .equals(other.getSenderContact())) return false;
    if (!getSenderTel()
        .equals(other.getSenderTel())) return false;
    if (!getReceiverProvince()
        .equals(other.getReceiverProvince())) return false;
    if (!getReceiverCity()
        .equals(other.getReceiverCity())) return false;
    if (!getReceiverAddress()
        .equals(other.getReceiverAddress())) return false;
    if (!getCustid()
        .equals(other.getCustid())) return false;
    if (getTempRange()
        != other.getTempRange()) return false;
    if (getPayMethod()
        != other.getPayMethod()) return false;
    if (!getRemark()
        .equals(other.getRemark())) return false;
    if (!getName()
        .equals(other.getName())) return false;
    if (!getAddedServiceName()
        .equals(other.getAddedServiceName())) return false;
    if (!getAddedServiceValue()
        .equals(other.getAddedServiceValue())) return false;
    if (!getReceiverCompany()
        .equals(other.getReceiverCompany())) return false;
    if (!getReceiverContact()
        .equals(other.getReceiverContact())) return false;
    if (!getReceiverTel()
        .equals(other.getReceiverTel())) 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) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId().hashCode();
    hash = (37 * hash) + EXPRESSTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getExpressType();
    hash = (37 * hash) + SENDERADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getSenderAddress().hashCode();
    hash = (37 * hash) + SENDERCOMPANY_FIELD_NUMBER;
    hash = (53 * hash) + getSenderCompany().hashCode();
    hash = (37 * hash) + SENDERCONTACT_FIELD_NUMBER;
    hash = (53 * hash) + getSenderContact().hashCode();
    hash = (37 * hash) + SENDERTEL_FIELD_NUMBER;
    hash = (53 * hash) + getSenderTel().hashCode();
    hash = (37 * hash) + RECEIVERPROVINCE_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverProvince().hashCode();
    hash = (37 * hash) + RECEIVERCITY_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverCity().hashCode();
    hash = (37 * hash) + RECEIVERADDRESS_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverAddress().hashCode();
    hash = (37 * hash) + CUSTID_FIELD_NUMBER;
    hash = (53 * hash) + getCustid().hashCode();
    hash = (37 * hash) + TEMPRANGE_FIELD_NUMBER;
    hash = (53 * hash) + getTempRange();
    hash = (37 * hash) + PAYMETHOD_FIELD_NUMBER;
    hash = (53 * hash) + getPayMethod();
    hash = (37 * hash) + REMARK_FIELD_NUMBER;
    hash = (53 * hash) + getRemark().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + ADDEDSERVICENAME_FIELD_NUMBER;
    hash = (53 * hash) + getAddedServiceName().hashCode();
    hash = (37 * hash) + ADDEDSERVICEVALUE_FIELD_NUMBER;
    hash = (53 * hash) + getAddedServiceValue().hashCode();
    hash = (37 * hash) + RECEIVERCOMPANY_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverCompany().hashCode();
    hash = (37 * hash) + RECEIVERCONTACT_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverContact().hashCode();
    hash = (37 * hash) + RECEIVERTEL_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverTel().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.sf.CreateOrderRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest 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.sf.CreateOrderRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest 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.sf.CreateOrderRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest 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.sf.CreateOrderRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest 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.sf.CreateOrderRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.sf.CreateOrderRequest 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.sf.CreateOrderRequest 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>
   *顺丰下单接口request.
   *暂不支持跨境寄件，暂未支持路由推送注册，暂未支持子母单;未支持筛单处理
   *如后续需要扩展，根据顺丰规范文档增加相应字段即可
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.sf.CreateOrderRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.sf.CreateOrderRequest)
      com.ywt.gapi.sf.CreateOrderRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.sf.SfProto.internal_static_com_ywt_gapi_sf_CreateOrderRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.sf.SfProto.internal_static_com_ywt_gapi_sf_CreateOrderRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.sf.CreateOrderRequest.class, com.ywt.gapi.sf.CreateOrderRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.sf.CreateOrderRequest.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();
      orderId_ = "";

      expressType_ = 0;

      senderAddress_ = "";

      senderCompany_ = "";

      senderContact_ = "";

      senderTel_ = "";

      receiverProvince_ = "";

      receiverCity_ = "";

      receiverAddress_ = "";

      custid_ = "";

      tempRange_ = 0;

      payMethod_ = 0;

      remark_ = "";

      name_ = "";

      addedServiceName_ = "";

      addedServiceValue_ = "";

      receiverCompany_ = "";

      receiverContact_ = "";

      receiverTel_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.sf.SfProto.internal_static_com_ywt_gapi_sf_CreateOrderRequest_descriptor;
    }

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

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

    @java.lang.Override
    public com.ywt.gapi.sf.CreateOrderRequest buildPartial() {
      com.ywt.gapi.sf.CreateOrderRequest result = new com.ywt.gapi.sf.CreateOrderRequest(this);
      result.orderId_ = orderId_;
      result.expressType_ = expressType_;
      result.senderAddress_ = senderAddress_;
      result.senderCompany_ = senderCompany_;
      result.senderContact_ = senderContact_;
      result.senderTel_ = senderTel_;
      result.receiverProvince_ = receiverProvince_;
      result.receiverCity_ = receiverCity_;
      result.receiverAddress_ = receiverAddress_;
      result.custid_ = custid_;
      result.tempRange_ = tempRange_;
      result.payMethod_ = payMethod_;
      result.remark_ = remark_;
      result.name_ = name_;
      result.addedServiceName_ = addedServiceName_;
      result.addedServiceValue_ = addedServiceValue_;
      result.receiverCompany_ = receiverCompany_;
      result.receiverContact_ = receiverContact_;
      result.receiverTel_ = receiverTel_;
      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.sf.CreateOrderRequest) {
        return mergeFrom((com.ywt.gapi.sf.CreateOrderRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.sf.CreateOrderRequest other) {
      if (other == com.ywt.gapi.sf.CreateOrderRequest.getDefaultInstance()) return this;
      if (!other.getOrderId().isEmpty()) {
        orderId_ = other.orderId_;
        onChanged();
      }
      if (other.getExpressType() != 0) {
        setExpressType(other.getExpressType());
      }
      if (!other.getSenderAddress().isEmpty()) {
        senderAddress_ = other.senderAddress_;
        onChanged();
      }
      if (!other.getSenderCompany().isEmpty()) {
        senderCompany_ = other.senderCompany_;
        onChanged();
      }
      if (!other.getSenderContact().isEmpty()) {
        senderContact_ = other.senderContact_;
        onChanged();
      }
      if (!other.getSenderTel().isEmpty()) {
        senderTel_ = other.senderTel_;
        onChanged();
      }
      if (!other.getReceiverProvince().isEmpty()) {
        receiverProvince_ = other.receiverProvince_;
        onChanged();
      }
      if (!other.getReceiverCity().isEmpty()) {
        receiverCity_ = other.receiverCity_;
        onChanged();
      }
      if (!other.getReceiverAddress().isEmpty()) {
        receiverAddress_ = other.receiverAddress_;
        onChanged();
      }
      if (!other.getCustid().isEmpty()) {
        custid_ = other.custid_;
        onChanged();
      }
      if (other.getTempRange() != 0) {
        setTempRange(other.getTempRange());
      }
      if (other.getPayMethod() != 0) {
        setPayMethod(other.getPayMethod());
      }
      if (!other.getRemark().isEmpty()) {
        remark_ = other.remark_;
        onChanged();
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        onChanged();
      }
      if (!other.getAddedServiceName().isEmpty()) {
        addedServiceName_ = other.addedServiceName_;
        onChanged();
      }
      if (!other.getAddedServiceValue().isEmpty()) {
        addedServiceValue_ = other.addedServiceValue_;
        onChanged();
      }
      if (!other.getReceiverCompany().isEmpty()) {
        receiverCompany_ = other.receiverCompany_;
        onChanged();
      }
      if (!other.getReceiverContact().isEmpty()) {
        receiverContact_ = other.receiverContact_;
        onChanged();
      }
      if (!other.getReceiverTel().isEmpty()) {
        receiverTel_ = other.receiverTel_;
        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.sf.CreateOrderRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.sf.CreateOrderRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object orderId_ = "";
    /**
     * <pre>
     *[R]订单编号
     * </pre>
     *
     * <code>string orderId = 1;</code>
     * @return The orderId.
     */
    public java.lang.String getOrderId() {
      java.lang.Object ref = orderId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]订单编号
     * </pre>
     *
     * <code>string orderId = 1;</code>
     * @return The bytes for orderId.
     */
    public com.google.protobuf.ByteString
        getOrderIdBytes() {
      java.lang.Object ref = orderId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]订单编号
     * </pre>
     *
     * <code>string orderId = 1;</code>
     * @param value The orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]订单编号
     * </pre>
     *
     * <code>string orderId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderId() {
      
      orderId_ = getDefaultInstance().getOrderId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]订单编号
     * </pre>
     *
     * <code>string orderId = 1;</code>
     * @param value The bytes for orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderId_ = value;
      onChanged();
      return this;
    }

    private int expressType_ ;
    /**
     * <pre>
     *[O]快件产品类型。1-标准快递；2-顺丰特惠；3-电商特惠；6-即日件，12-医药专递等。详情查阅顺丰规范文档
     * </pre>
     *
     * <code>int32 expressType = 2;</code>
     * @return The expressType.
     */
    @java.lang.Override
    public int getExpressType() {
      return expressType_;
    }
    /**
     * <pre>
     *[O]快件产品类型。1-标准快递；2-顺丰特惠；3-电商特惠；6-即日件，12-医药专递等。详情查阅顺丰规范文档
     * </pre>
     *
     * <code>int32 expressType = 2;</code>
     * @param value The expressType to set.
     * @return This builder for chaining.
     */
    public Builder setExpressType(int value) {
      
      expressType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]快件产品类型。1-标准快递；2-顺丰特惠；3-电商特惠；6-即日件，12-医药专递等。详情查阅顺丰规范文档
     * </pre>
     *
     * <code>int32 expressType = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearExpressType() {
      
      expressType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object senderAddress_ = "";
    /**
     * <pre>
     *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string senderAddress = 3;</code>
     * @return The senderAddress.
     */
    public java.lang.String getSenderAddress() {
      java.lang.Object ref = senderAddress_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        senderAddress_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string senderAddress = 3;</code>
     * @return The bytes for senderAddress.
     */
    public com.google.protobuf.ByteString
        getSenderAddressBytes() {
      java.lang.Object ref = senderAddress_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        senderAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string senderAddress = 3;</code>
     * @param value The senderAddress to set.
     * @return This builder for chaining.
     */
    public Builder setSenderAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      senderAddress_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string senderAddress = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearSenderAddress() {
      
      senderAddress_ = getDefaultInstance().getSenderAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]寄件方地址，必须包含省市区.如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string senderAddress = 3;</code>
     * @param value The bytes for senderAddress to set.
     * @return This builder for chaining.
     */
    public Builder setSenderAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      senderAddress_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object senderCompany_ = "";
    /**
     * <pre>
     *[R[寄件方公司
     * </pre>
     *
     * <code>string senderCompany = 4;</code>
     * @return The senderCompany.
     */
    public java.lang.String getSenderCompany() {
      java.lang.Object ref = senderCompany_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        senderCompany_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R[寄件方公司
     * </pre>
     *
     * <code>string senderCompany = 4;</code>
     * @return The bytes for senderCompany.
     */
    public com.google.protobuf.ByteString
        getSenderCompanyBytes() {
      java.lang.Object ref = senderCompany_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        senderCompany_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R[寄件方公司
     * </pre>
     *
     * <code>string senderCompany = 4;</code>
     * @param value The senderCompany to set.
     * @return This builder for chaining.
     */
    public Builder setSenderCompany(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      senderCompany_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R[寄件方公司
     * </pre>
     *
     * <code>string senderCompany = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearSenderCompany() {
      
      senderCompany_ = getDefaultInstance().getSenderCompany();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R[寄件方公司
     * </pre>
     *
     * <code>string senderCompany = 4;</code>
     * @param value The bytes for senderCompany to set.
     * @return This builder for chaining.
     */
    public Builder setSenderCompanyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      senderCompany_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object senderContact_ = "";
    /**
     * <pre>
     *[R[寄件方联系人
     * </pre>
     *
     * <code>string senderContact = 5;</code>
     * @return The senderContact.
     */
    public java.lang.String getSenderContact() {
      java.lang.Object ref = senderContact_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        senderContact_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R[寄件方联系人
     * </pre>
     *
     * <code>string senderContact = 5;</code>
     * @return The bytes for senderContact.
     */
    public com.google.protobuf.ByteString
        getSenderContactBytes() {
      java.lang.Object ref = senderContact_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        senderContact_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R[寄件方联系人
     * </pre>
     *
     * <code>string senderContact = 5;</code>
     * @param value The senderContact to set.
     * @return This builder for chaining.
     */
    public Builder setSenderContact(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      senderContact_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R[寄件方联系人
     * </pre>
     *
     * <code>string senderContact = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearSenderContact() {
      
      senderContact_ = getDefaultInstance().getSenderContact();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R[寄件方联系人
     * </pre>
     *
     * <code>string senderContact = 5;</code>
     * @param value The bytes for senderContact to set.
     * @return This builder for chaining.
     */
    public Builder setSenderContactBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      senderContact_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object senderTel_ = "";
    /**
     * <pre>
     *[R]寄件方联系电话
     * </pre>
     *
     * <code>string senderTel = 6;</code>
     * @return The senderTel.
     */
    public java.lang.String getSenderTel() {
      java.lang.Object ref = senderTel_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        senderTel_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]寄件方联系电话
     * </pre>
     *
     * <code>string senderTel = 6;</code>
     * @return The bytes for senderTel.
     */
    public com.google.protobuf.ByteString
        getSenderTelBytes() {
      java.lang.Object ref = senderTel_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        senderTel_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]寄件方联系电话
     * </pre>
     *
     * <code>string senderTel = 6;</code>
     * @param value The senderTel to set.
     * @return This builder for chaining.
     */
    public Builder setSenderTel(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      senderTel_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]寄件方联系电话
     * </pre>
     *
     * <code>string senderTel = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearSenderTel() {
      
      senderTel_ = getDefaultInstance().getSenderTel();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]寄件方联系电话
     * </pre>
     *
     * <code>string senderTel = 6;</code>
     * @param value The bytes for senderTel to set.
     * @return This builder for chaining.
     */
    public Builder setSenderTelBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      senderTel_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverProvince_ = "";
    /**
     * <pre>
     *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverProvince = 7;</code>
     * @return The receiverProvince.
     */
    public java.lang.String getReceiverProvince() {
      java.lang.Object ref = receiverProvince_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverProvince_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverProvince = 7;</code>
     * @return The bytes for receiverProvince.
     */
    public com.google.protobuf.ByteString
        getReceiverProvinceBytes() {
      java.lang.Object ref = receiverProvince_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverProvince_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverProvince = 7;</code>
     * @param value The receiverProvince to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverProvince(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverProvince_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverProvince = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverProvince() {
      
      receiverProvince_ = getDefaultInstance().getReceiverProvince();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]收件方所在省.必须是标准的省名称称谓 如：广东省，如果是直辖市，请直接传北京、上海等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverProvince = 7;</code>
     * @param value The bytes for receiverProvince to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverProvinceBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverProvince_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverCity_ = "";
    /**
     * <pre>
     *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverCity = 8;</code>
     * @return The receiverCity.
     */
    public java.lang.String getReceiverCity() {
      java.lang.Object ref = receiverCity_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverCity_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverCity = 8;</code>
     * @return The bytes for receiverCity.
     */
    public com.google.protobuf.ByteString
        getReceiverCityBytes() {
      java.lang.Object ref = receiverCity_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverCity_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverCity = 8;</code>
     * @param value The receiverCity to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverCity(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverCity_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverCity = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverCity() {
      
      receiverCity_ = getDefaultInstance().getReceiverCity();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]收件方所在市.必须是标准的城市称谓 如：深圳市，如果是直辖市，请直接传北京（或北京市）、上海（或上海市）等。为避免地址识别不成功的风险，建议传输此字段。
     * </pre>
     *
     * <code>string receiverCity = 8;</code>
     * @param value The bytes for receiverCity to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverCityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverCity_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverAddress_ = "";
    /**
     * <pre>
     *[R]到件方详细地址
     * </pre>
     *
     * <code>string receiverAddress = 9;</code>
     * @return The receiverAddress.
     */
    public java.lang.String getReceiverAddress() {
      java.lang.Object ref = receiverAddress_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverAddress_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方详细地址
     * </pre>
     *
     * <code>string receiverAddress = 9;</code>
     * @return The bytes for receiverAddress.
     */
    public com.google.protobuf.ByteString
        getReceiverAddressBytes() {
      java.lang.Object ref = receiverAddress_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverAddress_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方详细地址
     * </pre>
     *
     * <code>string receiverAddress = 9;</code>
     * @param value The receiverAddress to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverAddress(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverAddress_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方详细地址
     * </pre>
     *
     * <code>string receiverAddress = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverAddress() {
      
      receiverAddress_ = getDefaultInstance().getReceiverAddress();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方详细地址
     * </pre>
     *
     * <code>string receiverAddress = 9;</code>
     * @param value The bytes for receiverAddress to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverAddressBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverAddress_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object custid_ = "";
    /**
     * <pre>
     *[C]顺丰月结卡号
     * </pre>
     *
     * <code>string custid = 10;</code>
     * @return The custid.
     */
    public java.lang.String getCustid() {
      java.lang.Object ref = custid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        custid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[C]顺丰月结卡号
     * </pre>
     *
     * <code>string custid = 10;</code>
     * @return The bytes for custid.
     */
    public com.google.protobuf.ByteString
        getCustidBytes() {
      java.lang.Object ref = custid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        custid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[C]顺丰月结卡号
     * </pre>
     *
     * <code>string custid = 10;</code>
     * @param value The custid to set.
     * @return This builder for chaining.
     */
    public Builder setCustid(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      custid_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]顺丰月结卡号
     * </pre>
     *
     * <code>string custid = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearCustid() {
      
      custid_ = getDefaultInstance().getCustid();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]顺丰月结卡号
     * </pre>
     *
     * <code>string custid = 10;</code>
     * @param value The bytes for custid to set.
     * @return This builder for chaining.
     */
    public Builder setCustidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      custid_ = value;
      onChanged();
      return this;
    }

    private int tempRange_ ;
    /**
     * <pre>
     *[C]温度范围类型，当express_type为12医药温控件时必填：1为冷藏;3为冷冻
     * </pre>
     *
     * <code>int32 tempRange = 11;</code>
     * @return The tempRange.
     */
    @java.lang.Override
    public int getTempRange() {
      return tempRange_;
    }
    /**
     * <pre>
     *[C]温度范围类型，当express_type为12医药温控件时必填：1为冷藏;3为冷冻
     * </pre>
     *
     * <code>int32 tempRange = 11;</code>
     * @param value The tempRange to set.
     * @return This builder for chaining.
     */
    public Builder setTempRange(int value) {
      
      tempRange_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]温度范围类型，当express_type为12医药温控件时必填：1为冷藏;3为冷冻
     * </pre>
     *
     * <code>int32 tempRange = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearTempRange() {
      
      tempRange_ = 0;
      onChanged();
      return this;
    }

    private int payMethod_ ;
    /**
     * <pre>
     *[O]付款方式：1:寄方付;2:收方付;3:第三方付
     * </pre>
     *
     * <code>int32 payMethod = 12;</code>
     * @return The payMethod.
     */
    @java.lang.Override
    public int getPayMethod() {
      return payMethod_;
    }
    /**
     * <pre>
     *[O]付款方式：1:寄方付;2:收方付;3:第三方付
     * </pre>
     *
     * <code>int32 payMethod = 12;</code>
     * @param value The payMethod to set.
     * @return This builder for chaining.
     */
    public Builder setPayMethod(int value) {
      
      payMethod_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]付款方式：1:寄方付;2:收方付;3:第三方付
     * </pre>
     *
     * <code>int32 payMethod = 12;</code>
     * @return This builder for chaining.
     */
    public Builder clearPayMethod() {
      
      payMethod_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object remark_ = "";
    /**
     * <pre>
     *[O]备注
     * </pre>
     *
     * <code>string remark = 13;</code>
     * @return The remark.
     */
    public java.lang.String getRemark() {
      java.lang.Object ref = remark_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        remark_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[O]备注
     * </pre>
     *
     * <code>string remark = 13;</code>
     * @return The bytes for remark.
     */
    public com.google.protobuf.ByteString
        getRemarkBytes() {
      java.lang.Object ref = remark_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        remark_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[O]备注
     * </pre>
     *
     * <code>string remark = 13;</code>
     * @param value The remark to set.
     * @return This builder for chaining.
     */
    public Builder setRemark(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      remark_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]备注
     * </pre>
     *
     * <code>string remark = 13;</code>
     * @return This builder for chaining.
     */
    public Builder clearRemark() {
      
      remark_ = getDefaultInstance().getRemark();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]备注
     * </pre>
     *
     * <code>string remark = 13;</code>
     * @param value The bytes for remark to set.
     * @return This builder for chaining.
     */
    public Builder setRemarkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      remark_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object name_ = "";
    /**
     * <pre>
     *[C]货物名称，如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string name = 14;</code>
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[C]货物名称，如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string name = 14;</code>
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[C]货物名称，如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string name = 14;</code>
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      name_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]货物名称，如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string name = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearName() {
      
      name_ = getDefaultInstance().getName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]货物名称，如果需要生成电子运单，则为必填。
     * </pre>
     *
     * <code>string name = 14;</code>
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      name_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object addedServiceName_ = "";
    /**
     * <pre>
     *[O]增值服务名，如COD等。
     * </pre>
     *
     * <code>string addedServiceName = 15;</code>
     * @return The addedServiceName.
     */
    public java.lang.String getAddedServiceName() {
      java.lang.Object ref = addedServiceName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        addedServiceName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[O]增值服务名，如COD等。
     * </pre>
     *
     * <code>string addedServiceName = 15;</code>
     * @return The bytes for addedServiceName.
     */
    public com.google.protobuf.ByteString
        getAddedServiceNameBytes() {
      java.lang.Object ref = addedServiceName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        addedServiceName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[O]增值服务名，如COD等。
     * </pre>
     *
     * <code>string addedServiceName = 15;</code>
     * @param value The addedServiceName to set.
     * @return This builder for chaining.
     */
    public Builder setAddedServiceName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      addedServiceName_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]增值服务名，如COD等。
     * </pre>
     *
     * <code>string addedServiceName = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearAddedServiceName() {
      
      addedServiceName_ = getDefaultInstance().getAddedServiceName();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[O]增值服务名，如COD等。
     * </pre>
     *
     * <code>string addedServiceName = 15;</code>
     * @param value The bytes for addedServiceName to set.
     * @return This builder for chaining.
     */
    public Builder setAddedServiceNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      addedServiceName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object addedServiceValue_ = "";
    /**
     * <pre>
     *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
     * </pre>
     *
     * <code>string addedServiceValue = 16;</code>
     * @return The addedServiceValue.
     */
    public java.lang.String getAddedServiceValue() {
      java.lang.Object ref = addedServiceValue_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        addedServiceValue_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
     * </pre>
     *
     * <code>string addedServiceValue = 16;</code>
     * @return The bytes for addedServiceValue.
     */
    public com.google.protobuf.ByteString
        getAddedServiceValueBytes() {
      java.lang.Object ref = addedServiceValue_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        addedServiceValue_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
     * </pre>
     *
     * <code>string addedServiceValue = 16;</code>
     * @param value The addedServiceValue to set.
     * @return This builder for chaining.
     */
    public Builder setAddedServiceValue(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      addedServiceValue_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
     * </pre>
     *
     * <code>string addedServiceValue = 16;</code>
     * @return This builder for chaining.
     */
    public Builder clearAddedServiceValue() {
      
      addedServiceValue_ = getDefaultInstance().getAddedServiceValue();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[C]增值服务扩展属性，参考增值服务传值说明。多个value以JSON格式保存
     * </pre>
     *
     * <code>string addedServiceValue = 16;</code>
     * @param value The bytes for addedServiceValue to set.
     * @return This builder for chaining.
     */
    public Builder setAddedServiceValueBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      addedServiceValue_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverCompany_ = "";
    /**
     * <pre>
     *[R]到件方公司名称
     * </pre>
     *
     * <code>string receiverCompany = 17;</code>
     * @return The receiverCompany.
     */
    public java.lang.String getReceiverCompany() {
      java.lang.Object ref = receiverCompany_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverCompany_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方公司名称
     * </pre>
     *
     * <code>string receiverCompany = 17;</code>
     * @return The bytes for receiverCompany.
     */
    public com.google.protobuf.ByteString
        getReceiverCompanyBytes() {
      java.lang.Object ref = receiverCompany_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverCompany_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方公司名称
     * </pre>
     *
     * <code>string receiverCompany = 17;</code>
     * @param value The receiverCompany to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverCompany(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverCompany_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方公司名称
     * </pre>
     *
     * <code>string receiverCompany = 17;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverCompany() {
      
      receiverCompany_ = getDefaultInstance().getReceiverCompany();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方公司名称
     * </pre>
     *
     * <code>string receiverCompany = 17;</code>
     * @param value The bytes for receiverCompany to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverCompanyBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverCompany_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverContact_ = "";
    /**
     * <pre>
     *[R]到件方联系人
     * </pre>
     *
     * <code>string receiverContact = 18;</code>
     * @return The receiverContact.
     */
    public java.lang.String getReceiverContact() {
      java.lang.Object ref = receiverContact_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverContact_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方联系人
     * </pre>
     *
     * <code>string receiverContact = 18;</code>
     * @return The bytes for receiverContact.
     */
    public com.google.protobuf.ByteString
        getReceiverContactBytes() {
      java.lang.Object ref = receiverContact_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverContact_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方联系人
     * </pre>
     *
     * <code>string receiverContact = 18;</code>
     * @param value The receiverContact to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverContact(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverContact_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方联系人
     * </pre>
     *
     * <code>string receiverContact = 18;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverContact() {
      
      receiverContact_ = getDefaultInstance().getReceiverContact();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方联系人
     * </pre>
     *
     * <code>string receiverContact = 18;</code>
     * @param value The bytes for receiverContact to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverContactBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverContact_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverTel_ = "";
    /**
     * <pre>
     *[R]到件方联系电话
     * </pre>
     *
     * <code>string receiverTel = 19;</code>
     * @return The receiverTel.
     */
    public java.lang.String getReceiverTel() {
      java.lang.Object ref = receiverTel_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverTel_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方联系电话
     * </pre>
     *
     * <code>string receiverTel = 19;</code>
     * @return The bytes for receiverTel.
     */
    public com.google.protobuf.ByteString
        getReceiverTelBytes() {
      java.lang.Object ref = receiverTel_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverTel_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *[R]到件方联系电话
     * </pre>
     *
     * <code>string receiverTel = 19;</code>
     * @param value The receiverTel to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverTel(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverTel_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方联系电话
     * </pre>
     *
     * <code>string receiverTel = 19;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverTel() {
      
      receiverTel_ = getDefaultInstance().getReceiverTel();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *[R]到件方联系电话
     * </pre>
     *
     * <code>string receiverTel = 19;</code>
     * @param value The bytes for receiverTel to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverTelBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverTel_ = 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.sf.CreateOrderRequest)
  }

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

  public static com.ywt.gapi.sf.CreateOrderRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

