package nano;

import com.google.protobuf.nano.CodedInputByteBufferNano;
import com.google.protobuf.nano.CodedOutputByteBufferNano;
import com.google.protobuf.nano.InternalNano;
import com.google.protobuf.nano.InvalidProtocolBufferNanoException;
import com.google.protobuf.nano.MessageNano;
import com.google.protobuf.nano.WireFormatNano;
import java.io.IOException;
import nano.TransferAccountsRequest;

/* compiled from: TbsSdkJava */
public interface TransferAccountsResponse {

    /* compiled from: TbsSdkJava */
    public static final class TransferAccounts_Response extends MessageNano {

        private static volatile TransferAccounts_Response[] _emptyArray;

        private int bitField0_;

        private long fundbalances_;

        public TransferAccountsRequest.TransferAccounts_Request requestParam;

        public TransferAccounts_Response() {
            clear();
        }

        public static TransferAccounts_Response[] emptyArray() {
            if (_emptyArray == null) {
                synchronized (InternalNano.LAZY_INIT_LOCK) {
                    try {
                        if (_emptyArray == null) {
                            _emptyArray = new TransferAccounts_Response[0];
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
            }
            return _emptyArray;
        }

        public static TransferAccounts_Response parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
            return (TransferAccounts_Response) MessageNano.mergeFrom(new TransferAccounts_Response(), bArr);
        }

        public TransferAccounts_Response clear() {
            this.bitField0_ = 0;
            this.requestParam = null;
            this.fundbalances_ = 0;
            this.cachedSize = -1;
            return this;
        }

        public TransferAccounts_Response clearFundbalances() {
            this.fundbalances_ = 0;
            this.bitField0_ &= -2;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            TransferAccountsRequest.TransferAccounts_Request transferAccounts_Request = this.requestParam;
            if (transferAccounts_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, transferAccounts_Request);
            }
            if ((this.bitField0_ & 1) != 0) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeUInt64Size(2, this.fundbalances_);
            }
            return computeSerializedSize;
        }

        public long getFundbalances() {
            return this.fundbalances_;
        }

        public boolean hasFundbalances() {
            if ((this.bitField0_ & 1) != 0) {
                return true;
            }
            return false;
        }

        public TransferAccounts_Response setFundbalances(long j10) {
            this.fundbalances_ = j10;
            this.bitField0_ |= 1;
            return this;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            TransferAccountsRequest.TransferAccounts_Request transferAccounts_Request = this.requestParam;
            if (transferAccounts_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, transferAccounts_Request);
            }
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt64(2, this.fundbalances_);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

        public static TransferAccounts_Response parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            return new TransferAccounts_Response().mergeFrom(codedInputByteBufferNano);
        }

        public TransferAccounts_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.requestParam == null) {
                        this.requestParam = new TransferAccountsRequest.TransferAccounts_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.requestParam);
                } else if (readTag == 16) {
                    this.fundbalances_ = codedInputByteBufferNano.readUInt64();
                    this.bitField0_ |= 1;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
