First Commit

This commit is contained in:
Administrator
2025-05-12 12:04:42 +08:00
commit 6a5e13974c
1248 changed files with 366157 additions and 0 deletions

View File

@@ -0,0 +1,452 @@
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.ConnectAmountRequest;
/* compiled from: TbsSdkJava */
public interface ConnectAmountResponse {
/* compiled from: TbsSdkJava */
public static final class ConnectAmount_Response extends MessageNano {
private static volatile ConnectAmount_Response[] _emptyArray;
public ConnectAmountRequest.ConnectAmount_Request requestData;
public ExchangeConnectAmount[] responseData;
/* compiled from: TbsSdkJava */
public static final class ExchangeConnectAmount extends MessageNano {
private static volatile ExchangeConnectAmount[] _emptyArray;
private int bitField0_;
private long currentAmount_;
private long initAmount_;
private String statusReasons_;
private int tradeDate_;
private int tradeDirection_;
private int tradeStatus_;
private int tradeTime_;
public ExchangeConnectAmount() {
clear();
}
public static ExchangeConnectAmount[] emptyArray() {
if (_emptyArray == null) {
synchronized (InternalNano.LAZY_INIT_LOCK) {
try {
if (_emptyArray == null) {
_emptyArray = new ExchangeConnectAmount[0];
}
} catch (Throwable th) {
throw th;
}
}
}
return _emptyArray;
}
public static ExchangeConnectAmount parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
return (ExchangeConnectAmount) MessageNano.mergeFrom(new ExchangeConnectAmount(), bArr);
}
public ExchangeConnectAmount clear() {
this.bitField0_ = 0;
this.tradeDirection_ = 0;
this.tradeDate_ = 0;
this.tradeTime_ = 0;
this.initAmount_ = 0;
this.currentAmount_ = 0;
this.tradeStatus_ = 0;
this.statusReasons_ = "";
this.cachedSize = -1;
return this;
}
public ExchangeConnectAmount clearCurrentAmount() {
this.currentAmount_ = 0;
this.bitField0_ &= -17;
return this;
}
public ExchangeConnectAmount clearInitAmount() {
this.initAmount_ = 0;
this.bitField0_ &= -9;
return this;
}
public ExchangeConnectAmount clearStatusReasons() {
this.statusReasons_ = "";
this.bitField0_ &= -65;
return this;
}
public ExchangeConnectAmount clearTradeDate() {
this.tradeDate_ = 0;
this.bitField0_ &= -3;
return this;
}
public ExchangeConnectAmount clearTradeDirection() {
this.tradeDirection_ = 0;
this.bitField0_ &= -2;
return this;
}
public ExchangeConnectAmount clearTradeStatus() {
this.tradeStatus_ = 0;
this.bitField0_ &= -33;
return this;
}
public ExchangeConnectAmount clearTradeTime() {
this.tradeTime_ = 0;
this.bitField0_ &= -5;
return this;
}
/* access modifiers changed from: protected */
public int computeSerializedSize() {
int computeSerializedSize = super.computeSerializedSize();
if ((this.bitField0_ & 1) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.tradeDirection_);
}
if ((this.bitField0_ & 2) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(2, this.tradeDate_);
}
if ((this.bitField0_ & 4) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(3, this.tradeTime_);
}
if ((this.bitField0_ & 8) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(4, this.initAmount_);
}
if ((this.bitField0_ & 16) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(5, this.currentAmount_);
}
if ((this.bitField0_ & 32) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(6, this.tradeStatus_);
}
if ((this.bitField0_ & 64) != 0) {
return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(7, this.statusReasons_);
}
return computeSerializedSize;
}
public long getCurrentAmount() {
return this.currentAmount_;
}
public long getInitAmount() {
return this.initAmount_;
}
public String getStatusReasons() {
return this.statusReasons_;
}
public int getTradeDate() {
return this.tradeDate_;
}
public int getTradeDirection() {
return this.tradeDirection_;
}
public int getTradeStatus() {
return this.tradeStatus_;
}
public int getTradeTime() {
return this.tradeTime_;
}
public boolean hasCurrentAmount() {
if ((this.bitField0_ & 16) != 0) {
return true;
}
return false;
}
public boolean hasInitAmount() {
if ((this.bitField0_ & 8) != 0) {
return true;
}
return false;
}
public boolean hasStatusReasons() {
if ((this.bitField0_ & 64) != 0) {
return true;
}
return false;
}
public boolean hasTradeDate() {
if ((this.bitField0_ & 2) != 0) {
return true;
}
return false;
}
public boolean hasTradeDirection() {
if ((this.bitField0_ & 1) != 0) {
return true;
}
return false;
}
public boolean hasTradeStatus() {
if ((this.bitField0_ & 32) != 0) {
return true;
}
return false;
}
public boolean hasTradeTime() {
if ((this.bitField0_ & 4) != 0) {
return true;
}
return false;
}
public ExchangeConnectAmount setCurrentAmount(long j10) {
this.currentAmount_ = j10;
this.bitField0_ |= 16;
return this;
}
public ExchangeConnectAmount setInitAmount(long j10) {
this.initAmount_ = j10;
this.bitField0_ |= 8;
return this;
}
public ExchangeConnectAmount setStatusReasons(String str) {
str.getClass();
this.statusReasons_ = str;
this.bitField0_ |= 64;
return this;
}
public ExchangeConnectAmount setTradeDate(int i10) {
this.tradeDate_ = i10;
this.bitField0_ |= 2;
return this;
}
public ExchangeConnectAmount setTradeDirection(int i10) {
this.tradeDirection_ = i10;
this.bitField0_ |= 1;
return this;
}
public ExchangeConnectAmount setTradeStatus(int i10) {
this.tradeStatus_ = i10;
this.bitField0_ |= 32;
return this;
}
public ExchangeConnectAmount setTradeTime(int i10) {
this.tradeTime_ = i10;
this.bitField0_ |= 4;
return this;
}
public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
if ((this.bitField0_ & 1) != 0) {
codedOutputByteBufferNano.writeUInt32(1, this.tradeDirection_);
}
if ((this.bitField0_ & 2) != 0) {
codedOutputByteBufferNano.writeUInt32(2, this.tradeDate_);
}
if ((this.bitField0_ & 4) != 0) {
codedOutputByteBufferNano.writeUInt32(3, this.tradeTime_);
}
if ((this.bitField0_ & 8) != 0) {
codedOutputByteBufferNano.writeUInt64(4, this.initAmount_);
}
if ((this.bitField0_ & 16) != 0) {
codedOutputByteBufferNano.writeUInt64(5, this.currentAmount_);
}
if ((this.bitField0_ & 32) != 0) {
codedOutputByteBufferNano.writeUInt32(6, this.tradeStatus_);
}
if ((this.bitField0_ & 64) != 0) {
codedOutputByteBufferNano.writeString(7, this.statusReasons_);
}
super.writeTo(codedOutputByteBufferNano);
}
public static ExchangeConnectAmount parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
return new ExchangeConnectAmount().mergeFrom(codedInputByteBufferNano);
}
public ExchangeConnectAmount mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
while (true) {
int readTag = codedInputByteBufferNano.readTag();
if (readTag == 0) {
return this;
}
if (readTag == 8) {
this.tradeDirection_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 1;
} else if (readTag == 16) {
this.tradeDate_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 2;
} else if (readTag == 24) {
this.tradeTime_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 4;
} else if (readTag == 32) {
this.initAmount_ = codedInputByteBufferNano.readUInt64();
this.bitField0_ |= 8;
} else if (readTag == 40) {
this.currentAmount_ = codedInputByteBufferNano.readUInt64();
this.bitField0_ |= 16;
} else if (readTag == 48) {
this.tradeStatus_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 32;
} else if (readTag == 58) {
this.statusReasons_ = codedInputByteBufferNano.readString();
this.bitField0_ |= 64;
} else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
return this;
}
}
}
}
public ConnectAmount_Response() {
clear();
}
public static ConnectAmount_Response[] emptyArray() {
if (_emptyArray == null) {
synchronized (InternalNano.LAZY_INIT_LOCK) {
try {
if (_emptyArray == null) {
_emptyArray = new ConnectAmount_Response[0];
}
} catch (Throwable th) {
throw th;
}
}
}
return _emptyArray;
}
public static ConnectAmount_Response parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
return (ConnectAmount_Response) MessageNano.mergeFrom(new ConnectAmount_Response(), bArr);
}
public ConnectAmount_Response clear() {
this.responseData = ExchangeConnectAmount.emptyArray();
this.requestData = null;
this.cachedSize = -1;
return this;
}
/* access modifiers changed from: protected */
public int computeSerializedSize() {
int computeSerializedSize = super.computeSerializedSize();
ExchangeConnectAmount[] exchangeConnectAmountArr = this.responseData;
if (exchangeConnectAmountArr != null && exchangeConnectAmountArr.length > 0) {
int i10 = 0;
while (true) {
ExchangeConnectAmount[] exchangeConnectAmountArr2 = this.responseData;
if (i10 >= exchangeConnectAmountArr2.length) {
break;
}
ExchangeConnectAmount exchangeConnectAmount = exchangeConnectAmountArr2[i10];
if (exchangeConnectAmount != null) {
computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, exchangeConnectAmount);
}
i10++;
}
}
ConnectAmountRequest.ConnectAmount_Request connectAmount_Request = this.requestData;
if (connectAmount_Request != null) {
return computeSerializedSize + CodedOutputByteBufferNano.computeMessageSize(2, connectAmount_Request);
}
return computeSerializedSize;
}
public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
ExchangeConnectAmount[] exchangeConnectAmountArr = this.responseData;
if (exchangeConnectAmountArr != null && exchangeConnectAmountArr.length > 0) {
int i10 = 0;
while (true) {
ExchangeConnectAmount[] exchangeConnectAmountArr2 = this.responseData;
if (i10 >= exchangeConnectAmountArr2.length) {
break;
}
ExchangeConnectAmount exchangeConnectAmount = exchangeConnectAmountArr2[i10];
if (exchangeConnectAmount != null) {
codedOutputByteBufferNano.writeMessage(1, exchangeConnectAmount);
}
i10++;
}
}
ConnectAmountRequest.ConnectAmount_Request connectAmount_Request = this.requestData;
if (connectAmount_Request != null) {
codedOutputByteBufferNano.writeMessage(2, connectAmount_Request);
}
super.writeTo(codedOutputByteBufferNano);
}
public static ConnectAmount_Response parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
return new ConnectAmount_Response().mergeFrom(codedInputByteBufferNano);
}
public ConnectAmount_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
while (true) {
int readTag = codedInputByteBufferNano.readTag();
if (readTag == 0) {
return this;
}
if (readTag == 10) {
int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 10);
ExchangeConnectAmount[] exchangeConnectAmountArr = this.responseData;
int length = exchangeConnectAmountArr == null ? 0 : exchangeConnectAmountArr.length;
int i10 = repeatedFieldArrayLength + length;
ExchangeConnectAmount[] exchangeConnectAmountArr2 = new ExchangeConnectAmount[i10];
if (length != 0) {
System.arraycopy(exchangeConnectAmountArr, 0, exchangeConnectAmountArr2, 0, length);
}
while (length < i10 - 1) {
ExchangeConnectAmount exchangeConnectAmount = new ExchangeConnectAmount();
exchangeConnectAmountArr2[length] = exchangeConnectAmount;
codedInputByteBufferNano.readMessage(exchangeConnectAmount);
codedInputByteBufferNano.readTag();
length++;
}
ExchangeConnectAmount exchangeConnectAmount2 = new ExchangeConnectAmount();
exchangeConnectAmountArr2[length] = exchangeConnectAmount2;
codedInputByteBufferNano.readMessage(exchangeConnectAmount2);
this.responseData = exchangeConnectAmountArr2;
} else if (readTag == 18) {
if (this.requestData == null) {
this.requestData = new ConnectAmountRequest.ConnectAmount_Request();
}
codedInputByteBufferNano.readMessage(this.requestData);
} else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
return this;
}
}
}
}
}