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

package com.ywt.gapi.ordercenter;

/**
 * <pre>
 *订单支付成功通知消息
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest}
 */
public  final class PaymentCallbackNotifyRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest)
    PaymentCallbackNotifyRequestOrBuilder {
  // Use PaymentCallbackNotifyRequest.newBuilder() to construct.
  private PaymentCallbackNotifyRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PaymentCallbackNotifyRequest() {
    orderNo_ = "";
    orderId_ = 0;
    payType_ = 0;
    custom_ = "";
    bizId_ = 0;
    paymentNo_ = "";
    userId_ = 0;
    prepayId_ = "";
    terminal_ = 0;
    openid_ = "";
    paymentChannel_ = 0;
    oneTimeCustom_ = "";
    wxTransactionId_ = "";
    payFinishDate_ = 0L;
  }

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

            orderNo_ = s;
            break;
          }
          case 16: {

            orderId_ = input.readInt32();
            break;
          }
          case 24: {

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

            custom_ = s;
            break;
          }
          case 40: {

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

            paymentNo_ = s;
            break;
          }
          case 56: {

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

            prepayId_ = s;
            break;
          }
          case 72: {

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

            openid_ = s;
            break;
          }
          case 88: {

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

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

            wxTransactionId_ = s;
            break;
          }
          case 112: {

            payFinishDate_ = 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_PaymentCallbackNotifyRequest_descriptor;
  }

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

  public static final int ORDERNO_FIELD_NUMBER = 1;
  private volatile java.lang.Object orderNo_;
  /**
   * <code>string orderNo = 1;</code>
   */
  public java.lang.String getOrderNo() {
    java.lang.Object ref = orderNo_;
    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();
      orderNo_ = s;
      return s;
    }
  }
  /**
   * <code>string orderNo = 1;</code>
   */
  public com.google.protobuf.ByteString
      getOrderNoBytes() {
    java.lang.Object ref = orderNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      orderNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ORDERID_FIELD_NUMBER = 2;
  private int orderId_;
  /**
   * <code>int32 orderId = 2;</code>
   */
  public int getOrderId() {
    return orderId_;
  }

  public static final int PAYTYPE_FIELD_NUMBER = 3;
  private int payType_;
  /**
   * <pre>
   *1: 微信; 2: 管理员线下收费
   * </pre>
   *
   * <code>int32 payType = 3;</code>
   */
  public int getPayType() {
    return payType_;
  }

  public static final int CUSTOM_FIELD_NUMBER = 4;
  private volatile java.lang.Object custom_;
  /**
   * <pre>
   *回发创建单时设置的自定义数据
   * </pre>
   *
   * <code>string custom = 4;</code>
   */
  public java.lang.String getCustom() {
    java.lang.Object ref = custom_;
    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();
      custom_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *回发创建单时设置的自定义数据
   * </pre>
   *
   * <code>string custom = 4;</code>
   */
  public com.google.protobuf.ByteString
      getCustomBytes() {
    java.lang.Object ref = custom_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      custom_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BIZID_FIELD_NUMBER = 5;
  private int bizId_;
  /**
   * <code>int32 bizId = 5;</code>
   */
  public int getBizId() {
    return bizId_;
  }

  public static final int PAYMENTNO_FIELD_NUMBER = 6;
  private volatile java.lang.Object paymentNo_;
  /**
   * <pre>
   *订单中心支付流水号
   * </pre>
   *
   * <code>string paymentNo = 6;</code>
   */
  public java.lang.String getPaymentNo() {
    java.lang.Object ref = paymentNo_;
    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();
      paymentNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *订单中心支付流水号
   * </pre>
   *
   * <code>string paymentNo = 6;</code>
   */
  public com.google.protobuf.ByteString
      getPaymentNoBytes() {
    java.lang.Object ref = paymentNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      paymentNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int USERID_FIELD_NUMBER = 7;
  private int userId_;
  /**
   * <pre>
   *用户id
   * </pre>
   *
   * <code>int32 userId = 7;</code>
   */
  public int getUserId() {
    return userId_;
  }

  public static final int PREPAYID_FIELD_NUMBER = 8;
  private volatile java.lang.Object prepayId_;
  /**
   * <pre>
   *本次支付微信 prepay_id
   * </pre>
   *
   * <code>string prepayId = 8;</code>
   */
  public java.lang.String getPrepayId() {
    java.lang.Object ref = prepayId_;
    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();
      prepayId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *本次支付微信 prepay_id
   * </pre>
   *
   * <code>string prepayId = 8;</code>
   */
  public com.google.protobuf.ByteString
      getPrepayIdBytes() {
    java.lang.Object ref = prepayId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      prepayId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TERMINAL_FIELD_NUMBER = 9;
  private int terminal_;
  /**
   * <pre>
   *发起支付终端
   * </pre>
   *
   * <code>int32 terminal = 9;</code>
   */
  public int getTerminal() {
    return terminal_;
  }

  public static final int OPENID_FIELD_NUMBER = 10;
  private volatile java.lang.Object openid_;
  /**
   * <pre>
   *完成微信支付的微信用户 openid
   * </pre>
   *
   * <code>string openid = 10;</code>
   */
  public java.lang.String getOpenid() {
    java.lang.Object ref = openid_;
    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();
      openid_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *完成微信支付的微信用户 openid
   * </pre>
   *
   * <code>string openid = 10;</code>
   */
  public com.google.protobuf.ByteString
      getOpenidBytes() {
    java.lang.Object ref = openid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      openid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PAYMENTCHANNEL_FIELD_NUMBER = 11;
  private int paymentChannel_;
  /**
   * <code>int32 paymentChannel = 11;</code>
   */
  public int getPaymentChannel() {
    return paymentChannel_;
  }

  public static final int ONETIMECUSTOM_FIELD_NUMBER = 12;
  private volatile java.lang.Object oneTimeCustom_;
  /**
   * <pre>
   *本次操作自定义数据
   * </pre>
   *
   * <code>string oneTimeCustom = 12;</code>
   */
  public java.lang.String getOneTimeCustom() {
    java.lang.Object ref = oneTimeCustom_;
    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();
      oneTimeCustom_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *本次操作自定义数据
   * </pre>
   *
   * <code>string oneTimeCustom = 12;</code>
   */
  public com.google.protobuf.ByteString
      getOneTimeCustomBytes() {
    java.lang.Object ref = oneTimeCustom_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      oneTimeCustom_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int WXTRANSACTIONID_FIELD_NUMBER = 13;
  private volatile java.lang.Object wxTransactionId_;
  /**
   * <pre>
   *本次微信支付交易流水号
   * </pre>
   *
   * <code>string wxTransactionId = 13;</code>
   */
  public java.lang.String getWxTransactionId() {
    java.lang.Object ref = wxTransactionId_;
    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();
      wxTransactionId_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *本次微信支付交易流水号
   * </pre>
   *
   * <code>string wxTransactionId = 13;</code>
   */
  public com.google.protobuf.ByteString
      getWxTransactionIdBytes() {
    java.lang.Object ref = wxTransactionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      wxTransactionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

  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 (!getOrderNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderNo_);
    }
    if (orderId_ != 0) {
      output.writeInt32(2, orderId_);
    }
    if (payType_ != 0) {
      output.writeInt32(3, payType_);
    }
    if (!getCustomBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, custom_);
    }
    if (bizId_ != 0) {
      output.writeInt32(5, bizId_);
    }
    if (!getPaymentNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, paymentNo_);
    }
    if (userId_ != 0) {
      output.writeInt32(7, userId_);
    }
    if (!getPrepayIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, prepayId_);
    }
    if (terminal_ != 0) {
      output.writeInt32(9, terminal_);
    }
    if (!getOpenidBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, openid_);
    }
    if (paymentChannel_ != 0) {
      output.writeInt32(11, paymentChannel_);
    }
    if (!getOneTimeCustomBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, oneTimeCustom_);
    }
    if (!getWxTransactionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, wxTransactionId_);
    }
    if (payFinishDate_ != 0L) {
      output.writeInt64(14, payFinishDate_);
    }
  }

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

    size = 0;
    if (!getOrderNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, orderNo_);
    }
    if (orderId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(2, orderId_);
    }
    if (payType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(3, payType_);
    }
    if (!getCustomBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, custom_);
    }
    if (bizId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, bizId_);
    }
    if (!getPaymentNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, paymentNo_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, userId_);
    }
    if (!getPrepayIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, prepayId_);
    }
    if (terminal_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, terminal_);
    }
    if (!getOpenidBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, openid_);
    }
    if (paymentChannel_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, paymentChannel_);
    }
    if (!getOneTimeCustomBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, oneTimeCustom_);
    }
    if (!getWxTransactionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, wxTransactionId_);
    }
    if (payFinishDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(14, payFinishDate_);
    }
    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.PaymentCallbackNotifyRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest other = (com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest) obj;

    boolean result = true;
    result = result && getOrderNo()
        .equals(other.getOrderNo());
    result = result && (getOrderId()
        == other.getOrderId());
    result = result && (getPayType()
        == other.getPayType());
    result = result && getCustom()
        .equals(other.getCustom());
    result = result && (getBizId()
        == other.getBizId());
    result = result && getPaymentNo()
        .equals(other.getPaymentNo());
    result = result && (getUserId()
        == other.getUserId());
    result = result && getPrepayId()
        .equals(other.getPrepayId());
    result = result && (getTerminal()
        == other.getTerminal());
    result = result && getOpenid()
        .equals(other.getOpenid());
    result = result && (getPaymentChannel()
        == other.getPaymentChannel());
    result = result && getOneTimeCustom()
        .equals(other.getOneTimeCustom());
    result = result && getWxTransactionId()
        .equals(other.getWxTransactionId());
    result = result && (getPayFinishDate()
        == other.getPayFinishDate());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ORDERNO_FIELD_NUMBER;
    hash = (53 * hash) + getOrderNo().hashCode();
    hash = (37 * hash) + ORDERID_FIELD_NUMBER;
    hash = (53 * hash) + getOrderId();
    hash = (37 * hash) + PAYTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getPayType();
    hash = (37 * hash) + CUSTOM_FIELD_NUMBER;
    hash = (53 * hash) + getCustom().hashCode();
    hash = (37 * hash) + BIZID_FIELD_NUMBER;
    hash = (53 * hash) + getBizId();
    hash = (37 * hash) + PAYMENTNO_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentNo().hashCode();
    hash = (37 * hash) + USERID_FIELD_NUMBER;
    hash = (53 * hash) + getUserId();
    hash = (37 * hash) + PREPAYID_FIELD_NUMBER;
    hash = (53 * hash) + getPrepayId().hashCode();
    hash = (37 * hash) + TERMINAL_FIELD_NUMBER;
    hash = (53 * hash) + getTerminal();
    hash = (37 * hash) + OPENID_FIELD_NUMBER;
    hash = (53 * hash) + getOpenid().hashCode();
    hash = (37 * hash) + PAYMENTCHANNEL_FIELD_NUMBER;
    hash = (53 * hash) + getPaymentChannel();
    hash = (37 * hash) + ONETIMECUSTOM_FIELD_NUMBER;
    hash = (53 * hash) + getOneTimeCustom().hashCode();
    hash = (37 * hash) + WXTRANSACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getWxTransactionId().hashCode();
    hash = (37 * hash) + PAYFINISHDATE_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPayFinishDate());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest 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.PaymentCallbackNotifyRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest 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.PaymentCallbackNotifyRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest 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.PaymentCallbackNotifyRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest 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.PaymentCallbackNotifyRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest 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.PaymentCallbackNotifyRequest prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *订单支付成功通知消息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest)
      com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_PaymentCallbackNotifyRequest_descriptor;
    }

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

    // Construct using com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest.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();
      orderNo_ = "";

      orderId_ = 0;

      payType_ = 0;

      custom_ = "";

      bizId_ = 0;

      paymentNo_ = "";

      userId_ = 0;

      prepayId_ = "";

      terminal_ = 0;

      openid_ = "";

      paymentChannel_ = 0;

      oneTimeCustom_ = "";

      wxTransactionId_ = "";

      payFinishDate_ = 0L;

      return this;
    }

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

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

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

    public com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest buildPartial() {
      com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest result = new com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest(this);
      result.orderNo_ = orderNo_;
      result.orderId_ = orderId_;
      result.payType_ = payType_;
      result.custom_ = custom_;
      result.bizId_ = bizId_;
      result.paymentNo_ = paymentNo_;
      result.userId_ = userId_;
      result.prepayId_ = prepayId_;
      result.terminal_ = terminal_;
      result.openid_ = openid_;
      result.paymentChannel_ = paymentChannel_;
      result.oneTimeCustom_ = oneTimeCustom_;
      result.wxTransactionId_ = wxTransactionId_;
      result.payFinishDate_ = payFinishDate_;
      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.PaymentCallbackNotifyRequest) {
        return mergeFrom((com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest other) {
      if (other == com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest.getDefaultInstance()) return this;
      if (!other.getOrderNo().isEmpty()) {
        orderNo_ = other.orderNo_;
        onChanged();
      }
      if (other.getOrderId() != 0) {
        setOrderId(other.getOrderId());
      }
      if (other.getPayType() != 0) {
        setPayType(other.getPayType());
      }
      if (!other.getCustom().isEmpty()) {
        custom_ = other.custom_;
        onChanged();
      }
      if (other.getBizId() != 0) {
        setBizId(other.getBizId());
      }
      if (!other.getPaymentNo().isEmpty()) {
        paymentNo_ = other.paymentNo_;
        onChanged();
      }
      if (other.getUserId() != 0) {
        setUserId(other.getUserId());
      }
      if (!other.getPrepayId().isEmpty()) {
        prepayId_ = other.prepayId_;
        onChanged();
      }
      if (other.getTerminal() != 0) {
        setTerminal(other.getTerminal());
      }
      if (!other.getOpenid().isEmpty()) {
        openid_ = other.openid_;
        onChanged();
      }
      if (other.getPaymentChannel() != 0) {
        setPaymentChannel(other.getPaymentChannel());
      }
      if (!other.getOneTimeCustom().isEmpty()) {
        oneTimeCustom_ = other.oneTimeCustom_;
        onChanged();
      }
      if (!other.getWxTransactionId().isEmpty()) {
        wxTransactionId_ = other.wxTransactionId_;
        onChanged();
      }
      if (other.getPayFinishDate() != 0L) {
        setPayFinishDate(other.getPayFinishDate());
      }
      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.PaymentCallbackNotifyRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private java.lang.Object orderNo_ = "";
    /**
     * <code>string orderNo = 1;</code>
     */
    public java.lang.String getOrderNo() {
      java.lang.Object ref = orderNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        orderNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string orderNo = 1;</code>
     */
    public com.google.protobuf.ByteString
        getOrderNoBytes() {
      java.lang.Object ref = orderNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        orderNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string orderNo = 1;</code>
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     */
    public Builder setOrderNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      orderNo_ = value;
      onChanged();
      return this;
    }

    private int orderId_ ;
    /**
     * <code>int32 orderId = 2;</code>
     */
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 2;</code>
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 2;</code>
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private int payType_ ;
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     */
    public int getPayType() {
      return payType_;
    }
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     */
    public Builder setPayType(int value) {
      
      payType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     */
    public Builder clearPayType() {
      
      payType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object custom_ = "";
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     */
    public java.lang.String getCustom() {
      java.lang.Object ref = custom_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        custom_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     */
    public com.google.protobuf.ByteString
        getCustomBytes() {
      java.lang.Object ref = custom_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        custom_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     */
    public Builder setCustom(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      custom_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     */
    public Builder clearCustom() {
      
      custom_ = getDefaultInstance().getCustom();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     */
    public Builder setCustomBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      custom_ = value;
      onChanged();
      return this;
    }

    private int bizId_ ;
    /**
     * <code>int32 bizId = 5;</code>
     */
    public int getBizId() {
      return bizId_;
    }
    /**
     * <code>int32 bizId = 5;</code>
     */
    public Builder setBizId(int value) {
      
      bizId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 bizId = 5;</code>
     */
    public Builder clearBizId() {
      
      bizId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object paymentNo_ = "";
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     */
    public java.lang.String getPaymentNo() {
      java.lang.Object ref = paymentNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        paymentNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     */
    public com.google.protobuf.ByteString
        getPaymentNoBytes() {
      java.lang.Object ref = paymentNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        paymentNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     */
    public Builder setPaymentNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      paymentNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     */
    public Builder clearPaymentNo() {
      
      paymentNo_ = getDefaultInstance().getPaymentNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     */
    public Builder setPaymentNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      paymentNo_ = value;
      onChanged();
      return this;
    }

    private int userId_ ;
    /**
     * <pre>
     *用户id
     * </pre>
     *
     * <code>int32 userId = 7;</code>
     */
    public int getUserId() {
      return userId_;
    }
    /**
     * <pre>
     *用户id
     * </pre>
     *
     * <code>int32 userId = 7;</code>
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用户id
     * </pre>
     *
     * <code>int32 userId = 7;</code>
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object prepayId_ = "";
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     */
    public java.lang.String getPrepayId() {
      java.lang.Object ref = prepayId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        prepayId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     */
    public com.google.protobuf.ByteString
        getPrepayIdBytes() {
      java.lang.Object ref = prepayId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        prepayId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     */
    public Builder setPrepayId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      prepayId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     */
    public Builder clearPrepayId() {
      
      prepayId_ = getDefaultInstance().getPrepayId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     */
    public Builder setPrepayIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      prepayId_ = value;
      onChanged();
      return this;
    }

    private int terminal_ ;
    /**
     * <pre>
     *发起支付终端
     * </pre>
     *
     * <code>int32 terminal = 9;</code>
     */
    public int getTerminal() {
      return terminal_;
    }
    /**
     * <pre>
     *发起支付终端
     * </pre>
     *
     * <code>int32 terminal = 9;</code>
     */
    public Builder setTerminal(int value) {
      
      terminal_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *发起支付终端
     * </pre>
     *
     * <code>int32 terminal = 9;</code>
     */
    public Builder clearTerminal() {
      
      terminal_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object openid_ = "";
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     */
    public java.lang.String getOpenid() {
      java.lang.Object ref = openid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        openid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     */
    public com.google.protobuf.ByteString
        getOpenidBytes() {
      java.lang.Object ref = openid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        openid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     */
    public Builder setOpenid(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      openid_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     */
    public Builder clearOpenid() {
      
      openid_ = getDefaultInstance().getOpenid();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     */
    public Builder setOpenidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      openid_ = value;
      onChanged();
      return this;
    }

    private int paymentChannel_ ;
    /**
     * <code>int32 paymentChannel = 11;</code>
     */
    public int getPaymentChannel() {
      return paymentChannel_;
    }
    /**
     * <code>int32 paymentChannel = 11;</code>
     */
    public Builder setPaymentChannel(int value) {
      
      paymentChannel_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 paymentChannel = 11;</code>
     */
    public Builder clearPaymentChannel() {
      
      paymentChannel_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object oneTimeCustom_ = "";
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     */
    public java.lang.String getOneTimeCustom() {
      java.lang.Object ref = oneTimeCustom_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        oneTimeCustom_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     */
    public com.google.protobuf.ByteString
        getOneTimeCustomBytes() {
      java.lang.Object ref = oneTimeCustom_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        oneTimeCustom_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     */
    public Builder setOneTimeCustom(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      oneTimeCustom_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     */
    public Builder clearOneTimeCustom() {
      
      oneTimeCustom_ = getDefaultInstance().getOneTimeCustom();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     */
    public Builder setOneTimeCustomBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      oneTimeCustom_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object wxTransactionId_ = "";
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     */
    public java.lang.String getWxTransactionId() {
      java.lang.Object ref = wxTransactionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        wxTransactionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     */
    public com.google.protobuf.ByteString
        getWxTransactionIdBytes() {
      java.lang.Object ref = wxTransactionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        wxTransactionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     */
    public Builder setWxTransactionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      wxTransactionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     */
    public Builder clearWxTransactionId() {
      
      wxTransactionId_ = getDefaultInstance().getWxTransactionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     */
    public Builder setWxTransactionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      wxTransactionId_ = value;
      onChanged();
      return this;
    }

    private long payFinishDate_ ;
    /**
     * <pre>
     *支付完成时间（秒）
     * </pre>
     *
     * <code>int64 payFinishDate = 14;</code>
     */
    public long getPayFinishDate() {
      return payFinishDate_;
    }
    /**
     * <pre>
     *支付完成时间（秒）
     * </pre>
     *
     * <code>int64 payFinishDate = 14;</code>
     */
    public Builder setPayFinishDate(long value) {
      
      payFinishDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付完成时间（秒）
     * </pre>
     *
     * <code>int64 payFinishDate = 14;</code>
     */
    public Builder clearPayFinishDate() {
      
      payFinishDate_ = 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.PaymentCallbackNotifyRequest)
  }

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

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

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

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

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

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

}

