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

package com.ywt.gapi.order;

/**
 * <pre>
 *微信支付回调请求
 * </pre>
 *
 * Protobuf type {@code com.ywt.gapi.order.WxPayCallbackRequest}
 */
public  final class WxPayCallbackRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.order.WxPayCallbackRequest)
    WxPayCallbackRequestOrBuilder {
  // Use WxPayCallbackRequest.newBuilder() to construct.
  private WxPayCallbackRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private WxPayCallbackRequest() {
    returnCode_ = "";
    resultCode_ = "";
    outTradeNo_ = "";
    transactionId_ = "";
    totalFee_ = 0;
    cashFee_ = 0;
    attach_ = "";
    bankType_ = "";
    timeEnd_ = "";
    errCode_ = "";
    errCodeDes_ = "";
  }

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

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

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

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

            transactionId_ = s;
            break;
          }
          case 40: {

            totalFee_ = input.readInt32();
            break;
          }
          case 48: {

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

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

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

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

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

            errCodeDes_ = s;
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_WxPayCallbackRequest_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_WxPayCallbackRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.order.WxPayCallbackRequest.class, com.ywt.gapi.order.WxPayCallbackRequest.Builder.class);
  }

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

  public static final int RESULTCODE_FIELD_NUMBER = 2;
  private volatile java.lang.Object resultCode_;
  /**
   * <code>string resultCode = 2;</code>
   */
  public java.lang.String getResultCode() {
    java.lang.Object ref = resultCode_;
    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();
      resultCode_ = s;
      return s;
    }
  }
  /**
   * <code>string resultCode = 2;</code>
   */
  public com.google.protobuf.ByteString
      getResultCodeBytes() {
    java.lang.Object ref = resultCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      resultCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int OUTTRADENO_FIELD_NUMBER = 3;
  private volatile java.lang.Object outTradeNo_;
  /**
   * <code>string outTradeNo = 3;</code>
   */
  public java.lang.String getOutTradeNo() {
    java.lang.Object ref = outTradeNo_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      outTradeNo_ = s;
      return s;
    }
  }
  /**
   * <code>string outTradeNo = 3;</code>
   */
  public com.google.protobuf.ByteString
      getOutTradeNoBytes() {
    java.lang.Object ref = outTradeNo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      outTradeNo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSACTIONID_FIELD_NUMBER = 4;
  private volatile java.lang.Object transactionId_;
  /**
   * <code>string transactionId = 4;</code>
   */
  public java.lang.String getTransactionId() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      transactionId_ = s;
      return s;
    }
  }
  /**
   * <code>string transactionId = 4;</code>
   */
  public com.google.protobuf.ByteString
      getTransactionIdBytes() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transactionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOTALFEE_FIELD_NUMBER = 5;
  private int totalFee_;
  /**
   * <code>int32 totalFee = 5;</code>
   */
  public int getTotalFee() {
    return totalFee_;
  }

  public static final int CASHFEE_FIELD_NUMBER = 6;
  private int cashFee_;
  /**
   * <code>int32 cashFee = 6;</code>
   */
  public int getCashFee() {
    return cashFee_;
  }

  public static final int ATTACH_FIELD_NUMBER = 7;
  private volatile java.lang.Object attach_;
  /**
   * <code>string attach = 7;</code>
   */
  public java.lang.String getAttach() {
    java.lang.Object ref = attach_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      attach_ = s;
      return s;
    }
  }
  /**
   * <code>string attach = 7;</code>
   */
  public com.google.protobuf.ByteString
      getAttachBytes() {
    java.lang.Object ref = attach_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      attach_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int BANKTYPE_FIELD_NUMBER = 8;
  private volatile java.lang.Object bankType_;
  /**
   * <code>string bankType = 8;</code>
   */
  public java.lang.String getBankType() {
    java.lang.Object ref = bankType_;
    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();
      bankType_ = s;
      return s;
    }
  }
  /**
   * <code>string bankType = 8;</code>
   */
  public com.google.protobuf.ByteString
      getBankTypeBytes() {
    java.lang.Object ref = bankType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      bankType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TIMEEND_FIELD_NUMBER = 9;
  private volatile java.lang.Object timeEnd_;
  /**
   * <code>string timeEnd = 9;</code>
   */
  public java.lang.String getTimeEnd() {
    java.lang.Object ref = timeEnd_;
    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();
      timeEnd_ = s;
      return s;
    }
  }
  /**
   * <code>string timeEnd = 9;</code>
   */
  public com.google.protobuf.ByteString
      getTimeEndBytes() {
    java.lang.Object ref = timeEnd_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      timeEnd_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ERRCODE_FIELD_NUMBER = 10;
  private volatile java.lang.Object errCode_;
  /**
   * <code>string errCode = 10;</code>
   */
  public java.lang.String getErrCode() {
    java.lang.Object ref = errCode_;
    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();
      errCode_ = s;
      return s;
    }
  }
  /**
   * <code>string errCode = 10;</code>
   */
  public com.google.protobuf.ByteString
      getErrCodeBytes() {
    java.lang.Object ref = errCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      errCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ERRCODEDES_FIELD_NUMBER = 11;
  private volatile java.lang.Object errCodeDes_;
  /**
   * <code>string errCodeDes = 11;</code>
   */
  public java.lang.String getErrCodeDes() {
    java.lang.Object ref = errCodeDes_;
    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();
      errCodeDes_ = s;
      return s;
    }
  }
  /**
   * <code>string errCodeDes = 11;</code>
   */
  public com.google.protobuf.ByteString
      getErrCodeDesBytes() {
    java.lang.Object ref = errCodeDes_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      errCodeDes_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getReturnCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, returnCode_);
    }
    if (!getResultCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resultCode_);
    }
    if (!getOutTradeNoBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, outTradeNo_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, transactionId_);
    }
    if (totalFee_ != 0) {
      output.writeInt32(5, totalFee_);
    }
    if (cashFee_ != 0) {
      output.writeInt32(6, cashFee_);
    }
    if (!getAttachBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, attach_);
    }
    if (!getBankTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, bankType_);
    }
    if (!getTimeEndBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, timeEnd_);
    }
    if (!getErrCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, errCode_);
    }
    if (!getErrCodeDesBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, errCodeDes_);
    }
  }

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

    size = 0;
    if (!getReturnCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, returnCode_);
    }
    if (!getResultCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resultCode_);
    }
    if (!getOutTradeNoBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, outTradeNo_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, transactionId_);
    }
    if (totalFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, totalFee_);
    }
    if (cashFee_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(6, cashFee_);
    }
    if (!getAttachBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, attach_);
    }
    if (!getBankTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, bankType_);
    }
    if (!getTimeEndBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, timeEnd_);
    }
    if (!getErrCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, errCode_);
    }
    if (!getErrCodeDesBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errCodeDes_);
    }
    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.order.WxPayCallbackRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.order.WxPayCallbackRequest other = (com.ywt.gapi.order.WxPayCallbackRequest) obj;

    boolean result = true;
    result = result && getReturnCode()
        .equals(other.getReturnCode());
    result = result && getResultCode()
        .equals(other.getResultCode());
    result = result && getOutTradeNo()
        .equals(other.getOutTradeNo());
    result = result && getTransactionId()
        .equals(other.getTransactionId());
    result = result && (getTotalFee()
        == other.getTotalFee());
    result = result && (getCashFee()
        == other.getCashFee());
    result = result && getAttach()
        .equals(other.getAttach());
    result = result && getBankType()
        .equals(other.getBankType());
    result = result && getTimeEnd()
        .equals(other.getTimeEnd());
    result = result && getErrCode()
        .equals(other.getErrCode());
    result = result && getErrCodeDes()
        .equals(other.getErrCodeDes());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + RETURNCODE_FIELD_NUMBER;
    hash = (53 * hash) + getReturnCode().hashCode();
    hash = (37 * hash) + RESULTCODE_FIELD_NUMBER;
    hash = (53 * hash) + getResultCode().hashCode();
    hash = (37 * hash) + OUTTRADENO_FIELD_NUMBER;
    hash = (53 * hash) + getOutTradeNo().hashCode();
    hash = (37 * hash) + TRANSACTIONID_FIELD_NUMBER;
    hash = (53 * hash) + getTransactionId().hashCode();
    hash = (37 * hash) + TOTALFEE_FIELD_NUMBER;
    hash = (53 * hash) + getTotalFee();
    hash = (37 * hash) + CASHFEE_FIELD_NUMBER;
    hash = (53 * hash) + getCashFee();
    hash = (37 * hash) + ATTACH_FIELD_NUMBER;
    hash = (53 * hash) + getAttach().hashCode();
    hash = (37 * hash) + BANKTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getBankType().hashCode();
    hash = (37 * hash) + TIMEEND_FIELD_NUMBER;
    hash = (53 * hash) + getTimeEnd().hashCode();
    hash = (37 * hash) + ERRCODE_FIELD_NUMBER;
    hash = (53 * hash) + getErrCode().hashCode();
    hash = (37 * hash) + ERRCODEDES_FIELD_NUMBER;
    hash = (53 * hash) + getErrCodeDes().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.ywt.gapi.order.WxPayCallbackRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.ywt.gapi.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest 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.order.WxPayCallbackRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:com.ywt.gapi.order.WxPayCallbackRequest)
      com.ywt.gapi.order.WxPayCallbackRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_WxPayCallbackRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_WxPayCallbackRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.order.WxPayCallbackRequest.class, com.ywt.gapi.order.WxPayCallbackRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.order.WxPayCallbackRequest.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();
      returnCode_ = "";

      resultCode_ = "";

      outTradeNo_ = "";

      transactionId_ = "";

      totalFee_ = 0;

      cashFee_ = 0;

      attach_ = "";

      bankType_ = "";

      timeEnd_ = "";

      errCode_ = "";

      errCodeDes_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.order.OrderOuterClass.internal_static_com_ywt_gapi_order_WxPayCallbackRequest_descriptor;
    }

    public com.ywt.gapi.order.WxPayCallbackRequest getDefaultInstanceForType() {
      return com.ywt.gapi.order.WxPayCallbackRequest.getDefaultInstance();
    }

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

    public com.ywt.gapi.order.WxPayCallbackRequest buildPartial() {
      com.ywt.gapi.order.WxPayCallbackRequest result = new com.ywt.gapi.order.WxPayCallbackRequest(this);
      result.returnCode_ = returnCode_;
      result.resultCode_ = resultCode_;
      result.outTradeNo_ = outTradeNo_;
      result.transactionId_ = transactionId_;
      result.totalFee_ = totalFee_;
      result.cashFee_ = cashFee_;
      result.attach_ = attach_;
      result.bankType_ = bankType_;
      result.timeEnd_ = timeEnd_;
      result.errCode_ = errCode_;
      result.errCodeDes_ = errCodeDes_;
      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.order.WxPayCallbackRequest) {
        return mergeFrom((com.ywt.gapi.order.WxPayCallbackRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.order.WxPayCallbackRequest other) {
      if (other == com.ywt.gapi.order.WxPayCallbackRequest.getDefaultInstance()) return this;
      if (!other.getReturnCode().isEmpty()) {
        returnCode_ = other.returnCode_;
        onChanged();
      }
      if (!other.getResultCode().isEmpty()) {
        resultCode_ = other.resultCode_;
        onChanged();
      }
      if (!other.getOutTradeNo().isEmpty()) {
        outTradeNo_ = other.outTradeNo_;
        onChanged();
      }
      if (!other.getTransactionId().isEmpty()) {
        transactionId_ = other.transactionId_;
        onChanged();
      }
      if (other.getTotalFee() != 0) {
        setTotalFee(other.getTotalFee());
      }
      if (other.getCashFee() != 0) {
        setCashFee(other.getCashFee());
      }
      if (!other.getAttach().isEmpty()) {
        attach_ = other.attach_;
        onChanged();
      }
      if (!other.getBankType().isEmpty()) {
        bankType_ = other.bankType_;
        onChanged();
      }
      if (!other.getTimeEnd().isEmpty()) {
        timeEnd_ = other.timeEnd_;
        onChanged();
      }
      if (!other.getErrCode().isEmpty()) {
        errCode_ = other.errCode_;
        onChanged();
      }
      if (!other.getErrCodeDes().isEmpty()) {
        errCodeDes_ = other.errCodeDes_;
        onChanged();
      }
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

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

    private java.lang.Object returnCode_ = "";
    /**
     * <code>string returnCode = 1;</code>
     */
    public java.lang.String getReturnCode() {
      java.lang.Object ref = returnCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        returnCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string returnCode = 1;</code>
     */
    public com.google.protobuf.ByteString
        getReturnCodeBytes() {
      java.lang.Object ref = returnCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        returnCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string returnCode = 1;</code>
     */
    public Builder setReturnCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      returnCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string returnCode = 1;</code>
     */
    public Builder clearReturnCode() {
      
      returnCode_ = getDefaultInstance().getReturnCode();
      onChanged();
      return this;
    }
    /**
     * <code>string returnCode = 1;</code>
     */
    public Builder setReturnCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      returnCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object resultCode_ = "";
    /**
     * <code>string resultCode = 2;</code>
     */
    public java.lang.String getResultCode() {
      java.lang.Object ref = resultCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        resultCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string resultCode = 2;</code>
     */
    public com.google.protobuf.ByteString
        getResultCodeBytes() {
      java.lang.Object ref = resultCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        resultCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string resultCode = 2;</code>
     */
    public Builder setResultCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      resultCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string resultCode = 2;</code>
     */
    public Builder clearResultCode() {
      
      resultCode_ = getDefaultInstance().getResultCode();
      onChanged();
      return this;
    }
    /**
     * <code>string resultCode = 2;</code>
     */
    public Builder setResultCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      resultCode_ = value;
      onChanged();
      return this;
    }

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

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

    private int totalFee_ ;
    /**
     * <code>int32 totalFee = 5;</code>
     */
    public int getTotalFee() {
      return totalFee_;
    }
    /**
     * <code>int32 totalFee = 5;</code>
     */
    public Builder setTotalFee(int value) {
      
      totalFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 totalFee = 5;</code>
     */
    public Builder clearTotalFee() {
      
      totalFee_ = 0;
      onChanged();
      return this;
    }

    private int cashFee_ ;
    /**
     * <code>int32 cashFee = 6;</code>
     */
    public int getCashFee() {
      return cashFee_;
    }
    /**
     * <code>int32 cashFee = 6;</code>
     */
    public Builder setCashFee(int value) {
      
      cashFee_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 cashFee = 6;</code>
     */
    public Builder clearCashFee() {
      
      cashFee_ = 0;
      onChanged();
      return this;
    }

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

    private java.lang.Object bankType_ = "";
    /**
     * <code>string bankType = 8;</code>
     */
    public java.lang.String getBankType() {
      java.lang.Object ref = bankType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        bankType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string bankType = 8;</code>
     */
    public com.google.protobuf.ByteString
        getBankTypeBytes() {
      java.lang.Object ref = bankType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        bankType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string bankType = 8;</code>
     */
    public Builder setBankType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      bankType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string bankType = 8;</code>
     */
    public Builder clearBankType() {
      
      bankType_ = getDefaultInstance().getBankType();
      onChanged();
      return this;
    }
    /**
     * <code>string bankType = 8;</code>
     */
    public Builder setBankTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      bankType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object timeEnd_ = "";
    /**
     * <code>string timeEnd = 9;</code>
     */
    public java.lang.String getTimeEnd() {
      java.lang.Object ref = timeEnd_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        timeEnd_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string timeEnd = 9;</code>
     */
    public com.google.protobuf.ByteString
        getTimeEndBytes() {
      java.lang.Object ref = timeEnd_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        timeEnd_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string timeEnd = 9;</code>
     */
    public Builder setTimeEnd(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      timeEnd_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string timeEnd = 9;</code>
     */
    public Builder clearTimeEnd() {
      
      timeEnd_ = getDefaultInstance().getTimeEnd();
      onChanged();
      return this;
    }
    /**
     * <code>string timeEnd = 9;</code>
     */
    public Builder setTimeEndBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      timeEnd_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object errCode_ = "";
    /**
     * <code>string errCode = 10;</code>
     */
    public java.lang.String getErrCode() {
      java.lang.Object ref = errCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        errCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string errCode = 10;</code>
     */
    public com.google.protobuf.ByteString
        getErrCodeBytes() {
      java.lang.Object ref = errCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        errCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string errCode = 10;</code>
     */
    public Builder setErrCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      errCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string errCode = 10;</code>
     */
    public Builder clearErrCode() {
      
      errCode_ = getDefaultInstance().getErrCode();
      onChanged();
      return this;
    }
    /**
     * <code>string errCode = 10;</code>
     */
    public Builder setErrCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      errCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object errCodeDes_ = "";
    /**
     * <code>string errCodeDes = 11;</code>
     */
    public java.lang.String getErrCodeDes() {
      java.lang.Object ref = errCodeDes_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        errCodeDes_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string errCodeDes = 11;</code>
     */
    public com.google.protobuf.ByteString
        getErrCodeDesBytes() {
      java.lang.Object ref = errCodeDes_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        errCodeDes_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string errCodeDes = 11;</code>
     */
    public Builder setErrCodeDes(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      errCodeDes_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string errCodeDes = 11;</code>
     */
    public Builder clearErrCodeDes() {
      
      errCodeDes_ = getDefaultInstance().getErrCodeDes();
      onChanged();
      return this;
    }
    /**
     * <code>string errCodeDes = 11;</code>
     */
    public Builder setErrCodeDesBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      errCodeDes_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.order.WxPayCallbackRequest)
  }

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

  public static com.ywt.gapi.order.WxPayCallbackRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.ywt.gapi.order.WxPayCallbackRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

