// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ordercenter.proto package com.ywt.gapi.ordercenter; /** *
 *POS机完成支付信息更新请求消息
 * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.FinishPayByPOSRequest} */ public final class FinishPayByPOSRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.ywt.gapi.ordercenter.FinishPayByPOSRequest) FinishPayByPOSRequestOrBuilder { // Use FinishPayByPOSRequest.newBuilder() to construct. private FinishPayByPOSRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FinishPayByPOSRequest() { paymentNo_ = ""; referNo_ = ""; authNo_ = ""; rspCode_ = ""; cardNo_ = ""; transTime_ = ""; transDate_ = ""; terminalId_ = ""; terminalTraceNo_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private FinishPayByPOSRequest( 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(); paymentNo_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); referNo_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); authNo_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); rspCode_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); cardNo_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); transTime_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); transDate_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); terminalId_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); terminalTraceNo_ = 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.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_FinishPayByPOSRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_FinishPayByPOSRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.FinishPayByPOSRequest.class, com.ywt.gapi.ordercenter.FinishPayByPOSRequest.Builder.class); } public static final int PAYMENTNO_FIELD_NUMBER = 1; private volatile java.lang.Object paymentNo_; /** *
   *支付流水号
   * 
* * string paymentNo = 1; */ 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; } } /** *
   *支付流水号
   * 
* * string paymentNo = 1; */ 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 REFERNO_FIELD_NUMBER = 2; private volatile java.lang.Object referNo_; /** *
   *系统检索号
   * 
* * string referNo = 2; */ public java.lang.String getReferNo() { java.lang.Object ref = referNo_; 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(); referNo_ = s; return s; } } /** *
   *系统检索号
   * 
* * string referNo = 2; */ public com.google.protobuf.ByteString getReferNoBytes() { java.lang.Object ref = referNo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int AUTHNO_FIELD_NUMBER = 3; private volatile java.lang.Object authNo_; /** *
   *授权号
   * 
* * string authNo = 3; */ public java.lang.String getAuthNo() { java.lang.Object ref = authNo_; 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(); authNo_ = s; return s; } } /** *
   *授权号
   * 
* * string authNo = 3; */ public com.google.protobuf.ByteString getAuthNoBytes() { java.lang.Object ref = authNo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RSPCODE_FIELD_NUMBER = 4; private volatile java.lang.Object rspCode_; /** *
   *返回码
   * 
* * string rspCode = 4; */ public java.lang.String getRspCode() { java.lang.Object ref = rspCode_; 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(); rspCode_ = s; return s; } } /** *
   *返回码
   * 
* * string rspCode = 4; */ public com.google.protobuf.ByteString getRspCodeBytes() { java.lang.Object ref = rspCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rspCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CARDNO_FIELD_NUMBER = 5; private volatile java.lang.Object cardNo_; /** *
   *交易卡号
   * 
* * string cardNo = 5; */ public java.lang.String getCardNo() { java.lang.Object ref = cardNo_; 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(); cardNo_ = s; return s; } } /** *
   *交易卡号
   * 
* * string cardNo = 5; */ public com.google.protobuf.ByteString getCardNoBytes() { java.lang.Object ref = cardNo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cardNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRANSTIME_FIELD_NUMBER = 6; private volatile java.lang.Object transTime_; /** *
   *交易时间
   * 
* * string transTime = 6; */ public java.lang.String getTransTime() { java.lang.Object ref = transTime_; 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(); transTime_ = s; return s; } } /** *
   *交易时间
   * 
* * string transTime = 6; */ public com.google.protobuf.ByteString getTransTimeBytes() { java.lang.Object ref = transTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRANSDATE_FIELD_NUMBER = 7; private volatile java.lang.Object transDate_; /** *
   *交易日期
   * 
* * string transDate = 7; */ public java.lang.String getTransDate() { java.lang.Object ref = transDate_; 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(); transDate_ = s; return s; } } /** *
   *交易日期
   * 
* * string transDate = 7; */ public com.google.protobuf.ByteString getTransDateBytes() { java.lang.Object ref = transDate_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TERMINALID_FIELD_NUMBER = 8; private volatile java.lang.Object terminalId_; /** *
   *POS机终端ID
   * 
* * string terminalId = 8; */ public java.lang.String getTerminalId() { java.lang.Object ref = terminalId_; 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(); terminalId_ = s; return s; } } /** *
   *POS机终端ID
   * 
* * string terminalId = 8; */ public com.google.protobuf.ByteString getTerminalIdBytes() { java.lang.Object ref = terminalId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TERMINALTRACENO_FIELD_NUMBER = 9; private volatile java.lang.Object terminalTraceNo_; /** *
   *终端流水号
   * 
* * string terminalTraceNo = 9; */ public java.lang.String getTerminalTraceNo() { java.lang.Object ref = terminalTraceNo_; 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(); terminalTraceNo_ = s; return s; } } /** *
   *终端流水号
   * 
* * string terminalTraceNo = 9; */ public com.google.protobuf.ByteString getTerminalTraceNoBytes() { java.lang.Object ref = terminalTraceNo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalTraceNo_ = 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 (!getPaymentNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, paymentNo_); } if (!getReferNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referNo_); } if (!getAuthNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authNo_); } if (!getRspCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, rspCode_); } if (!getCardNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cardNo_); } if (!getTransTimeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, transTime_); } if (!getTransDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, transDate_); } if (!getTerminalIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, terminalId_); } if (!getTerminalTraceNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, terminalTraceNo_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getPaymentNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, paymentNo_); } if (!getReferNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referNo_); } if (!getAuthNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authNo_); } if (!getRspCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, rspCode_); } if (!getCardNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cardNo_); } if (!getTransTimeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, transTime_); } if (!getTransDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transDate_); } if (!getTerminalIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, terminalId_); } if (!getTerminalTraceNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, terminalTraceNo_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.ywt.gapi.ordercenter.FinishPayByPOSRequest)) { return super.equals(obj); } com.ywt.gapi.ordercenter.FinishPayByPOSRequest other = (com.ywt.gapi.ordercenter.FinishPayByPOSRequest) obj; boolean result = true; result = result && getPaymentNo() .equals(other.getPaymentNo()); result = result && getReferNo() .equals(other.getReferNo()); result = result && getAuthNo() .equals(other.getAuthNo()); result = result && getRspCode() .equals(other.getRspCode()); result = result && getCardNo() .equals(other.getCardNo()); result = result && getTransTime() .equals(other.getTransTime()); result = result && getTransDate() .equals(other.getTransDate()); result = result && getTerminalId() .equals(other.getTerminalId()); result = result && getTerminalTraceNo() .equals(other.getTerminalTraceNo()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PAYMENTNO_FIELD_NUMBER; hash = (53 * hash) + getPaymentNo().hashCode(); hash = (37 * hash) + REFERNO_FIELD_NUMBER; hash = (53 * hash) + getReferNo().hashCode(); hash = (37 * hash) + AUTHNO_FIELD_NUMBER; hash = (53 * hash) + getAuthNo().hashCode(); hash = (37 * hash) + RSPCODE_FIELD_NUMBER; hash = (53 * hash) + getRspCode().hashCode(); hash = (37 * hash) + CARDNO_FIELD_NUMBER; hash = (53 * hash) + getCardNo().hashCode(); hash = (37 * hash) + TRANSTIME_FIELD_NUMBER; hash = (53 * hash) + getTransTime().hashCode(); hash = (37 * hash) + TRANSDATE_FIELD_NUMBER; hash = (53 * hash) + getTransDate().hashCode(); hash = (37 * hash) + TERMINALID_FIELD_NUMBER; hash = (53 * hash) + getTerminalId().hashCode(); hash = (37 * hash) + TERMINALTRACENO_FIELD_NUMBER; hash = (53 * hash) + getTerminalTraceNo().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest 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.FinishPayByPOSRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest 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.FinishPayByPOSRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest 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.FinishPayByPOSRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest 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.FinishPayByPOSRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.ywt.gapi.ordercenter.FinishPayByPOSRequest 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; } /** *
   *POS机完成支付信息更新请求消息
   * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.FinishPayByPOSRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.ywt.gapi.ordercenter.FinishPayByPOSRequest) com.ywt.gapi.ordercenter.FinishPayByPOSRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_FinishPayByPOSRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_FinishPayByPOSRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.FinishPayByPOSRequest.class, com.ywt.gapi.ordercenter.FinishPayByPOSRequest.Builder.class); } // Construct using com.ywt.gapi.ordercenter.FinishPayByPOSRequest.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(); paymentNo_ = ""; referNo_ = ""; authNo_ = ""; rspCode_ = ""; cardNo_ = ""; transTime_ = ""; transDate_ = ""; terminalId_ = ""; terminalTraceNo_ = ""; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_FinishPayByPOSRequest_descriptor; } public com.ywt.gapi.ordercenter.FinishPayByPOSRequest getDefaultInstanceForType() { return com.ywt.gapi.ordercenter.FinishPayByPOSRequest.getDefaultInstance(); } public com.ywt.gapi.ordercenter.FinishPayByPOSRequest build() { com.ywt.gapi.ordercenter.FinishPayByPOSRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.ywt.gapi.ordercenter.FinishPayByPOSRequest buildPartial() { com.ywt.gapi.ordercenter.FinishPayByPOSRequest result = new com.ywt.gapi.ordercenter.FinishPayByPOSRequest(this); result.paymentNo_ = paymentNo_; result.referNo_ = referNo_; result.authNo_ = authNo_; result.rspCode_ = rspCode_; result.cardNo_ = cardNo_; result.transTime_ = transTime_; result.transDate_ = transDate_; result.terminalId_ = terminalId_; result.terminalTraceNo_ = terminalTraceNo_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.ywt.gapi.ordercenter.FinishPayByPOSRequest) { return mergeFrom((com.ywt.gapi.ordercenter.FinishPayByPOSRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.ywt.gapi.ordercenter.FinishPayByPOSRequest other) { if (other == com.ywt.gapi.ordercenter.FinishPayByPOSRequest.getDefaultInstance()) return this; if (!other.getPaymentNo().isEmpty()) { paymentNo_ = other.paymentNo_; onChanged(); } if (!other.getReferNo().isEmpty()) { referNo_ = other.referNo_; onChanged(); } if (!other.getAuthNo().isEmpty()) { authNo_ = other.authNo_; onChanged(); } if (!other.getRspCode().isEmpty()) { rspCode_ = other.rspCode_; onChanged(); } if (!other.getCardNo().isEmpty()) { cardNo_ = other.cardNo_; onChanged(); } if (!other.getTransTime().isEmpty()) { transTime_ = other.transTime_; onChanged(); } if (!other.getTransDate().isEmpty()) { transDate_ = other.transDate_; onChanged(); } if (!other.getTerminalId().isEmpty()) { terminalId_ = other.terminalId_; onChanged(); } if (!other.getTerminalTraceNo().isEmpty()) { terminalTraceNo_ = other.terminalTraceNo_; 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.ordercenter.FinishPayByPOSRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.ywt.gapi.ordercenter.FinishPayByPOSRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object paymentNo_ = ""; /** *
     *支付流水号
     * 
* * string paymentNo = 1; */ 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; } } /** *
     *支付流水号
     * 
* * string paymentNo = 1; */ 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; } } /** *
     *支付流水号
     * 
* * string paymentNo = 1; */ public Builder setPaymentNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } paymentNo_ = value; onChanged(); return this; } /** *
     *支付流水号
     * 
* * string paymentNo = 1; */ public Builder clearPaymentNo() { paymentNo_ = getDefaultInstance().getPaymentNo(); onChanged(); return this; } /** *
     *支付流水号
     * 
* * string paymentNo = 1; */ public Builder setPaymentNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); paymentNo_ = value; onChanged(); return this; } private java.lang.Object referNo_ = ""; /** *
     *系统检索号
     * 
* * string referNo = 2; */ public java.lang.String getReferNo() { java.lang.Object ref = referNo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referNo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *系统检索号
     * 
* * string referNo = 2; */ public com.google.protobuf.ByteString getReferNoBytes() { java.lang.Object ref = referNo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); referNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *系统检索号
     * 
* * string referNo = 2; */ public Builder setReferNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } referNo_ = value; onChanged(); return this; } /** *
     *系统检索号
     * 
* * string referNo = 2; */ public Builder clearReferNo() { referNo_ = getDefaultInstance().getReferNo(); onChanged(); return this; } /** *
     *系统检索号
     * 
* * string referNo = 2; */ public Builder setReferNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); referNo_ = value; onChanged(); return this; } private java.lang.Object authNo_ = ""; /** *
     *授权号
     * 
* * string authNo = 3; */ public java.lang.String getAuthNo() { java.lang.Object ref = authNo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authNo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *授权号
     * 
* * string authNo = 3; */ public com.google.protobuf.ByteString getAuthNoBytes() { java.lang.Object ref = authNo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); authNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *授权号
     * 
* * string authNo = 3; */ public Builder setAuthNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } authNo_ = value; onChanged(); return this; } /** *
     *授权号
     * 
* * string authNo = 3; */ public Builder clearAuthNo() { authNo_ = getDefaultInstance().getAuthNo(); onChanged(); return this; } /** *
     *授权号
     * 
* * string authNo = 3; */ public Builder setAuthNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); authNo_ = value; onChanged(); return this; } private java.lang.Object rspCode_ = ""; /** *
     *返回码
     * 
* * string rspCode = 4; */ public java.lang.String getRspCode() { java.lang.Object ref = rspCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rspCode_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *返回码
     * 
* * string rspCode = 4; */ public com.google.protobuf.ByteString getRspCodeBytes() { java.lang.Object ref = rspCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); rspCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *返回码
     * 
* * string rspCode = 4; */ public Builder setRspCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } rspCode_ = value; onChanged(); return this; } /** *
     *返回码
     * 
* * string rspCode = 4; */ public Builder clearRspCode() { rspCode_ = getDefaultInstance().getRspCode(); onChanged(); return this; } /** *
     *返回码
     * 
* * string rspCode = 4; */ public Builder setRspCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rspCode_ = value; onChanged(); return this; } private java.lang.Object cardNo_ = ""; /** *
     *交易卡号
     * 
* * string cardNo = 5; */ public java.lang.String getCardNo() { java.lang.Object ref = cardNo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cardNo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *交易卡号
     * 
* * string cardNo = 5; */ public com.google.protobuf.ByteString getCardNoBytes() { java.lang.Object ref = cardNo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cardNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *交易卡号
     * 
* * string cardNo = 5; */ public Builder setCardNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cardNo_ = value; onChanged(); return this; } /** *
     *交易卡号
     * 
* * string cardNo = 5; */ public Builder clearCardNo() { cardNo_ = getDefaultInstance().getCardNo(); onChanged(); return this; } /** *
     *交易卡号
     * 
* * string cardNo = 5; */ public Builder setCardNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cardNo_ = value; onChanged(); return this; } private java.lang.Object transTime_ = ""; /** *
     *交易时间
     * 
* * string transTime = 6; */ public java.lang.String getTransTime() { java.lang.Object ref = transTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *交易时间
     * 
* * string transTime = 6; */ public com.google.protobuf.ByteString getTransTimeBytes() { java.lang.Object ref = transTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *交易时间
     * 
* * string transTime = 6; */ public Builder setTransTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transTime_ = value; onChanged(); return this; } /** *
     *交易时间
     * 
* * string transTime = 6; */ public Builder clearTransTime() { transTime_ = getDefaultInstance().getTransTime(); onChanged(); return this; } /** *
     *交易时间
     * 
* * string transTime = 6; */ public Builder setTransTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transTime_ = value; onChanged(); return this; } private java.lang.Object transDate_ = ""; /** *
     *交易日期
     * 
* * string transDate = 7; */ public java.lang.String getTransDate() { java.lang.Object ref = transDate_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transDate_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *交易日期
     * 
* * string transDate = 7; */ public com.google.protobuf.ByteString getTransDateBytes() { java.lang.Object ref = transDate_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transDate_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *交易日期
     * 
* * string transDate = 7; */ public Builder setTransDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transDate_ = value; onChanged(); return this; } /** *
     *交易日期
     * 
* * string transDate = 7; */ public Builder clearTransDate() { transDate_ = getDefaultInstance().getTransDate(); onChanged(); return this; } /** *
     *交易日期
     * 
* * string transDate = 7; */ public Builder setTransDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transDate_ = value; onChanged(); return this; } private java.lang.Object terminalId_ = ""; /** *
     *POS机终端ID
     * 
* * string terminalId = 8; */ public java.lang.String getTerminalId() { java.lang.Object ref = terminalId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); terminalId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *POS机终端ID
     * 
* * string terminalId = 8; */ public com.google.protobuf.ByteString getTerminalIdBytes() { java.lang.Object ref = terminalId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *POS机终端ID
     * 
* * string terminalId = 8; */ public Builder setTerminalId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } terminalId_ = value; onChanged(); return this; } /** *
     *POS机终端ID
     * 
* * string terminalId = 8; */ public Builder clearTerminalId() { terminalId_ = getDefaultInstance().getTerminalId(); onChanged(); return this; } /** *
     *POS机终端ID
     * 
* * string terminalId = 8; */ public Builder setTerminalIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); terminalId_ = value; onChanged(); return this; } private java.lang.Object terminalTraceNo_ = ""; /** *
     *终端流水号
     * 
* * string terminalTraceNo = 9; */ public java.lang.String getTerminalTraceNo() { java.lang.Object ref = terminalTraceNo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); terminalTraceNo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *终端流水号
     * 
* * string terminalTraceNo = 9; */ public com.google.protobuf.ByteString getTerminalTraceNoBytes() { java.lang.Object ref = terminalTraceNo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); terminalTraceNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *终端流水号
     * 
* * string terminalTraceNo = 9; */ public Builder setTerminalTraceNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } terminalTraceNo_ = value; onChanged(); return this; } /** *
     *终端流水号
     * 
* * string terminalTraceNo = 9; */ public Builder clearTerminalTraceNo() { terminalTraceNo_ = getDefaultInstance().getTerminalTraceNo(); onChanged(); return this; } /** *
     *终端流水号
     * 
* * string terminalTraceNo = 9; */ public Builder setTerminalTraceNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); terminalTraceNo_ = 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.ordercenter.FinishPayByPOSRequest) } // @@protoc_insertion_point(class_scope:com.ywt.gapi.ordercenter.FinishPayByPOSRequest) private static final com.ywt.gapi.ordercenter.FinishPayByPOSRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.ywt.gapi.ordercenter.FinishPayByPOSRequest(); } public static com.ywt.gapi.ordercenter.FinishPayByPOSRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FinishPayByPOSRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FinishPayByPOSRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.ywt.gapi.ordercenter.FinishPayByPOSRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }