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

package com.ywt.gapi.ordercenter;

/**
 * <pre>
 *ICBC支付内部grpc通知消息结构
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest}
 */
public  final class ICBCPaymentNotifyRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest)
    ICBCPaymentNotifyRequestOrBuilder {
  // Use ICBCPaymentNotifyRequest.newBuilder() to construct.
  private ICBCPaymentNotifyRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ICBCPaymentNotifyRequest() {
    internalPayNo_ = "";
    mchId_ = "";
    transactionId_ = "";
    attach_ = "";
    outTradeNo_ = "";
    fee_ = 0;
    payFinishDate_ = 0L;
    payDate_ = 0L;
  }

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

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

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

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

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

            outTradeNo_ = s;
            break;
          }
          case 48: {

            fee_ = input.readInt32();
            break;
          }
          case 56: {

            payFinishDate_ = input.readInt64();
            break;
          }
          case 64: {

            payDate_ = input.readInt64();
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCPaymentNotifyRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCPaymentNotifyRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.class, com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.Builder.class);
  }

  public static final int INTERNALPAYNO_FIELD_NUMBER = 1;
  private volatile java.lang.Object internalPayNo_;
  /**
   * <pre>
   *内部支付实例唯一编码
   * </pre>
   *
   * <code>string internalPayNo = 1;</code>
   */
  public java.lang.String getInternalPayNo() {
    java.lang.Object ref = internalPayNo_;
    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();
      internalPayNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *内部支付实例唯一编码
   * </pre>
   *
   * <code>string internalPayNo = 1;</code>
   */
  public com.google.protobuf.ByteString
      getInternalPayNoBytes() {
    java.lang.Object ref = internalPayNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      internalPayNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MCHID_FIELD_NUMBER = 2;
  private volatile java.lang.Object mchId_;
  /**
   * <pre>
   *微信支付商户号/服务商的特约商户号
   * </pre>
   *
   * <code>string mchId = 2;</code>
   */
  public java.lang.String getMchId() {
    java.lang.Object ref = mchId_;
    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();
      mchId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *微信支付商户号/服务商的特约商户号
   * </pre>
   *
   * <code>string mchId = 2;</code>
   */
  public com.google.protobuf.ByteString
      getMchIdBytes() {
    java.lang.Object ref = mchId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mchId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSACTIONID_FIELD_NUMBER = 3;
  private volatile java.lang.Object transactionId_;
  /**
   * <pre>
   *微信支付订单号
   * </pre>
   *
   * <code>string transactionId = 3;</code>
   */
  public java.lang.String getTransactionId() {
    java.lang.Object ref = transactionId_;
    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();
      transactionId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *微信支付订单号
   * </pre>
   *
   * <code>string transactionId = 3;</code>
   */
  public com.google.protobuf.ByteString
      getTransactionIdBytes() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transactionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ATTACH_FIELD_NUMBER = 4;
  private volatile java.lang.Object attach_;
  /**
   * <pre>
   *附加数据
   * </pre>
   *
   * <code>string attach = 4;</code>
   */
  public java.lang.String getAttach() {
    java.lang.Object ref = attach_;
    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();
      attach_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *附加数据
   * </pre>
   *
   * <code>string attach = 4;</code>
   */
  public com.google.protobuf.ByteString
      getAttachBytes() {
    java.lang.Object ref = attach_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      attach_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OUTTRADENO_FIELD_NUMBER = 5;
  private volatile java.lang.Object outTradeNo_;
  /**
   * <pre>
   *商户订单号
   * </pre>
   *
   * <code>string outTradeNo = 5;</code>
   */
  public java.lang.String getOutTradeNo() {
    java.lang.Object ref = outTradeNo_;
    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();
      outTradeNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *商户订单号
   * </pre>
   *
   * <code>string outTradeNo = 5;</code>
   */
  public com.google.protobuf.ByteString
      getOutTradeNoBytes() {
    java.lang.Object ref = outTradeNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      outTradeNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int FEE_FIELD_NUMBER = 6;
  private int fee_;
  /**
   * <pre>
   *支付金额(单位: 分)
   * </pre>
   *
   * <code>int32 fee = 6;</code>
   */
  public int getFee() {
    return fee_;
  }

  public static final int PAYFINISHDATE_FIELD_NUMBER = 7;
  private long payFinishDate_;
  /**
   * <pre>
   *支付完成时间
   * </pre>
   *
   * <code>int64 payFinishDate = 7;</code>
   */
  public long getPayFinishDate() {
    return payFinishDate_;
  }

  public static final int PAYDATE_FIELD_NUMBER = 8;
  private long payDate_;
  /**
   * <pre>
   *支付时间
   * </pre>
   *
   * <code>int64 payDate = 8;</code>
   */
  public long getPayDate() {
    return payDate_;
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getInternalPayNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, internalPayNo_);
    }
    if (!getMchIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mchId_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, transactionId_);
    }
    if (!getAttachBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, attach_);
    }
    if (!getOutTradeNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, outTradeNo_);
    }
    if (fee_ != 0) {
      output.writeInt32(6, fee_);
    }
    if (payFinishDate_ != 0L) {
      output.writeInt64(7, payFinishDate_);
    }
    if (payDate_ != 0L) {
      output.writeInt64(8, payDate_);
    }
  }

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

    size = 0;
    if (!getInternalPayNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, internalPayNo_);
    }
    if (!getMchIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mchId_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transactionId_);
    }
    if (!getAttachBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, attach_);
    }
    if (!getOutTradeNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outTradeNo_);
    }
    if (fee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, fee_);
    }
    if (payFinishDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(7, payFinishDate_);
    }
    if (payDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(8, payDate_);
    }
    memoizedSize = size;
    return size;
  }

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

    boolean result = true;
    result = result && getInternalPayNo()
        .equals(other.getInternalPayNo());
    result = result && getMchId()
        .equals(other.getMchId());
    result = result && getTransactionId()
        .equals(other.getTransactionId());
    result = result && getAttach()
        .equals(other.getAttach());
    result = result && getOutTradeNo()
        .equals(other.getOutTradeNo());
    result = result && (getFee()
        == other.getFee());
    result = result && (getPayFinishDate()
        == other.getPayFinishDate());
    result = result && (getPayDate()
        == other.getPayDate());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + INTERNALPAYNO_FIELD_NUMBER;
    hash = (53 * hash) + getInternalPayNo().hashCode();
    hash = (37 * hash) + MCHID_FIELD_NUMBER;
    hash = (53 * hash) + getMchId().hashCode();
    hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getTransactionId().hashCode();
    hash = (37 * hash) + ATTACH_FIELD_NUMBER;
    hash = (53 * hash) + getAttach().hashCode();
    hash = (37 * hash) + OUTTRADENO_FIELD_NUMBER;
    hash = (53 * hash) + getOutTradeNo().hashCode();
    hash = (37 * hash) + FEE_FIELD_NUMBER;
    hash = (53 * hash) + getFee();
    hash = (37 * hash) + PAYFINISHDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPayFinishDate());
    hash = (37 * hash) + PAYDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPayDate());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *ICBC支付内部grpc通知消息结构
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest)
      com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCPaymentNotifyRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCPaymentNotifyRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.class, com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.Builder.class);
    }

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      internalPayNo_ = "";

      mchId_ = "";

      transactionId_ = "";

      attach_ = "";

      outTradeNo_ = "";

      fee_ = 0;

      payFinishDate_ = 0L;

      payDate_ = 0L;

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCPaymentNotifyRequest_descriptor;
    }

    public com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest getDefaultInstanceForType() {
      return com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.getDefaultInstance();
    }

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

    public com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest buildPartial() {
      com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest result = new com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest(this);
      result.internalPayNo_ = internalPayNo_;
      result.mchId_ = mchId_;
      result.transactionId_ = transactionId_;
      result.attach_ = attach_;
      result.outTradeNo_ = outTradeNo_;
      result.fee_ = fee_;
      result.payFinishDate_ = payFinishDate_;
      result.payDate_ = payDate_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest other) {
      if (other == com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest.getDefaultInstance()) return this;
      if (!other.getInternalPayNo().isEmpty()) {
        internalPayNo_ = other.internalPayNo_;
        onChanged();
      }
      if (!other.getMchId().isEmpty()) {
        mchId_ = other.mchId_;
        onChanged();
      }
      if (!other.getTransactionId().isEmpty()) {
        transactionId_ = other.transactionId_;
        onChanged();
      }
      if (!other.getAttach().isEmpty()) {
        attach_ = other.attach_;
        onChanged();
      }
      if (!other.getOutTradeNo().isEmpty()) {
        outTradeNo_ = other.outTradeNo_;
        onChanged();
      }
      if (other.getFee() != 0) {
        setFee(other.getFee());
      }
      if (other.getPayFinishDate() != 0L) {
        setPayFinishDate(other.getPayFinishDate());
      }
      if (other.getPayDate() != 0L) {
        setPayDate(other.getPayDate());
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private java.lang.Object internalPayNo_ = "";
    /**
     * <pre>
     *内部支付实例唯一编码
     * </pre>
     *
     * <code>string internalPayNo = 1;</code>
     */
    public java.lang.String getInternalPayNo() {
      java.lang.Object ref = internalPayNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        internalPayNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *内部支付实例唯一编码
     * </pre>
     *
     * <code>string internalPayNo = 1;</code>
     */
    public com.google.protobuf.ByteString
        getInternalPayNoBytes() {
      java.lang.Object ref = internalPayNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        internalPayNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *内部支付实例唯一编码
     * </pre>
     *
     * <code>string internalPayNo = 1;</code>
     */
    public Builder setInternalPayNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      internalPayNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *内部支付实例唯一编码
     * </pre>
     *
     * <code>string internalPayNo = 1;</code>
     */
    public Builder clearInternalPayNo() {
      
      internalPayNo_ = getDefaultInstance().getInternalPayNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *内部支付实例唯一编码
     * </pre>
     *
     * <code>string internalPayNo = 1;</code>
     */
    public Builder setInternalPayNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      internalPayNo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object mchId_ = "";
    /**
     * <pre>
     *微信支付商户号/服务商的特约商户号
     * </pre>
     *
     * <code>string mchId = 2;</code>
     */
    public java.lang.String getMchId() {
      java.lang.Object ref = mchId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mchId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *微信支付商户号/服务商的特约商户号
     * </pre>
     *
     * <code>string mchId = 2;</code>
     */
    public com.google.protobuf.ByteString
        getMchIdBytes() {
      java.lang.Object ref = mchId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mchId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *微信支付商户号/服务商的特约商户号
     * </pre>
     *
     * <code>string mchId = 2;</code>
     */
    public Builder setMchId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mchId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *微信支付商户号/服务商的特约商户号
     * </pre>
     *
     * <code>string mchId = 2;</code>
     */
    public Builder clearMchId() {
      
      mchId_ = getDefaultInstance().getMchId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *微信支付商户号/服务商的特约商户号
     * </pre>
     *
     * <code>string mchId = 2;</code>
     */
    public Builder setMchIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mchId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object transactionId_ = "";
    /**
     * <pre>
     *微信支付订单号
     * </pre>
     *
     * <code>string transactionId = 3;</code>
     */
    public java.lang.String getTransactionId() {
      java.lang.Object ref = transactionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        transactionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *微信支付订单号
     * </pre>
     *
     * <code>string transactionId = 3;</code>
     */
    public com.google.protobuf.ByteString
        getTransactionIdBytes() {
      java.lang.Object ref = transactionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        transactionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *微信支付订单号
     * </pre>
     *
     * <code>string transactionId = 3;</code>
     */
    public Builder setTransactionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      transactionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *微信支付订单号
     * </pre>
     *
     * <code>string transactionId = 3;</code>
     */
    public Builder clearTransactionId() {
      
      transactionId_ = getDefaultInstance().getTransactionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *微信支付订单号
     * </pre>
     *
     * <code>string transactionId = 3;</code>
     */
    public Builder setTransactionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      transactionId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object attach_ = "";
    /**
     * <pre>
     *附加数据
     * </pre>
     *
     * <code>string attach = 4;</code>
     */
    public java.lang.String getAttach() {
      java.lang.Object ref = attach_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        attach_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *附加数据
     * </pre>
     *
     * <code>string attach = 4;</code>
     */
    public com.google.protobuf.ByteString
        getAttachBytes() {
      java.lang.Object ref = attach_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        attach_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *附加数据
     * </pre>
     *
     * <code>string attach = 4;</code>
     */
    public Builder setAttach(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      attach_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *附加数据
     * </pre>
     *
     * <code>string attach = 4;</code>
     */
    public Builder clearAttach() {
      
      attach_ = getDefaultInstance().getAttach();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *附加数据
     * </pre>
     *
     * <code>string attach = 4;</code>
     */
    public Builder setAttachBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      attach_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object outTradeNo_ = "";
    /**
     * <pre>
     *商户订单号
     * </pre>
     *
     * <code>string outTradeNo = 5;</code>
     */
    public java.lang.String getOutTradeNo() {
      java.lang.Object ref = outTradeNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        outTradeNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *商户订单号
     * </pre>
     *
     * <code>string outTradeNo = 5;</code>
     */
    public com.google.protobuf.ByteString
        getOutTradeNoBytes() {
      java.lang.Object ref = outTradeNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        outTradeNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *商户订单号
     * </pre>
     *
     * <code>string outTradeNo = 5;</code>
     */
    public Builder setOutTradeNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      outTradeNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *商户订单号
     * </pre>
     *
     * <code>string outTradeNo = 5;</code>
     */
    public Builder clearOutTradeNo() {
      
      outTradeNo_ = getDefaultInstance().getOutTradeNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *商户订单号
     * </pre>
     *
     * <code>string outTradeNo = 5;</code>
     */
    public Builder setOutTradeNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      outTradeNo_ = value;
      onChanged();
      return this;
    }

    private int fee_ ;
    /**
     * <pre>
     *支付金额(单位: 分)
     * </pre>
     *
     * <code>int32 fee = 6;</code>
     */
    public int getFee() {
      return fee_;
    }
    /**
     * <pre>
     *支付金额(单位: 分)
     * </pre>
     *
     * <code>int32 fee = 6;</code>
     */
    public Builder setFee(int value) {
      
      fee_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付金额(单位: 分)
     * </pre>
     *
     * <code>int32 fee = 6;</code>
     */
    public Builder clearFee() {
      
      fee_ = 0;
      onChanged();
      return this;
    }

    private long payFinishDate_ ;
    /**
     * <pre>
     *支付完成时间
     * </pre>
     *
     * <code>int64 payFinishDate = 7;</code>
     */
    public long getPayFinishDate() {
      return payFinishDate_;
    }
    /**
     * <pre>
     *支付完成时间
     * </pre>
     *
     * <code>int64 payFinishDate = 7;</code>
     */
    public Builder setPayFinishDate(long value) {
      
      payFinishDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付完成时间
     * </pre>
     *
     * <code>int64 payFinishDate = 7;</code>
     */
    public Builder clearPayFinishDate() {
      
      payFinishDate_ = 0L;
      onChanged();
      return this;
    }

    private long payDate_ ;
    /**
     * <pre>
     *支付时间
     * </pre>
     *
     * <code>int64 payDate = 8;</code>
     */
    public long getPayDate() {
      return payDate_;
    }
    /**
     * <pre>
     *支付时间
     * </pre>
     *
     * <code>int64 payDate = 8;</code>
     */
    public Builder setPayDate(long value) {
      
      payDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付时间
     * </pre>
     *
     * <code>int64 payDate = 8;</code>
     */
    public Builder clearPayDate() {
      
      payDate_ = 0L;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest)
  }

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

  public static com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.ordercenter.ICBCPaymentNotifyRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

