// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ordercenter.proto package com.ywt.gapi.ordercenter; /** *
 *ICBC退款结果通知请求消息
 * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest} */ public final class ICBCRefundNotifyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest) ICBCRefundNotifyRequestOrBuilder { // Use ICBCRefundNotifyRequest.newBuilder() to construct. private ICBCRefundNotifyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ICBCRefundNotifyRequest() { refundNo_ = ""; outTradeNo_ = ""; refundDate_ = 0L; refundFinishDate_ = 0L; refundSuccessTime_ = 0L; refundFee_ = 0; refundStatus_ = 0; subOrderList_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private ICBCRefundNotifyRequest( 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(); refundNo_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); outTradeNo_ = s; break; } case 24: { refundDate_ = input.readInt64(); break; } case 32: { refundFinishDate_ = input.readInt64(); break; } case 40: { refundSuccessTime_ = input.readInt64(); break; } case 48: { refundFee_ = input.readInt32(); break; } case 56: { refundStatus_ = input.readInt32(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { subOrderList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } subOrderList_.add( input.readMessage(com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.parser(), extensionRegistry)); 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 { if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { subOrderList_ = java.util.Collections.unmodifiableList(subOrderList_); } makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.class, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.Builder.class); } public interface SubOrderOrBuilder extends // @@protoc_insertion_point(interface_extends:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) com.google.protobuf.MessageOrBuilder { /** *
     *单位:分
     * 
* * int32 refundFee = 1; */ int getRefundFee(); /** *
     *订单ID
     * 
* * int32 orderId = 2; */ int getOrderId(); /** *
     *支付代码--支付中心统一编码
     * 
* * string payCode = 3; */ java.lang.String getPayCode(); /** *
     *支付代码--支付中心统一编码
     * 
* * string payCode = 3; */ com.google.protobuf.ByteString getPayCodeBytes(); /** *
     *退款日志ID
     * 
* * int32 orderRefundLogId = 4; */ int getOrderRefundLogId(); } /** *
   * 子订单
   * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder} */ public static final class SubOrder extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) SubOrderOrBuilder { // Use SubOrder.newBuilder() to construct. private SubOrder(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubOrder() { refundFee_ = 0; orderId_ = 0; payCode_ = ""; orderRefundLogId_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private SubOrder( 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 8: { refundFee_ = input.readInt32(); break; } case 16: { orderId_ = input.readInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); payCode_ = s; break; } case 32: { orderRefundLogId_ = input.readInt32(); 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_ICBCRefundNotifyRequest_SubOrder_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_SubOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.class, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder.class); } public static final int REFUNDFEE_FIELD_NUMBER = 1; private int refundFee_; /** *
     *单位:分
     * 
* * int32 refundFee = 1; */ public int getRefundFee() { return refundFee_; } public static final int ORDERID_FIELD_NUMBER = 2; private int orderId_; /** *
     *订单ID
     * 
* * int32 orderId = 2; */ public int getOrderId() { return orderId_; } public static final int PAYCODE_FIELD_NUMBER = 3; private volatile java.lang.Object payCode_; /** *
     *支付代码--支付中心统一编码
     * 
* * string payCode = 3; */ public java.lang.String getPayCode() { java.lang.Object ref = payCode_; 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(); payCode_ = s; return s; } } /** *
     *支付代码--支付中心统一编码
     * 
* * string payCode = 3; */ public com.google.protobuf.ByteString getPayCodeBytes() { java.lang.Object ref = payCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); payCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ORDERREFUNDLOGID_FIELD_NUMBER = 4; private int orderRefundLogId_; /** *
     *退款日志ID
     * 
* * int32 orderRefundLogId = 4; */ public int getOrderRefundLogId() { return orderRefundLogId_; } 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 (refundFee_ != 0) { output.writeInt32(1, refundFee_); } if (orderId_ != 0) { output.writeInt32(2, orderId_); } if (!getPayCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, payCode_); } if (orderRefundLogId_ != 0) { output.writeInt32(4, orderRefundLogId_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (refundFee_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, refundFee_); } if (orderId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, orderId_); } if (!getPayCodeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, payCode_); } if (orderRefundLogId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, orderRefundLogId_); } 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.ICBCRefundNotifyRequest.SubOrder)) { return super.equals(obj); } com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder other = (com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) obj; boolean result = true; result = result && (getRefundFee() == other.getRefundFee()); result = result && (getOrderId() == other.getOrderId()); result = result && getPayCode() .equals(other.getPayCode()); result = result && (getOrderRefundLogId() == other.getOrderRefundLogId()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REFUNDFEE_FIELD_NUMBER; hash = (53 * hash) + getRefundFee(); hash = (37 * hash) + ORDERID_FIELD_NUMBER; hash = (53 * hash) + getOrderId(); hash = (37 * hash) + PAYCODE_FIELD_NUMBER; hash = (53 * hash) + getPayCode().hashCode(); hash = (37 * hash) + ORDERREFUNDLOGID_FIELD_NUMBER; hash = (53 * hash) + getOrderRefundLogId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder 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.ICBCRefundNotifyRequest.SubOrder parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder 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.ICBCRefundNotifyRequest.SubOrder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder 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.ICBCRefundNotifyRequest.SubOrder parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder 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.ICBCRefundNotifyRequest.SubOrder parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder 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.ICBCRefundNotifyRequest.SubOrder 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; } /** *
     * 子订单
     * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_SubOrder_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_SubOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.class, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder.class); } // Construct using com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.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(); refundFee_ = 0; orderId_ = 0; payCode_ = ""; orderRefundLogId_ = 0; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_SubOrder_descriptor; } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getDefaultInstanceForType() { return com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance(); } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder build() { com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder buildPartial() { com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder result = new com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder(this); result.refundFee_ = refundFee_; result.orderId_ = orderId_; result.payCode_ = payCode_; result.orderRefundLogId_ = orderRefundLogId_; 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.ICBCRefundNotifyRequest.SubOrder) { return mergeFrom((com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder other) { if (other == com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance()) return this; if (other.getRefundFee() != 0) { setRefundFee(other.getRefundFee()); } if (other.getOrderId() != 0) { setOrderId(other.getOrderId()); } if (!other.getPayCode().isEmpty()) { payCode_ = other.payCode_; onChanged(); } if (other.getOrderRefundLogId() != 0) { setOrderRefundLogId(other.getOrderRefundLogId()); } 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.ICBCRefundNotifyRequest.SubOrder parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int refundFee_ ; /** *
       *单位:分
       * 
* * int32 refundFee = 1; */ public int getRefundFee() { return refundFee_; } /** *
       *单位:分
       * 
* * int32 refundFee = 1; */ public Builder setRefundFee(int value) { refundFee_ = value; onChanged(); return this; } /** *
       *单位:分
       * 
* * int32 refundFee = 1; */ public Builder clearRefundFee() { refundFee_ = 0; onChanged(); return this; } private int orderId_ ; /** *
       *订单ID
       * 
* * int32 orderId = 2; */ public int getOrderId() { return orderId_; } /** *
       *订单ID
       * 
* * int32 orderId = 2; */ public Builder setOrderId(int value) { orderId_ = value; onChanged(); return this; } /** *
       *订单ID
       * 
* * int32 orderId = 2; */ public Builder clearOrderId() { orderId_ = 0; onChanged(); return this; } private java.lang.Object payCode_ = ""; /** *
       *支付代码--支付中心统一编码
       * 
* * string payCode = 3; */ public java.lang.String getPayCode() { java.lang.Object ref = payCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payCode_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *支付代码--支付中心统一编码
       * 
* * string payCode = 3; */ public com.google.protobuf.ByteString getPayCodeBytes() { java.lang.Object ref = payCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); payCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *支付代码--支付中心统一编码
       * 
* * string payCode = 3; */ public Builder setPayCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } payCode_ = value; onChanged(); return this; } /** *
       *支付代码--支付中心统一编码
       * 
* * string payCode = 3; */ public Builder clearPayCode() { payCode_ = getDefaultInstance().getPayCode(); onChanged(); return this; } /** *
       *支付代码--支付中心统一编码
       * 
* * string payCode = 3; */ public Builder setPayCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); payCode_ = value; onChanged(); return this; } private int orderRefundLogId_ ; /** *
       *退款日志ID
       * 
* * int32 orderRefundLogId = 4; */ public int getOrderRefundLogId() { return orderRefundLogId_; } /** *
       *退款日志ID
       * 
* * int32 orderRefundLogId = 4; */ public Builder setOrderRefundLogId(int value) { orderRefundLogId_ = value; onChanged(); return this; } /** *
       *退款日志ID
       * 
* * int32 orderRefundLogId = 4; */ public Builder clearOrderRefundLogId() { orderRefundLogId_ = 0; 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.ICBCRefundNotifyRequest.SubOrder) } // @@protoc_insertion_point(class_scope:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder) private static final com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder(); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SubOrder parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubOrder(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.ICBCRefundNotifyRequest.SubOrder getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int REFUNDNO_FIELD_NUMBER = 1; private volatile java.lang.Object refundNo_; /** *
   *商户退款单号
   * 
* * string refundNo = 1; */ public java.lang.String getRefundNo() { java.lang.Object ref = refundNo_; 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(); refundNo_ = s; return s; } } /** *
   *商户退款单号
   * 
* * string refundNo = 1; */ public com.google.protobuf.ByteString getRefundNoBytes() { java.lang.Object ref = refundNo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); refundNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OUTTRADENO_FIELD_NUMBER = 2; private volatile java.lang.Object outTradeNo_; /** *
   *商户订单号
   * 
* * string outTradeNo = 2; */ 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; } } /** *
   *商户订单号
   * 
* * string outTradeNo = 2; */ 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 REFUNDDATE_FIELD_NUMBER = 3; private long refundDate_; /** *
   *申请退款时间, 时间戳: 秒
   * 
* * int64 refundDate = 3; */ public long getRefundDate() { return refundDate_; } public static final int REFUNDFINISHDATE_FIELD_NUMBER = 4; private long refundFinishDate_; /** *
   *退款处理完成时间, 时间戳: 秒
   * 
* * int64 refundFinishDate = 4; */ public long getRefundFinishDate() { return refundFinishDate_; } public static final int REFUNDSUCCESSTIME_FIELD_NUMBER = 5; private long refundSuccessTime_; /** *
   *退款成功时间, 时间戳: 秒
   * 
* * int64 refundSuccessTime = 5; */ public long getRefundSuccessTime() { return refundSuccessTime_; } public static final int REFUNDFEE_FIELD_NUMBER = 6; private int refundFee_; /** *
   *工行退款金额,单位为分
   * 
* * int32 refundFee = 6; */ public int getRefundFee() { return refundFee_; } public static final int REFUNDSTATUS_FIELD_NUMBER = 7; private int refundStatus_; /** *
   *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
   * 
* * int32 refundStatus = 7; */ public int getRefundStatus() { return refundStatus_; } public static final int SUBORDERLIST_FIELD_NUMBER = 8; private java.util.List subOrderList_; /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public java.util.List getSubOrderListList() { return subOrderList_; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public java.util.List getSubOrderListOrBuilderList() { return subOrderList_; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public int getSubOrderListCount() { return subOrderList_.size(); } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getSubOrderList(int index) { return subOrderList_.get(index); } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder getSubOrderListOrBuilder( int index) { return subOrderList_.get(index); } 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 (!getRefundNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, refundNo_); } if (!getOutTradeNoBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, outTradeNo_); } if (refundDate_ != 0L) { output.writeInt64(3, refundDate_); } if (refundFinishDate_ != 0L) { output.writeInt64(4, refundFinishDate_); } if (refundSuccessTime_ != 0L) { output.writeInt64(5, refundSuccessTime_); } if (refundFee_ != 0) { output.writeInt32(6, refundFee_); } if (refundStatus_ != 0) { output.writeInt32(7, refundStatus_); } for (int i = 0; i < subOrderList_.size(); i++) { output.writeMessage(8, subOrderList_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getRefundNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, refundNo_); } if (!getOutTradeNoBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, outTradeNo_); } if (refundDate_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, refundDate_); } if (refundFinishDate_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, refundFinishDate_); } if (refundSuccessTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, refundSuccessTime_); } if (refundFee_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, refundFee_); } if (refundStatus_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, refundStatus_); } for (int i = 0; i < subOrderList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, subOrderList_.get(i)); } 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.ICBCRefundNotifyRequest)) { return super.equals(obj); } com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest other = (com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest) obj; boolean result = true; result = result && getRefundNo() .equals(other.getRefundNo()); result = result && getOutTradeNo() .equals(other.getOutTradeNo()); result = result && (getRefundDate() == other.getRefundDate()); result = result && (getRefundFinishDate() == other.getRefundFinishDate()); result = result && (getRefundSuccessTime() == other.getRefundSuccessTime()); result = result && (getRefundFee() == other.getRefundFee()); result = result && (getRefundStatus() == other.getRefundStatus()); result = result && getSubOrderListList() .equals(other.getSubOrderListList()); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REFUNDNO_FIELD_NUMBER; hash = (53 * hash) + getRefundNo().hashCode(); hash = (37 * hash) + OUTTRADENO_FIELD_NUMBER; hash = (53 * hash) + getOutTradeNo().hashCode(); hash = (37 * hash) + REFUNDDATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRefundDate()); hash = (37 * hash) + REFUNDFINISHDATE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRefundFinishDate()); hash = (37 * hash) + REFUNDSUCCESSTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRefundSuccessTime()); hash = (37 * hash) + REFUNDFEE_FIELD_NUMBER; hash = (53 * hash) + getRefundFee(); hash = (37 * hash) + REFUNDSTATUS_FIELD_NUMBER; hash = (53 * hash) + getRefundStatus(); if (getSubOrderListCount() > 0) { hash = (37 * hash) + SUBORDERLIST_FIELD_NUMBER; hash = (53 * hash) + getSubOrderListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest 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.ICBCRefundNotifyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest 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.ICBCRefundNotifyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest 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.ICBCRefundNotifyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest 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.ICBCRefundNotifyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest 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.ICBCRefundNotifyRequest 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; } /** *
   *ICBC退款结果通知请求消息
   * 
* * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest) com.ywt.gapi.ordercenter.ICBCRefundNotifyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.class, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.Builder.class); } // Construct using com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getSubOrderListFieldBuilder(); } } public Builder clear() { super.clear(); refundNo_ = ""; outTradeNo_ = ""; refundDate_ = 0L; refundFinishDate_ = 0L; refundSuccessTime_ = 0L; refundFee_ = 0; refundStatus_ = 0; if (subOrderListBuilder_ == null) { subOrderList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { subOrderListBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.ywt.gapi.ordercenter.Ordercenter.internal_static_com_ywt_gapi_ordercenter_ICBCRefundNotifyRequest_descriptor; } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest getDefaultInstanceForType() { return com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.getDefaultInstance(); } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest build() { com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest buildPartial() { com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest result = new com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.refundNo_ = refundNo_; result.outTradeNo_ = outTradeNo_; result.refundDate_ = refundDate_; result.refundFinishDate_ = refundFinishDate_; result.refundSuccessTime_ = refundSuccessTime_; result.refundFee_ = refundFee_; result.refundStatus_ = refundStatus_; if (subOrderListBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { subOrderList_ = java.util.Collections.unmodifiableList(subOrderList_); bitField0_ = (bitField0_ & ~0x00000080); } result.subOrderList_ = subOrderList_; } else { result.subOrderList_ = subOrderListBuilder_.build(); } result.bitField0_ = to_bitField0_; 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.ICBCRefundNotifyRequest) { return mergeFrom((com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest other) { if (other == com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.getDefaultInstance()) return this; if (!other.getRefundNo().isEmpty()) { refundNo_ = other.refundNo_; onChanged(); } if (!other.getOutTradeNo().isEmpty()) { outTradeNo_ = other.outTradeNo_; onChanged(); } if (other.getRefundDate() != 0L) { setRefundDate(other.getRefundDate()); } if (other.getRefundFinishDate() != 0L) { setRefundFinishDate(other.getRefundFinishDate()); } if (other.getRefundSuccessTime() != 0L) { setRefundSuccessTime(other.getRefundSuccessTime()); } if (other.getRefundFee() != 0) { setRefundFee(other.getRefundFee()); } if (other.getRefundStatus() != 0) { setRefundStatus(other.getRefundStatus()); } if (subOrderListBuilder_ == null) { if (!other.subOrderList_.isEmpty()) { if (subOrderList_.isEmpty()) { subOrderList_ = other.subOrderList_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureSubOrderListIsMutable(); subOrderList_.addAll(other.subOrderList_); } onChanged(); } } else { if (!other.subOrderList_.isEmpty()) { if (subOrderListBuilder_.isEmpty()) { subOrderListBuilder_.dispose(); subOrderListBuilder_ = null; subOrderList_ = other.subOrderList_; bitField0_ = (bitField0_ & ~0x00000080); subOrderListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSubOrderListFieldBuilder() : null; } else { subOrderListBuilder_.addAllMessages(other.subOrderList_); } } } 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.ICBCRefundNotifyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object refundNo_ = ""; /** *
     *商户退款单号
     * 
* * string refundNo = 1; */ public java.lang.String getRefundNo() { java.lang.Object ref = refundNo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); refundNo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *商户退款单号
     * 
* * string refundNo = 1; */ public com.google.protobuf.ByteString getRefundNoBytes() { java.lang.Object ref = refundNo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); refundNo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *商户退款单号
     * 
* * string refundNo = 1; */ public Builder setRefundNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } refundNo_ = value; onChanged(); return this; } /** *
     *商户退款单号
     * 
* * string refundNo = 1; */ public Builder clearRefundNo() { refundNo_ = getDefaultInstance().getRefundNo(); onChanged(); return this; } /** *
     *商户退款单号
     * 
* * string refundNo = 1; */ public Builder setRefundNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); refundNo_ = value; onChanged(); return this; } private java.lang.Object outTradeNo_ = ""; /** *
     *商户订单号
     * 
* * string outTradeNo = 2; */ 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; } } /** *
     *商户订单号
     * 
* * string outTradeNo = 2; */ 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; } } /** *
     *商户订单号
     * 
* * string outTradeNo = 2; */ public Builder setOutTradeNo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } outTradeNo_ = value; onChanged(); return this; } /** *
     *商户订单号
     * 
* * string outTradeNo = 2; */ public Builder clearOutTradeNo() { outTradeNo_ = getDefaultInstance().getOutTradeNo(); onChanged(); return this; } /** *
     *商户订单号
     * 
* * string outTradeNo = 2; */ public Builder setOutTradeNoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outTradeNo_ = value; onChanged(); return this; } private long refundDate_ ; /** *
     *申请退款时间, 时间戳: 秒
     * 
* * int64 refundDate = 3; */ public long getRefundDate() { return refundDate_; } /** *
     *申请退款时间, 时间戳: 秒
     * 
* * int64 refundDate = 3; */ public Builder setRefundDate(long value) { refundDate_ = value; onChanged(); return this; } /** *
     *申请退款时间, 时间戳: 秒
     * 
* * int64 refundDate = 3; */ public Builder clearRefundDate() { refundDate_ = 0L; onChanged(); return this; } private long refundFinishDate_ ; /** *
     *退款处理完成时间, 时间戳: 秒
     * 
* * int64 refundFinishDate = 4; */ public long getRefundFinishDate() { return refundFinishDate_; } /** *
     *退款处理完成时间, 时间戳: 秒
     * 
* * int64 refundFinishDate = 4; */ public Builder setRefundFinishDate(long value) { refundFinishDate_ = value; onChanged(); return this; } /** *
     *退款处理完成时间, 时间戳: 秒
     * 
* * int64 refundFinishDate = 4; */ public Builder clearRefundFinishDate() { refundFinishDate_ = 0L; onChanged(); return this; } private long refundSuccessTime_ ; /** *
     *退款成功时间, 时间戳: 秒
     * 
* * int64 refundSuccessTime = 5; */ public long getRefundSuccessTime() { return refundSuccessTime_; } /** *
     *退款成功时间, 时间戳: 秒
     * 
* * int64 refundSuccessTime = 5; */ public Builder setRefundSuccessTime(long value) { refundSuccessTime_ = value; onChanged(); return this; } /** *
     *退款成功时间, 时间戳: 秒
     * 
* * int64 refundSuccessTime = 5; */ public Builder clearRefundSuccessTime() { refundSuccessTime_ = 0L; onChanged(); return this; } private int refundFee_ ; /** *
     *工行退款金额,单位为分
     * 
* * int32 refundFee = 6; */ public int getRefundFee() { return refundFee_; } /** *
     *工行退款金额,单位为分
     * 
* * int32 refundFee = 6; */ public Builder setRefundFee(int value) { refundFee_ = value; onChanged(); return this; } /** *
     *工行退款金额,单位为分
     * 
* * int32 refundFee = 6; */ public Builder clearRefundFee() { refundFee_ = 0; onChanged(); return this; } private int refundStatus_ ; /** *
     *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
     * 
* * int32 refundStatus = 7; */ public int getRefundStatus() { return refundStatus_; } /** *
     *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
     * 
* * int32 refundStatus = 7; */ public Builder setRefundStatus(int value) { refundStatus_ = value; onChanged(); return this; } /** *
     *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
     * 
* * int32 refundStatus = 7; */ public Builder clearRefundStatus() { refundStatus_ = 0; onChanged(); return this; } private java.util.List subOrderList_ = java.util.Collections.emptyList(); private void ensureSubOrderListIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { subOrderList_ = new java.util.ArrayList(subOrderList_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder> subOrderListBuilder_; /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public java.util.List getSubOrderListList() { if (subOrderListBuilder_ == null) { return java.util.Collections.unmodifiableList(subOrderList_); } else { return subOrderListBuilder_.getMessageList(); } } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public int getSubOrderListCount() { if (subOrderListBuilder_ == null) { return subOrderList_.size(); } else { return subOrderListBuilder_.getCount(); } } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getSubOrderList(int index) { if (subOrderListBuilder_ == null) { return subOrderList_.get(index); } else { return subOrderListBuilder_.getMessage(index); } } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder setSubOrderList( int index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder value) { if (subOrderListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubOrderListIsMutable(); subOrderList_.set(index, value); onChanged(); } else { subOrderListBuilder_.setMessage(index, value); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder setSubOrderList( int index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder builderForValue) { if (subOrderListBuilder_ == null) { ensureSubOrderListIsMutable(); subOrderList_.set(index, builderForValue.build()); onChanged(); } else { subOrderListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder addSubOrderList(com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder value) { if (subOrderListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubOrderListIsMutable(); subOrderList_.add(value); onChanged(); } else { subOrderListBuilder_.addMessage(value); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder addSubOrderList( int index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder value) { if (subOrderListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSubOrderListIsMutable(); subOrderList_.add(index, value); onChanged(); } else { subOrderListBuilder_.addMessage(index, value); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder addSubOrderList( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder builderForValue) { if (subOrderListBuilder_ == null) { ensureSubOrderListIsMutable(); subOrderList_.add(builderForValue.build()); onChanged(); } else { subOrderListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder addSubOrderList( int index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder builderForValue) { if (subOrderListBuilder_ == null) { ensureSubOrderListIsMutable(); subOrderList_.add(index, builderForValue.build()); onChanged(); } else { subOrderListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder addAllSubOrderList( java.lang.Iterable values) { if (subOrderListBuilder_ == null) { ensureSubOrderListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subOrderList_); onChanged(); } else { subOrderListBuilder_.addAllMessages(values); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder clearSubOrderList() { if (subOrderListBuilder_ == null) { subOrderList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { subOrderListBuilder_.clear(); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public Builder removeSubOrderList(int index) { if (subOrderListBuilder_ == null) { ensureSubOrderListIsMutable(); subOrderList_.remove(index); onChanged(); } else { subOrderListBuilder_.remove(index); } return this; } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder getSubOrderListBuilder( int index) { return getSubOrderListFieldBuilder().getBuilder(index); } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder getSubOrderListOrBuilder( int index) { if (subOrderListBuilder_ == null) { return subOrderList_.get(index); } else { return subOrderListBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public java.util.List getSubOrderListOrBuilderList() { if (subOrderListBuilder_ != null) { return subOrderListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subOrderList_); } } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder addSubOrderListBuilder() { return getSubOrderListFieldBuilder().addBuilder( com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance()); } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder addSubOrderListBuilder( int index) { return getSubOrderListFieldBuilder().addBuilder( index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance()); } /** * repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8; */ public java.util.List getSubOrderListBuilderList() { return getSubOrderListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder> getSubOrderListFieldBuilder() { if (subOrderListBuilder_ == null) { subOrderListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder>( subOrderList_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); subOrderList_ = null; } return subOrderListBuilder_; } 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.ICBCRefundNotifyRequest) } // @@protoc_insertion_point(class_scope:com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest) private static final com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest(); } public static com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ICBCRefundNotifyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ICBCRefundNotifyRequest(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.ICBCRefundNotifyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }