
wechat.protobuf.BaseAuthReqInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.BaseAuthReqInfo}
*/
public final class BaseAuthReqInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BaseAuthReqInfo)
BaseAuthReqInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BaseAuthReqInfo.newBuilder() to construct.
private BaseAuthReqInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BaseAuthReqInfo() {
authTicket_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BaseAuthReqInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BaseAuthReqInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = wtLoginReqBuff_.toBuilder();
}
wtLoginReqBuff_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(wtLoginReqBuff_);
wtLoginReqBuff_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
wechat.protobuf.WTLoginImgReqInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = wtLoginImgReqInfo_.toBuilder();
}
wtLoginImgReqInfo_ = input.readMessage(wechat.protobuf.WTLoginImgReqInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(wtLoginImgReqInfo_);
wtLoginImgReqInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
wechat.protobuf.WxVerifyCodeReqInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = wxVerifyCodeReqInfo_.toBuilder();
}
wxVerifyCodeReqInfo_ = input.readMessage(wechat.protobuf.WxVerifyCodeReqInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(wxVerifyCodeReqInfo_);
wxVerifyCodeReqInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) != 0)) {
subBuilder = clidbEncryptKey_.toBuilder();
}
clidbEncryptKey_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clidbEncryptKey_);
clidbEncryptKey_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = clidbEncryptInfo_.toBuilder();
}
clidbEncryptInfo_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(clidbEncryptInfo_);
clidbEncryptInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 48: {
bitField0_ |= 0x00000020;
authReqFlag_ = input.readUInt32();
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
authTicket_ = bs;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BaseAuthReqInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BaseAuthReqInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.BaseAuthReqInfo.class, wechat.protobuf.BaseAuthReqInfo.Builder.class);
}
private int bitField0_;
public static final int WT_LOGIN_REQ_BUFF_FIELD_NUMBER = 1;
private wechat.protobuf.SKBuiltinString_ wtLoginReqBuff_;
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
* @return Whether the wtLoginReqBuff field is set.
*/
@java.lang.Override
public boolean hasWtLoginReqBuff() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
* @return The wtLoginReqBuff.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getWtLoginReqBuff() {
return wtLoginReqBuff_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : wtLoginReqBuff_;
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getWtLoginReqBuffOrBuilder() {
return wtLoginReqBuff_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : wtLoginReqBuff_;
}
public static final int WT_LOGIN_IMG_REQ_INFO_FIELD_NUMBER = 2;
private wechat.protobuf.WTLoginImgReqInfo wtLoginImgReqInfo_;
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
* @return Whether the wtLoginImgReqInfo field is set.
*/
@java.lang.Override
public boolean hasWtLoginImgReqInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
* @return The wtLoginImgReqInfo.
*/
@java.lang.Override
public wechat.protobuf.WTLoginImgReqInfo getWtLoginImgReqInfo() {
return wtLoginImgReqInfo_ == null ? wechat.protobuf.WTLoginImgReqInfo.getDefaultInstance() : wtLoginImgReqInfo_;
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
@java.lang.Override
public wechat.protobuf.WTLoginImgReqInfoOrBuilder getWtLoginImgReqInfoOrBuilder() {
return wtLoginImgReqInfo_ == null ? wechat.protobuf.WTLoginImgReqInfo.getDefaultInstance() : wtLoginImgReqInfo_;
}
public static final int WX_VERIFY_CODE_REQ_INFO_FIELD_NUMBER = 3;
private wechat.protobuf.WxVerifyCodeReqInfo wxVerifyCodeReqInfo_;
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
* @return Whether the wxVerifyCodeReqInfo field is set.
*/
@java.lang.Override
public boolean hasWxVerifyCodeReqInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
* @return The wxVerifyCodeReqInfo.
*/
@java.lang.Override
public wechat.protobuf.WxVerifyCodeReqInfo getWxVerifyCodeReqInfo() {
return wxVerifyCodeReqInfo_ == null ? wechat.protobuf.WxVerifyCodeReqInfo.getDefaultInstance() : wxVerifyCodeReqInfo_;
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
@java.lang.Override
public wechat.protobuf.WxVerifyCodeReqInfoOrBuilder getWxVerifyCodeReqInfoOrBuilder() {
return wxVerifyCodeReqInfo_ == null ? wechat.protobuf.WxVerifyCodeReqInfo.getDefaultInstance() : wxVerifyCodeReqInfo_;
}
public static final int CLIDB_ENCRYPT_KEY_FIELD_NUMBER = 4;
private wechat.protobuf.SKBuiltinString_ clidbEncryptKey_;
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
* @return Whether the clidbEncryptKey field is set.
*/
@java.lang.Override
public boolean hasClidbEncryptKey() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
* @return The clidbEncryptKey.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getClidbEncryptKey() {
return clidbEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptKey_;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getClidbEncryptKeyOrBuilder() {
return clidbEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptKey_;
}
public static final int CLIDB_ENCRYPT_INFO_FIELD_NUMBER = 5;
private wechat.protobuf.SKBuiltinString_ clidbEncryptInfo_;
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
* @return Whether the clidbEncryptInfo field is set.
*/
@java.lang.Override
public boolean hasClidbEncryptInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
* @return The clidbEncryptInfo.
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_ getClidbEncryptInfo() {
return clidbEncryptInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptInfo_;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
@java.lang.Override
public wechat.protobuf.SKBuiltinString_OrBuilder getClidbEncryptInfoOrBuilder() {
return clidbEncryptInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptInfo_;
}
public static final int AUTH_REQ_FLAG_FIELD_NUMBER = 6;
private int authReqFlag_;
/**
* optional uint32 auth_req_flag = 6;
* @return Whether the authReqFlag field is set.
*/
@java.lang.Override
public boolean hasAuthReqFlag() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 auth_req_flag = 6;
* @return The authReqFlag.
*/
@java.lang.Override
public int getAuthReqFlag() {
return authReqFlag_;
}
public static final int AUTH_TICKET_FIELD_NUMBER = 7;
private volatile java.lang.Object authTicket_;
/**
* optional string auth_ticket = 7;
* @return Whether the authTicket field is set.
*/
@java.lang.Override
public boolean hasAuthTicket() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string auth_ticket = 7;
* @return The authTicket.
*/
@java.lang.Override
public java.lang.String getAuthTicket() {
java.lang.Object ref = authTicket_;
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();
if (bs.isValidUtf8()) {
authTicket_ = s;
}
return s;
}
}
/**
* optional string auth_ticket = 7;
* @return The bytes for authTicket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuthTicketBytes() {
java.lang.Object ref = authTicket_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authTicket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getWtLoginReqBuff());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getWtLoginImgReqInfo());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getWxVerifyCodeReqInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getClidbEncryptKey());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getClidbEncryptInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, authReqFlag_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, authTicket_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getWtLoginReqBuff());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getWtLoginImgReqInfo());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getWxVerifyCodeReqInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getClidbEncryptKey());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getClidbEncryptInfo());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, authReqFlag_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authTicket_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof wechat.protobuf.BaseAuthReqInfo)) {
return super.equals(obj);
}
wechat.protobuf.BaseAuthReqInfo other = (wechat.protobuf.BaseAuthReqInfo) obj;
if (hasWtLoginReqBuff() != other.hasWtLoginReqBuff()) return false;
if (hasWtLoginReqBuff()) {
if (!getWtLoginReqBuff()
.equals(other.getWtLoginReqBuff())) return false;
}
if (hasWtLoginImgReqInfo() != other.hasWtLoginImgReqInfo()) return false;
if (hasWtLoginImgReqInfo()) {
if (!getWtLoginImgReqInfo()
.equals(other.getWtLoginImgReqInfo())) return false;
}
if (hasWxVerifyCodeReqInfo() != other.hasWxVerifyCodeReqInfo()) return false;
if (hasWxVerifyCodeReqInfo()) {
if (!getWxVerifyCodeReqInfo()
.equals(other.getWxVerifyCodeReqInfo())) return false;
}
if (hasClidbEncryptKey() != other.hasClidbEncryptKey()) return false;
if (hasClidbEncryptKey()) {
if (!getClidbEncryptKey()
.equals(other.getClidbEncryptKey())) return false;
}
if (hasClidbEncryptInfo() != other.hasClidbEncryptInfo()) return false;
if (hasClidbEncryptInfo()) {
if (!getClidbEncryptInfo()
.equals(other.getClidbEncryptInfo())) return false;
}
if (hasAuthReqFlag() != other.hasAuthReqFlag()) return false;
if (hasAuthReqFlag()) {
if (getAuthReqFlag()
!= other.getAuthReqFlag()) return false;
}
if (hasAuthTicket() != other.hasAuthTicket()) return false;
if (hasAuthTicket()) {
if (!getAuthTicket()
.equals(other.getAuthTicket())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasWtLoginReqBuff()) {
hash = (37 * hash) + WT_LOGIN_REQ_BUFF_FIELD_NUMBER;
hash = (53 * hash) + getWtLoginReqBuff().hashCode();
}
if (hasWtLoginImgReqInfo()) {
hash = (37 * hash) + WT_LOGIN_IMG_REQ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getWtLoginImgReqInfo().hashCode();
}
if (hasWxVerifyCodeReqInfo()) {
hash = (37 * hash) + WX_VERIFY_CODE_REQ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getWxVerifyCodeReqInfo().hashCode();
}
if (hasClidbEncryptKey()) {
hash = (37 * hash) + CLIDB_ENCRYPT_KEY_FIELD_NUMBER;
hash = (53 * hash) + getClidbEncryptKey().hashCode();
}
if (hasClidbEncryptInfo()) {
hash = (37 * hash) + CLIDB_ENCRYPT_INFO_FIELD_NUMBER;
hash = (53 * hash) + getClidbEncryptInfo().hashCode();
}
if (hasAuthReqFlag()) {
hash = (37 * hash) + AUTH_REQ_FLAG_FIELD_NUMBER;
hash = (53 * hash) + getAuthReqFlag();
}
if (hasAuthTicket()) {
hash = (37 * hash) + AUTH_TICKET_FIELD_NUMBER;
hash = (53 * hash) + getAuthTicket().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.BaseAuthReqInfo 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 wechat.protobuf.BaseAuthReqInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.BaseAuthReqInfo 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 wechat.protobuf.BaseAuthReqInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.BaseAuthReqInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(wechat.protobuf.BaseAuthReqInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code wechat_proto.BaseAuthReqInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BaseAuthReqInfo)
wechat.protobuf.BaseAuthReqInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BaseAuthReqInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BaseAuthReqInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.BaseAuthReqInfo.class, wechat.protobuf.BaseAuthReqInfo.Builder.class);
}
// Construct using wechat.protobuf.BaseAuthReqInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWtLoginReqBuffFieldBuilder();
getWtLoginImgReqInfoFieldBuilder();
getWxVerifyCodeReqInfoFieldBuilder();
getClidbEncryptKeyFieldBuilder();
getClidbEncryptInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (wtLoginReqBuffBuilder_ == null) {
wtLoginReqBuff_ = null;
} else {
wtLoginReqBuffBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (wtLoginImgReqInfoBuilder_ == null) {
wtLoginImgReqInfo_ = null;
} else {
wtLoginImgReqInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (wxVerifyCodeReqInfoBuilder_ == null) {
wxVerifyCodeReqInfo_ = null;
} else {
wxVerifyCodeReqInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (clidbEncryptKeyBuilder_ == null) {
clidbEncryptKey_ = null;
} else {
clidbEncryptKeyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (clidbEncryptInfoBuilder_ == null) {
clidbEncryptInfo_ = null;
} else {
clidbEncryptInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
authReqFlag_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
authTicket_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BaseAuthReqInfo_descriptor;
}
@java.lang.Override
public wechat.protobuf.BaseAuthReqInfo getDefaultInstanceForType() {
return wechat.protobuf.BaseAuthReqInfo.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.BaseAuthReqInfo build() {
wechat.protobuf.BaseAuthReqInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.BaseAuthReqInfo buildPartial() {
wechat.protobuf.BaseAuthReqInfo result = new wechat.protobuf.BaseAuthReqInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (wtLoginReqBuffBuilder_ == null) {
result.wtLoginReqBuff_ = wtLoginReqBuff_;
} else {
result.wtLoginReqBuff_ = wtLoginReqBuffBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (wtLoginImgReqInfoBuilder_ == null) {
result.wtLoginImgReqInfo_ = wtLoginImgReqInfo_;
} else {
result.wtLoginImgReqInfo_ = wtLoginImgReqInfoBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (wxVerifyCodeReqInfoBuilder_ == null) {
result.wxVerifyCodeReqInfo_ = wxVerifyCodeReqInfo_;
} else {
result.wxVerifyCodeReqInfo_ = wxVerifyCodeReqInfoBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (clidbEncryptKeyBuilder_ == null) {
result.clidbEncryptKey_ = clidbEncryptKey_;
} else {
result.clidbEncryptKey_ = clidbEncryptKeyBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
if (clidbEncryptInfoBuilder_ == null) {
result.clidbEncryptInfo_ = clidbEncryptInfo_;
} else {
result.clidbEncryptInfo_ = clidbEncryptInfoBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.authReqFlag_ = authReqFlag_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.authTicket_ = authTicket_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof wechat.protobuf.BaseAuthReqInfo) {
return mergeFrom((wechat.protobuf.BaseAuthReqInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.BaseAuthReqInfo other) {
if (other == wechat.protobuf.BaseAuthReqInfo.getDefaultInstance()) return this;
if (other.hasWtLoginReqBuff()) {
mergeWtLoginReqBuff(other.getWtLoginReqBuff());
}
if (other.hasWtLoginImgReqInfo()) {
mergeWtLoginImgReqInfo(other.getWtLoginImgReqInfo());
}
if (other.hasWxVerifyCodeReqInfo()) {
mergeWxVerifyCodeReqInfo(other.getWxVerifyCodeReqInfo());
}
if (other.hasClidbEncryptKey()) {
mergeClidbEncryptKey(other.getClidbEncryptKey());
}
if (other.hasClidbEncryptInfo()) {
mergeClidbEncryptInfo(other.getClidbEncryptInfo());
}
if (other.hasAuthReqFlag()) {
setAuthReqFlag(other.getAuthReqFlag());
}
if (other.hasAuthTicket()) {
bitField0_ |= 0x00000040;
authTicket_ = other.authTicket_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
wechat.protobuf.BaseAuthReqInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.BaseAuthReqInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.SKBuiltinString_ wtLoginReqBuff_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> wtLoginReqBuffBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
* @return Whether the wtLoginReqBuff field is set.
*/
public boolean hasWtLoginReqBuff() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
* @return The wtLoginReqBuff.
*/
public wechat.protobuf.SKBuiltinString_ getWtLoginReqBuff() {
if (wtLoginReqBuffBuilder_ == null) {
return wtLoginReqBuff_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : wtLoginReqBuff_;
} else {
return wtLoginReqBuffBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public Builder setWtLoginReqBuff(wechat.protobuf.SKBuiltinString_ value) {
if (wtLoginReqBuffBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
wtLoginReqBuff_ = value;
onChanged();
} else {
wtLoginReqBuffBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public Builder setWtLoginReqBuff(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (wtLoginReqBuffBuilder_ == null) {
wtLoginReqBuff_ = builderForValue.build();
onChanged();
} else {
wtLoginReqBuffBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public Builder mergeWtLoginReqBuff(wechat.protobuf.SKBuiltinString_ value) {
if (wtLoginReqBuffBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
wtLoginReqBuff_ != null &&
wtLoginReqBuff_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
wtLoginReqBuff_ =
wechat.protobuf.SKBuiltinString_.newBuilder(wtLoginReqBuff_).mergeFrom(value).buildPartial();
} else {
wtLoginReqBuff_ = value;
}
onChanged();
} else {
wtLoginReqBuffBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public Builder clearWtLoginReqBuff() {
if (wtLoginReqBuffBuilder_ == null) {
wtLoginReqBuff_ = null;
onChanged();
} else {
wtLoginReqBuffBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public wechat.protobuf.SKBuiltinString_.Builder getWtLoginReqBuffBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getWtLoginReqBuffFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getWtLoginReqBuffOrBuilder() {
if (wtLoginReqBuffBuilder_ != null) {
return wtLoginReqBuffBuilder_.getMessageOrBuilder();
} else {
return wtLoginReqBuff_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : wtLoginReqBuff_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ wt_login_req_buff = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getWtLoginReqBuffFieldBuilder() {
if (wtLoginReqBuffBuilder_ == null) {
wtLoginReqBuffBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getWtLoginReqBuff(),
getParentForChildren(),
isClean());
wtLoginReqBuff_ = null;
}
return wtLoginReqBuffBuilder_;
}
private wechat.protobuf.WTLoginImgReqInfo wtLoginImgReqInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WTLoginImgReqInfo, wechat.protobuf.WTLoginImgReqInfo.Builder, wechat.protobuf.WTLoginImgReqInfoOrBuilder> wtLoginImgReqInfoBuilder_;
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
* @return Whether the wtLoginImgReqInfo field is set.
*/
public boolean hasWtLoginImgReqInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
* @return The wtLoginImgReqInfo.
*/
public wechat.protobuf.WTLoginImgReqInfo getWtLoginImgReqInfo() {
if (wtLoginImgReqInfoBuilder_ == null) {
return wtLoginImgReqInfo_ == null ? wechat.protobuf.WTLoginImgReqInfo.getDefaultInstance() : wtLoginImgReqInfo_;
} else {
return wtLoginImgReqInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public Builder setWtLoginImgReqInfo(wechat.protobuf.WTLoginImgReqInfo value) {
if (wtLoginImgReqInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
wtLoginImgReqInfo_ = value;
onChanged();
} else {
wtLoginImgReqInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public Builder setWtLoginImgReqInfo(
wechat.protobuf.WTLoginImgReqInfo.Builder builderForValue) {
if (wtLoginImgReqInfoBuilder_ == null) {
wtLoginImgReqInfo_ = builderForValue.build();
onChanged();
} else {
wtLoginImgReqInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public Builder mergeWtLoginImgReqInfo(wechat.protobuf.WTLoginImgReqInfo value) {
if (wtLoginImgReqInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
wtLoginImgReqInfo_ != null &&
wtLoginImgReqInfo_ != wechat.protobuf.WTLoginImgReqInfo.getDefaultInstance()) {
wtLoginImgReqInfo_ =
wechat.protobuf.WTLoginImgReqInfo.newBuilder(wtLoginImgReqInfo_).mergeFrom(value).buildPartial();
} else {
wtLoginImgReqInfo_ = value;
}
onChanged();
} else {
wtLoginImgReqInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public Builder clearWtLoginImgReqInfo() {
if (wtLoginImgReqInfoBuilder_ == null) {
wtLoginImgReqInfo_ = null;
onChanged();
} else {
wtLoginImgReqInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public wechat.protobuf.WTLoginImgReqInfo.Builder getWtLoginImgReqInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getWtLoginImgReqInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
public wechat.protobuf.WTLoginImgReqInfoOrBuilder getWtLoginImgReqInfoOrBuilder() {
if (wtLoginImgReqInfoBuilder_ != null) {
return wtLoginImgReqInfoBuilder_.getMessageOrBuilder();
} else {
return wtLoginImgReqInfo_ == null ?
wechat.protobuf.WTLoginImgReqInfo.getDefaultInstance() : wtLoginImgReqInfo_;
}
}
/**
* optional .wechat_proto.WTLoginImgReqInfo wt_login_img_req_info = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WTLoginImgReqInfo, wechat.protobuf.WTLoginImgReqInfo.Builder, wechat.protobuf.WTLoginImgReqInfoOrBuilder>
getWtLoginImgReqInfoFieldBuilder() {
if (wtLoginImgReqInfoBuilder_ == null) {
wtLoginImgReqInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WTLoginImgReqInfo, wechat.protobuf.WTLoginImgReqInfo.Builder, wechat.protobuf.WTLoginImgReqInfoOrBuilder>(
getWtLoginImgReqInfo(),
getParentForChildren(),
isClean());
wtLoginImgReqInfo_ = null;
}
return wtLoginImgReqInfoBuilder_;
}
private wechat.protobuf.WxVerifyCodeReqInfo wxVerifyCodeReqInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WxVerifyCodeReqInfo, wechat.protobuf.WxVerifyCodeReqInfo.Builder, wechat.protobuf.WxVerifyCodeReqInfoOrBuilder> wxVerifyCodeReqInfoBuilder_;
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
* @return Whether the wxVerifyCodeReqInfo field is set.
*/
public boolean hasWxVerifyCodeReqInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
* @return The wxVerifyCodeReqInfo.
*/
public wechat.protobuf.WxVerifyCodeReqInfo getWxVerifyCodeReqInfo() {
if (wxVerifyCodeReqInfoBuilder_ == null) {
return wxVerifyCodeReqInfo_ == null ? wechat.protobuf.WxVerifyCodeReqInfo.getDefaultInstance() : wxVerifyCodeReqInfo_;
} else {
return wxVerifyCodeReqInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public Builder setWxVerifyCodeReqInfo(wechat.protobuf.WxVerifyCodeReqInfo value) {
if (wxVerifyCodeReqInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
wxVerifyCodeReqInfo_ = value;
onChanged();
} else {
wxVerifyCodeReqInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public Builder setWxVerifyCodeReqInfo(
wechat.protobuf.WxVerifyCodeReqInfo.Builder builderForValue) {
if (wxVerifyCodeReqInfoBuilder_ == null) {
wxVerifyCodeReqInfo_ = builderForValue.build();
onChanged();
} else {
wxVerifyCodeReqInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public Builder mergeWxVerifyCodeReqInfo(wechat.protobuf.WxVerifyCodeReqInfo value) {
if (wxVerifyCodeReqInfoBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
wxVerifyCodeReqInfo_ != null &&
wxVerifyCodeReqInfo_ != wechat.protobuf.WxVerifyCodeReqInfo.getDefaultInstance()) {
wxVerifyCodeReqInfo_ =
wechat.protobuf.WxVerifyCodeReqInfo.newBuilder(wxVerifyCodeReqInfo_).mergeFrom(value).buildPartial();
} else {
wxVerifyCodeReqInfo_ = value;
}
onChanged();
} else {
wxVerifyCodeReqInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public Builder clearWxVerifyCodeReqInfo() {
if (wxVerifyCodeReqInfoBuilder_ == null) {
wxVerifyCodeReqInfo_ = null;
onChanged();
} else {
wxVerifyCodeReqInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public wechat.protobuf.WxVerifyCodeReqInfo.Builder getWxVerifyCodeReqInfoBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getWxVerifyCodeReqInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
public wechat.protobuf.WxVerifyCodeReqInfoOrBuilder getWxVerifyCodeReqInfoOrBuilder() {
if (wxVerifyCodeReqInfoBuilder_ != null) {
return wxVerifyCodeReqInfoBuilder_.getMessageOrBuilder();
} else {
return wxVerifyCodeReqInfo_ == null ?
wechat.protobuf.WxVerifyCodeReqInfo.getDefaultInstance() : wxVerifyCodeReqInfo_;
}
}
/**
* optional .wechat_proto.WxVerifyCodeReqInfo wx_verify_code_req_info = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WxVerifyCodeReqInfo, wechat.protobuf.WxVerifyCodeReqInfo.Builder, wechat.protobuf.WxVerifyCodeReqInfoOrBuilder>
getWxVerifyCodeReqInfoFieldBuilder() {
if (wxVerifyCodeReqInfoBuilder_ == null) {
wxVerifyCodeReqInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.WxVerifyCodeReqInfo, wechat.protobuf.WxVerifyCodeReqInfo.Builder, wechat.protobuf.WxVerifyCodeReqInfoOrBuilder>(
getWxVerifyCodeReqInfo(),
getParentForChildren(),
isClean());
wxVerifyCodeReqInfo_ = null;
}
return wxVerifyCodeReqInfoBuilder_;
}
private wechat.protobuf.SKBuiltinString_ clidbEncryptKey_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> clidbEncryptKeyBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
* @return Whether the clidbEncryptKey field is set.
*/
public boolean hasClidbEncryptKey() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
* @return The clidbEncryptKey.
*/
public wechat.protobuf.SKBuiltinString_ getClidbEncryptKey() {
if (clidbEncryptKeyBuilder_ == null) {
return clidbEncryptKey_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptKey_;
} else {
return clidbEncryptKeyBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public Builder setClidbEncryptKey(wechat.protobuf.SKBuiltinString_ value) {
if (clidbEncryptKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clidbEncryptKey_ = value;
onChanged();
} else {
clidbEncryptKeyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public Builder setClidbEncryptKey(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (clidbEncryptKeyBuilder_ == null) {
clidbEncryptKey_ = builderForValue.build();
onChanged();
} else {
clidbEncryptKeyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public Builder mergeClidbEncryptKey(wechat.protobuf.SKBuiltinString_ value) {
if (clidbEncryptKeyBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
clidbEncryptKey_ != null &&
clidbEncryptKey_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
clidbEncryptKey_ =
wechat.protobuf.SKBuiltinString_.newBuilder(clidbEncryptKey_).mergeFrom(value).buildPartial();
} else {
clidbEncryptKey_ = value;
}
onChanged();
} else {
clidbEncryptKeyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public Builder clearClidbEncryptKey() {
if (clidbEncryptKeyBuilder_ == null) {
clidbEncryptKey_ = null;
onChanged();
} else {
clidbEncryptKeyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public wechat.protobuf.SKBuiltinString_.Builder getClidbEncryptKeyBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getClidbEncryptKeyFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getClidbEncryptKeyOrBuilder() {
if (clidbEncryptKeyBuilder_ != null) {
return clidbEncryptKeyBuilder_.getMessageOrBuilder();
} else {
return clidbEncryptKey_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptKey_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_key = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getClidbEncryptKeyFieldBuilder() {
if (clidbEncryptKeyBuilder_ == null) {
clidbEncryptKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getClidbEncryptKey(),
getParentForChildren(),
isClean());
clidbEncryptKey_ = null;
}
return clidbEncryptKeyBuilder_;
}
private wechat.protobuf.SKBuiltinString_ clidbEncryptInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> clidbEncryptInfoBuilder_;
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
* @return Whether the clidbEncryptInfo field is set.
*/
public boolean hasClidbEncryptInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
* @return The clidbEncryptInfo.
*/
public wechat.protobuf.SKBuiltinString_ getClidbEncryptInfo() {
if (clidbEncryptInfoBuilder_ == null) {
return clidbEncryptInfo_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptInfo_;
} else {
return clidbEncryptInfoBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public Builder setClidbEncryptInfo(wechat.protobuf.SKBuiltinString_ value) {
if (clidbEncryptInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clidbEncryptInfo_ = value;
onChanged();
} else {
clidbEncryptInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public Builder setClidbEncryptInfo(
wechat.protobuf.SKBuiltinString_.Builder builderForValue) {
if (clidbEncryptInfoBuilder_ == null) {
clidbEncryptInfo_ = builderForValue.build();
onChanged();
} else {
clidbEncryptInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public Builder mergeClidbEncryptInfo(wechat.protobuf.SKBuiltinString_ value) {
if (clidbEncryptInfoBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
clidbEncryptInfo_ != null &&
clidbEncryptInfo_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) {
clidbEncryptInfo_ =
wechat.protobuf.SKBuiltinString_.newBuilder(clidbEncryptInfo_).mergeFrom(value).buildPartial();
} else {
clidbEncryptInfo_ = value;
}
onChanged();
} else {
clidbEncryptInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public Builder clearClidbEncryptInfo() {
if (clidbEncryptInfoBuilder_ == null) {
clidbEncryptInfo_ = null;
onChanged();
} else {
clidbEncryptInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public wechat.protobuf.SKBuiltinString_.Builder getClidbEncryptInfoBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getClidbEncryptInfoFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
public wechat.protobuf.SKBuiltinString_OrBuilder getClidbEncryptInfoOrBuilder() {
if (clidbEncryptInfoBuilder_ != null) {
return clidbEncryptInfoBuilder_.getMessageOrBuilder();
} else {
return clidbEncryptInfo_ == null ?
wechat.protobuf.SKBuiltinString_.getDefaultInstance() : clidbEncryptInfo_;
}
}
/**
* optional .wechat_proto.SKBuiltinString_ clidb_encrypt_info = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>
getClidbEncryptInfoFieldBuilder() {
if (clidbEncryptInfoBuilder_ == null) {
clidbEncryptInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>(
getClidbEncryptInfo(),
getParentForChildren(),
isClean());
clidbEncryptInfo_ = null;
}
return clidbEncryptInfoBuilder_;
}
private int authReqFlag_ ;
/**
* optional uint32 auth_req_flag = 6;
* @return Whether the authReqFlag field is set.
*/
@java.lang.Override
public boolean hasAuthReqFlag() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 auth_req_flag = 6;
* @return The authReqFlag.
*/
@java.lang.Override
public int getAuthReqFlag() {
return authReqFlag_;
}
/**
* optional uint32 auth_req_flag = 6;
* @param value The authReqFlag to set.
* @return This builder for chaining.
*/
public Builder setAuthReqFlag(int value) {
bitField0_ |= 0x00000020;
authReqFlag_ = value;
onChanged();
return this;
}
/**
* optional uint32 auth_req_flag = 6;
* @return This builder for chaining.
*/
public Builder clearAuthReqFlag() {
bitField0_ = (bitField0_ & ~0x00000020);
authReqFlag_ = 0;
onChanged();
return this;
}
private java.lang.Object authTicket_ = "";
/**
* optional string auth_ticket = 7;
* @return Whether the authTicket field is set.
*/
public boolean hasAuthTicket() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string auth_ticket = 7;
* @return The authTicket.
*/
public java.lang.String getAuthTicket() {
java.lang.Object ref = authTicket_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
authTicket_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string auth_ticket = 7;
* @return The bytes for authTicket.
*/
public com.google.protobuf.ByteString
getAuthTicketBytes() {
java.lang.Object ref = authTicket_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
authTicket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string auth_ticket = 7;
* @param value The authTicket to set.
* @return This builder for chaining.
*/
public Builder setAuthTicket(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
authTicket_ = value;
onChanged();
return this;
}
/**
* optional string auth_ticket = 7;
* @return This builder for chaining.
*/
public Builder clearAuthTicket() {
bitField0_ = (bitField0_ & ~0x00000040);
authTicket_ = getDefaultInstance().getAuthTicket();
onChanged();
return this;
}
/**
* optional string auth_ticket = 7;
* @param value The bytes for authTicket to set.
* @return This builder for chaining.
*/
public Builder setAuthTicketBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
authTicket_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:wechat_proto.BaseAuthReqInfo)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BaseAuthReqInfo)
private static final wechat.protobuf.BaseAuthReqInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.BaseAuthReqInfo();
}
public static wechat.protobuf.BaseAuthReqInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BaseAuthReqInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BaseAuthReqInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public wechat.protobuf.BaseAuthReqInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy