1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: ordercenter.proto
- package com.ywt.gapi.ordercenter;
- /**
- * <pre>
- *ICBC退款结果通知请求消息
- * </pre>
- *
- * 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<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder>();
- 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 {
- /**
- * <pre>
- *单位:分
- * </pre>
- *
- * <code>int32 refundFee = 1;</code>
- */
- int getRefundFee();
- /**
- * <pre>
- *订单ID
- * </pre>
- *
- * <code>int32 orderId = 2;</code>
- */
- int getOrderId();
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- java.lang.String getPayCode();
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- com.google.protobuf.ByteString
- getPayCodeBytes();
- /**
- * <pre>
- *退款日志ID
- * </pre>
- *
- * <code>int32 orderRefundLogId = 4;</code>
- */
- int getOrderRefundLogId();
- }
- /**
- * <pre>
- * 子订单
- * </pre>
- *
- * 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_;
- /**
- * <pre>
- *单位:分
- * </pre>
- *
- * <code>int32 refundFee = 1;</code>
- */
- public int getRefundFee() {
- return refundFee_;
- }
- public static final int ORDERID_FIELD_NUMBER = 2;
- private int orderId_;
- /**
- * <pre>
- *订单ID
- * </pre>
- *
- * <code>int32 orderId = 2;</code>
- */
- public int getOrderId() {
- return orderId_;
- }
- public static final int PAYCODE_FIELD_NUMBER = 3;
- private volatile java.lang.Object payCode_;
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- 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_;
- /**
- * <pre>
- *退款日志ID
- * </pre>
- *
- * <code>int32 orderRefundLogId = 4;</code>
- */
- 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;
- }
- /**
- * <pre>
- * 子订单
- * </pre>
- *
- * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<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_ ;
- /**
- * <pre>
- *单位:分
- * </pre>
- *
- * <code>int32 refundFee = 1;</code>
- */
- public int getRefundFee() {
- return refundFee_;
- }
- /**
- * <pre>
- *单位:分
- * </pre>
- *
- * <code>int32 refundFee = 1;</code>
- */
- public Builder setRefundFee(int value) {
-
- refundFee_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *单位:分
- * </pre>
- *
- * <code>int32 refundFee = 1;</code>
- */
- public Builder clearRefundFee() {
-
- refundFee_ = 0;
- onChanged();
- return this;
- }
- private int orderId_ ;
- /**
- * <pre>
- *订单ID
- * </pre>
- *
- * <code>int32 orderId = 2;</code>
- */
- public int getOrderId() {
- return orderId_;
- }
- /**
- * <pre>
- *订单ID
- * </pre>
- *
- * <code>int32 orderId = 2;</code>
- */
- public Builder setOrderId(int value) {
-
- orderId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *订单ID
- * </pre>
- *
- * <code>int32 orderId = 2;</code>
- */
- public Builder clearOrderId() {
-
- orderId_ = 0;
- onChanged();
- return this;
- }
- private java.lang.Object payCode_ = "";
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- public Builder setPayCode(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- payCode_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- public Builder clearPayCode() {
-
- payCode_ = getDefaultInstance().getPayCode();
- onChanged();
- return this;
- }
- /**
- * <pre>
- *支付代码--支付中心统一编码
- * </pre>
- *
- * <code>string payCode = 3;</code>
- */
- public Builder setPayCodeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- payCode_ = value;
- onChanged();
- return this;
- }
- private int orderRefundLogId_ ;
- /**
- * <pre>
- *退款日志ID
- * </pre>
- *
- * <code>int32 orderRefundLogId = 4;</code>
- */
- public int getOrderRefundLogId() {
- return orderRefundLogId_;
- }
- /**
- * <pre>
- *退款日志ID
- * </pre>
- *
- * <code>int32 orderRefundLogId = 4;</code>
- */
- public Builder setOrderRefundLogId(int value) {
-
- orderRefundLogId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *退款日志ID
- * </pre>
- *
- * <code>int32 orderRefundLogId = 4;</code>
- */
- 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<SubOrder>
- PARSER = new com.google.protobuf.AbstractParser<SubOrder>() {
- 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<SubOrder> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<SubOrder> 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_;
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- 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_;
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public java.lang.String getOutTradeNo() {
- java.lang.Object ref = outTradeNo_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- outTradeNo_ = s;
- return s;
- }
- }
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public com.google.protobuf.ByteString
- getOutTradeNoBytes() {
- java.lang.Object ref = outTradeNo_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- outTradeNo_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- public static final int REFUNDDATE_FIELD_NUMBER = 3;
- private long refundDate_;
- /**
- * <pre>
- *申请退款时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundDate = 3;</code>
- */
- public long getRefundDate() {
- return refundDate_;
- }
- public static final int REFUNDFINISHDATE_FIELD_NUMBER = 4;
- private long refundFinishDate_;
- /**
- * <pre>
- *退款处理完成时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundFinishDate = 4;</code>
- */
- public long getRefundFinishDate() {
- return refundFinishDate_;
- }
- public static final int REFUNDSUCCESSTIME_FIELD_NUMBER = 5;
- private long refundSuccessTime_;
- /**
- * <pre>
- *退款成功时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundSuccessTime = 5;</code>
- */
- public long getRefundSuccessTime() {
- return refundSuccessTime_;
- }
- public static final int REFUNDFEE_FIELD_NUMBER = 6;
- private int refundFee_;
- /**
- * <pre>
- *工行退款金额,单位为分
- * </pre>
- *
- * <code>int32 refundFee = 6;</code>
- */
- public int getRefundFee() {
- return refundFee_;
- }
- public static final int REFUNDSTATUS_FIELD_NUMBER = 7;
- private int refundStatus_;
- /**
- * <pre>
- *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
- * </pre>
- *
- * <code>int32 refundStatus = 7;</code>
- */
- public int getRefundStatus() {
- return refundStatus_;
- }
- public static final int SUBORDERLIST_FIELD_NUMBER = 8;
- private java.util.List<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder> subOrderList_;
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public java.util.List<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder> getSubOrderListList() {
- return subOrderList_;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public java.util.List<? extends com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder>
- getSubOrderListOrBuilderList() {
- return subOrderList_;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public int getSubOrderListCount() {
- return subOrderList_.size();
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getSubOrderList(int index) {
- return subOrderList_.get(index);
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <pre>
- *ICBC退款结果通知请求消息
- * </pre>
- *
- * Protobuf type {@code com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<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_ = "";
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- 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;
- }
- }
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- public Builder setRefundNo(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- refundNo_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- public Builder clearRefundNo() {
-
- refundNo_ = getDefaultInstance().getRefundNo();
- onChanged();
- return this;
- }
- /**
- * <pre>
- *商户退款单号
- * </pre>
- *
- * <code>string refundNo = 1;</code>
- */
- 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_ = "";
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public java.lang.String getOutTradeNo() {
- java.lang.Object ref = outTradeNo_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- outTradeNo_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public com.google.protobuf.ByteString
- getOutTradeNoBytes() {
- java.lang.Object ref = outTradeNo_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- outTradeNo_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public Builder setOutTradeNo(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- outTradeNo_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public Builder clearOutTradeNo() {
-
- outTradeNo_ = getDefaultInstance().getOutTradeNo();
- onChanged();
- return this;
- }
- /**
- * <pre>
- *商户订单号
- * </pre>
- *
- * <code>string outTradeNo = 2;</code>
- */
- public Builder setOutTradeNoBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- outTradeNo_ = value;
- onChanged();
- return this;
- }
- private long refundDate_ ;
- /**
- * <pre>
- *申请退款时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundDate = 3;</code>
- */
- public long getRefundDate() {
- return refundDate_;
- }
- /**
- * <pre>
- *申请退款时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundDate = 3;</code>
- */
- public Builder setRefundDate(long value) {
-
- refundDate_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *申请退款时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundDate = 3;</code>
- */
- public Builder clearRefundDate() {
-
- refundDate_ = 0L;
- onChanged();
- return this;
- }
- private long refundFinishDate_ ;
- /**
- * <pre>
- *退款处理完成时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundFinishDate = 4;</code>
- */
- public long getRefundFinishDate() {
- return refundFinishDate_;
- }
- /**
- * <pre>
- *退款处理完成时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundFinishDate = 4;</code>
- */
- public Builder setRefundFinishDate(long value) {
-
- refundFinishDate_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *退款处理完成时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundFinishDate = 4;</code>
- */
- public Builder clearRefundFinishDate() {
-
- refundFinishDate_ = 0L;
- onChanged();
- return this;
- }
- private long refundSuccessTime_ ;
- /**
- * <pre>
- *退款成功时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundSuccessTime = 5;</code>
- */
- public long getRefundSuccessTime() {
- return refundSuccessTime_;
- }
- /**
- * <pre>
- *退款成功时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundSuccessTime = 5;</code>
- */
- public Builder setRefundSuccessTime(long value) {
-
- refundSuccessTime_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *退款成功时间, 时间戳: 秒
- * </pre>
- *
- * <code>int64 refundSuccessTime = 5;</code>
- */
- public Builder clearRefundSuccessTime() {
-
- refundSuccessTime_ = 0L;
- onChanged();
- return this;
- }
- private int refundFee_ ;
- /**
- * <pre>
- *工行退款金额,单位为分
- * </pre>
- *
- * <code>int32 refundFee = 6;</code>
- */
- public int getRefundFee() {
- return refundFee_;
- }
- /**
- * <pre>
- *工行退款金额,单位为分
- * </pre>
- *
- * <code>int32 refundFee = 6;</code>
- */
- public Builder setRefundFee(int value) {
-
- refundFee_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *工行退款金额,单位为分
- * </pre>
- *
- * <code>int32 refundFee = 6;</code>
- */
- public Builder clearRefundFee() {
-
- refundFee_ = 0;
- onChanged();
- return this;
- }
- private int refundStatus_ ;
- /**
- * <pre>
- *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
- * </pre>
- *
- * <code>int32 refundStatus = 7;</code>
- */
- public int getRefundStatus() {
- return refundStatus_;
- }
- /**
- * <pre>
- *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
- * </pre>
- *
- * <code>int32 refundStatus = 7;</code>
- */
- public Builder setRefundStatus(int value) {
-
- refundStatus_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- *退款状态 1: 退款成功,2: 退款异常,3: 退款关闭
- * </pre>
- *
- * <code>int32 refundStatus = 7;</code>
- */
- public Builder clearRefundStatus() {
-
- refundStatus_ = 0;
- onChanged();
- return this;
- }
- private java.util.List<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder> subOrderList_ =
- java.util.Collections.emptyList();
- private void ensureSubOrderListIsMutable() {
- if (!((bitField0_ & 0x00000080) == 0x00000080)) {
- subOrderList_ = new java.util.ArrayList<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder>(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_;
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public java.util.List<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder> getSubOrderListList() {
- if (subOrderListBuilder_ == null) {
- return java.util.Collections.unmodifiableList(subOrderList_);
- } else {
- return subOrderListBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public int getSubOrderListCount() {
- if (subOrderListBuilder_ == null) {
- return subOrderList_.size();
- } else {
- return subOrderListBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder getSubOrderList(int index) {
- if (subOrderListBuilder_ == null) {
- return subOrderList_.get(index);
- } else {
- return subOrderListBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- 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;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public Builder addAllSubOrderList(
- java.lang.Iterable<? extends com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder> values) {
- if (subOrderListBuilder_ == null) {
- ensureSubOrderListIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, subOrderList_);
- onChanged();
- } else {
- subOrderListBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public Builder clearSubOrderList() {
- if (subOrderListBuilder_ == null) {
- subOrderList_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000080);
- onChanged();
- } else {
- subOrderListBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public Builder removeSubOrderList(int index) {
- if (subOrderListBuilder_ == null) {
- ensureSubOrderListIsMutable();
- subOrderList_.remove(index);
- onChanged();
- } else {
- subOrderListBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder getSubOrderListBuilder(
- int index) {
- return getSubOrderListFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder getSubOrderListOrBuilder(
- int index) {
- if (subOrderListBuilder_ == null) {
- return subOrderList_.get(index); } else {
- return subOrderListBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public java.util.List<? extends com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrderOrBuilder>
- getSubOrderListOrBuilderList() {
- if (subOrderListBuilder_ != null) {
- return subOrderListBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(subOrderList_);
- }
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder addSubOrderListBuilder() {
- return getSubOrderListFieldBuilder().addBuilder(
- com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance());
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder addSubOrderListBuilder(
- int index) {
- return getSubOrderListFieldBuilder().addBuilder(
- index, com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.getDefaultInstance());
- }
- /**
- * <code>repeated .com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder subOrderList = 8;</code>
- */
- public java.util.List<com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest.SubOrder.Builder>
- 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<ICBCRefundNotifyRequest>
- PARSER = new com.google.protobuf.AbstractParser<ICBCRefundNotifyRequest>() {
- 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<ICBCRefundNotifyRequest> parser() {
- return PARSER;
- }
- @java.lang.Override
- public com.google.protobuf.Parser<ICBCRefundNotifyRequest> getParserForType() {
- return PARSER;
- }
- public com.ywt.gapi.ordercenter.ICBCRefundNotifyRequest getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
|