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,289 @@
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;
/* compiled from: TbsSdkJava */
public interface DownloadReferalGoodsInfoRequest {
/* compiled from: TbsSdkJava */
public static final class DownloadReferalGoodsInfo_Request extends MessageNano {
private static volatile DownloadReferalGoodsInfo_Request[] _emptyArray;
private String account_;
private int bitField0_;
private String encrypt_;
private int flag_;
private int sid_;
private String token_;
private int type_;
public DownloadReferalGoodsInfo_Request() {
clear();
}
public static DownloadReferalGoodsInfo_Request[] emptyArray() {
if (_emptyArray == null) {
synchronized (InternalNano.LAZY_INIT_LOCK) {
try {
if (_emptyArray == null) {
_emptyArray = new DownloadReferalGoodsInfo_Request[0];
}
} catch (Throwable th) {
throw th;
}
}
}
return _emptyArray;
}
public static DownloadReferalGoodsInfo_Request parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
return (DownloadReferalGoodsInfo_Request) MessageNano.mergeFrom(new DownloadReferalGoodsInfo_Request(), bArr);
}
public DownloadReferalGoodsInfo_Request clear() {
this.bitField0_ = 0;
this.sid_ = 0;
this.token_ = "";
this.encrypt_ = "";
this.type_ = 0;
this.flag_ = 0;
this.account_ = "";
this.cachedSize = -1;
return this;
}
public DownloadReferalGoodsInfo_Request clearAccount() {
this.account_ = "";
this.bitField0_ &= -33;
return this;
}
public DownloadReferalGoodsInfo_Request clearEncrypt() {
this.encrypt_ = "";
this.bitField0_ &= -5;
return this;
}
public DownloadReferalGoodsInfo_Request clearFlag() {
this.flag_ = 0;
this.bitField0_ &= -17;
return this;
}
public DownloadReferalGoodsInfo_Request clearSid() {
this.sid_ = 0;
this.bitField0_ &= -2;
return this;
}
public DownloadReferalGoodsInfo_Request clearToken() {
this.token_ = "";
this.bitField0_ &= -3;
return this;
}
public DownloadReferalGoodsInfo_Request clearType() {
this.type_ = 0;
this.bitField0_ &= -9;
return this;
}
/* access modifiers changed from: protected */
public int computeSerializedSize() {
int computeSerializedSize = super.computeSerializedSize();
if ((this.bitField0_ & 1) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.sid_);
}
if ((this.bitField0_ & 2) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.token_);
}
if ((this.bitField0_ & 4) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(3, this.encrypt_);
}
if ((this.bitField0_ & 8) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.type_);
}
if ((this.bitField0_ & 16) != 0) {
computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(5, this.flag_);
}
if ((this.bitField0_ & 32) != 0) {
return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(6, this.account_);
}
return computeSerializedSize;
}
public String getAccount() {
return this.account_;
}
public String getEncrypt() {
return this.encrypt_;
}
public int getFlag() {
return this.flag_;
}
public int getSid() {
return this.sid_;
}
public String getToken() {
return this.token_;
}
public int getType() {
return this.type_;
}
public boolean hasAccount() {
if ((this.bitField0_ & 32) != 0) {
return true;
}
return false;
}
public boolean hasEncrypt() {
if ((this.bitField0_ & 4) != 0) {
return true;
}
return false;
}
public boolean hasFlag() {
if ((this.bitField0_ & 16) != 0) {
return true;
}
return false;
}
public boolean hasSid() {
if ((this.bitField0_ & 1) != 0) {
return true;
}
return false;
}
public boolean hasToken() {
if ((this.bitField0_ & 2) != 0) {
return true;
}
return false;
}
public boolean hasType() {
if ((this.bitField0_ & 8) != 0) {
return true;
}
return false;
}
public DownloadReferalGoodsInfo_Request setAccount(String str) {
str.getClass();
this.account_ = str;
this.bitField0_ |= 32;
return this;
}
public DownloadReferalGoodsInfo_Request setEncrypt(String str) {
str.getClass();
this.encrypt_ = str;
this.bitField0_ |= 4;
return this;
}
public DownloadReferalGoodsInfo_Request setFlag(int i10) {
this.flag_ = i10;
this.bitField0_ |= 16;
return this;
}
public DownloadReferalGoodsInfo_Request setSid(int i10) {
this.sid_ = i10;
this.bitField0_ |= 1;
return this;
}
public DownloadReferalGoodsInfo_Request setToken(String str) {
str.getClass();
this.token_ = str;
this.bitField0_ |= 2;
return this;
}
public DownloadReferalGoodsInfo_Request setType(int i10) {
this.type_ = i10;
this.bitField0_ |= 8;
return this;
}
public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
if ((this.bitField0_ & 1) != 0) {
codedOutputByteBufferNano.writeUInt32(1, this.sid_);
}
if ((this.bitField0_ & 2) != 0) {
codedOutputByteBufferNano.writeString(2, this.token_);
}
if ((this.bitField0_ & 4) != 0) {
codedOutputByteBufferNano.writeString(3, this.encrypt_);
}
if ((this.bitField0_ & 8) != 0) {
codedOutputByteBufferNano.writeUInt32(4, this.type_);
}
if ((this.bitField0_ & 16) != 0) {
codedOutputByteBufferNano.writeInt32(5, this.flag_);
}
if ((this.bitField0_ & 32) != 0) {
codedOutputByteBufferNano.writeString(6, this.account_);
}
super.writeTo(codedOutputByteBufferNano);
}
public static DownloadReferalGoodsInfo_Request parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
return new DownloadReferalGoodsInfo_Request().mergeFrom(codedInputByteBufferNano);
}
public DownloadReferalGoodsInfo_Request mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
while (true) {
int readTag = codedInputByteBufferNano.readTag();
if (readTag == 0) {
return this;
}
if (readTag == 8) {
this.sid_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 1;
} else if (readTag == 18) {
this.token_ = codedInputByteBufferNano.readString();
this.bitField0_ |= 2;
} else if (readTag == 26) {
this.encrypt_ = codedInputByteBufferNano.readString();
this.bitField0_ |= 4;
} else if (readTag == 32) {
this.type_ = codedInputByteBufferNano.readUInt32();
this.bitField0_ |= 8;
} else if (readTag == 40) {
this.flag_ = codedInputByteBufferNano.readInt32();
this.bitField0_ |= 16;
} else if (readTag == 50) {
this.account_ = codedInputByteBufferNano.readString();
this.bitField0_ |= 32;
} else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
return this;
}
}
}
}
}