// 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 {
private static final long serialVersionUID = 0L;
  // Use PaymentCallbackNotifyRequest.newBuilder() to construct.
  private PaymentCallbackNotifyRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PaymentCallbackNotifyRequest() {
    orderNo_ = "";
    custom_ = "";
    paymentNo_ = "";
    prepayId_ = "";
    openid_ = "";
    oneTimeCustom_ = "";
    wxTransactionId_ = "";
    alipayTradeNo_ = "";
  }

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

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

            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;
          }
          case 122: {
            java.lang.String s = input.readStringRequireUtf8();

            alipayTradeNo_ = 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.ordercenter.OrderCenterProto.internal_static_com_ywt_gapi_ordercenter_PaymentCallbackNotifyRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.ordercenter.OrderCenterProto.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>
   * @return The orderNo.
   */
  @java.lang.Override
  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>
   * @return The bytes for orderNo.
   */
  @java.lang.Override
  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>
   * @return The orderId.
   */
  @java.lang.Override
  public int getOrderId() {
    return orderId_;
  }

  public static final int PAYTYPE_FIELD_NUMBER = 3;
  private int payType_;
  /**
   * <pre>
   *1: 微信; 2: 管理员线下收费；3-支付宝支付
   * </pre>
   *
   * <code>int32 payType = 3;</code>
   * @return The payType.
   */
  @java.lang.Override
  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>
   * @return The custom.
   */
  @java.lang.Override
  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>
   * @return The bytes for custom.
   */
  @java.lang.Override
  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>
   * @return The bizId.
   */
  @java.lang.Override
  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>
   * @return The paymentNo.
   */
  @java.lang.Override
  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>
   * @return The bytes for paymentNo.
   */
  @java.lang.Override
  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>
   * @return The userId.
   */
  @java.lang.Override
  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>
   * @return The prepayId.
   */
  @java.lang.Override
  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>
   * @return The bytes for prepayId.
   */
  @java.lang.Override
  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>
   * @return The terminal.
   */
  @java.lang.Override
  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>
   * @return The openid.
   */
  @java.lang.Override
  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>
   * @return The bytes for openid.
   */
  @java.lang.Override
  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>
   * @return The paymentChannel.
   */
  @java.lang.Override
  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>
   * @return The oneTimeCustom.
   */
  @java.lang.Override
  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>
   * @return The bytes for oneTimeCustom.
   */
  @java.lang.Override
  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>
   * @return The wxTransactionId.
   */
  @java.lang.Override
  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>
   * @return The bytes for wxTransactionId.
   */
  @java.lang.Override
  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>
   * @return The payFinishDate.
   */
  @java.lang.Override
  public long getPayFinishDate() {
    return payFinishDate_;
  }

  public static final int ALIPAYTRADENO_FIELD_NUMBER = 15;
  private volatile java.lang.Object alipayTradeNo_;
  /**
   * <pre>
   * 支付宝支付单号
   * </pre>
   *
   * <code>string alipayTradeNo = 15;</code>
   * @return The alipayTradeNo.
   */
  @java.lang.Override
  public java.lang.String getAlipayTradeNo() {
    java.lang.Object ref = alipayTradeNo_;
    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();
      alipayTradeNo_ = s;
      return s;
    }
  }
  /**
   * <pre>
   * 支付宝支付单号
   * </pre>
   *
   * <code>string alipayTradeNo = 15;</code>
   * @return The bytes for alipayTradeNo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAlipayTradeNoBytes() {
    java.lang.Object ref = alipayTradeNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      alipayTradeNo_ = 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(orderNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, orderNo_);
    }
    if (orderId_ != 0) {
      output.writeInt32(2, orderId_);
    }
    if (payType_ != 0) {
      output.writeInt32(3, payType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(custom_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, custom_);
    }
    if (bizId_ != 0) {
      output.writeInt32(5, bizId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paymentNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, paymentNo_);
    }
    if (userId_ != 0) {
      output.writeInt32(7, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(prepayId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, prepayId_);
    }
    if (terminal_ != 0) {
      output.writeInt32(9, terminal_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openid_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, openid_);
    }
    if (paymentChannel_ != 0) {
      output.writeInt32(11, paymentChannel_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oneTimeCustom_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 12, oneTimeCustom_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(wxTransactionId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, wxTransactionId_);
    }
    if (payFinishDate_ != 0L) {
      output.writeInt64(14, payFinishDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alipayTradeNo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 15, alipayTradeNo_);
    }
    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(orderNo_)) {
      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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(custom_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, custom_);
    }
    if (bizId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, bizId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(paymentNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, paymentNo_);
    }
    if (userId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, userId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(prepayId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, prepayId_);
    }
    if (terminal_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(9, terminal_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(openid_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, openid_);
    }
    if (paymentChannel_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(11, paymentChannel_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oneTimeCustom_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, oneTimeCustom_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(wxTransactionId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, wxTransactionId_);
    }
    if (payFinishDate_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(14, payFinishDate_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alipayTradeNo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, alipayTradeNo_);
    }
    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.ordercenter.PaymentCallbackNotifyRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest other = (com.ywt.gapi.ordercenter.PaymentCallbackNotifyRequest) obj;

    if (!getOrderNo()
        .equals(other.getOrderNo())) return false;
    if (getOrderId()
        != other.getOrderId()) return false;
    if (getPayType()
        != other.getPayType()) return false;
    if (!getCustom()
        .equals(other.getCustom())) return false;
    if (getBizId()
        != other.getBizId()) return false;
    if (!getPaymentNo()
        .equals(other.getPaymentNo())) return false;
    if (getUserId()
        != other.getUserId()) return false;
    if (!getPrepayId()
        .equals(other.getPrepayId())) return false;
    if (getTerminal()
        != other.getTerminal()) return false;
    if (!getOpenid()
        .equals(other.getOpenid())) return false;
    if (getPaymentChannel()
        != other.getPaymentChannel()) return false;
    if (!getOneTimeCustom()
        .equals(other.getOneTimeCustom())) return false;
    if (!getWxTransactionId()
        .equals(other.getWxTransactionId())) return false;
    if (getPayFinishDate()
        != other.getPayFinishDate()) return false;
    if (!getAlipayTradeNo()
        .equals(other.getAlipayTradeNo())) 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) + 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 = (37 * hash) + ALIPAYTRADENO_FIELD_NUMBER;
    hash = (53 * hash) + getAlipayTradeNo().hashCode();
    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);
  }

  @java.lang.Override
  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);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   *订单支付成功通知消息
   * </pre>
   *
   * Protobuf type {@code com.ywt.gapi.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.OrderCenterProto.internal_static_com_ywt_gapi_ordercenter_PaymentCallbackNotifyRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.ordercenter.OrderCenterProto.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) {
      }
    }
    @java.lang.Override
    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;

      alipayTradeNo_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.ordercenter.OrderCenterProto.internal_static_com_ywt_gapi_ordercenter_PaymentCallbackNotifyRequest_descriptor;
    }

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

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

    @java.lang.Override
    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_;
      result.alipayTradeNo_ = alipayTradeNo_;
      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.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());
      }
      if (!other.getAlipayTradeNo().isEmpty()) {
        alipayTradeNo_ = other.alipayTradeNo_;
        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.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>
     * @return The orderNo.
     */
    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>
     * @return The bytes for orderNo.
     */
    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>
     * @param value The orderNo to set.
     * @return This builder for chaining.
     */
    public Builder setOrderNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      orderNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderNo() {
      
      orderNo_ = getDefaultInstance().getOrderNo();
      onChanged();
      return this;
    }
    /**
     * <code>string orderNo = 1;</code>
     * @param value The bytes for orderNo to set.
     * @return This builder for chaining.
     */
    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>
     * @return The orderId.
     */
    @java.lang.Override
    public int getOrderId() {
      return orderId_;
    }
    /**
     * <code>int32 orderId = 2;</code>
     * @param value The orderId to set.
     * @return This builder for chaining.
     */
    public Builder setOrderId(int value) {
      
      orderId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 orderId = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearOrderId() {
      
      orderId_ = 0;
      onChanged();
      return this;
    }

    private int payType_ ;
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费；3-支付宝支付
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     * @return The payType.
     */
    @java.lang.Override
    public int getPayType() {
      return payType_;
    }
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费；3-支付宝支付
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     * @param value The payType to set.
     * @return This builder for chaining.
     */
    public Builder setPayType(int value) {
      
      payType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *1: 微信; 2: 管理员线下收费；3-支付宝支付
     * </pre>
     *
     * <code>int32 payType = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearPayType() {
      
      payType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object custom_ = "";
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     * @return The custom.
     */
    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>
     * @return The bytes for custom.
     */
    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>
     * @param value The custom to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearCustom() {
      
      custom_ = getDefaultInstance().getCustom();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *回发创建单时设置的自定义数据
     * </pre>
     *
     * <code>string custom = 4;</code>
     * @param value The bytes for custom to set.
     * @return This builder for chaining.
     */
    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>
     * @return The bizId.
     */
    @java.lang.Override
    public int getBizId() {
      return bizId_;
    }
    /**
     * <code>int32 bizId = 5;</code>
     * @param value The bizId to set.
     * @return This builder for chaining.
     */
    public Builder setBizId(int value) {
      
      bizId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 bizId = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearBizId() {
      
      bizId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object paymentNo_ = "";
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     * @return The paymentNo.
     */
    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>
     * @return The bytes for paymentNo.
     */
    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>
     * @param value The paymentNo to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearPaymentNo() {
      
      paymentNo_ = getDefaultInstance().getPaymentNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *订单中心支付流水号
     * </pre>
     *
     * <code>string paymentNo = 6;</code>
     * @param value The bytes for paymentNo to set.
     * @return This builder for chaining.
     */
    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>
     * @return The userId.
     */
    @java.lang.Override
    public int getUserId() {
      return userId_;
    }
    /**
     * <pre>
     *用户id
     * </pre>
     *
     * <code>int32 userId = 7;</code>
     * @param value The userId to set.
     * @return This builder for chaining.
     */
    public Builder setUserId(int value) {
      
      userId_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *用户id
     * </pre>
     *
     * <code>int32 userId = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearUserId() {
      
      userId_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object prepayId_ = "";
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     * @return The prepayId.
     */
    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>
     * @return The bytes for prepayId.
     */
    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>
     * @param value The prepayId to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearPrepayId() {
      
      prepayId_ = getDefaultInstance().getPrepayId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次支付微信 prepay_id
     * </pre>
     *
     * <code>string prepayId = 8;</code>
     * @param value The bytes for prepayId to set.
     * @return This builder for chaining.
     */
    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>
     * @return The terminal.
     */
    @java.lang.Override
    public int getTerminal() {
      return terminal_;
    }
    /**
     * <pre>
     *发起支付终端
     * </pre>
     *
     * <code>int32 terminal = 9;</code>
     * @param value The terminal to set.
     * @return This builder for chaining.
     */
    public Builder setTerminal(int value) {
      
      terminal_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *发起支付终端
     * </pre>
     *
     * <code>int32 terminal = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearTerminal() {
      
      terminal_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object openid_ = "";
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     * @return The openid.
     */
    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>
     * @return The bytes for openid.
     */
    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>
     * @param value The openid to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearOpenid() {
      
      openid_ = getDefaultInstance().getOpenid();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *完成微信支付的微信用户 openid
     * </pre>
     *
     * <code>string openid = 10;</code>
     * @param value The bytes for openid to set.
     * @return This builder for chaining.
     */
    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>
     * @return The paymentChannel.
     */
    @java.lang.Override
    public int getPaymentChannel() {
      return paymentChannel_;
    }
    /**
     * <code>int32 paymentChannel = 11;</code>
     * @param value The paymentChannel to set.
     * @return This builder for chaining.
     */
    public Builder setPaymentChannel(int value) {
      
      paymentChannel_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 paymentChannel = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearPaymentChannel() {
      
      paymentChannel_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object oneTimeCustom_ = "";
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     * @return The oneTimeCustom.
     */
    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>
     * @return The bytes for oneTimeCustom.
     */
    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>
     * @param value The oneTimeCustom to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearOneTimeCustom() {
      
      oneTimeCustom_ = getDefaultInstance().getOneTimeCustom();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次操作自定义数据
     * </pre>
     *
     * <code>string oneTimeCustom = 12;</code>
     * @param value The bytes for oneTimeCustom to set.
     * @return This builder for chaining.
     */
    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>
     * @return The wxTransactionId.
     */
    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>
     * @return The bytes for wxTransactionId.
     */
    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>
     * @param value The wxTransactionId to set.
     * @return This builder for chaining.
     */
    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>
     * @return This builder for chaining.
     */
    public Builder clearWxTransactionId() {
      
      wxTransactionId_ = getDefaultInstance().getWxTransactionId();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *本次微信支付交易流水号
     * </pre>
     *
     * <code>string wxTransactionId = 13;</code>
     * @param value The bytes for wxTransactionId to set.
     * @return This builder for chaining.
     */
    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>
     * @return The payFinishDate.
     */
    @java.lang.Override
    public long getPayFinishDate() {
      return payFinishDate_;
    }
    /**
     * <pre>
     *支付完成时间（秒）
     * </pre>
     *
     * <code>int64 payFinishDate = 14;</code>
     * @param value The payFinishDate to set.
     * @return This builder for chaining.
     */
    public Builder setPayFinishDate(long value) {
      
      payFinishDate_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *支付完成时间（秒）
     * </pre>
     *
     * <code>int64 payFinishDate = 14;</code>
     * @return This builder for chaining.
     */
    public Builder clearPayFinishDate() {
      
      payFinishDate_ = 0L;
      onChanged();
      return this;
    }

    private java.lang.Object alipayTradeNo_ = "";
    /**
     * <pre>
     * 支付宝支付单号
     * </pre>
     *
     * <code>string alipayTradeNo = 15;</code>
     * @return The alipayTradeNo.
     */
    public java.lang.String getAlipayTradeNo() {
      java.lang.Object ref = alipayTradeNo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        alipayTradeNo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <pre>
     * 支付宝支付单号
     * </pre>
     *
     * <code>string alipayTradeNo = 15;</code>
     * @return The bytes for alipayTradeNo.
     */
    public com.google.protobuf.ByteString
        getAlipayTradeNoBytes() {
      java.lang.Object ref = alipayTradeNo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        alipayTradeNo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     * 支付宝支付单号
     * </pre>
     *
     * <code>string alipayTradeNo = 15;</code>
     * @param value The alipayTradeNo to set.
     * @return This builder for chaining.
     */
    public Builder setAlipayTradeNo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      alipayTradeNo_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 支付宝支付单号
     * </pre>
     *
     * <code>string alipayTradeNo = 15;</code>
     * @return This builder for chaining.
     */
    public Builder clearAlipayTradeNo() {
      
      alipayTradeNo_ = getDefaultInstance().getAlipayTradeNo();
      onChanged();
      return this;
    }
    /**
     * <pre>
     * 支付宝支付单号
     * </pre>
     *
     * <code>string alipayTradeNo = 15;</code>
     * @param value The bytes for alipayTradeNo to set.
     * @return This builder for chaining.
     */
    public Builder setAlipayTradeNoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      alipayTradeNo_ = 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.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>() {
    @java.lang.Override
    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;
  }

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

}

