
rock.protobuf.RockUserOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rock_user.proto
package rock.protobuf;
public final class RockUserOuterClass {
private RockUserOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface RockDeviceInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.RockDeviceInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return Whether the uUIDOne field is set.
*/
boolean hasUUIDOne();
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The uUIDOne.
*/
java.lang.String getUUIDOne();
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The bytes for uUIDOne.
*/
com.google.protobuf.ByteString
getUUIDOneBytes();
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return Whether the uUIDTwo field is set.
*/
boolean hasUUIDTwo();
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The uUIDTwo.
*/
java.lang.String getUUIDTwo();
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The bytes for uUIDTwo.
*/
com.google.protobuf.ByteString
getUUIDTwoBytes();
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return Whether the imei field is set.
*/
boolean hasImei();
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The imei.
*/
java.lang.String getImei();
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The bytes for imei.
*/
com.google.protobuf.ByteString
getImeiBytes();
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return Whether the deviceID field is set.
*/
boolean hasDeviceID();
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return The deviceID.
*/
com.google.protobuf.ByteString getDeviceID();
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return Whether the deviceName field is set.
*/
boolean hasDeviceName();
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The deviceName.
*/
java.lang.String getDeviceName();
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The bytes for deviceName.
*/
com.google.protobuf.ByteString
getDeviceNameBytes();
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return Whether the timeZone field is set.
*/
boolean hasTimeZone();
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The timeZone.
*/
java.lang.String getTimeZone();
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The bytes for timeZone.
*/
com.google.protobuf.ByteString
getTimeZoneBytes();
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return Whether the language field is set.
*/
boolean hasLanguage();
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The language.
*/
java.lang.String getLanguage();
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return Whether the deviceBrand field is set.
*/
boolean hasDeviceBrand();
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The deviceBrand.
*/
java.lang.String getDeviceBrand();
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The bytes for deviceBrand.
*/
com.google.protobuf.ByteString
getDeviceBrandBytes();
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return Whether the realCountry field is set.
*/
boolean hasRealCountry();
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The realCountry.
*/
java.lang.String getRealCountry();
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The bytes for realCountry.
*/
com.google.protobuf.ByteString
getRealCountryBytes();
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return Whether the iphoneVer field is set.
*/
boolean hasIphoneVer();
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The iphoneVer.
*/
java.lang.String getIphoneVer();
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The bytes for iphoneVer.
*/
com.google.protobuf.ByteString
getIphoneVerBytes();
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return Whether the bundleID field is set.
*/
boolean hasBundleID();
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bundleID.
*/
java.lang.String getBundleID();
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bytes for bundleID.
*/
com.google.protobuf.ByteString
getBundleIDBytes();
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return Whether the osType field is set.
*/
boolean hasOsType();
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The osType.
*/
java.lang.String getOsType();
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The bytes for osType.
*/
com.google.protobuf.ByteString
getOsTypeBytes();
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return Whether the adSource field is set.
*/
boolean hasAdSource();
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The adSource.
*/
java.lang.String getAdSource();
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The bytes for adSource.
*/
com.google.protobuf.ByteString
getAdSourceBytes();
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return Whether the osTypeNumber field is set.
*/
boolean hasOsTypeNumber();
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The osTypeNumber.
*/
java.lang.String getOsTypeNumber();
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The bytes for osTypeNumber.
*/
com.google.protobuf.ByteString
getOsTypeNumberBytes();
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return Whether the coreCount field is set.
*/
boolean hasCoreCount();
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return The coreCount.
*/
int getCoreCount();
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return Whether the carrierName field is set.
*/
boolean hasCarrierName();
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The carrierName.
*/
java.lang.String getCarrierName();
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The bytes for carrierName.
*/
com.google.protobuf.ByteString
getCarrierNameBytes();
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return Whether the softTypeXML field is set.
*/
boolean hasSoftTypeXML();
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The softTypeXML.
*/
java.lang.String getSoftTypeXML();
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The bytes for softTypeXML.
*/
com.google.protobuf.ByteString
getSoftTypeXMLBytes();
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return Whether the clientCheckDataXML field is set.
*/
boolean hasClientCheckDataXML();
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The clientCheckDataXML.
*/
java.lang.String getClientCheckDataXML();
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The bytes for clientCheckDataXML.
*/
com.google.protobuf.ByteString
getClientCheckDataXMLBytes();
}
/**
*
* DeviceInfo 设备信息
*
*
* Protobuf type {@code rock.RockDeviceInfo}
*/
public static final class RockDeviceInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.RockDeviceInfo)
RockDeviceInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RockDeviceInfo.newBuilder() to construct.
private RockDeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RockDeviceInfo() {
uUIDOne_ = "";
uUIDTwo_ = "";
imei_ = "";
deviceID_ = com.google.protobuf.ByteString.EMPTY;
deviceName_ = "iPad7,5";
timeZone_ = "8.0";
language_ = "zh_CN";
deviceBrand_ = "Apple";
realCountry_ = "CN";
iphoneVer_ = "iPad11,3";
bundleID_ = "com.tencent.xin";
osType_ = "iPad iOS13.3.1";
adSource_ = "";
osTypeNumber_ = "13.3.1";
coreCount_ = 2;
carrierName_ = "";
softTypeXML_ = "";
clientCheckDataXML_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RockDeviceInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RockDeviceInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
uUIDOne_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
uUIDTwo_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
imei_ = bs;
break;
}
case 34: {
bitField0_ |= 0x00000008;
deviceID_ = input.readBytes();
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
deviceName_ = bs;
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
timeZone_ = bs;
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
language_ = bs;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
deviceBrand_ = bs;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
realCountry_ = bs;
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
iphoneVer_ = bs;
break;
}
case 90: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
bundleID_ = bs;
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000800;
osType_ = bs;
break;
}
case 106: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00001000;
adSource_ = bs;
break;
}
case 114: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00002000;
osTypeNumber_ = bs;
break;
}
case 120: {
bitField0_ |= 0x00004000;
coreCount_ = input.readUInt32();
break;
}
case 130: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00008000;
carrierName_ = bs;
break;
}
case 138: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00010000;
softTypeXML_ = bs;
break;
}
case 146: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
clientCheckDataXML_ = 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 rock.protobuf.RockUserOuterClass.internal_static_rock_RockDeviceInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockDeviceInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockDeviceInfo.class, rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder.class);
}
private int bitField0_;
public static final int UUIDONE_FIELD_NUMBER = 1;
private volatile java.lang.Object uUIDOne_;
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return Whether the uUIDOne field is set.
*/
@java.lang.Override
public boolean hasUUIDOne() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The uUIDOne.
*/
@java.lang.Override
public java.lang.String getUUIDOne() {
java.lang.Object ref = uUIDOne_;
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()) {
uUIDOne_ = s;
}
return s;
}
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The bytes for uUIDOne.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUUIDOneBytes() {
java.lang.Object ref = uUIDOne_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uUIDOne_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UUIDTWO_FIELD_NUMBER = 2;
private volatile java.lang.Object uUIDTwo_;
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return Whether the uUIDTwo field is set.
*/
@java.lang.Override
public boolean hasUUIDTwo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The uUIDTwo.
*/
@java.lang.Override
public java.lang.String getUUIDTwo() {
java.lang.Object ref = uUIDTwo_;
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()) {
uUIDTwo_ = s;
}
return s;
}
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The bytes for uUIDTwo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUUIDTwoBytes() {
java.lang.Object ref = uUIDTwo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uUIDTwo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMEI_FIELD_NUMBER = 3;
private volatile java.lang.Object imei_;
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return Whether the imei field is set.
*/
@java.lang.Override
public boolean hasImei() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The imei.
*/
@java.lang.Override
public java.lang.String getImei() {
java.lang.Object ref = imei_;
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()) {
imei_ = s;
}
return s;
}
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The bytes for imei.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImeiBytes() {
java.lang.Object ref = imei_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imei_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEVICEID_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString deviceID_;
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return Whether the deviceID field is set.
*/
@java.lang.Override
public boolean hasDeviceID() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return The deviceID.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDeviceID() {
return deviceID_;
}
public static final int DEVICENAME_FIELD_NUMBER = 5;
private volatile java.lang.Object deviceName_;
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return Whether the deviceName field is set.
*/
@java.lang.Override
public boolean hasDeviceName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The deviceName.
*/
@java.lang.Override
public java.lang.String getDeviceName() {
java.lang.Object ref = deviceName_;
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()) {
deviceName_ = s;
}
return s;
}
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The bytes for deviceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeviceNameBytes() {
java.lang.Object ref = deviceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TIMEZONE_FIELD_NUMBER = 6;
private volatile java.lang.Object timeZone_;
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return Whether the timeZone field is set.
*/
@java.lang.Override
public boolean hasTimeZone() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The timeZone.
*/
@java.lang.Override
public java.lang.String getTimeZone() {
java.lang.Object ref = timeZone_;
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()) {
timeZone_ = s;
}
return s;
}
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The bytes for timeZone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimeZoneBytes() {
java.lang.Object ref = timeZone_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeZone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 7;
private volatile java.lang.Object language_;
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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()) {
language_ = s;
}
return s;
}
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEVICEBRAND_FIELD_NUMBER = 8;
private volatile java.lang.Object deviceBrand_;
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return Whether the deviceBrand field is set.
*/
@java.lang.Override
public boolean hasDeviceBrand() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The deviceBrand.
*/
@java.lang.Override
public java.lang.String getDeviceBrand() {
java.lang.Object ref = deviceBrand_;
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()) {
deviceBrand_ = s;
}
return s;
}
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The bytes for deviceBrand.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeviceBrandBytes() {
java.lang.Object ref = deviceBrand_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceBrand_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REALCOUNTRY_FIELD_NUMBER = 9;
private volatile java.lang.Object realCountry_;
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return Whether the realCountry field is set.
*/
@java.lang.Override
public boolean hasRealCountry() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The realCountry.
*/
@java.lang.Override
public java.lang.String getRealCountry() {
java.lang.Object ref = realCountry_;
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()) {
realCountry_ = s;
}
return s;
}
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The bytes for realCountry.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRealCountryBytes() {
java.lang.Object ref = realCountry_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
realCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IPHONEVER_FIELD_NUMBER = 10;
private volatile java.lang.Object iphoneVer_;
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return Whether the iphoneVer field is set.
*/
@java.lang.Override
public boolean hasIphoneVer() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The iphoneVer.
*/
@java.lang.Override
public java.lang.String getIphoneVer() {
java.lang.Object ref = iphoneVer_;
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()) {
iphoneVer_ = s;
}
return s;
}
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The bytes for iphoneVer.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIphoneVerBytes() {
java.lang.Object ref = iphoneVer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iphoneVer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUNDLEID_FIELD_NUMBER = 11;
private volatile java.lang.Object bundleID_;
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return Whether the bundleID field is set.
*/
@java.lang.Override
public boolean hasBundleID() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bundleID.
*/
@java.lang.Override
public java.lang.String getBundleID() {
java.lang.Object ref = bundleID_;
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()) {
bundleID_ = s;
}
return s;
}
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bytes for bundleID.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBundleIDBytes() {
java.lang.Object ref = bundleID_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bundleID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OSTYPE_FIELD_NUMBER = 12;
private volatile java.lang.Object osType_;
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return Whether the osType field is set.
*/
@java.lang.Override
public boolean hasOsType() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The osType.
*/
@java.lang.Override
public java.lang.String getOsType() {
java.lang.Object ref = osType_;
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()) {
osType_ = s;
}
return s;
}
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The bytes for osType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsTypeBytes() {
java.lang.Object ref = osType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ADSOURCE_FIELD_NUMBER = 13;
private volatile java.lang.Object adSource_;
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return Whether the adSource field is set.
*/
@java.lang.Override
public boolean hasAdSource() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The adSource.
*/
@java.lang.Override
public java.lang.String getAdSource() {
java.lang.Object ref = adSource_;
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()) {
adSource_ = s;
}
return s;
}
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The bytes for adSource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdSourceBytes() {
java.lang.Object ref = adSource_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OSTYPENUMBER_FIELD_NUMBER = 14;
private volatile java.lang.Object osTypeNumber_;
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return Whether the osTypeNumber field is set.
*/
@java.lang.Override
public boolean hasOsTypeNumber() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The osTypeNumber.
*/
@java.lang.Override
public java.lang.String getOsTypeNumber() {
java.lang.Object ref = osTypeNumber_;
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()) {
osTypeNumber_ = s;
}
return s;
}
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The bytes for osTypeNumber.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsTypeNumberBytes() {
java.lang.Object ref = osTypeNumber_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osTypeNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CORECOUNT_FIELD_NUMBER = 15;
private int coreCount_;
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return Whether the coreCount field is set.
*/
@java.lang.Override
public boolean hasCoreCount() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return The coreCount.
*/
@java.lang.Override
public int getCoreCount() {
return coreCount_;
}
public static final int CARRIERNAME_FIELD_NUMBER = 16;
private volatile java.lang.Object carrierName_;
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return Whether the carrierName field is set.
*/
@java.lang.Override
public boolean hasCarrierName() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The carrierName.
*/
@java.lang.Override
public java.lang.String getCarrierName() {
java.lang.Object ref = carrierName_;
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()) {
carrierName_ = s;
}
return s;
}
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The bytes for carrierName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCarrierNameBytes() {
java.lang.Object ref = carrierName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
carrierName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOFTTYPEXML_FIELD_NUMBER = 17;
private volatile java.lang.Object softTypeXML_;
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return Whether the softTypeXML field is set.
*/
@java.lang.Override
public boolean hasSoftTypeXML() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The softTypeXML.
*/
@java.lang.Override
public java.lang.String getSoftTypeXML() {
java.lang.Object ref = softTypeXML_;
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()) {
softTypeXML_ = s;
}
return s;
}
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The bytes for softTypeXML.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSoftTypeXMLBytes() {
java.lang.Object ref = softTypeXML_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
softTypeXML_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENTCHECKDATAXML_FIELD_NUMBER = 18;
private volatile java.lang.Object clientCheckDataXML_;
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return Whether the clientCheckDataXML field is set.
*/
@java.lang.Override
public boolean hasClientCheckDataXML() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The clientCheckDataXML.
*/
@java.lang.Override
public java.lang.String getClientCheckDataXML() {
java.lang.Object ref = clientCheckDataXML_;
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()) {
clientCheckDataXML_ = s;
}
return s;
}
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The bytes for clientCheckDataXML.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientCheckDataXMLBytes() {
java.lang.Object ref = clientCheckDataXML_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientCheckDataXML_ = 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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uUIDOne_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uUIDTwo_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, imei_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBytes(4, deviceID_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, deviceName_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, timeZone_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, language_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, deviceBrand_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, realCountry_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, iphoneVer_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, bundleID_);
}
if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, osType_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, adSource_);
}
if (((bitField0_ & 0x00002000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, osTypeNumber_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeUInt32(15, coreCount_);
}
if (((bitField0_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, carrierName_);
}
if (((bitField0_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, softTypeXML_);
}
if (((bitField0_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, clientCheckDataXML_);
}
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.GeneratedMessageV3.computeStringSize(1, uUIDOne_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uUIDTwo_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imei_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, deviceID_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, deviceName_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, timeZone_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, language_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, deviceBrand_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, realCountry_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, iphoneVer_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, bundleID_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, osType_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, adSource_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, osTypeNumber_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, coreCount_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, carrierName_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, softTypeXML_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clientCheckDataXML_);
}
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 rock.protobuf.RockUserOuterClass.RockDeviceInfo)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.RockDeviceInfo other = (rock.protobuf.RockUserOuterClass.RockDeviceInfo) obj;
if (hasUUIDOne() != other.hasUUIDOne()) return false;
if (hasUUIDOne()) {
if (!getUUIDOne()
.equals(other.getUUIDOne())) return false;
}
if (hasUUIDTwo() != other.hasUUIDTwo()) return false;
if (hasUUIDTwo()) {
if (!getUUIDTwo()
.equals(other.getUUIDTwo())) return false;
}
if (hasImei() != other.hasImei()) return false;
if (hasImei()) {
if (!getImei()
.equals(other.getImei())) return false;
}
if (hasDeviceID() != other.hasDeviceID()) return false;
if (hasDeviceID()) {
if (!getDeviceID()
.equals(other.getDeviceID())) return false;
}
if (hasDeviceName() != other.hasDeviceName()) return false;
if (hasDeviceName()) {
if (!getDeviceName()
.equals(other.getDeviceName())) return false;
}
if (hasTimeZone() != other.hasTimeZone()) return false;
if (hasTimeZone()) {
if (!getTimeZone()
.equals(other.getTimeZone())) return false;
}
if (hasLanguage() != other.hasLanguage()) return false;
if (hasLanguage()) {
if (!getLanguage()
.equals(other.getLanguage())) return false;
}
if (hasDeviceBrand() != other.hasDeviceBrand()) return false;
if (hasDeviceBrand()) {
if (!getDeviceBrand()
.equals(other.getDeviceBrand())) return false;
}
if (hasRealCountry() != other.hasRealCountry()) return false;
if (hasRealCountry()) {
if (!getRealCountry()
.equals(other.getRealCountry())) return false;
}
if (hasIphoneVer() != other.hasIphoneVer()) return false;
if (hasIphoneVer()) {
if (!getIphoneVer()
.equals(other.getIphoneVer())) return false;
}
if (hasBundleID() != other.hasBundleID()) return false;
if (hasBundleID()) {
if (!getBundleID()
.equals(other.getBundleID())) return false;
}
if (hasOsType() != other.hasOsType()) return false;
if (hasOsType()) {
if (!getOsType()
.equals(other.getOsType())) return false;
}
if (hasAdSource() != other.hasAdSource()) return false;
if (hasAdSource()) {
if (!getAdSource()
.equals(other.getAdSource())) return false;
}
if (hasOsTypeNumber() != other.hasOsTypeNumber()) return false;
if (hasOsTypeNumber()) {
if (!getOsTypeNumber()
.equals(other.getOsTypeNumber())) return false;
}
if (hasCoreCount() != other.hasCoreCount()) return false;
if (hasCoreCount()) {
if (getCoreCount()
!= other.getCoreCount()) return false;
}
if (hasCarrierName() != other.hasCarrierName()) return false;
if (hasCarrierName()) {
if (!getCarrierName()
.equals(other.getCarrierName())) return false;
}
if (hasSoftTypeXML() != other.hasSoftTypeXML()) return false;
if (hasSoftTypeXML()) {
if (!getSoftTypeXML()
.equals(other.getSoftTypeXML())) return false;
}
if (hasClientCheckDataXML() != other.hasClientCheckDataXML()) return false;
if (hasClientCheckDataXML()) {
if (!getClientCheckDataXML()
.equals(other.getClientCheckDataXML())) 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 (hasUUIDOne()) {
hash = (37 * hash) + UUIDONE_FIELD_NUMBER;
hash = (53 * hash) + getUUIDOne().hashCode();
}
if (hasUUIDTwo()) {
hash = (37 * hash) + UUIDTWO_FIELD_NUMBER;
hash = (53 * hash) + getUUIDTwo().hashCode();
}
if (hasImei()) {
hash = (37 * hash) + IMEI_FIELD_NUMBER;
hash = (53 * hash) + getImei().hashCode();
}
if (hasDeviceID()) {
hash = (37 * hash) + DEVICEID_FIELD_NUMBER;
hash = (53 * hash) + getDeviceID().hashCode();
}
if (hasDeviceName()) {
hash = (37 * hash) + DEVICENAME_FIELD_NUMBER;
hash = (53 * hash) + getDeviceName().hashCode();
}
if (hasTimeZone()) {
hash = (37 * hash) + TIMEZONE_FIELD_NUMBER;
hash = (53 * hash) + getTimeZone().hashCode();
}
if (hasLanguage()) {
hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + getLanguage().hashCode();
}
if (hasDeviceBrand()) {
hash = (37 * hash) + DEVICEBRAND_FIELD_NUMBER;
hash = (53 * hash) + getDeviceBrand().hashCode();
}
if (hasRealCountry()) {
hash = (37 * hash) + REALCOUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getRealCountry().hashCode();
}
if (hasIphoneVer()) {
hash = (37 * hash) + IPHONEVER_FIELD_NUMBER;
hash = (53 * hash) + getIphoneVer().hashCode();
}
if (hasBundleID()) {
hash = (37 * hash) + BUNDLEID_FIELD_NUMBER;
hash = (53 * hash) + getBundleID().hashCode();
}
if (hasOsType()) {
hash = (37 * hash) + OSTYPE_FIELD_NUMBER;
hash = (53 * hash) + getOsType().hashCode();
}
if (hasAdSource()) {
hash = (37 * hash) + ADSOURCE_FIELD_NUMBER;
hash = (53 * hash) + getAdSource().hashCode();
}
if (hasOsTypeNumber()) {
hash = (37 * hash) + OSTYPENUMBER_FIELD_NUMBER;
hash = (53 * hash) + getOsTypeNumber().hashCode();
}
if (hasCoreCount()) {
hash = (37 * hash) + CORECOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCoreCount();
}
if (hasCarrierName()) {
hash = (37 * hash) + CARRIERNAME_FIELD_NUMBER;
hash = (53 * hash) + getCarrierName().hashCode();
}
if (hasSoftTypeXML()) {
hash = (37 * hash) + SOFTTYPEXML_FIELD_NUMBER;
hash = (53 * hash) + getSoftTypeXML().hashCode();
}
if (hasClientCheckDataXML()) {
hash = (37 * hash) + CLIENTCHECKDATAXML_FIELD_NUMBER;
hash = (53 * hash) + getClientCheckDataXML().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo 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 rock.protobuf.RockUserOuterClass.RockDeviceInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo 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 rock.protobuf.RockUserOuterClass.RockDeviceInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo 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(rock.protobuf.RockUserOuterClass.RockDeviceInfo 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;
}
/**
*
* DeviceInfo 设备信息
*
*
* Protobuf type {@code rock.RockDeviceInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.RockDeviceInfo)
rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockDeviceInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockDeviceInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockDeviceInfo.class, rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.RockDeviceInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
uUIDOne_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
uUIDTwo_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
imei_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
deviceID_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
deviceName_ = "iPad7,5";
bitField0_ = (bitField0_ & ~0x00000010);
timeZone_ = "8.0";
bitField0_ = (bitField0_ & ~0x00000020);
language_ = "zh_CN";
bitField0_ = (bitField0_ & ~0x00000040);
deviceBrand_ = "Apple";
bitField0_ = (bitField0_ & ~0x00000080);
realCountry_ = "CN";
bitField0_ = (bitField0_ & ~0x00000100);
iphoneVer_ = "iPad11,3";
bitField0_ = (bitField0_ & ~0x00000200);
bundleID_ = "com.tencent.xin";
bitField0_ = (bitField0_ & ~0x00000400);
osType_ = "iPad iOS13.3.1";
bitField0_ = (bitField0_ & ~0x00000800);
adSource_ = "";
bitField0_ = (bitField0_ & ~0x00001000);
osTypeNumber_ = "13.3.1";
bitField0_ = (bitField0_ & ~0x00002000);
coreCount_ = 2;
bitField0_ = (bitField0_ & ~0x00004000);
carrierName_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
softTypeXML_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
clientCheckDataXML_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockDeviceInfo_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockDeviceInfo getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockDeviceInfo build() {
rock.protobuf.RockUserOuterClass.RockDeviceInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockDeviceInfo buildPartial() {
rock.protobuf.RockUserOuterClass.RockDeviceInfo result = new rock.protobuf.RockUserOuterClass.RockDeviceInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.uUIDOne_ = uUIDOne_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.uUIDTwo_ = uUIDTwo_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.imei_ = imei_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.deviceID_ = deviceID_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.deviceName_ = deviceName_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.timeZone_ = timeZone_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.language_ = language_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.deviceBrand_ = deviceBrand_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.realCountry_ = realCountry_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.iphoneVer_ = iphoneVer_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.bundleID_ = bundleID_;
if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.osType_ = osType_;
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.adSource_ = adSource_;
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.osTypeNumber_ = osTypeNumber_;
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00004000;
}
result.coreCount_ = coreCount_;
if (((from_bitField0_ & 0x00008000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.carrierName_ = carrierName_;
if (((from_bitField0_ & 0x00010000) != 0)) {
to_bitField0_ |= 0x00010000;
}
result.softTypeXML_ = softTypeXML_;
if (((from_bitField0_ & 0x00020000) != 0)) {
to_bitField0_ |= 0x00020000;
}
result.clientCheckDataXML_ = clientCheckDataXML_;
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 rock.protobuf.RockUserOuterClass.RockDeviceInfo) {
return mergeFrom((rock.protobuf.RockUserOuterClass.RockDeviceInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.RockDeviceInfo other) {
if (other == rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance()) return this;
if (other.hasUUIDOne()) {
bitField0_ |= 0x00000001;
uUIDOne_ = other.uUIDOne_;
onChanged();
}
if (other.hasUUIDTwo()) {
bitField0_ |= 0x00000002;
uUIDTwo_ = other.uUIDTwo_;
onChanged();
}
if (other.hasImei()) {
bitField0_ |= 0x00000004;
imei_ = other.imei_;
onChanged();
}
if (other.hasDeviceID()) {
setDeviceID(other.getDeviceID());
}
if (other.hasDeviceName()) {
bitField0_ |= 0x00000010;
deviceName_ = other.deviceName_;
onChanged();
}
if (other.hasTimeZone()) {
bitField0_ |= 0x00000020;
timeZone_ = other.timeZone_;
onChanged();
}
if (other.hasLanguage()) {
bitField0_ |= 0x00000040;
language_ = other.language_;
onChanged();
}
if (other.hasDeviceBrand()) {
bitField0_ |= 0x00000080;
deviceBrand_ = other.deviceBrand_;
onChanged();
}
if (other.hasRealCountry()) {
bitField0_ |= 0x00000100;
realCountry_ = other.realCountry_;
onChanged();
}
if (other.hasIphoneVer()) {
bitField0_ |= 0x00000200;
iphoneVer_ = other.iphoneVer_;
onChanged();
}
if (other.hasBundleID()) {
bitField0_ |= 0x00000400;
bundleID_ = other.bundleID_;
onChanged();
}
if (other.hasOsType()) {
bitField0_ |= 0x00000800;
osType_ = other.osType_;
onChanged();
}
if (other.hasAdSource()) {
bitField0_ |= 0x00001000;
adSource_ = other.adSource_;
onChanged();
}
if (other.hasOsTypeNumber()) {
bitField0_ |= 0x00002000;
osTypeNumber_ = other.osTypeNumber_;
onChanged();
}
if (other.hasCoreCount()) {
setCoreCount(other.getCoreCount());
}
if (other.hasCarrierName()) {
bitField0_ |= 0x00008000;
carrierName_ = other.carrierName_;
onChanged();
}
if (other.hasSoftTypeXML()) {
bitField0_ |= 0x00010000;
softTypeXML_ = other.softTypeXML_;
onChanged();
}
if (other.hasClientCheckDataXML()) {
bitField0_ |= 0x00020000;
clientCheckDataXML_ = other.clientCheckDataXML_;
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 {
rock.protobuf.RockUserOuterClass.RockDeviceInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.RockDeviceInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object uUIDOne_ = "";
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return Whether the uUIDOne field is set.
*/
public boolean hasUUIDOne() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The uUIDOne.
*/
public java.lang.String getUUIDOne() {
java.lang.Object ref = uUIDOne_;
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()) {
uUIDOne_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return The bytes for uUIDOne.
*/
public com.google.protobuf.ByteString
getUUIDOneBytes() {
java.lang.Object ref = uUIDOne_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uUIDOne_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @param value The uUIDOne to set.
* @return This builder for chaining.
*/
public Builder setUUIDOne(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uUIDOne_ = value;
onChanged();
return this;
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @return This builder for chaining.
*/
public Builder clearUUIDOne() {
bitField0_ = (bitField0_ & ~0x00000001);
uUIDOne_ = getDefaultInstance().getUUIDOne();
onChanged();
return this;
}
/**
*
*`json:"uuidone"`
*
*
* optional string UUIDOne = 1;
* @param value The bytes for uUIDOne to set.
* @return This builder for chaining.
*/
public Builder setUUIDOneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uUIDOne_ = value;
onChanged();
return this;
}
private java.lang.Object uUIDTwo_ = "";
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return Whether the uUIDTwo field is set.
*/
public boolean hasUUIDTwo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The uUIDTwo.
*/
public java.lang.String getUUIDTwo() {
java.lang.Object ref = uUIDTwo_;
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()) {
uUIDTwo_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return The bytes for uUIDTwo.
*/
public com.google.protobuf.ByteString
getUUIDTwoBytes() {
java.lang.Object ref = uUIDTwo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uUIDTwo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @param value The uUIDTwo to set.
* @return This builder for chaining.
*/
public Builder setUUIDTwo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
uUIDTwo_ = value;
onChanged();
return this;
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @return This builder for chaining.
*/
public Builder clearUUIDTwo() {
bitField0_ = (bitField0_ & ~0x00000002);
uUIDTwo_ = getDefaultInstance().getUUIDTwo();
onChanged();
return this;
}
/**
*
*`json:"uuidtwo"`
*
*
* optional string UUIDTwo = 2;
* @param value The bytes for uUIDTwo to set.
* @return This builder for chaining.
*/
public Builder setUUIDTwoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
uUIDTwo_ = value;
onChanged();
return this;
}
private java.lang.Object imei_ = "";
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return Whether the imei field is set.
*/
public boolean hasImei() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The imei.
*/
public java.lang.String getImei() {
java.lang.Object ref = imei_;
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()) {
imei_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return The bytes for imei.
*/
public com.google.protobuf.ByteString
getImeiBytes() {
java.lang.Object ref = imei_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
imei_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @param value The imei to set.
* @return This builder for chaining.
*/
public Builder setImei(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
imei_ = value;
onChanged();
return this;
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @return This builder for chaining.
*/
public Builder clearImei() {
bitField0_ = (bitField0_ & ~0x00000004);
imei_ = getDefaultInstance().getImei();
onChanged();
return this;
}
/**
*
*`json:"imei"`
*
*
* optional string Imei = 3;
* @param value The bytes for imei to set.
* @return This builder for chaining.
*/
public Builder setImeiBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
imei_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString deviceID_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return Whether the deviceID field is set.
*/
@java.lang.Override
public boolean hasDeviceID() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return The deviceID.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDeviceID() {
return deviceID_;
}
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @param value The deviceID to set.
* @return This builder for chaining.
*/
public Builder setDeviceID(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
deviceID_ = value;
onChanged();
return this;
}
/**
*
*`json:"deviceid"`
*
*
* optional bytes DeviceID = 4;
* @return This builder for chaining.
*/
public Builder clearDeviceID() {
bitField0_ = (bitField0_ & ~0x00000008);
deviceID_ = getDefaultInstance().getDeviceID();
onChanged();
return this;
}
private java.lang.Object deviceName_ = "iPad7,5";
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return Whether the deviceName field is set.
*/
public boolean hasDeviceName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The deviceName.
*/
public java.lang.String getDeviceName() {
java.lang.Object ref = deviceName_;
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()) {
deviceName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return The bytes for deviceName.
*/
public com.google.protobuf.ByteString
getDeviceNameBytes() {
java.lang.Object ref = deviceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @param value The deviceName to set.
* @return This builder for chaining.
*/
public Builder setDeviceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
deviceName_ = value;
onChanged();
return this;
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @return This builder for chaining.
*/
public Builder clearDeviceName() {
bitField0_ = (bitField0_ & ~0x00000010);
deviceName_ = getDefaultInstance().getDeviceName();
onChanged();
return this;
}
/**
*
*`json:"devicename"`
*
*
* optional string DeviceName = 5 [default = "iPad7,5"];
* @param value The bytes for deviceName to set.
* @return This builder for chaining.
*/
public Builder setDeviceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
deviceName_ = value;
onChanged();
return this;
}
private java.lang.Object timeZone_ = "8.0";
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return Whether the timeZone field is set.
*/
public boolean hasTimeZone() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The timeZone.
*/
public java.lang.String getTimeZone() {
java.lang.Object ref = timeZone_;
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()) {
timeZone_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return The bytes for timeZone.
*/
public com.google.protobuf.ByteString
getTimeZoneBytes() {
java.lang.Object ref = timeZone_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeZone_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @param value The timeZone to set.
* @return This builder for chaining.
*/
public Builder setTimeZone(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
timeZone_ = value;
onChanged();
return this;
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @return This builder for chaining.
*/
public Builder clearTimeZone() {
bitField0_ = (bitField0_ & ~0x00000020);
timeZone_ = getDefaultInstance().getTimeZone();
onChanged();
return this;
}
/**
*
*`json:"timezone"`
*
*
* optional string TimeZone = 6 [default = "8.0"];
* @param value The bytes for timeZone to set.
* @return This builder for chaining.
*/
public Builder setTimeZoneBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
timeZone_ = value;
onChanged();
return this;
}
private java.lang.Object language_ = "zh_CN";
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return Whether the language field is set.
*/
public boolean hasLanguage() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The language.
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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()) {
language_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return The bytes for language.
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
language_ = value;
onChanged();
return this;
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @return This builder for chaining.
*/
public Builder clearLanguage() {
bitField0_ = (bitField0_ & ~0x00000040);
language_ = getDefaultInstance().getLanguage();
onChanged();
return this;
}
/**
*
*`json:"language"`
*
*
* optional string Language = 7 [default = "zh_CN"];
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
language_ = value;
onChanged();
return this;
}
private java.lang.Object deviceBrand_ = "Apple";
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return Whether the deviceBrand field is set.
*/
public boolean hasDeviceBrand() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The deviceBrand.
*/
public java.lang.String getDeviceBrand() {
java.lang.Object ref = deviceBrand_;
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()) {
deviceBrand_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return The bytes for deviceBrand.
*/
public com.google.protobuf.ByteString
getDeviceBrandBytes() {
java.lang.Object ref = deviceBrand_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deviceBrand_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @param value The deviceBrand to set.
* @return This builder for chaining.
*/
public Builder setDeviceBrand(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
deviceBrand_ = value;
onChanged();
return this;
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @return This builder for chaining.
*/
public Builder clearDeviceBrand() {
bitField0_ = (bitField0_ & ~0x00000080);
deviceBrand_ = getDefaultInstance().getDeviceBrand();
onChanged();
return this;
}
/**
*
*`json:"devicebrand"`
*
*
* optional string DeviceBrand = 8 [default = "Apple"];
* @param value The bytes for deviceBrand to set.
* @return This builder for chaining.
*/
public Builder setDeviceBrandBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
deviceBrand_ = value;
onChanged();
return this;
}
private java.lang.Object realCountry_ = "CN";
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return Whether the realCountry field is set.
*/
public boolean hasRealCountry() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The realCountry.
*/
public java.lang.String getRealCountry() {
java.lang.Object ref = realCountry_;
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()) {
realCountry_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return The bytes for realCountry.
*/
public com.google.protobuf.ByteString
getRealCountryBytes() {
java.lang.Object ref = realCountry_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
realCountry_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @param value The realCountry to set.
* @return This builder for chaining.
*/
public Builder setRealCountry(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
realCountry_ = value;
onChanged();
return this;
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @return This builder for chaining.
*/
public Builder clearRealCountry() {
bitField0_ = (bitField0_ & ~0x00000100);
realCountry_ = getDefaultInstance().getRealCountry();
onChanged();
return this;
}
/**
*
*`json:"realcountry"`
*
*
* optional string RealCountry = 9 [default = "CN"];
* @param value The bytes for realCountry to set.
* @return This builder for chaining.
*/
public Builder setRealCountryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
realCountry_ = value;
onChanged();
return this;
}
private java.lang.Object iphoneVer_ = "iPad11,3";
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return Whether the iphoneVer field is set.
*/
public boolean hasIphoneVer() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The iphoneVer.
*/
public java.lang.String getIphoneVer() {
java.lang.Object ref = iphoneVer_;
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()) {
iphoneVer_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return The bytes for iphoneVer.
*/
public com.google.protobuf.ByteString
getIphoneVerBytes() {
java.lang.Object ref = iphoneVer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
iphoneVer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @param value The iphoneVer to set.
* @return This builder for chaining.
*/
public Builder setIphoneVer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
iphoneVer_ = value;
onChanged();
return this;
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @return This builder for chaining.
*/
public Builder clearIphoneVer() {
bitField0_ = (bitField0_ & ~0x00000200);
iphoneVer_ = getDefaultInstance().getIphoneVer();
onChanged();
return this;
}
/**
*
*`json:"iphonever"`
*
*
* optional string IphoneVer = 10 [default = "iPad11,3"];
* @param value The bytes for iphoneVer to set.
* @return This builder for chaining.
*/
public Builder setIphoneVerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
iphoneVer_ = value;
onChanged();
return this;
}
private java.lang.Object bundleID_ = "com.tencent.xin";
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return Whether the bundleID field is set.
*/
public boolean hasBundleID() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bundleID.
*/
public java.lang.String getBundleID() {
java.lang.Object ref = bundleID_;
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()) {
bundleID_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return The bytes for bundleID.
*/
public com.google.protobuf.ByteString
getBundleIDBytes() {
java.lang.Object ref = bundleID_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bundleID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @param value The bundleID to set.
* @return This builder for chaining.
*/
public Builder setBundleID(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
bundleID_ = value;
onChanged();
return this;
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @return This builder for chaining.
*/
public Builder clearBundleID() {
bitField0_ = (bitField0_ & ~0x00000400);
bundleID_ = getDefaultInstance().getBundleID();
onChanged();
return this;
}
/**
*
*`json:"boudleid"`
*
*
* optional string BundleID = 11 [default = "com.tencent.xin"];
* @param value The bytes for bundleID to set.
* @return This builder for chaining.
*/
public Builder setBundleIDBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
bundleID_ = value;
onChanged();
return this;
}
private java.lang.Object osType_ = "iPad iOS13.3.1";
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return Whether the osType field is set.
*/
public boolean hasOsType() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The osType.
*/
public java.lang.String getOsType() {
java.lang.Object ref = osType_;
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()) {
osType_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return The bytes for osType.
*/
public com.google.protobuf.ByteString
getOsTypeBytes() {
java.lang.Object ref = osType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @param value The osType to set.
* @return This builder for chaining.
*/
public Builder setOsType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
osType_ = value;
onChanged();
return this;
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @return This builder for chaining.
*/
public Builder clearOsType() {
bitField0_ = (bitField0_ & ~0x00000800);
osType_ = getDefaultInstance().getOsType();
onChanged();
return this;
}
/**
*
*`json:"ostype"`
*
*
* optional string OsType = 12 [default = "iPad iOS13.3.1"];
* @param value The bytes for osType to set.
* @return This builder for chaining.
*/
public Builder setOsTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
osType_ = value;
onChanged();
return this;
}
private java.lang.Object adSource_ = "";
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return Whether the adSource field is set.
*/
public boolean hasAdSource() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The adSource.
*/
public java.lang.String getAdSource() {
java.lang.Object ref = adSource_;
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()) {
adSource_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return The bytes for adSource.
*/
public com.google.protobuf.ByteString
getAdSourceBytes() {
java.lang.Object ref = adSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
adSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @param value The adSource to set.
* @return This builder for chaining.
*/
public Builder setAdSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
adSource_ = value;
onChanged();
return this;
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @return This builder for chaining.
*/
public Builder clearAdSource() {
bitField0_ = (bitField0_ & ~0x00001000);
adSource_ = getDefaultInstance().getAdSource();
onChanged();
return this;
}
/**
*
*`json:"adsource"`
*
*
* optional string AdSource = 13;
* @param value The bytes for adSource to set.
* @return This builder for chaining.
*/
public Builder setAdSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
adSource_ = value;
onChanged();
return this;
}
private java.lang.Object osTypeNumber_ = "13.3.1";
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return Whether the osTypeNumber field is set.
*/
public boolean hasOsTypeNumber() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The osTypeNumber.
*/
public java.lang.String getOsTypeNumber() {
java.lang.Object ref = osTypeNumber_;
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()) {
osTypeNumber_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return The bytes for osTypeNumber.
*/
public com.google.protobuf.ByteString
getOsTypeNumberBytes() {
java.lang.Object ref = osTypeNumber_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osTypeNumber_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @param value The osTypeNumber to set.
* @return This builder for chaining.
*/
public Builder setOsTypeNumber(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
osTypeNumber_ = value;
onChanged();
return this;
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @return This builder for chaining.
*/
public Builder clearOsTypeNumber() {
bitField0_ = (bitField0_ & ~0x00002000);
osTypeNumber_ = getDefaultInstance().getOsTypeNumber();
onChanged();
return this;
}
/**
*
*`json:"ostypenumber"`
*
*
* optional string OsTypeNumber = 14 [default = "13.3.1"];
* @param value The bytes for osTypeNumber to set.
* @return This builder for chaining.
*/
public Builder setOsTypeNumberBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
osTypeNumber_ = value;
onChanged();
return this;
}
private int coreCount_ = 2;
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return Whether the coreCount field is set.
*/
@java.lang.Override
public boolean hasCoreCount() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return The coreCount.
*/
@java.lang.Override
public int getCoreCount() {
return coreCount_;
}
/**
* optional uint32 CoreCount = 15 [default = 2];
* @param value The coreCount to set.
* @return This builder for chaining.
*/
public Builder setCoreCount(int value) {
bitField0_ |= 0x00004000;
coreCount_ = value;
onChanged();
return this;
}
/**
* optional uint32 CoreCount = 15 [default = 2];
* @return This builder for chaining.
*/
public Builder clearCoreCount() {
bitField0_ = (bitField0_ & ~0x00004000);
coreCount_ = 2;
onChanged();
return this;
}
private java.lang.Object carrierName_ = "";
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return Whether the carrierName field is set.
*/
public boolean hasCarrierName() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The carrierName.
*/
public java.lang.String getCarrierName() {
java.lang.Object ref = carrierName_;
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()) {
carrierName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return The bytes for carrierName.
*/
public com.google.protobuf.ByteString
getCarrierNameBytes() {
java.lang.Object ref = carrierName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
carrierName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @param value The carrierName to set.
* @return This builder for chaining.
*/
public Builder setCarrierName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
carrierName_ = value;
onChanged();
return this;
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @return This builder for chaining.
*/
public Builder clearCarrierName() {
bitField0_ = (bitField0_ & ~0x00008000);
carrierName_ = getDefaultInstance().getCarrierName();
onChanged();
return this;
}
/**
*
*`json:"carriername"`
*
*
* optional string CarrierName = 16;
* @param value The bytes for carrierName to set.
* @return This builder for chaining.
*/
public Builder setCarrierNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
carrierName_ = value;
onChanged();
return this;
}
private java.lang.Object softTypeXML_ = "";
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return Whether the softTypeXML field is set.
*/
public boolean hasSoftTypeXML() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The softTypeXML.
*/
public java.lang.String getSoftTypeXML() {
java.lang.Object ref = softTypeXML_;
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()) {
softTypeXML_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return The bytes for softTypeXML.
*/
public com.google.protobuf.ByteString
getSoftTypeXMLBytes() {
java.lang.Object ref = softTypeXML_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
softTypeXML_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @param value The softTypeXML to set.
* @return This builder for chaining.
*/
public Builder setSoftTypeXML(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
softTypeXML_ = value;
onChanged();
return this;
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @return This builder for chaining.
*/
public Builder clearSoftTypeXML() {
bitField0_ = (bitField0_ & ~0x00010000);
softTypeXML_ = getDefaultInstance().getSoftTypeXML();
onChanged();
return this;
}
/**
*
*`json:"softtypexml"`
*
*
* optional string SoftTypeXML = 17;
* @param value The bytes for softTypeXML to set.
* @return This builder for chaining.
*/
public Builder setSoftTypeXMLBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
softTypeXML_ = value;
onChanged();
return this;
}
private java.lang.Object clientCheckDataXML_ = "";
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return Whether the clientCheckDataXML field is set.
*/
public boolean hasClientCheckDataXML() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The clientCheckDataXML.
*/
public java.lang.String getClientCheckDataXML() {
java.lang.Object ref = clientCheckDataXML_;
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()) {
clientCheckDataXML_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return The bytes for clientCheckDataXML.
*/
public com.google.protobuf.ByteString
getClientCheckDataXMLBytes() {
java.lang.Object ref = clientCheckDataXML_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientCheckDataXML_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @param value The clientCheckDataXML to set.
* @return This builder for chaining.
*/
public Builder setClientCheckDataXML(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
clientCheckDataXML_ = value;
onChanged();
return this;
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @return This builder for chaining.
*/
public Builder clearClientCheckDataXML() {
bitField0_ = (bitField0_ & ~0x00020000);
clientCheckDataXML_ = getDefaultInstance().getClientCheckDataXML();
onChanged();
return this;
}
/**
*
*`json:"clientcheckdataxml"`
*
*
* optional string ClientCheckDataXML = 18;
* @param value The bytes for clientCheckDataXML to set.
* @return This builder for chaining.
*/
public Builder setClientCheckDataXMLBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
clientCheckDataXML_ = 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:rock.RockDeviceInfo)
}
// @@protoc_insertion_point(class_scope:rock.RockDeviceInfo)
private static final rock.protobuf.RockUserOuterClass.RockDeviceInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.RockDeviceInfo();
}
public static rock.protobuf.RockUserOuterClass.RockDeviceInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RockDeviceInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RockDeviceInfo(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 rock.protobuf.RockUserOuterClass.RockDeviceInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RockUserOrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.RockUser)
com.google.protobuf.MessageOrBuilder {
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return Whether the uuid field is set.
*/
boolean hasUuid();
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The uuid.
*/
java.lang.String getUuid();
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The bytes for uuid.
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return Whether the token field is set.
*/
boolean hasToken();
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The token.
*/
java.lang.String getToken();
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The bytes for token.
*/
com.google.protobuf.ByteString
getTokenBytes();
/**
* optional uint32 uin = 3;
* @return Whether the uin field is set.
*/
boolean hasUin();
/**
* optional uint32 uin = 3;
* @return The uin.
*/
int getUin();
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return Whether the wxid field is set.
*/
boolean hasWxid();
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The wxid.
*/
java.lang.String getWxid();
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The bytes for wxid.
*/
com.google.protobuf.ByteString
getWxidBytes();
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return Whether the notifyKey field is set.
*/
boolean hasNotifyKey();
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The notifyKey.
*/
java.lang.String getNotifyKey();
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The bytes for notifyKey.
*/
com.google.protobuf.ByteString
getNotifyKeyBytes();
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return Whether the cookie field is set.
*/
boolean hasCookie();
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return The cookie.
*/
com.google.protobuf.ByteString getCookie();
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return Whether the aesKey field is set.
*/
boolean hasAesKey();
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return The aesKey.
*/
com.google.protobuf.ByteString getAesKey();
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return Whether the ecPublicKey field is set.
*/
boolean hasEcPublicKey();
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return The ecPublicKey.
*/
com.google.protobuf.ByteString getEcPublicKey();
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return Whether the ecPrivateKey field is set.
*/
boolean hasEcPrivateKey();
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return The ecPrivateKey.
*/
com.google.protobuf.ByteString getEcPrivateKey();
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return Whether the tmpEcPublicKey field is set.
*/
boolean hasTmpEcPublicKey();
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return The tmpEcPublicKey.
*/
com.google.protobuf.ByteString getTmpEcPublicKey();
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return Whether the tmpEcPrivateKey field is set.
*/
boolean hasTmpEcPrivateKey();
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return The tmpEcPrivateKey.
*/
com.google.protobuf.ByteString getTmpEcPrivateKey();
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return Whether the checkSumKey field is set.
*/
boolean hasCheckSumKey();
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return The checkSumKey.
*/
com.google.protobuf.ByteString getCheckSumKey();
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return Whether the autoAuthKey field is set.
*/
boolean hasAutoAuthKey();
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return The autoAuthKey.
*/
com.google.protobuf.ByteString getAutoAuthKey();
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return Whether the syncKey field is set.
*/
boolean hasSyncKey();
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return The syncKey.
*/
com.google.protobuf.ByteString getSyncKey();
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return Whether the favSyncKey field is set.
*/
boolean hasFavSyncKey();
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return The favSyncKey.
*/
com.google.protobuf.ByteString getFavSyncKey();
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return Whether the snsSyncKey field is set.
*/
boolean hasSnsSyncKey();
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return The snsSyncKey.
*/
com.google.protobuf.ByteString getSnsSyncKey();
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return Whether the dNSInfo field is set.
*/
boolean hasDNSInfo();
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return The dNSInfo.
*/
wechat.protobuf.CDNDnsInfo getDNSInfo();
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
wechat.protobuf.CDNDnsInfoOrBuilder getDNSInfoOrBuilder();
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return Whether the sNSDnsInfo field is set.
*/
boolean hasSNSDnsInfo();
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return The sNSDnsInfo.
*/
wechat.protobuf.CDNDnsInfo getSNSDnsInfo();
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
wechat.protobuf.CDNDnsInfoOrBuilder getSNSDnsInfoOrBuilder();
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return Whether the aPPDnsInfo field is set.
*/
boolean hasAPPDnsInfo();
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return The aPPDnsInfo.
*/
wechat.protobuf.CDNDnsInfo getAPPDnsInfo();
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
wechat.protobuf.CDNDnsInfoOrBuilder getAPPDnsInfoOrBuilder();
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return Whether the fAKEDnsInfo field is set.
*/
boolean hasFAKEDnsInfo();
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return The fAKEDnsInfo.
*/
wechat.protobuf.CDNDnsInfo getFAKEDnsInfo();
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
wechat.protobuf.CDNDnsInfoOrBuilder getFAKEDnsInfoOrBuilder();
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return Whether the deviceInfo field is set.
*/
boolean hasDeviceInfo();
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return The deviceInfo.
*/
rock.protobuf.RockUserOuterClass.RockDeviceInfo getDeviceInfo();
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder getDeviceInfoOrBuilder();
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return Whether the balanceVersion field is set.
*/
boolean hasBalanceVersion();
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return The balanceVersion.
*/
int getBalanceVersion();
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return Whether the wifiInfo field is set.
*/
boolean hasWifiInfo();
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return The wifiInfo.
*/
rock.protobuf.RockUserOuterClass.RockWifiInfo getWifiInfo();
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder getWifiInfoOrBuilder();
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return Whether the mMInfo field is set.
*/
boolean hasMMInfo();
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return The mMInfo.
*/
rock.protobuf.RockUserOuterClass.RockMMInfo getMMInfo();
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder getMMInfoOrBuilder();
}
/**
*
*UserInfo 用户信息
*
*
* Protobuf type {@code rock.RockUser}
*/
public static final class RockUser extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.RockUser)
RockUserOrBuilder {
private static final long serialVersionUID = 0L;
// Use RockUser.newBuilder() to construct.
private RockUser(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RockUser() {
uuid_ = "";
token_ = "";
wxid_ = "";
notifyKey_ = "";
cookie_ = com.google.protobuf.ByteString.EMPTY;
aesKey_ = com.google.protobuf.ByteString.EMPTY;
ecPublicKey_ = com.google.protobuf.ByteString.EMPTY;
ecPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
tmpEcPublicKey_ = com.google.protobuf.ByteString.EMPTY;
tmpEcPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
checkSumKey_ = com.google.protobuf.ByteString.EMPTY;
autoAuthKey_ = com.google.protobuf.ByteString.EMPTY;
syncKey_ = com.google.protobuf.ByteString.EMPTY;
favSyncKey_ = com.google.protobuf.ByteString.EMPTY;
snsSyncKey_ = com.google.protobuf.ByteString.EMPTY;
balanceVersion_ = 1589560770;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RockUser();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RockUser(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
uuid_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
token_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
uin_ = input.readUInt32();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
wxid_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
notifyKey_ = bs;
break;
}
case 50: {
bitField0_ |= 0x00000020;
cookie_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000040;
aesKey_ = input.readBytes();
break;
}
case 66: {
bitField0_ |= 0x00000080;
ecPublicKey_ = input.readBytes();
break;
}
case 74: {
bitField0_ |= 0x00000100;
ecPrivateKey_ = input.readBytes();
break;
}
case 82: {
bitField0_ |= 0x00000200;
tmpEcPublicKey_ = input.readBytes();
break;
}
case 90: {
bitField0_ |= 0x00000400;
tmpEcPrivateKey_ = input.readBytes();
break;
}
case 98: {
bitField0_ |= 0x00000800;
checkSumKey_ = input.readBytes();
break;
}
case 106: {
bitField0_ |= 0x00001000;
autoAuthKey_ = input.readBytes();
break;
}
case 114: {
bitField0_ |= 0x00002000;
syncKey_ = input.readBytes();
break;
}
case 122: {
bitField0_ |= 0x00004000;
favSyncKey_ = input.readBytes();
break;
}
case 130: {
bitField0_ |= 0x00008000;
snsSyncKey_ = input.readBytes();
break;
}
case 154: {
wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00010000) != 0)) {
subBuilder = dNSInfo_.toBuilder();
}
dNSInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dNSInfo_);
dNSInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00010000;
break;
}
case 162: {
wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00020000) != 0)) {
subBuilder = sNSDnsInfo_.toBuilder();
}
sNSDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sNSDnsInfo_);
sNSDnsInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00020000;
break;
}
case 170: {
wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00040000) != 0)) {
subBuilder = aPPDnsInfo_.toBuilder();
}
aPPDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(aPPDnsInfo_);
aPPDnsInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00040000;
break;
}
case 178: {
wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00080000) != 0)) {
subBuilder = fAKEDnsInfo_.toBuilder();
}
fAKEDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fAKEDnsInfo_);
fAKEDnsInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00080000;
break;
}
case 186: {
rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00100000) != 0)) {
subBuilder = deviceInfo_.toBuilder();
}
deviceInfo_ = input.readMessage(rock.protobuf.RockUserOuterClass.RockDeviceInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deviceInfo_);
deviceInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00100000;
break;
}
case 192: {
bitField0_ |= 0x00200000;
balanceVersion_ = input.readUInt32();
break;
}
case 202: {
rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00400000) != 0)) {
subBuilder = wifiInfo_.toBuilder();
}
wifiInfo_ = input.readMessage(rock.protobuf.RockUserOuterClass.RockWifiInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(wifiInfo_);
wifiInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00400000;
break;
}
case 210: {
rock.protobuf.RockUserOuterClass.RockMMInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00800000) != 0)) {
subBuilder = mMInfo_.toBuilder();
}
mMInfo_ = input.readMessage(rock.protobuf.RockUserOuterClass.RockMMInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mMInfo_);
mMInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00800000;
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 rock.protobuf.RockUserOuterClass.internal_static_rock_RockUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockUser.class, rock.protobuf.RockUserOuterClass.RockUser.Builder.class);
}
private int bitField0_;
public static final int UUID_FIELD_NUMBER = 1;
private volatile java.lang.Object uuid_;
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return Whether the uuid field is set.
*/
@java.lang.Override
public boolean hasUuid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The uuid.
*/
@java.lang.Override
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
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()) {
uuid_ = s;
}
return s;
}
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The bytes for uuid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOKEN_FIELD_NUMBER = 2;
private volatile java.lang.Object token_;
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return Whether the token field is set.
*/
@java.lang.Override
public boolean hasToken() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The token.
*/
@java.lang.Override
public java.lang.String getToken() {
java.lang.Object ref = token_;
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()) {
token_ = s;
}
return s;
}
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The bytes for token.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTokenBytes() {
java.lang.Object ref = token_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
token_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UIN_FIELD_NUMBER = 3;
private int uin_;
/**
* optional uint32 uin = 3;
* @return Whether the uin field is set.
*/
@java.lang.Override
public boolean hasUin() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 uin = 3;
* @return The uin.
*/
@java.lang.Override
public int getUin() {
return uin_;
}
public static final int WXID_FIELD_NUMBER = 4;
private volatile java.lang.Object wxid_;
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return Whether the wxid field is set.
*/
@java.lang.Override
public boolean hasWxid() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The wxid.
*/
@java.lang.Override
public java.lang.String getWxid() {
java.lang.Object ref = wxid_;
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()) {
wxid_ = s;
}
return s;
}
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The bytes for wxid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWxidBytes() {
java.lang.Object ref = wxid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wxid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NOTIFYKEY_FIELD_NUMBER = 5;
private volatile java.lang.Object notifyKey_;
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return Whether the notifyKey field is set.
*/
@java.lang.Override
public boolean hasNotifyKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The notifyKey.
*/
@java.lang.Override
public java.lang.String getNotifyKey() {
java.lang.Object ref = notifyKey_;
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()) {
notifyKey_ = s;
}
return s;
}
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The bytes for notifyKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNotifyKeyBytes() {
java.lang.Object ref = notifyKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
notifyKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COOKIE_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString cookie_;
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return Whether the cookie field is set.
*/
@java.lang.Override
public boolean hasCookie() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return The cookie.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCookie() {
return cookie_;
}
public static final int AESKEY_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString aesKey_;
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return Whether the aesKey field is set.
*/
@java.lang.Override
public boolean hasAesKey() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return The aesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAesKey() {
return aesKey_;
}
public static final int ECPUBLICKEY_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString ecPublicKey_;
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return Whether the ecPublicKey field is set.
*/
@java.lang.Override
public boolean hasEcPublicKey() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return The ecPublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEcPublicKey() {
return ecPublicKey_;
}
public static final int ECPRIVATEKEY_FIELD_NUMBER = 9;
private com.google.protobuf.ByteString ecPrivateKey_;
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return Whether the ecPrivateKey field is set.
*/
@java.lang.Override
public boolean hasEcPrivateKey() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return The ecPrivateKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEcPrivateKey() {
return ecPrivateKey_;
}
public static final int TMPECPUBLICKEY_FIELD_NUMBER = 10;
private com.google.protobuf.ByteString tmpEcPublicKey_;
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return Whether the tmpEcPublicKey field is set.
*/
@java.lang.Override
public boolean hasTmpEcPublicKey() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return The tmpEcPublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTmpEcPublicKey() {
return tmpEcPublicKey_;
}
public static final int TMPECPRIVATEKEY_FIELD_NUMBER = 11;
private com.google.protobuf.ByteString tmpEcPrivateKey_;
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return Whether the tmpEcPrivateKey field is set.
*/
@java.lang.Override
public boolean hasTmpEcPrivateKey() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return The tmpEcPrivateKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTmpEcPrivateKey() {
return tmpEcPrivateKey_;
}
public static final int CHECKSUMKEY_FIELD_NUMBER = 12;
private com.google.protobuf.ByteString checkSumKey_;
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return Whether the checkSumKey field is set.
*/
@java.lang.Override
public boolean hasCheckSumKey() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return The checkSumKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCheckSumKey() {
return checkSumKey_;
}
public static final int AUTOAUTHKEY_FIELD_NUMBER = 13;
private com.google.protobuf.ByteString autoAuthKey_;
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return Whether the autoAuthKey field is set.
*/
@java.lang.Override
public boolean hasAutoAuthKey() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return The autoAuthKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAutoAuthKey() {
return autoAuthKey_;
}
public static final int SYNCKEY_FIELD_NUMBER = 14;
private com.google.protobuf.ByteString syncKey_;
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return Whether the syncKey field is set.
*/
@java.lang.Override
public boolean hasSyncKey() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return The syncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSyncKey() {
return syncKey_;
}
public static final int FAVSYNCKEY_FIELD_NUMBER = 15;
private com.google.protobuf.ByteString favSyncKey_;
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return Whether the favSyncKey field is set.
*/
@java.lang.Override
public boolean hasFavSyncKey() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return The favSyncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavSyncKey() {
return favSyncKey_;
}
public static final int SNSSYNCKEY_FIELD_NUMBER = 16;
private com.google.protobuf.ByteString snsSyncKey_;
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return Whether the snsSyncKey field is set.
*/
@java.lang.Override
public boolean hasSnsSyncKey() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return The snsSyncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSnsSyncKey() {
return snsSyncKey_;
}
public static final int DNSINFO_FIELD_NUMBER = 19;
private wechat.protobuf.CDNDnsInfo dNSInfo_;
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return Whether the dNSInfo field is set.
*/
@java.lang.Override
public boolean hasDNSInfo() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return The dNSInfo.
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfo getDNSInfo() {
return dNSInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dNSInfo_;
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfoOrBuilder getDNSInfoOrBuilder() {
return dNSInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dNSInfo_;
}
public static final int SNSDNSINFO_FIELD_NUMBER = 20;
private wechat.protobuf.CDNDnsInfo sNSDnsInfo_;
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return Whether the sNSDnsInfo field is set.
*/
@java.lang.Override
public boolean hasSNSDnsInfo() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return The sNSDnsInfo.
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfo getSNSDnsInfo() {
return sNSDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : sNSDnsInfo_;
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfoOrBuilder getSNSDnsInfoOrBuilder() {
return sNSDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : sNSDnsInfo_;
}
public static final int APPDNSINFO_FIELD_NUMBER = 21;
private wechat.protobuf.CDNDnsInfo aPPDnsInfo_;
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return Whether the aPPDnsInfo field is set.
*/
@java.lang.Override
public boolean hasAPPDnsInfo() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return The aPPDnsInfo.
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfo getAPPDnsInfo() {
return aPPDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : aPPDnsInfo_;
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfoOrBuilder getAPPDnsInfoOrBuilder() {
return aPPDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : aPPDnsInfo_;
}
public static final int FAKEDNSINFO_FIELD_NUMBER = 22;
private wechat.protobuf.CDNDnsInfo fAKEDnsInfo_;
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return Whether the fAKEDnsInfo field is set.
*/
@java.lang.Override
public boolean hasFAKEDnsInfo() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return The fAKEDnsInfo.
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfo getFAKEDnsInfo() {
return fAKEDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fAKEDnsInfo_;
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
@java.lang.Override
public wechat.protobuf.CDNDnsInfoOrBuilder getFAKEDnsInfoOrBuilder() {
return fAKEDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fAKEDnsInfo_;
}
public static final int DEVICEINFO_FIELD_NUMBER = 23;
private rock.protobuf.RockUserOuterClass.RockDeviceInfo deviceInfo_;
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return Whether the deviceInfo field is set.
*/
@java.lang.Override
public boolean hasDeviceInfo() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return The deviceInfo.
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockDeviceInfo getDeviceInfo() {
return deviceInfo_ == null ? rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance() : deviceInfo_;
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder getDeviceInfoOrBuilder() {
return deviceInfo_ == null ? rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance() : deviceInfo_;
}
public static final int BALANCEVERSION_FIELD_NUMBER = 24;
private int balanceVersion_;
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return Whether the balanceVersion field is set.
*/
@java.lang.Override
public boolean hasBalanceVersion() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return The balanceVersion.
*/
@java.lang.Override
public int getBalanceVersion() {
return balanceVersion_;
}
public static final int WIFIINFO_FIELD_NUMBER = 25;
private rock.protobuf.RockUserOuterClass.RockWifiInfo wifiInfo_;
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return Whether the wifiInfo field is set.
*/
@java.lang.Override
public boolean hasWifiInfo() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return The wifiInfo.
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockWifiInfo getWifiInfo() {
return wifiInfo_ == null ? rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance() : wifiInfo_;
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder getWifiInfoOrBuilder() {
return wifiInfo_ == null ? rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance() : wifiInfo_;
}
public static final int MMINFO_FIELD_NUMBER = 26;
private rock.protobuf.RockUserOuterClass.RockMMInfo mMInfo_;
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return Whether the mMInfo field is set.
*/
@java.lang.Override
public boolean hasMMInfo() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return The mMInfo.
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockMMInfo getMMInfo() {
return mMInfo_ == null ? rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance() : mMInfo_;
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder getMMInfoOrBuilder() {
return mMInfo_ == null ? rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance() : mMInfo_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, uin_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, wxid_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, notifyKey_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBytes(6, cookie_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(7, aesKey_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeBytes(8, ecPublicKey_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeBytes(9, ecPrivateKey_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeBytes(10, tmpEcPublicKey_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeBytes(11, tmpEcPrivateKey_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeBytes(12, checkSumKey_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeBytes(13, autoAuthKey_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeBytes(14, syncKey_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeBytes(15, favSyncKey_);
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeBytes(16, snsSyncKey_);
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeMessage(19, getDNSInfo());
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeMessage(20, getSNSDnsInfo());
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeMessage(21, getAPPDnsInfo());
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeMessage(22, getFAKEDnsInfo());
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeMessage(23, getDeviceInfo());
}
if (((bitField0_ & 0x00200000) != 0)) {
output.writeUInt32(24, balanceVersion_);
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeMessage(25, getWifiInfo());
}
if (((bitField0_ & 0x00800000) != 0)) {
output.writeMessage(26, getMMInfo());
}
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.GeneratedMessageV3.computeStringSize(1, uuid_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, uin_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, wxid_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, notifyKey_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, cookie_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(7, aesKey_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, ecPublicKey_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, ecPrivateKey_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, tmpEcPublicKey_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, tmpEcPrivateKey_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(12, checkSumKey_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(13, autoAuthKey_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(14, syncKey_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(15, favSyncKey_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(16, snsSyncKey_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getDNSInfo());
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getSNSDnsInfo());
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, getAPPDnsInfo());
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, getFAKEDnsInfo());
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getDeviceInfo());
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(24, balanceVersion_);
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, getWifiInfo());
}
if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, getMMInfo());
}
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 rock.protobuf.RockUserOuterClass.RockUser)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.RockUser other = (rock.protobuf.RockUserOuterClass.RockUser) obj;
if (hasUuid() != other.hasUuid()) return false;
if (hasUuid()) {
if (!getUuid()
.equals(other.getUuid())) return false;
}
if (hasToken() != other.hasToken()) return false;
if (hasToken()) {
if (!getToken()
.equals(other.getToken())) return false;
}
if (hasUin() != other.hasUin()) return false;
if (hasUin()) {
if (getUin()
!= other.getUin()) return false;
}
if (hasWxid() != other.hasWxid()) return false;
if (hasWxid()) {
if (!getWxid()
.equals(other.getWxid())) return false;
}
if (hasNotifyKey() != other.hasNotifyKey()) return false;
if (hasNotifyKey()) {
if (!getNotifyKey()
.equals(other.getNotifyKey())) return false;
}
if (hasCookie() != other.hasCookie()) return false;
if (hasCookie()) {
if (!getCookie()
.equals(other.getCookie())) return false;
}
if (hasAesKey() != other.hasAesKey()) return false;
if (hasAesKey()) {
if (!getAesKey()
.equals(other.getAesKey())) return false;
}
if (hasEcPublicKey() != other.hasEcPublicKey()) return false;
if (hasEcPublicKey()) {
if (!getEcPublicKey()
.equals(other.getEcPublicKey())) return false;
}
if (hasEcPrivateKey() != other.hasEcPrivateKey()) return false;
if (hasEcPrivateKey()) {
if (!getEcPrivateKey()
.equals(other.getEcPrivateKey())) return false;
}
if (hasTmpEcPublicKey() != other.hasTmpEcPublicKey()) return false;
if (hasTmpEcPublicKey()) {
if (!getTmpEcPublicKey()
.equals(other.getTmpEcPublicKey())) return false;
}
if (hasTmpEcPrivateKey() != other.hasTmpEcPrivateKey()) return false;
if (hasTmpEcPrivateKey()) {
if (!getTmpEcPrivateKey()
.equals(other.getTmpEcPrivateKey())) return false;
}
if (hasCheckSumKey() != other.hasCheckSumKey()) return false;
if (hasCheckSumKey()) {
if (!getCheckSumKey()
.equals(other.getCheckSumKey())) return false;
}
if (hasAutoAuthKey() != other.hasAutoAuthKey()) return false;
if (hasAutoAuthKey()) {
if (!getAutoAuthKey()
.equals(other.getAutoAuthKey())) return false;
}
if (hasSyncKey() != other.hasSyncKey()) return false;
if (hasSyncKey()) {
if (!getSyncKey()
.equals(other.getSyncKey())) return false;
}
if (hasFavSyncKey() != other.hasFavSyncKey()) return false;
if (hasFavSyncKey()) {
if (!getFavSyncKey()
.equals(other.getFavSyncKey())) return false;
}
if (hasSnsSyncKey() != other.hasSnsSyncKey()) return false;
if (hasSnsSyncKey()) {
if (!getSnsSyncKey()
.equals(other.getSnsSyncKey())) return false;
}
if (hasDNSInfo() != other.hasDNSInfo()) return false;
if (hasDNSInfo()) {
if (!getDNSInfo()
.equals(other.getDNSInfo())) return false;
}
if (hasSNSDnsInfo() != other.hasSNSDnsInfo()) return false;
if (hasSNSDnsInfo()) {
if (!getSNSDnsInfo()
.equals(other.getSNSDnsInfo())) return false;
}
if (hasAPPDnsInfo() != other.hasAPPDnsInfo()) return false;
if (hasAPPDnsInfo()) {
if (!getAPPDnsInfo()
.equals(other.getAPPDnsInfo())) return false;
}
if (hasFAKEDnsInfo() != other.hasFAKEDnsInfo()) return false;
if (hasFAKEDnsInfo()) {
if (!getFAKEDnsInfo()
.equals(other.getFAKEDnsInfo())) return false;
}
if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
if (hasDeviceInfo()) {
if (!getDeviceInfo()
.equals(other.getDeviceInfo())) return false;
}
if (hasBalanceVersion() != other.hasBalanceVersion()) return false;
if (hasBalanceVersion()) {
if (getBalanceVersion()
!= other.getBalanceVersion()) return false;
}
if (hasWifiInfo() != other.hasWifiInfo()) return false;
if (hasWifiInfo()) {
if (!getWifiInfo()
.equals(other.getWifiInfo())) return false;
}
if (hasMMInfo() != other.hasMMInfo()) return false;
if (hasMMInfo()) {
if (!getMMInfo()
.equals(other.getMMInfo())) 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 (hasUuid()) {
hash = (37 * hash) + UUID_FIELD_NUMBER;
hash = (53 * hash) + getUuid().hashCode();
}
if (hasToken()) {
hash = (37 * hash) + TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getToken().hashCode();
}
if (hasUin()) {
hash = (37 * hash) + UIN_FIELD_NUMBER;
hash = (53 * hash) + getUin();
}
if (hasWxid()) {
hash = (37 * hash) + WXID_FIELD_NUMBER;
hash = (53 * hash) + getWxid().hashCode();
}
if (hasNotifyKey()) {
hash = (37 * hash) + NOTIFYKEY_FIELD_NUMBER;
hash = (53 * hash) + getNotifyKey().hashCode();
}
if (hasCookie()) {
hash = (37 * hash) + COOKIE_FIELD_NUMBER;
hash = (53 * hash) + getCookie().hashCode();
}
if (hasAesKey()) {
hash = (37 * hash) + AESKEY_FIELD_NUMBER;
hash = (53 * hash) + getAesKey().hashCode();
}
if (hasEcPublicKey()) {
hash = (37 * hash) + ECPUBLICKEY_FIELD_NUMBER;
hash = (53 * hash) + getEcPublicKey().hashCode();
}
if (hasEcPrivateKey()) {
hash = (37 * hash) + ECPRIVATEKEY_FIELD_NUMBER;
hash = (53 * hash) + getEcPrivateKey().hashCode();
}
if (hasTmpEcPublicKey()) {
hash = (37 * hash) + TMPECPUBLICKEY_FIELD_NUMBER;
hash = (53 * hash) + getTmpEcPublicKey().hashCode();
}
if (hasTmpEcPrivateKey()) {
hash = (37 * hash) + TMPECPRIVATEKEY_FIELD_NUMBER;
hash = (53 * hash) + getTmpEcPrivateKey().hashCode();
}
if (hasCheckSumKey()) {
hash = (37 * hash) + CHECKSUMKEY_FIELD_NUMBER;
hash = (53 * hash) + getCheckSumKey().hashCode();
}
if (hasAutoAuthKey()) {
hash = (37 * hash) + AUTOAUTHKEY_FIELD_NUMBER;
hash = (53 * hash) + getAutoAuthKey().hashCode();
}
if (hasSyncKey()) {
hash = (37 * hash) + SYNCKEY_FIELD_NUMBER;
hash = (53 * hash) + getSyncKey().hashCode();
}
if (hasFavSyncKey()) {
hash = (37 * hash) + FAVSYNCKEY_FIELD_NUMBER;
hash = (53 * hash) + getFavSyncKey().hashCode();
}
if (hasSnsSyncKey()) {
hash = (37 * hash) + SNSSYNCKEY_FIELD_NUMBER;
hash = (53 * hash) + getSnsSyncKey().hashCode();
}
if (hasDNSInfo()) {
hash = (37 * hash) + DNSINFO_FIELD_NUMBER;
hash = (53 * hash) + getDNSInfo().hashCode();
}
if (hasSNSDnsInfo()) {
hash = (37 * hash) + SNSDNSINFO_FIELD_NUMBER;
hash = (53 * hash) + getSNSDnsInfo().hashCode();
}
if (hasAPPDnsInfo()) {
hash = (37 * hash) + APPDNSINFO_FIELD_NUMBER;
hash = (53 * hash) + getAPPDnsInfo().hashCode();
}
if (hasFAKEDnsInfo()) {
hash = (37 * hash) + FAKEDNSINFO_FIELD_NUMBER;
hash = (53 * hash) + getFAKEDnsInfo().hashCode();
}
if (hasDeviceInfo()) {
hash = (37 * hash) + DEVICEINFO_FIELD_NUMBER;
hash = (53 * hash) + getDeviceInfo().hashCode();
}
if (hasBalanceVersion()) {
hash = (37 * hash) + BALANCEVERSION_FIELD_NUMBER;
hash = (53 * hash) + getBalanceVersion();
}
if (hasWifiInfo()) {
hash = (37 * hash) + WIFIINFO_FIELD_NUMBER;
hash = (53 * hash) + getWifiInfo().hashCode();
}
if (hasMMInfo()) {
hash = (37 * hash) + MMINFO_FIELD_NUMBER;
hash = (53 * hash) + getMMInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockUser parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockUser 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 rock.protobuf.RockUserOuterClass.RockUser parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockUser 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 rock.protobuf.RockUserOuterClass.RockUser parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockUser 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(rock.protobuf.RockUserOuterClass.RockUser 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;
}
/**
*
*UserInfo 用户信息
*
*
* Protobuf type {@code rock.RockUser}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.RockUser)
rock.protobuf.RockUserOuterClass.RockUserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockUser_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockUser_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockUser.class, rock.protobuf.RockUserOuterClass.RockUser.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.RockUser.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDNSInfoFieldBuilder();
getSNSDnsInfoFieldBuilder();
getAPPDnsInfoFieldBuilder();
getFAKEDnsInfoFieldBuilder();
getDeviceInfoFieldBuilder();
getWifiInfoFieldBuilder();
getMMInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
uuid_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
token_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
uin_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
wxid_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
notifyKey_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
cookie_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
aesKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000040);
ecPublicKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
ecPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
tmpEcPublicKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
tmpEcPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
checkSumKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000800);
autoAuthKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00001000);
syncKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00002000);
favSyncKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00004000);
snsSyncKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00008000);
if (dNSInfoBuilder_ == null) {
dNSInfo_ = null;
} else {
dNSInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
if (sNSDnsInfoBuilder_ == null) {
sNSDnsInfo_ = null;
} else {
sNSDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
if (aPPDnsInfoBuilder_ == null) {
aPPDnsInfo_ = null;
} else {
aPPDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
if (fAKEDnsInfoBuilder_ == null) {
fAKEDnsInfo_ = null;
} else {
fAKEDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00080000);
if (deviceInfoBuilder_ == null) {
deviceInfo_ = null;
} else {
deviceInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00100000);
balanceVersion_ = 1589560770;
bitField0_ = (bitField0_ & ~0x00200000);
if (wifiInfoBuilder_ == null) {
wifiInfo_ = null;
} else {
wifiInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00400000);
if (mMInfoBuilder_ == null) {
mMInfo_ = null;
} else {
mMInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00800000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockUser_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockUser getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.RockUser.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockUser build() {
rock.protobuf.RockUserOuterClass.RockUser result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockUser buildPartial() {
rock.protobuf.RockUserOuterClass.RockUser result = new rock.protobuf.RockUserOuterClass.RockUser(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.uuid_ = uuid_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.token_ = token_;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.uin_ = uin_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.wxid_ = wxid_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.notifyKey_ = notifyKey_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.cookie_ = cookie_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.aesKey_ = aesKey_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.ecPublicKey_ = ecPublicKey_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.ecPrivateKey_ = ecPrivateKey_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.tmpEcPublicKey_ = tmpEcPublicKey_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.tmpEcPrivateKey_ = tmpEcPrivateKey_;
if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.checkSumKey_ = checkSumKey_;
if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.autoAuthKey_ = autoAuthKey_;
if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.syncKey_ = syncKey_;
if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00004000;
}
result.favSyncKey_ = favSyncKey_;
if (((from_bitField0_ & 0x00008000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.snsSyncKey_ = snsSyncKey_;
if (((from_bitField0_ & 0x00010000) != 0)) {
if (dNSInfoBuilder_ == null) {
result.dNSInfo_ = dNSInfo_;
} else {
result.dNSInfo_ = dNSInfoBuilder_.build();
}
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
if (sNSDnsInfoBuilder_ == null) {
result.sNSDnsInfo_ = sNSDnsInfo_;
} else {
result.sNSDnsInfo_ = sNSDnsInfoBuilder_.build();
}
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
if (aPPDnsInfoBuilder_ == null) {
result.aPPDnsInfo_ = aPPDnsInfo_;
} else {
result.aPPDnsInfo_ = aPPDnsInfoBuilder_.build();
}
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
if (fAKEDnsInfoBuilder_ == null) {
result.fAKEDnsInfo_ = fAKEDnsInfo_;
} else {
result.fAKEDnsInfo_ = fAKEDnsInfoBuilder_.build();
}
to_bitField0_ |= 0x00080000;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
if (deviceInfoBuilder_ == null) {
result.deviceInfo_ = deviceInfo_;
} else {
result.deviceInfo_ = deviceInfoBuilder_.build();
}
to_bitField0_ |= 0x00100000;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
to_bitField0_ |= 0x00200000;
}
result.balanceVersion_ = balanceVersion_;
if (((from_bitField0_ & 0x00400000) != 0)) {
if (wifiInfoBuilder_ == null) {
result.wifiInfo_ = wifiInfo_;
} else {
result.wifiInfo_ = wifiInfoBuilder_.build();
}
to_bitField0_ |= 0x00400000;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
if (mMInfoBuilder_ == null) {
result.mMInfo_ = mMInfo_;
} else {
result.mMInfo_ = mMInfoBuilder_.build();
}
to_bitField0_ |= 0x00800000;
}
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 rock.protobuf.RockUserOuterClass.RockUser) {
return mergeFrom((rock.protobuf.RockUserOuterClass.RockUser)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.RockUser other) {
if (other == rock.protobuf.RockUserOuterClass.RockUser.getDefaultInstance()) return this;
if (other.hasUuid()) {
bitField0_ |= 0x00000001;
uuid_ = other.uuid_;
onChanged();
}
if (other.hasToken()) {
bitField0_ |= 0x00000002;
token_ = other.token_;
onChanged();
}
if (other.hasUin()) {
setUin(other.getUin());
}
if (other.hasWxid()) {
bitField0_ |= 0x00000008;
wxid_ = other.wxid_;
onChanged();
}
if (other.hasNotifyKey()) {
bitField0_ |= 0x00000010;
notifyKey_ = other.notifyKey_;
onChanged();
}
if (other.hasCookie()) {
setCookie(other.getCookie());
}
if (other.hasAesKey()) {
setAesKey(other.getAesKey());
}
if (other.hasEcPublicKey()) {
setEcPublicKey(other.getEcPublicKey());
}
if (other.hasEcPrivateKey()) {
setEcPrivateKey(other.getEcPrivateKey());
}
if (other.hasTmpEcPublicKey()) {
setTmpEcPublicKey(other.getTmpEcPublicKey());
}
if (other.hasTmpEcPrivateKey()) {
setTmpEcPrivateKey(other.getTmpEcPrivateKey());
}
if (other.hasCheckSumKey()) {
setCheckSumKey(other.getCheckSumKey());
}
if (other.hasAutoAuthKey()) {
setAutoAuthKey(other.getAutoAuthKey());
}
if (other.hasSyncKey()) {
setSyncKey(other.getSyncKey());
}
if (other.hasFavSyncKey()) {
setFavSyncKey(other.getFavSyncKey());
}
if (other.hasSnsSyncKey()) {
setSnsSyncKey(other.getSnsSyncKey());
}
if (other.hasDNSInfo()) {
mergeDNSInfo(other.getDNSInfo());
}
if (other.hasSNSDnsInfo()) {
mergeSNSDnsInfo(other.getSNSDnsInfo());
}
if (other.hasAPPDnsInfo()) {
mergeAPPDnsInfo(other.getAPPDnsInfo());
}
if (other.hasFAKEDnsInfo()) {
mergeFAKEDnsInfo(other.getFAKEDnsInfo());
}
if (other.hasDeviceInfo()) {
mergeDeviceInfo(other.getDeviceInfo());
}
if (other.hasBalanceVersion()) {
setBalanceVersion(other.getBalanceVersion());
}
if (other.hasWifiInfo()) {
mergeWifiInfo(other.getWifiInfo());
}
if (other.hasMMInfo()) {
mergeMMInfo(other.getMMInfo());
}
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 {
rock.protobuf.RockUserOuterClass.RockUser parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.RockUser) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object uuid_ = "";
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return Whether the uuid field is set.
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The uuid.
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
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()) {
uuid_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return The bytes for uuid.
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @param value The uuid to set.
* @return This builder for chaining.
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uuid_ = value;
onChanged();
return this;
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @return This builder for chaining.
*/
public Builder clearUuid() {
bitField0_ = (bitField0_ & ~0x00000001);
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
*
*`json:"uuid"`
*
*
* optional string uuid = 1;
* @param value The bytes for uuid to set.
* @return This builder for chaining.
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uuid_ = value;
onChanged();
return this;
}
private java.lang.Object token_ = "";
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return Whether the token field is set.
*/
public boolean hasToken() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The token.
*/
public java.lang.String getToken() {
java.lang.Object ref = token_;
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()) {
token_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return The bytes for token.
*/
public com.google.protobuf.ByteString
getTokenBytes() {
java.lang.Object ref = token_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
token_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @param value The token to set.
* @return This builder for chaining.
*/
public Builder setToken(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
token_ = value;
onChanged();
return this;
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @return This builder for chaining.
*/
public Builder clearToken() {
bitField0_ = (bitField0_ & ~0x00000002);
token_ = getDefaultInstance().getToken();
onChanged();
return this;
}
/**
*
*用户鉴权使用
*
*
* optional string token = 2;
* @param value The bytes for token to set.
* @return This builder for chaining.
*/
public Builder setTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
token_ = value;
onChanged();
return this;
}
private int uin_ ;
/**
* optional uint32 uin = 3;
* @return Whether the uin field is set.
*/
@java.lang.Override
public boolean hasUin() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 uin = 3;
* @return The uin.
*/
@java.lang.Override
public int getUin() {
return uin_;
}
/**
* optional uint32 uin = 3;
* @param value The uin to set.
* @return This builder for chaining.
*/
public Builder setUin(int value) {
bitField0_ |= 0x00000004;
uin_ = value;
onChanged();
return this;
}
/**
* optional uint32 uin = 3;
* @return This builder for chaining.
*/
public Builder clearUin() {
bitField0_ = (bitField0_ & ~0x00000004);
uin_ = 0;
onChanged();
return this;
}
private java.lang.Object wxid_ = "";
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return Whether the wxid field is set.
*/
public boolean hasWxid() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The wxid.
*/
public java.lang.String getWxid() {
java.lang.Object ref = wxid_;
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()) {
wxid_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return The bytes for wxid.
*/
public com.google.protobuf.ByteString
getWxidBytes() {
java.lang.Object ref = wxid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wxid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @param value The wxid to set.
* @return This builder for chaining.
*/
public Builder setWxid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
wxid_ = value;
onChanged();
return this;
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @return This builder for chaining.
*/
public Builder clearWxid() {
bitField0_ = (bitField0_ & ~0x00000008);
wxid_ = getDefaultInstance().getWxid();
onChanged();
return this;
}
/**
*
*`json:"wxid"`
*
*
* optional string wxid = 4;
* @param value The bytes for wxid to set.
* @return This builder for chaining.
*/
public Builder setWxidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
wxid_ = value;
onChanged();
return this;
}
private java.lang.Object notifyKey_ = "";
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return Whether the notifyKey field is set.
*/
public boolean hasNotifyKey() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The notifyKey.
*/
public java.lang.String getNotifyKey() {
java.lang.Object ref = notifyKey_;
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()) {
notifyKey_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return The bytes for notifyKey.
*/
public com.google.protobuf.ByteString
getNotifyKeyBytes() {
java.lang.Object ref = notifyKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
notifyKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @param value The notifyKey to set.
* @return This builder for chaining.
*/
public Builder setNotifyKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
notifyKey_ = value;
onChanged();
return this;
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @return This builder for chaining.
*/
public Builder clearNotifyKey() {
bitField0_ = (bitField0_ & ~0x00000010);
notifyKey_ = getDefaultInstance().getNotifyKey();
onChanged();
return this;
}
/**
*
*扫码或者唤醒登录使用到
*
*
* optional string NotifyKey = 5;
* @param value The bytes for notifyKey to set.
* @return This builder for chaining.
*/
public Builder setNotifyKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
notifyKey_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString cookie_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return Whether the cookie field is set.
*/
@java.lang.Override
public boolean hasCookie() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return The cookie.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCookie() {
return cookie_;
}
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @param value The cookie to set.
* @return This builder for chaining.
*/
public Builder setCookie(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
cookie_ = value;
onChanged();
return this;
}
/**
*
*`json:"cookie"`
*
*
* optional bytes cookie = 6;
* @return This builder for chaining.
*/
public Builder clearCookie() {
bitField0_ = (bitField0_ & ~0x00000020);
cookie_ = getDefaultInstance().getCookie();
onChanged();
return this;
}
private com.google.protobuf.ByteString aesKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return Whether the aesKey field is set.
*/
@java.lang.Override
public boolean hasAesKey() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return The aesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAesKey() {
return aesKey_;
}
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @param value The aesKey to set.
* @return This builder for chaining.
*/
public Builder setAesKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
aesKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"aeskey"`
*
*
* optional bytes AesKey = 7;
* @return This builder for chaining.
*/
public Builder clearAesKey() {
bitField0_ = (bitField0_ & ~0x00000040);
aesKey_ = getDefaultInstance().getAesKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString ecPublicKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return Whether the ecPublicKey field is set.
*/
@java.lang.Override
public boolean hasEcPublicKey() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return The ecPublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEcPublicKey() {
return ecPublicKey_;
}
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @param value The ecPublicKey to set.
* @return This builder for chaining.
*/
public Builder setEcPublicKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
ecPublicKey_ = value;
onChanged();
return this;
}
/**
*
*握手后需要记录
*
*
* optional bytes EcPublicKey = 8;
* @return This builder for chaining.
*/
public Builder clearEcPublicKey() {
bitField0_ = (bitField0_ & ~0x00000080);
ecPublicKey_ = getDefaultInstance().getEcPublicKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString ecPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return Whether the ecPrivateKey field is set.
*/
@java.lang.Override
public boolean hasEcPrivateKey() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return The ecPrivateKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEcPrivateKey() {
return ecPrivateKey_;
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @param value The ecPrivateKey to set.
* @return This builder for chaining.
*/
public Builder setEcPrivateKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
ecPrivateKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes EcPrivateKey = 9;
* @return This builder for chaining.
*/
public Builder clearEcPrivateKey() {
bitField0_ = (bitField0_ & ~0x00000100);
ecPrivateKey_ = getDefaultInstance().getEcPrivateKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString tmpEcPublicKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return Whether the tmpEcPublicKey field is set.
*/
@java.lang.Override
public boolean hasTmpEcPublicKey() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return The tmpEcPublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTmpEcPublicKey() {
return tmpEcPublicKey_;
}
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @param value The tmpEcPublicKey to set.
* @return This builder for chaining.
*/
public Builder setTmpEcPublicKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
tmpEcPublicKey_ = value;
onChanged();
return this;
}
/**
*
*登录时候采用HybirdECDH加密时候用到
*
*
* optional bytes TmpEcPublicKey = 10;
* @return This builder for chaining.
*/
public Builder clearTmpEcPublicKey() {
bitField0_ = (bitField0_ & ~0x00000200);
tmpEcPublicKey_ = getDefaultInstance().getTmpEcPublicKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString tmpEcPrivateKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return Whether the tmpEcPrivateKey field is set.
*/
@java.lang.Override
public boolean hasTmpEcPrivateKey() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return The tmpEcPrivateKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getTmpEcPrivateKey() {
return tmpEcPrivateKey_;
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @param value The tmpEcPrivateKey to set.
* @return This builder for chaining.
*/
public Builder setTmpEcPrivateKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
tmpEcPrivateKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"ecprkey"`
*
*
* optional bytes TmpEcPrivateKey = 11;
* @return This builder for chaining.
*/
public Builder clearTmpEcPrivateKey() {
bitField0_ = (bitField0_ & ~0x00000400);
tmpEcPrivateKey_ = getDefaultInstance().getTmpEcPrivateKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString checkSumKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return Whether the checkSumKey field is set.
*/
@java.lang.Override
public boolean hasCheckSumKey() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return The checkSumKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCheckSumKey() {
return checkSumKey_;
}
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @param value The checkSumKey to set.
* @return This builder for chaining.
*/
public Builder setCheckSumKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
checkSumKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"checksumkey"`
*
*
* optional bytes CheckSumKey = 12;
* @return This builder for chaining.
*/
public Builder clearCheckSumKey() {
bitField0_ = (bitField0_ & ~0x00000800);
checkSumKey_ = getDefaultInstance().getCheckSumKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString autoAuthKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return Whether the autoAuthKey field is set.
*/
@java.lang.Override
public boolean hasAutoAuthKey() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return The autoAuthKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAutoAuthKey() {
return autoAuthKey_;
}
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @param value The autoAuthKey to set.
* @return This builder for chaining.
*/
public Builder setAutoAuthKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00001000;
autoAuthKey_ = value;
onChanged();
return this;
}
/**
*
*登陆成功后记录,方便后面二次登录或者唤醒登录
*
*
* optional bytes AutoAuthKey = 13;
* @return This builder for chaining.
*/
public Builder clearAutoAuthKey() {
bitField0_ = (bitField0_ & ~0x00001000);
autoAuthKey_ = getDefaultInstance().getAutoAuthKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString syncKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return Whether the syncKey field is set.
*/
@java.lang.Override
public boolean hasSyncKey() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return The syncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSyncKey() {
return syncKey_;
}
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @param value The syncKey to set.
* @return This builder for chaining.
*/
public Builder setSyncKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
syncKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"synckey"`
*
*
* optional bytes SyncKey = 14;
* @return This builder for chaining.
*/
public Builder clearSyncKey() {
bitField0_ = (bitField0_ & ~0x00002000);
syncKey_ = getDefaultInstance().getSyncKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString favSyncKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return Whether the favSyncKey field is set.
*/
@java.lang.Override
public boolean hasFavSyncKey() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return The favSyncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFavSyncKey() {
return favSyncKey_;
}
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @param value The favSyncKey to set.
* @return This builder for chaining.
*/
public Builder setFavSyncKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
favSyncKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"favsynckey"`
*
*
* optional bytes FavSyncKey = 15;
* @return This builder for chaining.
*/
public Builder clearFavSyncKey() {
bitField0_ = (bitField0_ & ~0x00004000);
favSyncKey_ = getDefaultInstance().getFavSyncKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString snsSyncKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return Whether the snsSyncKey field is set.
*/
@java.lang.Override
public boolean hasSnsSyncKey() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return The snsSyncKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSnsSyncKey() {
return snsSyncKey_;
}
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @param value The snsSyncKey to set.
* @return This builder for chaining.
*/
public Builder setSnsSyncKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
snsSyncKey_ = value;
onChanged();
return this;
}
/**
*
*`json:"snssynckey"`
*
*
* optional bytes SnsSyncKey = 16;
* @return This builder for chaining.
*/
public Builder clearSnsSyncKey() {
bitField0_ = (bitField0_ & ~0x00008000);
snsSyncKey_ = getDefaultInstance().getSnsSyncKey();
onChanged();
return this;
}
private wechat.protobuf.CDNDnsInfo dNSInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> dNSInfoBuilder_;
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return Whether the dNSInfo field is set.
*/
public boolean hasDNSInfo() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
* @return The dNSInfo.
*/
public wechat.protobuf.CDNDnsInfo getDNSInfo() {
if (dNSInfoBuilder_ == null) {
return dNSInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dNSInfo_;
} else {
return dNSInfoBuilder_.getMessage();
}
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public Builder setDNSInfo(wechat.protobuf.CDNDnsInfo value) {
if (dNSInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dNSInfo_ = value;
onChanged();
} else {
dNSInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public Builder setDNSInfo(
wechat.protobuf.CDNDnsInfo.Builder builderForValue) {
if (dNSInfoBuilder_ == null) {
dNSInfo_ = builderForValue.build();
onChanged();
} else {
dNSInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00010000;
return this;
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public Builder mergeDNSInfo(wechat.protobuf.CDNDnsInfo value) {
if (dNSInfoBuilder_ == null) {
if (((bitField0_ & 0x00010000) != 0) &&
dNSInfo_ != null &&
dNSInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) {
dNSInfo_ =
wechat.protobuf.CDNDnsInfo.newBuilder(dNSInfo_).mergeFrom(value).buildPartial();
} else {
dNSInfo_ = value;
}
onChanged();
} else {
dNSInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public Builder clearDNSInfo() {
if (dNSInfoBuilder_ == null) {
dNSInfo_ = null;
onChanged();
} else {
dNSInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
return this;
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public wechat.protobuf.CDNDnsInfo.Builder getDNSInfoBuilder() {
bitField0_ |= 0x00010000;
onChanged();
return getDNSInfoFieldBuilder().getBuilder();
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
public wechat.protobuf.CDNDnsInfoOrBuilder getDNSInfoOrBuilder() {
if (dNSInfoBuilder_ != null) {
return dNSInfoBuilder_.getMessageOrBuilder();
} else {
return dNSInfo_ == null ?
wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dNSInfo_;
}
}
/**
*
* CDNDns
*
*
* optional .wechat_proto.CDNDnsInfo DNSInfo = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>
getDNSInfoFieldBuilder() {
if (dNSInfoBuilder_ == null) {
dNSInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>(
getDNSInfo(),
getParentForChildren(),
isClean());
dNSInfo_ = null;
}
return dNSInfoBuilder_;
}
private wechat.protobuf.CDNDnsInfo sNSDnsInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> sNSDnsInfoBuilder_;
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return Whether the sNSDnsInfo field is set.
*/
public boolean hasSNSDnsInfo() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
* @return The sNSDnsInfo.
*/
public wechat.protobuf.CDNDnsInfo getSNSDnsInfo() {
if (sNSDnsInfoBuilder_ == null) {
return sNSDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : sNSDnsInfo_;
} else {
return sNSDnsInfoBuilder_.getMessage();
}
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public Builder setSNSDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (sNSDnsInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sNSDnsInfo_ = value;
onChanged();
} else {
sNSDnsInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public Builder setSNSDnsInfo(
wechat.protobuf.CDNDnsInfo.Builder builderForValue) {
if (sNSDnsInfoBuilder_ == null) {
sNSDnsInfo_ = builderForValue.build();
onChanged();
} else {
sNSDnsInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00020000;
return this;
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public Builder mergeSNSDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (sNSDnsInfoBuilder_ == null) {
if (((bitField0_ & 0x00020000) != 0) &&
sNSDnsInfo_ != null &&
sNSDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) {
sNSDnsInfo_ =
wechat.protobuf.CDNDnsInfo.newBuilder(sNSDnsInfo_).mergeFrom(value).buildPartial();
} else {
sNSDnsInfo_ = value;
}
onChanged();
} else {
sNSDnsInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00020000;
return this;
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public Builder clearSNSDnsInfo() {
if (sNSDnsInfoBuilder_ == null) {
sNSDnsInfo_ = null;
onChanged();
} else {
sNSDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00020000);
return this;
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public wechat.protobuf.CDNDnsInfo.Builder getSNSDnsInfoBuilder() {
bitField0_ |= 0x00020000;
onChanged();
return getSNSDnsInfoFieldBuilder().getBuilder();
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
public wechat.protobuf.CDNDnsInfoOrBuilder getSNSDnsInfoOrBuilder() {
if (sNSDnsInfoBuilder_ != null) {
return sNSDnsInfoBuilder_.getMessageOrBuilder();
} else {
return sNSDnsInfo_ == null ?
wechat.protobuf.CDNDnsInfo.getDefaultInstance() : sNSDnsInfo_;
}
}
/**
*
*`json:"snsdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo SNSDnsInfo = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>
getSNSDnsInfoFieldBuilder() {
if (sNSDnsInfoBuilder_ == null) {
sNSDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>(
getSNSDnsInfo(),
getParentForChildren(),
isClean());
sNSDnsInfo_ = null;
}
return sNSDnsInfoBuilder_;
}
private wechat.protobuf.CDNDnsInfo aPPDnsInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> aPPDnsInfoBuilder_;
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return Whether the aPPDnsInfo field is set.
*/
public boolean hasAPPDnsInfo() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
* @return The aPPDnsInfo.
*/
public wechat.protobuf.CDNDnsInfo getAPPDnsInfo() {
if (aPPDnsInfoBuilder_ == null) {
return aPPDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : aPPDnsInfo_;
} else {
return aPPDnsInfoBuilder_.getMessage();
}
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public Builder setAPPDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (aPPDnsInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aPPDnsInfo_ = value;
onChanged();
} else {
aPPDnsInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public Builder setAPPDnsInfo(
wechat.protobuf.CDNDnsInfo.Builder builderForValue) {
if (aPPDnsInfoBuilder_ == null) {
aPPDnsInfo_ = builderForValue.build();
onChanged();
} else {
aPPDnsInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00040000;
return this;
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public Builder mergeAPPDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (aPPDnsInfoBuilder_ == null) {
if (((bitField0_ & 0x00040000) != 0) &&
aPPDnsInfo_ != null &&
aPPDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) {
aPPDnsInfo_ =
wechat.protobuf.CDNDnsInfo.newBuilder(aPPDnsInfo_).mergeFrom(value).buildPartial();
} else {
aPPDnsInfo_ = value;
}
onChanged();
} else {
aPPDnsInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00040000;
return this;
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public Builder clearAPPDnsInfo() {
if (aPPDnsInfoBuilder_ == null) {
aPPDnsInfo_ = null;
onChanged();
} else {
aPPDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00040000);
return this;
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public wechat.protobuf.CDNDnsInfo.Builder getAPPDnsInfoBuilder() {
bitField0_ |= 0x00040000;
onChanged();
return getAPPDnsInfoFieldBuilder().getBuilder();
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
public wechat.protobuf.CDNDnsInfoOrBuilder getAPPDnsInfoOrBuilder() {
if (aPPDnsInfoBuilder_ != null) {
return aPPDnsInfoBuilder_.getMessageOrBuilder();
} else {
return aPPDnsInfo_ == null ?
wechat.protobuf.CDNDnsInfo.getDefaultInstance() : aPPDnsInfo_;
}
}
/**
*
*`json:"appdnsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo APPDnsInfo = 21;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>
getAPPDnsInfoFieldBuilder() {
if (aPPDnsInfoBuilder_ == null) {
aPPDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>(
getAPPDnsInfo(),
getParentForChildren(),
isClean());
aPPDnsInfo_ = null;
}
return aPPDnsInfoBuilder_;
}
private wechat.protobuf.CDNDnsInfo fAKEDnsInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> fAKEDnsInfoBuilder_;
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return Whether the fAKEDnsInfo field is set.
*/
public boolean hasFAKEDnsInfo() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
* @return The fAKEDnsInfo.
*/
public wechat.protobuf.CDNDnsInfo getFAKEDnsInfo() {
if (fAKEDnsInfoBuilder_ == null) {
return fAKEDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fAKEDnsInfo_;
} else {
return fAKEDnsInfoBuilder_.getMessage();
}
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public Builder setFAKEDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (fAKEDnsInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fAKEDnsInfo_ = value;
onChanged();
} else {
fAKEDnsInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00080000;
return this;
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public Builder setFAKEDnsInfo(
wechat.protobuf.CDNDnsInfo.Builder builderForValue) {
if (fAKEDnsInfoBuilder_ == null) {
fAKEDnsInfo_ = builderForValue.build();
onChanged();
} else {
fAKEDnsInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00080000;
return this;
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public Builder mergeFAKEDnsInfo(wechat.protobuf.CDNDnsInfo value) {
if (fAKEDnsInfoBuilder_ == null) {
if (((bitField0_ & 0x00080000) != 0) &&
fAKEDnsInfo_ != null &&
fAKEDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) {
fAKEDnsInfo_ =
wechat.protobuf.CDNDnsInfo.newBuilder(fAKEDnsInfo_).mergeFrom(value).buildPartial();
} else {
fAKEDnsInfo_ = value;
}
onChanged();
} else {
fAKEDnsInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00080000;
return this;
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public Builder clearFAKEDnsInfo() {
if (fAKEDnsInfoBuilder_ == null) {
fAKEDnsInfo_ = null;
onChanged();
} else {
fAKEDnsInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00080000);
return this;
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public wechat.protobuf.CDNDnsInfo.Builder getFAKEDnsInfoBuilder() {
bitField0_ |= 0x00080000;
onChanged();
return getFAKEDnsInfoFieldBuilder().getBuilder();
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
public wechat.protobuf.CDNDnsInfoOrBuilder getFAKEDnsInfoOrBuilder() {
if (fAKEDnsInfoBuilder_ != null) {
return fAKEDnsInfoBuilder_.getMessageOrBuilder();
} else {
return fAKEDnsInfo_ == null ?
wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fAKEDnsInfo_;
}
}
/**
*
*`json:"fakednsinfo"`
*
*
* optional .wechat_proto.CDNDnsInfo FAKEDnsInfo = 22;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>
getFAKEDnsInfoFieldBuilder() {
if (fAKEDnsInfoBuilder_ == null) {
fAKEDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>(
getFAKEDnsInfo(),
getParentForChildren(),
isClean());
fAKEDnsInfo_ = null;
}
return fAKEDnsInfoBuilder_;
}
private rock.protobuf.RockUserOuterClass.RockDeviceInfo deviceInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockDeviceInfo, rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder, rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder> deviceInfoBuilder_;
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return Whether the deviceInfo field is set.
*/
public boolean hasDeviceInfo() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
* @return The deviceInfo.
*/
public rock.protobuf.RockUserOuterClass.RockDeviceInfo getDeviceInfo() {
if (deviceInfoBuilder_ == null) {
return deviceInfo_ == null ? rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance() : deviceInfo_;
} else {
return deviceInfoBuilder_.getMessage();
}
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public Builder setDeviceInfo(rock.protobuf.RockUserOuterClass.RockDeviceInfo value) {
if (deviceInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deviceInfo_ = value;
onChanged();
} else {
deviceInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00100000;
return this;
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public Builder setDeviceInfo(
rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder builderForValue) {
if (deviceInfoBuilder_ == null) {
deviceInfo_ = builderForValue.build();
onChanged();
} else {
deviceInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00100000;
return this;
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public Builder mergeDeviceInfo(rock.protobuf.RockUserOuterClass.RockDeviceInfo value) {
if (deviceInfoBuilder_ == null) {
if (((bitField0_ & 0x00100000) != 0) &&
deviceInfo_ != null &&
deviceInfo_ != rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance()) {
deviceInfo_ =
rock.protobuf.RockUserOuterClass.RockDeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
} else {
deviceInfo_ = value;
}
onChanged();
} else {
deviceInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00100000;
return this;
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public Builder clearDeviceInfo() {
if (deviceInfoBuilder_ == null) {
deviceInfo_ = null;
onChanged();
} else {
deviceInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00100000);
return this;
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder getDeviceInfoBuilder() {
bitField0_ |= 0x00100000;
onChanged();
return getDeviceInfoFieldBuilder().getBuilder();
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
public rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder getDeviceInfoOrBuilder() {
if (deviceInfoBuilder_ != null) {
return deviceInfoBuilder_.getMessageOrBuilder();
} else {
return deviceInfo_ == null ?
rock.protobuf.RockUserOuterClass.RockDeviceInfo.getDefaultInstance() : deviceInfo_;
}
}
/**
*
* 设备信息
*
*
* optional .rock.RockDeviceInfo DeviceInfo = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockDeviceInfo, rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder, rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder>
getDeviceInfoFieldBuilder() {
if (deviceInfoBuilder_ == null) {
deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockDeviceInfo, rock.protobuf.RockUserOuterClass.RockDeviceInfo.Builder, rock.protobuf.RockUserOuterClass.RockDeviceInfoOrBuilder>(
getDeviceInfo(),
getParentForChildren(),
isClean());
deviceInfo_ = null;
}
return deviceInfoBuilder_;
}
private int balanceVersion_ = 1589560770;
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return Whether the balanceVersion field is set.
*/
@java.lang.Override
public boolean hasBalanceVersion() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return The balanceVersion.
*/
@java.lang.Override
public int getBalanceVersion() {
return balanceVersion_;
}
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @param value The balanceVersion to set.
* @return This builder for chaining.
*/
public Builder setBalanceVersion(int value) {
bitField0_ |= 0x00200000;
balanceVersion_ = value;
onChanged();
return this;
}
/**
*
* uint32
*
*
* optional uint32 BalanceVersion = 24 [default = 1589560770];
* @return This builder for chaining.
*/
public Builder clearBalanceVersion() {
bitField0_ = (bitField0_ & ~0x00200000);
balanceVersion_ = 1589560770;
onChanged();
return this;
}
private rock.protobuf.RockUserOuterClass.RockWifiInfo wifiInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockWifiInfo, rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder, rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder> wifiInfoBuilder_;
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return Whether the wifiInfo field is set.
*/
public boolean hasWifiInfo() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
* @return The wifiInfo.
*/
public rock.protobuf.RockUserOuterClass.RockWifiInfo getWifiInfo() {
if (wifiInfoBuilder_ == null) {
return wifiInfo_ == null ? rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance() : wifiInfo_;
} else {
return wifiInfoBuilder_.getMessage();
}
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public Builder setWifiInfo(rock.protobuf.RockUserOuterClass.RockWifiInfo value) {
if (wifiInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
wifiInfo_ = value;
onChanged();
} else {
wifiInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00400000;
return this;
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public Builder setWifiInfo(
rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder builderForValue) {
if (wifiInfoBuilder_ == null) {
wifiInfo_ = builderForValue.build();
onChanged();
} else {
wifiInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00400000;
return this;
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public Builder mergeWifiInfo(rock.protobuf.RockUserOuterClass.RockWifiInfo value) {
if (wifiInfoBuilder_ == null) {
if (((bitField0_ & 0x00400000) != 0) &&
wifiInfo_ != null &&
wifiInfo_ != rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance()) {
wifiInfo_ =
rock.protobuf.RockUserOuterClass.RockWifiInfo.newBuilder(wifiInfo_).mergeFrom(value).buildPartial();
} else {
wifiInfo_ = value;
}
onChanged();
} else {
wifiInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00400000;
return this;
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public Builder clearWifiInfo() {
if (wifiInfoBuilder_ == null) {
wifiInfo_ = null;
onChanged();
} else {
wifiInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00400000);
return this;
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder getWifiInfoBuilder() {
bitField0_ |= 0x00400000;
onChanged();
return getWifiInfoFieldBuilder().getBuilder();
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
public rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder getWifiInfoOrBuilder() {
if (wifiInfoBuilder_ != null) {
return wifiInfoBuilder_.getMessageOrBuilder();
} else {
return wifiInfo_ == null ?
rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance() : wifiInfo_;
}
}
/**
*
* Wifi信息
*
*
* optional .rock.RockWifiInfo WifiInfo = 25;
*/
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockWifiInfo, rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder, rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder>
getWifiInfoFieldBuilder() {
if (wifiInfoBuilder_ == null) {
wifiInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockWifiInfo, rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder, rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder>(
getWifiInfo(),
getParentForChildren(),
isClean());
wifiInfo_ = null;
}
return wifiInfoBuilder_;
}
private rock.protobuf.RockUserOuterClass.RockMMInfo mMInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockMMInfo, rock.protobuf.RockUserOuterClass.RockMMInfo.Builder, rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder> mMInfoBuilder_;
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return Whether the mMInfo field is set.
*/
public boolean hasMMInfo() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
* @return The mMInfo.
*/
public rock.protobuf.RockUserOuterClass.RockMMInfo getMMInfo() {
if (mMInfoBuilder_ == null) {
return mMInfo_ == null ? rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance() : mMInfo_;
} else {
return mMInfoBuilder_.getMessage();
}
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public Builder setMMInfo(rock.protobuf.RockUserOuterClass.RockMMInfo value) {
if (mMInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mMInfo_ = value;
onChanged();
} else {
mMInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00800000;
return this;
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public Builder setMMInfo(
rock.protobuf.RockUserOuterClass.RockMMInfo.Builder builderForValue) {
if (mMInfoBuilder_ == null) {
mMInfo_ = builderForValue.build();
onChanged();
} else {
mMInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00800000;
return this;
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public Builder mergeMMInfo(rock.protobuf.RockUserOuterClass.RockMMInfo value) {
if (mMInfoBuilder_ == null) {
if (((bitField0_ & 0x00800000) != 0) &&
mMInfo_ != null &&
mMInfo_ != rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance()) {
mMInfo_ =
rock.protobuf.RockUserOuterClass.RockMMInfo.newBuilder(mMInfo_).mergeFrom(value).buildPartial();
} else {
mMInfo_ = value;
}
onChanged();
} else {
mMInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00800000;
return this;
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public Builder clearMMInfo() {
if (mMInfoBuilder_ == null) {
mMInfo_ = null;
onChanged();
} else {
mMInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00800000);
return this;
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public rock.protobuf.RockUserOuterClass.RockMMInfo.Builder getMMInfoBuilder() {
bitField0_ |= 0x00800000;
onChanged();
return getMMInfoFieldBuilder().getBuilder();
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
public rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder getMMInfoOrBuilder() {
if (mMInfoBuilder_ != null) {
return mMInfoBuilder_.getMessageOrBuilder();
} else {
return mMInfo_ == null ?
rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance() : mMInfo_;
}
}
/**
*
* MMTLS信息
*
*
* optional .rock.RockMMInfo MMInfo = 26;
*/
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockMMInfo, rock.protobuf.RockUserOuterClass.RockMMInfo.Builder, rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder>
getMMInfoFieldBuilder() {
if (mMInfoBuilder_ == null) {
mMInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.RockMMInfo, rock.protobuf.RockUserOuterClass.RockMMInfo.Builder, rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder>(
getMMInfo(),
getParentForChildren(),
isClean());
mMInfo_ = null;
}
return mMInfoBuilder_;
}
@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:rock.RockUser)
}
// @@protoc_insertion_point(class_scope:rock.RockUser)
private static final rock.protobuf.RockUserOuterClass.RockUser DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.RockUser();
}
public static rock.protobuf.RockUserOuterClass.RockUser getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RockUser parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RockUser(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 rock.protobuf.RockUserOuterClass.RockUser getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RockWifiInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.RockWifiInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional string Name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string Name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* optional string Name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional string WifiBssID = 2;
* @return Whether the wifiBssID field is set.
*/
boolean hasWifiBssID();
/**
* optional string WifiBssID = 2;
* @return The wifiBssID.
*/
java.lang.String getWifiBssID();
/**
* optional string WifiBssID = 2;
* @return The bytes for wifiBssID.
*/
com.google.protobuf.ByteString
getWifiBssIDBytes();
}
/**
*
* WifiInfo WifiInfo
*
*
* Protobuf type {@code rock.RockWifiInfo}
*/
public static final class RockWifiInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.RockWifiInfo)
RockWifiInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RockWifiInfo.newBuilder() to construct.
private RockWifiInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RockWifiInfo() {
name_ = "";
wifiBssID_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RockWifiInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RockWifiInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
wifiBssID_ = 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 rock.protobuf.RockUserOuterClass.internal_static_rock_RockWifiInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockWifiInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockWifiInfo.class, rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string Name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string Name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
}
}
/**
* optional string Name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WIFIBSSID_FIELD_NUMBER = 2;
private volatile java.lang.Object wifiBssID_;
/**
* optional string WifiBssID = 2;
* @return Whether the wifiBssID field is set.
*/
@java.lang.Override
public boolean hasWifiBssID() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string WifiBssID = 2;
* @return The wifiBssID.
*/
@java.lang.Override
public java.lang.String getWifiBssID() {
java.lang.Object ref = wifiBssID_;
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()) {
wifiBssID_ = s;
}
return s;
}
}
/**
* optional string WifiBssID = 2;
* @return The bytes for wifiBssID.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWifiBssIDBytes() {
java.lang.Object ref = wifiBssID_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wifiBssID_ = 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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, wifiBssID_);
}
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.GeneratedMessageV3.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, wifiBssID_);
}
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 rock.protobuf.RockUserOuterClass.RockWifiInfo)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.RockWifiInfo other = (rock.protobuf.RockUserOuterClass.RockWifiInfo) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasWifiBssID() != other.hasWifiBssID()) return false;
if (hasWifiBssID()) {
if (!getWifiBssID()
.equals(other.getWifiBssID())) 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 (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasWifiBssID()) {
hash = (37 * hash) + WIFIBSSID_FIELD_NUMBER;
hash = (53 * hash) + getWifiBssID().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo 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 rock.protobuf.RockUserOuterClass.RockWifiInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo 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 rock.protobuf.RockUserOuterClass.RockWifiInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo 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(rock.protobuf.RockUserOuterClass.RockWifiInfo 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;
}
/**
*
* WifiInfo WifiInfo
*
*
* Protobuf type {@code rock.RockWifiInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.RockWifiInfo)
rock.protobuf.RockUserOuterClass.RockWifiInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockWifiInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockWifiInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockWifiInfo.class, rock.protobuf.RockUserOuterClass.RockWifiInfo.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.RockWifiInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
wifiBssID_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockWifiInfo_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockWifiInfo getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockWifiInfo build() {
rock.protobuf.RockUserOuterClass.RockWifiInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockWifiInfo buildPartial() {
rock.protobuf.RockUserOuterClass.RockWifiInfo result = new rock.protobuf.RockUserOuterClass.RockWifiInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.wifiBssID_ = wifiBssID_;
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 rock.protobuf.RockUserOuterClass.RockWifiInfo) {
return mergeFrom((rock.protobuf.RockUserOuterClass.RockWifiInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.RockWifiInfo other) {
if (other == rock.protobuf.RockUserOuterClass.RockWifiInfo.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasWifiBssID()) {
bitField0_ |= 0x00000002;
wifiBssID_ = other.wifiBssID_;
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 {
rock.protobuf.RockUserOuterClass.RockWifiInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.RockWifiInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string Name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string Name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string Name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string Name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string Name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string Name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private java.lang.Object wifiBssID_ = "";
/**
* optional string WifiBssID = 2;
* @return Whether the wifiBssID field is set.
*/
public boolean hasWifiBssID() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string WifiBssID = 2;
* @return The wifiBssID.
*/
public java.lang.String getWifiBssID() {
java.lang.Object ref = wifiBssID_;
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()) {
wifiBssID_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string WifiBssID = 2;
* @return The bytes for wifiBssID.
*/
public com.google.protobuf.ByteString
getWifiBssIDBytes() {
java.lang.Object ref = wifiBssID_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
wifiBssID_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string WifiBssID = 2;
* @param value The wifiBssID to set.
* @return This builder for chaining.
*/
public Builder setWifiBssID(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
wifiBssID_ = value;
onChanged();
return this;
}
/**
* optional string WifiBssID = 2;
* @return This builder for chaining.
*/
public Builder clearWifiBssID() {
bitField0_ = (bitField0_ & ~0x00000002);
wifiBssID_ = getDefaultInstance().getWifiBssID();
onChanged();
return this;
}
/**
* optional string WifiBssID = 2;
* @param value The bytes for wifiBssID to set.
* @return This builder for chaining.
*/
public Builder setWifiBssIDBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
wifiBssID_ = 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:rock.RockWifiInfo)
}
// @@protoc_insertion_point(class_scope:rock.RockWifiInfo)
private static final rock.protobuf.RockUserOuterClass.RockWifiInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.RockWifiInfo();
}
public static rock.protobuf.RockUserOuterClass.RockWifiInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RockWifiInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RockWifiInfo(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 rock.protobuf.RockUserOuterClass.RockWifiInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RockMMInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.RockMMInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return Whether the shortHost field is set.
*/
boolean hasShortHost();
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The shortHost.
*/
java.lang.String getShortHost();
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The bytes for shortHost.
*/
com.google.protobuf.ByteString
getShortHostBytes();
/**
* optional string ShortIP = 2;
* @return Whether the shortIP field is set.
*/
boolean hasShortIP();
/**
* optional string ShortIP = 2;
* @return The shortIP.
*/
java.lang.String getShortIP();
/**
* optional string ShortIP = 2;
* @return The bytes for shortIP.
*/
com.google.protobuf.ByteString
getShortIPBytes();
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return Whether the shortPort field is set.
*/
boolean hasShortPort();
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return The shortPort.
*/
int getShortPort();
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return Whether the longHost field is set.
*/
boolean hasLongHost();
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The longHost.
*/
java.lang.String getLongHost();
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The bytes for longHost.
*/
com.google.protobuf.ByteString
getLongHostBytes();
/**
* optional string LongIP = 5;
* @return Whether the longIP field is set.
*/
boolean hasLongIP();
/**
* optional string LongIP = 5;
* @return The longIP.
*/
java.lang.String getLongIP();
/**
* optional string LongIP = 5;
* @return The bytes for longIP.
*/
com.google.protobuf.ByteString
getLongIPBytes();
/**
* optional uint32 LongPort = 6 [default = 80];
* @return Whether the longPort field is set.
*/
boolean hasLongPort();
/**
* optional uint32 LongPort = 6 [default = 80];
* @return The longPort.
*/
int getLongPort();
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
java.util.List
getShortPskList();
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
rock.protobuf.RockUserOuterClass.Psk getShortPsk(int index);
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
int getShortPskCount();
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
java.util.List extends rock.protobuf.RockUserOuterClass.PskOrBuilder>
getShortPskOrBuilderList();
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
rock.protobuf.RockUserOuterClass.PskOrBuilder getShortPskOrBuilder(
int index);
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return Whether the pskAccessKey field is set.
*/
boolean hasPskAccessKey();
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return The pskAccessKey.
*/
com.google.protobuf.ByteString getPskAccessKey();
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return Whether the hkdfKey field is set.
*/
boolean hasHkdfKey();
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return The hkdfKey.
*/
rock.protobuf.RockUserOuterClass.HkdfKey56 getHkdfKey();
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder getHkdfKeyOrBuilder();
}
/**
*
* MMInfo MMInfo
*
*
* Protobuf type {@code rock.RockMMInfo}
*/
public static final class RockMMInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.RockMMInfo)
RockMMInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RockMMInfo.newBuilder() to construct.
private RockMMInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RockMMInfo() {
shortHost_ = "short.weixin.qq.com";
shortIP_ = "";
shortPort_ = 80;
longHost_ = "long.weixin.qq.com";
longIP_ = "";
longPort_ = 80;
shortPsk_ = java.util.Collections.emptyList();
pskAccessKey_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RockMMInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RockMMInfo(
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: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
shortHost_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
shortIP_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
shortPort_ = input.readUInt32();
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
longHost_ = bs;
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
longIP_ = bs;
break;
}
case 48: {
bitField0_ |= 0x00000020;
longPort_ = input.readUInt32();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
shortPsk_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
shortPsk_.add(
input.readMessage(rock.protobuf.RockUserOuterClass.Psk.PARSER, extensionRegistry));
break;
}
case 66: {
bitField0_ |= 0x00000040;
pskAccessKey_ = input.readBytes();
break;
}
case 74: {
rock.protobuf.RockUserOuterClass.HkdfKey56.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) != 0)) {
subBuilder = hkdfKey_.toBuilder();
}
hkdfKey_ = input.readMessage(rock.protobuf.RockUserOuterClass.HkdfKey56.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hkdfKey_);
hkdfKey_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
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 {
if (((mutable_bitField0_ & 0x00000040) != 0)) {
shortPsk_ = java.util.Collections.unmodifiableList(shortPsk_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockMMInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockMMInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockMMInfo.class, rock.protobuf.RockUserOuterClass.RockMMInfo.Builder.class);
}
private int bitField0_;
public static final int SHORTHOST_FIELD_NUMBER = 1;
private volatile java.lang.Object shortHost_;
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return Whether the shortHost field is set.
*/
@java.lang.Override
public boolean hasShortHost() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The shortHost.
*/
@java.lang.Override
public java.lang.String getShortHost() {
java.lang.Object ref = shortHost_;
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()) {
shortHost_ = s;
}
return s;
}
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The bytes for shortHost.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getShortHostBytes() {
java.lang.Object ref = shortHost_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortHost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHORTIP_FIELD_NUMBER = 2;
private volatile java.lang.Object shortIP_;
/**
* optional string ShortIP = 2;
* @return Whether the shortIP field is set.
*/
@java.lang.Override
public boolean hasShortIP() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string ShortIP = 2;
* @return The shortIP.
*/
@java.lang.Override
public java.lang.String getShortIP() {
java.lang.Object ref = shortIP_;
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()) {
shortIP_ = s;
}
return s;
}
}
/**
* optional string ShortIP = 2;
* @return The bytes for shortIP.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getShortIPBytes() {
java.lang.Object ref = shortIP_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortIP_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SHORTPORT_FIELD_NUMBER = 3;
private int shortPort_;
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return Whether the shortPort field is set.
*/
@java.lang.Override
public boolean hasShortPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return The shortPort.
*/
@java.lang.Override
public int getShortPort() {
return shortPort_;
}
public static final int LONGHOST_FIELD_NUMBER = 4;
private volatile java.lang.Object longHost_;
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return Whether the longHost field is set.
*/
@java.lang.Override
public boolean hasLongHost() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The longHost.
*/
@java.lang.Override
public java.lang.String getLongHost() {
java.lang.Object ref = longHost_;
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()) {
longHost_ = s;
}
return s;
}
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The bytes for longHost.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLongHostBytes() {
java.lang.Object ref = longHost_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longHost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LONGIP_FIELD_NUMBER = 5;
private volatile java.lang.Object longIP_;
/**
* optional string LongIP = 5;
* @return Whether the longIP field is set.
*/
@java.lang.Override
public boolean hasLongIP() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string LongIP = 5;
* @return The longIP.
*/
@java.lang.Override
public java.lang.String getLongIP() {
java.lang.Object ref = longIP_;
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()) {
longIP_ = s;
}
return s;
}
}
/**
* optional string LongIP = 5;
* @return The bytes for longIP.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLongIPBytes() {
java.lang.Object ref = longIP_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longIP_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LONGPORT_FIELD_NUMBER = 6;
private int longPort_;
/**
* optional uint32 LongPort = 6 [default = 80];
* @return Whether the longPort field is set.
*/
@java.lang.Override
public boolean hasLongPort() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 LongPort = 6 [default = 80];
* @return The longPort.
*/
@java.lang.Override
public int getLongPort() {
return longPort_;
}
public static final int SHORTPSK_FIELD_NUMBER = 7;
private java.util.List shortPsk_;
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
@java.lang.Override
public java.util.List getShortPskList() {
return shortPsk_;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
@java.lang.Override
public java.util.List extends rock.protobuf.RockUserOuterClass.PskOrBuilder>
getShortPskOrBuilderList() {
return shortPsk_;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
@java.lang.Override
public int getShortPskCount() {
return shortPsk_.size();
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.Psk getShortPsk(int index) {
return shortPsk_.get(index);
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.PskOrBuilder getShortPskOrBuilder(
int index) {
return shortPsk_.get(index);
}
public static final int PSKACCESSKEY_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString pskAccessKey_;
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return Whether the pskAccessKey field is set.
*/
@java.lang.Override
public boolean hasPskAccessKey() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return The pskAccessKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPskAccessKey() {
return pskAccessKey_;
}
public static final int HKDFKEY_FIELD_NUMBER = 9;
private rock.protobuf.RockUserOuterClass.HkdfKey56 hkdfKey_;
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return Whether the hkdfKey field is set.
*/
@java.lang.Override
public boolean hasHkdfKey() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return The hkdfKey.
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.HkdfKey56 getHkdfKey() {
return hkdfKey_ == null ? rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance() : hkdfKey_;
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
@java.lang.Override
public rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder getHkdfKeyOrBuilder() {
return hkdfKey_ == null ? rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance() : hkdfKey_;
}
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)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, shortHost_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shortIP_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, shortPort_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, longHost_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, longIP_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, longPort_);
}
for (int i = 0; i < shortPsk_.size(); i++) {
output.writeMessage(7, shortPsk_.get(i));
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(8, pskAccessKey_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(9, getHkdfKey());
}
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.GeneratedMessageV3.computeStringSize(1, shortHost_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shortIP_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, shortPort_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, longHost_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, longIP_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, longPort_);
}
for (int i = 0; i < shortPsk_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, shortPsk_.get(i));
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, pskAccessKey_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getHkdfKey());
}
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 rock.protobuf.RockUserOuterClass.RockMMInfo)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.RockMMInfo other = (rock.protobuf.RockUserOuterClass.RockMMInfo) obj;
if (hasShortHost() != other.hasShortHost()) return false;
if (hasShortHost()) {
if (!getShortHost()
.equals(other.getShortHost())) return false;
}
if (hasShortIP() != other.hasShortIP()) return false;
if (hasShortIP()) {
if (!getShortIP()
.equals(other.getShortIP())) return false;
}
if (hasShortPort() != other.hasShortPort()) return false;
if (hasShortPort()) {
if (getShortPort()
!= other.getShortPort()) return false;
}
if (hasLongHost() != other.hasLongHost()) return false;
if (hasLongHost()) {
if (!getLongHost()
.equals(other.getLongHost())) return false;
}
if (hasLongIP() != other.hasLongIP()) return false;
if (hasLongIP()) {
if (!getLongIP()
.equals(other.getLongIP())) return false;
}
if (hasLongPort() != other.hasLongPort()) return false;
if (hasLongPort()) {
if (getLongPort()
!= other.getLongPort()) return false;
}
if (!getShortPskList()
.equals(other.getShortPskList())) return false;
if (hasPskAccessKey() != other.hasPskAccessKey()) return false;
if (hasPskAccessKey()) {
if (!getPskAccessKey()
.equals(other.getPskAccessKey())) return false;
}
if (hasHkdfKey() != other.hasHkdfKey()) return false;
if (hasHkdfKey()) {
if (!getHkdfKey()
.equals(other.getHkdfKey())) 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 (hasShortHost()) {
hash = (37 * hash) + SHORTHOST_FIELD_NUMBER;
hash = (53 * hash) + getShortHost().hashCode();
}
if (hasShortIP()) {
hash = (37 * hash) + SHORTIP_FIELD_NUMBER;
hash = (53 * hash) + getShortIP().hashCode();
}
if (hasShortPort()) {
hash = (37 * hash) + SHORTPORT_FIELD_NUMBER;
hash = (53 * hash) + getShortPort();
}
if (hasLongHost()) {
hash = (37 * hash) + LONGHOST_FIELD_NUMBER;
hash = (53 * hash) + getLongHost().hashCode();
}
if (hasLongIP()) {
hash = (37 * hash) + LONGIP_FIELD_NUMBER;
hash = (53 * hash) + getLongIP().hashCode();
}
if (hasLongPort()) {
hash = (37 * hash) + LONGPORT_FIELD_NUMBER;
hash = (53 * hash) + getLongPort();
}
if (getShortPskCount() > 0) {
hash = (37 * hash) + SHORTPSK_FIELD_NUMBER;
hash = (53 * hash) + getShortPskList().hashCode();
}
if (hasPskAccessKey()) {
hash = (37 * hash) + PSKACCESSKEY_FIELD_NUMBER;
hash = (53 * hash) + getPskAccessKey().hashCode();
}
if (hasHkdfKey()) {
hash = (37 * hash) + HKDFKEY_FIELD_NUMBER;
hash = (53 * hash) + getHkdfKey().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo 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 rock.protobuf.RockUserOuterClass.RockMMInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo 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 rock.protobuf.RockUserOuterClass.RockMMInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo 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(rock.protobuf.RockUserOuterClass.RockMMInfo 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;
}
/**
*
* MMInfo MMInfo
*
*
* Protobuf type {@code rock.RockMMInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.RockMMInfo)
rock.protobuf.RockUserOuterClass.RockMMInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockMMInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockMMInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.RockMMInfo.class, rock.protobuf.RockUserOuterClass.RockMMInfo.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.RockMMInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getShortPskFieldBuilder();
getHkdfKeyFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
shortHost_ = "short.weixin.qq.com";
bitField0_ = (bitField0_ & ~0x00000001);
shortIP_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
shortPort_ = 80;
bitField0_ = (bitField0_ & ~0x00000004);
longHost_ = "long.weixin.qq.com";
bitField0_ = (bitField0_ & ~0x00000008);
longIP_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
longPort_ = 80;
bitField0_ = (bitField0_ & ~0x00000020);
if (shortPskBuilder_ == null) {
shortPsk_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
shortPskBuilder_.clear();
}
pskAccessKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
if (hkdfKeyBuilder_ == null) {
hkdfKey_ = null;
} else {
hkdfKeyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_RockMMInfo_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockMMInfo getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockMMInfo build() {
rock.protobuf.RockUserOuterClass.RockMMInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.RockMMInfo buildPartial() {
rock.protobuf.RockUserOuterClass.RockMMInfo result = new rock.protobuf.RockUserOuterClass.RockMMInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.shortHost_ = shortHost_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.shortIP_ = shortIP_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.shortPort_ = shortPort_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.longHost_ = longHost_;
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.longIP_ = longIP_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.longPort_ = longPort_;
if (shortPskBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
shortPsk_ = java.util.Collections.unmodifiableList(shortPsk_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.shortPsk_ = shortPsk_;
} else {
result.shortPsk_ = shortPskBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.pskAccessKey_ = pskAccessKey_;
if (((from_bitField0_ & 0x00000100) != 0)) {
if (hkdfKeyBuilder_ == null) {
result.hkdfKey_ = hkdfKey_;
} else {
result.hkdfKey_ = hkdfKeyBuilder_.build();
}
to_bitField0_ |= 0x00000080;
}
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 rock.protobuf.RockUserOuterClass.RockMMInfo) {
return mergeFrom((rock.protobuf.RockUserOuterClass.RockMMInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.RockMMInfo other) {
if (other == rock.protobuf.RockUserOuterClass.RockMMInfo.getDefaultInstance()) return this;
if (other.hasShortHost()) {
bitField0_ |= 0x00000001;
shortHost_ = other.shortHost_;
onChanged();
}
if (other.hasShortIP()) {
bitField0_ |= 0x00000002;
shortIP_ = other.shortIP_;
onChanged();
}
if (other.hasShortPort()) {
setShortPort(other.getShortPort());
}
if (other.hasLongHost()) {
bitField0_ |= 0x00000008;
longHost_ = other.longHost_;
onChanged();
}
if (other.hasLongIP()) {
bitField0_ |= 0x00000010;
longIP_ = other.longIP_;
onChanged();
}
if (other.hasLongPort()) {
setLongPort(other.getLongPort());
}
if (shortPskBuilder_ == null) {
if (!other.shortPsk_.isEmpty()) {
if (shortPsk_.isEmpty()) {
shortPsk_ = other.shortPsk_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureShortPskIsMutable();
shortPsk_.addAll(other.shortPsk_);
}
onChanged();
}
} else {
if (!other.shortPsk_.isEmpty()) {
if (shortPskBuilder_.isEmpty()) {
shortPskBuilder_.dispose();
shortPskBuilder_ = null;
shortPsk_ = other.shortPsk_;
bitField0_ = (bitField0_ & ~0x00000040);
shortPskBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getShortPskFieldBuilder() : null;
} else {
shortPskBuilder_.addAllMessages(other.shortPsk_);
}
}
}
if (other.hasPskAccessKey()) {
setPskAccessKey(other.getPskAccessKey());
}
if (other.hasHkdfKey()) {
mergeHkdfKey(other.getHkdfKey());
}
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 {
rock.protobuf.RockUserOuterClass.RockMMInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.RockMMInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object shortHost_ = "short.weixin.qq.com";
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return Whether the shortHost field is set.
*/
public boolean hasShortHost() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The shortHost.
*/
public java.lang.String getShortHost() {
java.lang.Object ref = shortHost_;
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()) {
shortHost_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return The bytes for shortHost.
*/
public com.google.protobuf.ByteString
getShortHostBytes() {
java.lang.Object ref = shortHost_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortHost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @param value The shortHost to set.
* @return This builder for chaining.
*/
public Builder setShortHost(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
shortHost_ = value;
onChanged();
return this;
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @return This builder for chaining.
*/
public Builder clearShortHost() {
bitField0_ = (bitField0_ & ~0x00000001);
shortHost_ = getDefaultInstance().getShortHost();
onChanged();
return this;
}
/**
*
* 短链接 属性
* mmtls 协议host 例如:hkextshort.weixin.qq.com,这个需要保存这数据库
*
*
* optional string ShortHost = 1 [default = "short.weixin.qq.com"];
* @param value The bytes for shortHost to set.
* @return This builder for chaining.
*/
public Builder setShortHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
shortHost_ = value;
onChanged();
return this;
}
private java.lang.Object shortIP_ = "";
/**
* optional string ShortIP = 2;
* @return Whether the shortIP field is set.
*/
public boolean hasShortIP() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string ShortIP = 2;
* @return The shortIP.
*/
public java.lang.String getShortIP() {
java.lang.Object ref = shortIP_;
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()) {
shortIP_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string ShortIP = 2;
* @return The bytes for shortIP.
*/
public com.google.protobuf.ByteString
getShortIPBytes() {
java.lang.Object ref = shortIP_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
shortIP_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string ShortIP = 2;
* @param value The shortIP to set.
* @return This builder for chaining.
*/
public Builder setShortIP(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
shortIP_ = value;
onChanged();
return this;
}
/**
* optional string ShortIP = 2;
* @return This builder for chaining.
*/
public Builder clearShortIP() {
bitField0_ = (bitField0_ & ~0x00000002);
shortIP_ = getDefaultInstance().getShortIP();
onChanged();
return this;
}
/**
* optional string ShortIP = 2;
* @param value The bytes for shortIP to set.
* @return This builder for chaining.
*/
public Builder setShortIPBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
shortIP_ = value;
onChanged();
return this;
}
private int shortPort_ = 80;
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return Whether the shortPort field is set.
*/
@java.lang.Override
public boolean hasShortPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return The shortPort.
*/
@java.lang.Override
public int getShortPort() {
return shortPort_;
}
/**
* optional uint32 ShortPort = 3 [default = 80];
* @param value The shortPort to set.
* @return This builder for chaining.
*/
public Builder setShortPort(int value) {
bitField0_ |= 0x00000004;
shortPort_ = value;
onChanged();
return this;
}
/**
* optional uint32 ShortPort = 3 [default = 80];
* @return This builder for chaining.
*/
public Builder clearShortPort() {
bitField0_ = (bitField0_ & ~0x00000004);
shortPort_ = 80;
onChanged();
return this;
}
private java.lang.Object longHost_ = "long.weixin.qq.com";
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return Whether the longHost field is set.
*/
public boolean hasLongHost() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The longHost.
*/
public java.lang.String getLongHost() {
java.lang.Object ref = longHost_;
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()) {
longHost_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return The bytes for longHost.
*/
public com.google.protobuf.ByteString
getLongHostBytes() {
java.lang.Object ref = longHost_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longHost_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @param value The longHost to set.
* @return This builder for chaining.
*/
public Builder setLongHost(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
longHost_ = value;
onChanged();
return this;
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @return This builder for chaining.
*/
public Builder clearLongHost() {
bitField0_ = (bitField0_ & ~0x00000008);
longHost_ = getDefaultInstance().getLongHost();
onChanged();
return this;
}
/**
* optional string LongHost = 4 [default = "long.weixin.qq.com"];
* @param value The bytes for longHost to set.
* @return This builder for chaining.
*/
public Builder setLongHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
longHost_ = value;
onChanged();
return this;
}
private java.lang.Object longIP_ = "";
/**
* optional string LongIP = 5;
* @return Whether the longIP field is set.
*/
public boolean hasLongIP() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string LongIP = 5;
* @return The longIP.
*/
public java.lang.String getLongIP() {
java.lang.Object ref = longIP_;
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()) {
longIP_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string LongIP = 5;
* @return The bytes for longIP.
*/
public com.google.protobuf.ByteString
getLongIPBytes() {
java.lang.Object ref = longIP_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
longIP_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string LongIP = 5;
* @param value The longIP to set.
* @return This builder for chaining.
*/
public Builder setLongIP(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
longIP_ = value;
onChanged();
return this;
}
/**
* optional string LongIP = 5;
* @return This builder for chaining.
*/
public Builder clearLongIP() {
bitField0_ = (bitField0_ & ~0x00000010);
longIP_ = getDefaultInstance().getLongIP();
onChanged();
return this;
}
/**
* optional string LongIP = 5;
* @param value The bytes for longIP to set.
* @return This builder for chaining.
*/
public Builder setLongIPBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
longIP_ = value;
onChanged();
return this;
}
private int longPort_ = 80;
/**
* optional uint32 LongPort = 6 [default = 80];
* @return Whether the longPort field is set.
*/
@java.lang.Override
public boolean hasLongPort() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 LongPort = 6 [default = 80];
* @return The longPort.
*/
@java.lang.Override
public int getLongPort() {
return longPort_;
}
/**
* optional uint32 LongPort = 6 [default = 80];
* @param value The longPort to set.
* @return This builder for chaining.
*/
public Builder setLongPort(int value) {
bitField0_ |= 0x00000020;
longPort_ = value;
onChanged();
return this;
}
/**
* optional uint32 LongPort = 6 [default = 80];
* @return This builder for chaining.
*/
public Builder clearLongPort() {
bitField0_ = (bitField0_ & ~0x00000020);
longPort_ = 80;
onChanged();
return this;
}
private java.util.List shortPsk_ =
java.util.Collections.emptyList();
private void ensureShortPskIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
shortPsk_ = new java.util.ArrayList(shortPsk_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
rock.protobuf.RockUserOuterClass.Psk, rock.protobuf.RockUserOuterClass.Psk.Builder, rock.protobuf.RockUserOuterClass.PskOrBuilder> shortPskBuilder_;
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public java.util.List getShortPskList() {
if (shortPskBuilder_ == null) {
return java.util.Collections.unmodifiableList(shortPsk_);
} else {
return shortPskBuilder_.getMessageList();
}
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public int getShortPskCount() {
if (shortPskBuilder_ == null) {
return shortPsk_.size();
} else {
return shortPskBuilder_.getCount();
}
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public rock.protobuf.RockUserOuterClass.Psk getShortPsk(int index) {
if (shortPskBuilder_ == null) {
return shortPsk_.get(index);
} else {
return shortPskBuilder_.getMessage(index);
}
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder setShortPsk(
int index, rock.protobuf.RockUserOuterClass.Psk value) {
if (shortPskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortPskIsMutable();
shortPsk_.set(index, value);
onChanged();
} else {
shortPskBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder setShortPsk(
int index, rock.protobuf.RockUserOuterClass.Psk.Builder builderForValue) {
if (shortPskBuilder_ == null) {
ensureShortPskIsMutable();
shortPsk_.set(index, builderForValue.build());
onChanged();
} else {
shortPskBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder addShortPsk(rock.protobuf.RockUserOuterClass.Psk value) {
if (shortPskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortPskIsMutable();
shortPsk_.add(value);
onChanged();
} else {
shortPskBuilder_.addMessage(value);
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder addShortPsk(
int index, rock.protobuf.RockUserOuterClass.Psk value) {
if (shortPskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortPskIsMutable();
shortPsk_.add(index, value);
onChanged();
} else {
shortPskBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder addShortPsk(
rock.protobuf.RockUserOuterClass.Psk.Builder builderForValue) {
if (shortPskBuilder_ == null) {
ensureShortPskIsMutable();
shortPsk_.add(builderForValue.build());
onChanged();
} else {
shortPskBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder addShortPsk(
int index, rock.protobuf.RockUserOuterClass.Psk.Builder builderForValue) {
if (shortPskBuilder_ == null) {
ensureShortPskIsMutable();
shortPsk_.add(index, builderForValue.build());
onChanged();
} else {
shortPskBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder addAllShortPsk(
java.lang.Iterable extends rock.protobuf.RockUserOuterClass.Psk> values) {
if (shortPskBuilder_ == null) {
ensureShortPskIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, shortPsk_);
onChanged();
} else {
shortPskBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder clearShortPsk() {
if (shortPskBuilder_ == null) {
shortPsk_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
shortPskBuilder_.clear();
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public Builder removeShortPsk(int index) {
if (shortPskBuilder_ == null) {
ensureShortPskIsMutable();
shortPsk_.remove(index);
onChanged();
} else {
shortPskBuilder_.remove(index);
}
return this;
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public rock.protobuf.RockUserOuterClass.Psk.Builder getShortPskBuilder(
int index) {
return getShortPskFieldBuilder().getBuilder(index);
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public rock.protobuf.RockUserOuterClass.PskOrBuilder getShortPskOrBuilder(
int index) {
if (shortPskBuilder_ == null) {
return shortPsk_.get(index); } else {
return shortPskBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public java.util.List extends rock.protobuf.RockUserOuterClass.PskOrBuilder>
getShortPskOrBuilderList() {
if (shortPskBuilder_ != null) {
return shortPskBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(shortPsk_);
}
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public rock.protobuf.RockUserOuterClass.Psk.Builder addShortPskBuilder() {
return getShortPskFieldBuilder().addBuilder(
rock.protobuf.RockUserOuterClass.Psk.getDefaultInstance());
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public rock.protobuf.RockUserOuterClass.Psk.Builder addShortPskBuilder(
int index) {
return getShortPskFieldBuilder().addBuilder(
index, rock.protobuf.RockUserOuterClass.Psk.getDefaultInstance());
}
/**
*
* 短链接会话票据(服务端返回, 第一次握手不设置), 下一次握手选择其中一个发给服务器, 需要保存到数据库
*
*
* repeated .rock.Psk ShortPsk = 7;
*/
public java.util.List
getShortPskBuilderList() {
return getShortPskFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
rock.protobuf.RockUserOuterClass.Psk, rock.protobuf.RockUserOuterClass.Psk.Builder, rock.protobuf.RockUserOuterClass.PskOrBuilder>
getShortPskFieldBuilder() {
if (shortPskBuilder_ == null) {
shortPskBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
rock.protobuf.RockUserOuterClass.Psk, rock.protobuf.RockUserOuterClass.Psk.Builder, rock.protobuf.RockUserOuterClass.PskOrBuilder>(
shortPsk_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
shortPsk_ = null;
}
return shortPskBuilder_;
}
private com.google.protobuf.ByteString pskAccessKey_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return Whether the pskAccessKey field is set.
*/
@java.lang.Override
public boolean hasPskAccessKey() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return The pskAccessKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getPskAccessKey() {
return pskAccessKey_;
}
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @param value The pskAccessKey to set.
* @return This builder for chaining.
*/
public Builder setPskAccessKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
pskAccessKey_ = value;
onChanged();
return this;
}
/**
*
* 握手扩展出来的用于后续加密的Key
*
*
* optional bytes PskAccessKey = 8;
* @return This builder for chaining.
*/
public Builder clearPskAccessKey() {
bitField0_ = (bitField0_ & ~0x00000080);
pskAccessKey_ = getDefaultInstance().getPskAccessKey();
onChanged();
return this;
}
private rock.protobuf.RockUserOuterClass.HkdfKey56 hkdfKey_;
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.HkdfKey56, rock.protobuf.RockUserOuterClass.HkdfKey56.Builder, rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder> hkdfKeyBuilder_;
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return Whether the hkdfKey field is set.
*/
public boolean hasHkdfKey() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
* @return The hkdfKey.
*/
public rock.protobuf.RockUserOuterClass.HkdfKey56 getHkdfKey() {
if (hkdfKeyBuilder_ == null) {
return hkdfKey_ == null ? rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance() : hkdfKey_;
} else {
return hkdfKeyBuilder_.getMessage();
}
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public Builder setHkdfKey(rock.protobuf.RockUserOuterClass.HkdfKey56 value) {
if (hkdfKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hkdfKey_ = value;
onChanged();
} else {
hkdfKeyBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public Builder setHkdfKey(
rock.protobuf.RockUserOuterClass.HkdfKey56.Builder builderForValue) {
if (hkdfKeyBuilder_ == null) {
hkdfKey_ = builderForValue.build();
onChanged();
} else {
hkdfKeyBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public Builder mergeHkdfKey(rock.protobuf.RockUserOuterClass.HkdfKey56 value) {
if (hkdfKeyBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
hkdfKey_ != null &&
hkdfKey_ != rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance()) {
hkdfKey_ =
rock.protobuf.RockUserOuterClass.HkdfKey56.newBuilder(hkdfKey_).mergeFrom(value).buildPartial();
} else {
hkdfKey_ = value;
}
onChanged();
} else {
hkdfKeyBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public Builder clearHkdfKey() {
if (hkdfKeyBuilder_ == null) {
hkdfKey_ = null;
onChanged();
} else {
hkdfKeyBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public rock.protobuf.RockUserOuterClass.HkdfKey56.Builder getHkdfKeyBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getHkdfKeyFieldBuilder().getBuilder();
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
public rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder getHkdfKeyOrBuilder() {
if (hkdfKeyBuilder_ != null) {
return hkdfKeyBuilder_.getMessageOrBuilder();
} else {
return hkdfKey_ == null ?
rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance() : hkdfKey_;
}
}
/**
* optional .rock.HkdfKey56 hkdfKey = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.HkdfKey56, rock.protobuf.RockUserOuterClass.HkdfKey56.Builder, rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder>
getHkdfKeyFieldBuilder() {
if (hkdfKeyBuilder_ == null) {
hkdfKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
rock.protobuf.RockUserOuterClass.HkdfKey56, rock.protobuf.RockUserOuterClass.HkdfKey56.Builder, rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder>(
getHkdfKey(),
getParentForChildren(),
isClean());
hkdfKey_ = null;
}
return hkdfKeyBuilder_;
}
@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:rock.RockMMInfo)
}
// @@protoc_insertion_point(class_scope:rock.RockMMInfo)
private static final rock.protobuf.RockUserOuterClass.RockMMInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.RockMMInfo();
}
public static rock.protobuf.RockUserOuterClass.RockMMInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RockMMInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RockMMInfo(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 rock.protobuf.RockUserOuterClass.RockMMInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HkdfKey56OrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.HkdfKey56)
com.google.protobuf.MessageOrBuilder {
/**
* optional bytes EncodeAesKey = 1;
* @return Whether the encodeAesKey field is set.
*/
boolean hasEncodeAesKey();
/**
* optional bytes EncodeAesKey = 1;
* @return The encodeAesKey.
*/
com.google.protobuf.ByteString getEncodeAesKey();
/**
* optional bytes EncodeNonce = 2;
* @return Whether the encodeNonce field is set.
*/
boolean hasEncodeNonce();
/**
* optional bytes EncodeNonce = 2;
* @return The encodeNonce.
*/
com.google.protobuf.ByteString getEncodeNonce();
/**
* optional bytes DecodeAesKey = 3;
* @return Whether the decodeAesKey field is set.
*/
boolean hasDecodeAesKey();
/**
* optional bytes DecodeAesKey = 3;
* @return The decodeAesKey.
*/
com.google.protobuf.ByteString getDecodeAesKey();
/**
* optional bytes DecodeNonce = 4;
* @return Whether the decodeNonce field is set.
*/
boolean hasDecodeNonce();
/**
* optional bytes DecodeNonce = 4;
* @return The decodeNonce.
*/
com.google.protobuf.ByteString getDecodeNonce();
}
/**
* Protobuf type {@code rock.HkdfKey56}
*/
public static final class HkdfKey56 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.HkdfKey56)
HkdfKey56OrBuilder {
private static final long serialVersionUID = 0L;
// Use HkdfKey56.newBuilder() to construct.
private HkdfKey56(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HkdfKey56() {
encodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
encodeNonce_ = com.google.protobuf.ByteString.EMPTY;
decodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
decodeNonce_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HkdfKey56();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HkdfKey56(
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: {
bitField0_ |= 0x00000001;
encodeAesKey_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
encodeNonce_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
decodeAesKey_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
decodeNonce_ = input.readBytes();
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 rock.protobuf.RockUserOuterClass.internal_static_rock_HkdfKey56_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_HkdfKey56_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.HkdfKey56.class, rock.protobuf.RockUserOuterClass.HkdfKey56.Builder.class);
}
private int bitField0_;
public static final int ENCODEAESKEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString encodeAesKey_;
/**
* optional bytes EncodeAesKey = 1;
* @return Whether the encodeAesKey field is set.
*/
@java.lang.Override
public boolean hasEncodeAesKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bytes EncodeAesKey = 1;
* @return The encodeAesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncodeAesKey() {
return encodeAesKey_;
}
public static final int ENCODENONCE_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString encodeNonce_;
/**
* optional bytes EncodeNonce = 2;
* @return Whether the encodeNonce field is set.
*/
@java.lang.Override
public boolean hasEncodeNonce() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes EncodeNonce = 2;
* @return The encodeNonce.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncodeNonce() {
return encodeNonce_;
}
public static final int DECODEAESKEY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString decodeAesKey_;
/**
* optional bytes DecodeAesKey = 3;
* @return Whether the decodeAesKey field is set.
*/
@java.lang.Override
public boolean hasDecodeAesKey() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes DecodeAesKey = 3;
* @return The decodeAesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDecodeAesKey() {
return decodeAesKey_;
}
public static final int DECODENONCE_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString decodeNonce_;
/**
* optional bytes DecodeNonce = 4;
* @return Whether the decodeNonce field is set.
*/
@java.lang.Override
public boolean hasDecodeNonce() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bytes DecodeNonce = 4;
* @return The decodeNonce.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDecodeNonce() {
return decodeNonce_;
}
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.writeBytes(1, encodeAesKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, encodeNonce_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, decodeAesKey_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBytes(4, decodeNonce_);
}
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
.computeBytesSize(1, encodeAesKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, encodeNonce_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, decodeAesKey_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, decodeNonce_);
}
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 rock.protobuf.RockUserOuterClass.HkdfKey56)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.HkdfKey56 other = (rock.protobuf.RockUserOuterClass.HkdfKey56) obj;
if (hasEncodeAesKey() != other.hasEncodeAesKey()) return false;
if (hasEncodeAesKey()) {
if (!getEncodeAesKey()
.equals(other.getEncodeAesKey())) return false;
}
if (hasEncodeNonce() != other.hasEncodeNonce()) return false;
if (hasEncodeNonce()) {
if (!getEncodeNonce()
.equals(other.getEncodeNonce())) return false;
}
if (hasDecodeAesKey() != other.hasDecodeAesKey()) return false;
if (hasDecodeAesKey()) {
if (!getDecodeAesKey()
.equals(other.getDecodeAesKey())) return false;
}
if (hasDecodeNonce() != other.hasDecodeNonce()) return false;
if (hasDecodeNonce()) {
if (!getDecodeNonce()
.equals(other.getDecodeNonce())) 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 (hasEncodeAesKey()) {
hash = (37 * hash) + ENCODEAESKEY_FIELD_NUMBER;
hash = (53 * hash) + getEncodeAesKey().hashCode();
}
if (hasEncodeNonce()) {
hash = (37 * hash) + ENCODENONCE_FIELD_NUMBER;
hash = (53 * hash) + getEncodeNonce().hashCode();
}
if (hasDecodeAesKey()) {
hash = (37 * hash) + DECODEAESKEY_FIELD_NUMBER;
hash = (53 * hash) + getDecodeAesKey().hashCode();
}
if (hasDecodeNonce()) {
hash = (37 * hash) + DECODENONCE_FIELD_NUMBER;
hash = (53 * hash) + getDecodeNonce().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 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 rock.protobuf.RockUserOuterClass.HkdfKey56 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 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 rock.protobuf.RockUserOuterClass.HkdfKey56 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 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(rock.protobuf.RockUserOuterClass.HkdfKey56 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 rock.HkdfKey56}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.HkdfKey56)
rock.protobuf.RockUserOuterClass.HkdfKey56OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_HkdfKey56_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_HkdfKey56_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.HkdfKey56.class, rock.protobuf.RockUserOuterClass.HkdfKey56.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.HkdfKey56.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
encodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
encodeNonce_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
decodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
decodeNonce_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_HkdfKey56_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.HkdfKey56 getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.HkdfKey56 build() {
rock.protobuf.RockUserOuterClass.HkdfKey56 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.HkdfKey56 buildPartial() {
rock.protobuf.RockUserOuterClass.HkdfKey56 result = new rock.protobuf.RockUserOuterClass.HkdfKey56(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.encodeAesKey_ = encodeAesKey_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.encodeNonce_ = encodeNonce_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.decodeAesKey_ = decodeAesKey_;
if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.decodeNonce_ = decodeNonce_;
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 rock.protobuf.RockUserOuterClass.HkdfKey56) {
return mergeFrom((rock.protobuf.RockUserOuterClass.HkdfKey56)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.HkdfKey56 other) {
if (other == rock.protobuf.RockUserOuterClass.HkdfKey56.getDefaultInstance()) return this;
if (other.hasEncodeAesKey()) {
setEncodeAesKey(other.getEncodeAesKey());
}
if (other.hasEncodeNonce()) {
setEncodeNonce(other.getEncodeNonce());
}
if (other.hasDecodeAesKey()) {
setDecodeAesKey(other.getDecodeAesKey());
}
if (other.hasDecodeNonce()) {
setDecodeNonce(other.getDecodeNonce());
}
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 {
rock.protobuf.RockUserOuterClass.HkdfKey56 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.HkdfKey56) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.ByteString encodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes EncodeAesKey = 1;
* @return Whether the encodeAesKey field is set.
*/
@java.lang.Override
public boolean hasEncodeAesKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bytes EncodeAesKey = 1;
* @return The encodeAesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncodeAesKey() {
return encodeAesKey_;
}
/**
* optional bytes EncodeAesKey = 1;
* @param value The encodeAesKey to set.
* @return This builder for chaining.
*/
public Builder setEncodeAesKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
encodeAesKey_ = value;
onChanged();
return this;
}
/**
* optional bytes EncodeAesKey = 1;
* @return This builder for chaining.
*/
public Builder clearEncodeAesKey() {
bitField0_ = (bitField0_ & ~0x00000001);
encodeAesKey_ = getDefaultInstance().getEncodeAesKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString encodeNonce_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes EncodeNonce = 2;
* @return Whether the encodeNonce field is set.
*/
@java.lang.Override
public boolean hasEncodeNonce() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes EncodeNonce = 2;
* @return The encodeNonce.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncodeNonce() {
return encodeNonce_;
}
/**
* optional bytes EncodeNonce = 2;
* @param value The encodeNonce to set.
* @return This builder for chaining.
*/
public Builder setEncodeNonce(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
encodeNonce_ = value;
onChanged();
return this;
}
/**
* optional bytes EncodeNonce = 2;
* @return This builder for chaining.
*/
public Builder clearEncodeNonce() {
bitField0_ = (bitField0_ & ~0x00000002);
encodeNonce_ = getDefaultInstance().getEncodeNonce();
onChanged();
return this;
}
private com.google.protobuf.ByteString decodeAesKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes DecodeAesKey = 3;
* @return Whether the decodeAesKey field is set.
*/
@java.lang.Override
public boolean hasDecodeAesKey() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes DecodeAesKey = 3;
* @return The decodeAesKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDecodeAesKey() {
return decodeAesKey_;
}
/**
* optional bytes DecodeAesKey = 3;
* @param value The decodeAesKey to set.
* @return This builder for chaining.
*/
public Builder setDecodeAesKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
decodeAesKey_ = value;
onChanged();
return this;
}
/**
* optional bytes DecodeAesKey = 3;
* @return This builder for chaining.
*/
public Builder clearDecodeAesKey() {
bitField0_ = (bitField0_ & ~0x00000004);
decodeAesKey_ = getDefaultInstance().getDecodeAesKey();
onChanged();
return this;
}
private com.google.protobuf.ByteString decodeNonce_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes DecodeNonce = 4;
* @return Whether the decodeNonce field is set.
*/
@java.lang.Override
public boolean hasDecodeNonce() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bytes DecodeNonce = 4;
* @return The decodeNonce.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDecodeNonce() {
return decodeNonce_;
}
/**
* optional bytes DecodeNonce = 4;
* @param value The decodeNonce to set.
* @return This builder for chaining.
*/
public Builder setDecodeNonce(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
decodeNonce_ = value;
onChanged();
return this;
}
/**
* optional bytes DecodeNonce = 4;
* @return This builder for chaining.
*/
public Builder clearDecodeNonce() {
bitField0_ = (bitField0_ & ~0x00000008);
decodeNonce_ = getDefaultInstance().getDecodeNonce();
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:rock.HkdfKey56)
}
// @@protoc_insertion_point(class_scope:rock.HkdfKey56)
private static final rock.protobuf.RockUserOuterClass.HkdfKey56 DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.HkdfKey56();
}
public static rock.protobuf.RockUserOuterClass.HkdfKey56 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HkdfKey56 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HkdfKey56(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 rock.protobuf.RockUserOuterClass.HkdfKey56 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PskOrBuilder extends
// @@protoc_insertion_point(interface_extends:rock.Psk)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 Kind = 1;
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
* optional int32 Kind = 1;
* @return The kind.
*/
int getKind();
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return Whether the ticketKLifeTimeHint field is set.
*/
boolean hasTicketKLifeTimeHint();
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return The ticketKLifeTimeHint.
*/
int getTicketKLifeTimeHint();
/**
* optional bytes MacValue = 3;
* @return Whether the macValue field is set.
*/
boolean hasMacValue();
/**
* optional bytes MacValue = 3;
* @return The macValue.
*/
com.google.protobuf.ByteString getMacValue();
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return Whether the keyVersion field is set.
*/
boolean hasKeyVersion();
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return The keyVersion.
*/
int getKeyVersion();
/**
* optional bytes Iv = 5;
* @return Whether the iv field is set.
*/
boolean hasIv();
/**
* optional bytes Iv = 5;
* @return The iv.
*/
com.google.protobuf.ByteString getIv();
/**
* optional bytes EncryptedTicket = 6;
* @return Whether the encryptedTicket field is set.
*/
boolean hasEncryptedTicket();
/**
* optional bytes EncryptedTicket = 6;
* @return The encryptedTicket.
*/
com.google.protobuf.ByteString getEncryptedTicket();
}
/**
*
* Psk Psk
*
*
* Protobuf type {@code rock.Psk}
*/
public static final class Psk extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:rock.Psk)
PskOrBuilder {
private static final long serialVersionUID = 0L;
// Use Psk.newBuilder() to construct.
private Psk(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Psk() {
macValue_ = com.google.protobuf.ByteString.EMPTY;
iv_ = com.google.protobuf.ByteString.EMPTY;
encryptedTicket_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Psk();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Psk(
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 8: {
bitField0_ |= 0x00000001;
kind_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
ticketKLifeTimeHint_ = input.readUInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
macValue_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000008;
keyVersion_ = input.readUInt32();
break;
}
case 42: {
bitField0_ |= 0x00000010;
iv_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
encryptedTicket_ = input.readBytes();
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 rock.protobuf.RockUserOuterClass.internal_static_rock_Psk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_Psk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.Psk.class, rock.protobuf.RockUserOuterClass.Psk.Builder.class);
}
private int bitField0_;
public static final int KIND_FIELD_NUMBER = 1;
private int kind_;
/**
* optional int32 Kind = 1;
* @return Whether the kind field is set.
*/
@java.lang.Override
public boolean hasKind() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 Kind = 1;
* @return The kind.
*/
@java.lang.Override
public int getKind() {
return kind_;
}
public static final int TICKETKLIFETIMEHINT_FIELD_NUMBER = 2;
private int ticketKLifeTimeHint_;
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return Whether the ticketKLifeTimeHint field is set.
*/
@java.lang.Override
public boolean hasTicketKLifeTimeHint() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return The ticketKLifeTimeHint.
*/
@java.lang.Override
public int getTicketKLifeTimeHint() {
return ticketKLifeTimeHint_;
}
public static final int MACVALUE_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString macValue_;
/**
* optional bytes MacValue = 3;
* @return Whether the macValue field is set.
*/
@java.lang.Override
public boolean hasMacValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes MacValue = 3;
* @return The macValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString getMacValue() {
return macValue_;
}
public static final int KEYVERSION_FIELD_NUMBER = 4;
private int keyVersion_;
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return Whether the keyVersion field is set.
*/
@java.lang.Override
public boolean hasKeyVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return The keyVersion.
*/
@java.lang.Override
public int getKeyVersion() {
return keyVersion_;
}
public static final int IV_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString iv_;
/**
* optional bytes Iv = 5;
* @return Whether the iv field is set.
*/
@java.lang.Override
public boolean hasIv() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bytes Iv = 5;
* @return The iv.
*/
@java.lang.Override
public com.google.protobuf.ByteString getIv() {
return iv_;
}
public static final int ENCRYPTEDTICKET_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString encryptedTicket_;
/**
* optional bytes EncryptedTicket = 6;
* @return Whether the encryptedTicket field is set.
*/
@java.lang.Override
public boolean hasEncryptedTicket() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bytes EncryptedTicket = 6;
* @return The encryptedTicket.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncryptedTicket() {
return encryptedTicket_;
}
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.writeInt32(1, kind_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, ticketKLifeTimeHint_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, macValue_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, keyVersion_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBytes(5, iv_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBytes(6, encryptedTicket_);
}
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
.computeInt32Size(1, kind_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, ticketKLifeTimeHint_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, macValue_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, keyVersion_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, iv_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, encryptedTicket_);
}
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 rock.protobuf.RockUserOuterClass.Psk)) {
return super.equals(obj);
}
rock.protobuf.RockUserOuterClass.Psk other = (rock.protobuf.RockUserOuterClass.Psk) obj;
if (hasKind() != other.hasKind()) return false;
if (hasKind()) {
if (getKind()
!= other.getKind()) return false;
}
if (hasTicketKLifeTimeHint() != other.hasTicketKLifeTimeHint()) return false;
if (hasTicketKLifeTimeHint()) {
if (getTicketKLifeTimeHint()
!= other.getTicketKLifeTimeHint()) return false;
}
if (hasMacValue() != other.hasMacValue()) return false;
if (hasMacValue()) {
if (!getMacValue()
.equals(other.getMacValue())) return false;
}
if (hasKeyVersion() != other.hasKeyVersion()) return false;
if (hasKeyVersion()) {
if (getKeyVersion()
!= other.getKeyVersion()) return false;
}
if (hasIv() != other.hasIv()) return false;
if (hasIv()) {
if (!getIv()
.equals(other.getIv())) return false;
}
if (hasEncryptedTicket() != other.hasEncryptedTicket()) return false;
if (hasEncryptedTicket()) {
if (!getEncryptedTicket()
.equals(other.getEncryptedTicket())) 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 (hasKind()) {
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + getKind();
}
if (hasTicketKLifeTimeHint()) {
hash = (37 * hash) + TICKETKLIFETIMEHINT_FIELD_NUMBER;
hash = (53 * hash) + getTicketKLifeTimeHint();
}
if (hasMacValue()) {
hash = (37 * hash) + MACVALUE_FIELD_NUMBER;
hash = (53 * hash) + getMacValue().hashCode();
}
if (hasKeyVersion()) {
hash = (37 * hash) + KEYVERSION_FIELD_NUMBER;
hash = (53 * hash) + getKeyVersion();
}
if (hasIv()) {
hash = (37 * hash) + IV_FIELD_NUMBER;
hash = (53 * hash) + getIv().hashCode();
}
if (hasEncryptedTicket()) {
hash = (37 * hash) + ENCRYPTEDTICKET_FIELD_NUMBER;
hash = (53 * hash) + getEncryptedTicket().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static rock.protobuf.RockUserOuterClass.Psk parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.Psk 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 rock.protobuf.RockUserOuterClass.Psk parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.Psk 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 rock.protobuf.RockUserOuterClass.Psk parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static rock.protobuf.RockUserOuterClass.Psk 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(rock.protobuf.RockUserOuterClass.Psk 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;
}
/**
*
* Psk Psk
*
*
* Protobuf type {@code rock.Psk}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:rock.Psk)
rock.protobuf.RockUserOuterClass.PskOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_Psk_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_Psk_fieldAccessorTable
.ensureFieldAccessorsInitialized(
rock.protobuf.RockUserOuterClass.Psk.class, rock.protobuf.RockUserOuterClass.Psk.Builder.class);
}
// Construct using rock.protobuf.RockUserOuterClass.Psk.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
kind_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
ticketKLifeTimeHint_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
macValue_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
keyVersion_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
iv_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
encryptedTicket_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rock.protobuf.RockUserOuterClass.internal_static_rock_Psk_descriptor;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.Psk getDefaultInstanceForType() {
return rock.protobuf.RockUserOuterClass.Psk.getDefaultInstance();
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.Psk build() {
rock.protobuf.RockUserOuterClass.Psk result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public rock.protobuf.RockUserOuterClass.Psk buildPartial() {
rock.protobuf.RockUserOuterClass.Psk result = new rock.protobuf.RockUserOuterClass.Psk(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.kind_ = kind_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ticketKLifeTimeHint_ = ticketKLifeTimeHint_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.macValue_ = macValue_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.keyVersion_ = keyVersion_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.iv_ = iv_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.encryptedTicket_ = encryptedTicket_;
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 rock.protobuf.RockUserOuterClass.Psk) {
return mergeFrom((rock.protobuf.RockUserOuterClass.Psk)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rock.protobuf.RockUserOuterClass.Psk other) {
if (other == rock.protobuf.RockUserOuterClass.Psk.getDefaultInstance()) return this;
if (other.hasKind()) {
setKind(other.getKind());
}
if (other.hasTicketKLifeTimeHint()) {
setTicketKLifeTimeHint(other.getTicketKLifeTimeHint());
}
if (other.hasMacValue()) {
setMacValue(other.getMacValue());
}
if (other.hasKeyVersion()) {
setKeyVersion(other.getKeyVersion());
}
if (other.hasIv()) {
setIv(other.getIv());
}
if (other.hasEncryptedTicket()) {
setEncryptedTicket(other.getEncryptedTicket());
}
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 {
rock.protobuf.RockUserOuterClass.Psk parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (rock.protobuf.RockUserOuterClass.Psk) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int kind_ ;
/**
* optional int32 Kind = 1;
* @return Whether the kind field is set.
*/
@java.lang.Override
public boolean hasKind() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 Kind = 1;
* @return The kind.
*/
@java.lang.Override
public int getKind() {
return kind_;
}
/**
* optional int32 Kind = 1;
* @param value The kind to set.
* @return This builder for chaining.
*/
public Builder setKind(int value) {
bitField0_ |= 0x00000001;
kind_ = value;
onChanged();
return this;
}
/**
* optional int32 Kind = 1;
* @return This builder for chaining.
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000001);
kind_ = 0;
onChanged();
return this;
}
private int ticketKLifeTimeHint_ ;
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return Whether the ticketKLifeTimeHint field is set.
*/
@java.lang.Override
public boolean hasTicketKLifeTimeHint() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return The ticketKLifeTimeHint.
*/
@java.lang.Override
public int getTicketKLifeTimeHint() {
return ticketKLifeTimeHint_;
}
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @param value The ticketKLifeTimeHint to set.
* @return This builder for chaining.
*/
public Builder setTicketKLifeTimeHint(int value) {
bitField0_ |= 0x00000002;
ticketKLifeTimeHint_ = value;
onChanged();
return this;
}
/**
*
* uint32
*
*
* optional uint32 TicketKLifeTimeHint = 2;
* @return This builder for chaining.
*/
public Builder clearTicketKLifeTimeHint() {
bitField0_ = (bitField0_ & ~0x00000002);
ticketKLifeTimeHint_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString macValue_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes MacValue = 3;
* @return Whether the macValue field is set.
*/
@java.lang.Override
public boolean hasMacValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes MacValue = 3;
* @return The macValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString getMacValue() {
return macValue_;
}
/**
* optional bytes MacValue = 3;
* @param value The macValue to set.
* @return This builder for chaining.
*/
public Builder setMacValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
macValue_ = value;
onChanged();
return this;
}
/**
* optional bytes MacValue = 3;
* @return This builder for chaining.
*/
public Builder clearMacValue() {
bitField0_ = (bitField0_ & ~0x00000004);
macValue_ = getDefaultInstance().getMacValue();
onChanged();
return this;
}
private int keyVersion_ ;
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return Whether the keyVersion field is set.
*/
@java.lang.Override
public boolean hasKeyVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return The keyVersion.
*/
@java.lang.Override
public int getKeyVersion() {
return keyVersion_;
}
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @param value The keyVersion to set.
* @return This builder for chaining.
*/
public Builder setKeyVersion(int value) {
bitField0_ |= 0x00000008;
keyVersion_ = value;
onChanged();
return this;
}
/**
*
* uint32
*
*
* optional uint32 KeyVersion = 4;
* @return This builder for chaining.
*/
public Builder clearKeyVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
keyVersion_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString iv_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes Iv = 5;
* @return Whether the iv field is set.
*/
@java.lang.Override
public boolean hasIv() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bytes Iv = 5;
* @return The iv.
*/
@java.lang.Override
public com.google.protobuf.ByteString getIv() {
return iv_;
}
/**
* optional bytes Iv = 5;
* @param value The iv to set.
* @return This builder for chaining.
*/
public Builder setIv(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
iv_ = value;
onChanged();
return this;
}
/**
* optional bytes Iv = 5;
* @return This builder for chaining.
*/
public Builder clearIv() {
bitField0_ = (bitField0_ & ~0x00000010);
iv_ = getDefaultInstance().getIv();
onChanged();
return this;
}
private com.google.protobuf.ByteString encryptedTicket_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes EncryptedTicket = 6;
* @return Whether the encryptedTicket field is set.
*/
@java.lang.Override
public boolean hasEncryptedTicket() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bytes EncryptedTicket = 6;
* @return The encryptedTicket.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEncryptedTicket() {
return encryptedTicket_;
}
/**
* optional bytes EncryptedTicket = 6;
* @param value The encryptedTicket to set.
* @return This builder for chaining.
*/
public Builder setEncryptedTicket(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
encryptedTicket_ = value;
onChanged();
return this;
}
/**
* optional bytes EncryptedTicket = 6;
* @return This builder for chaining.
*/
public Builder clearEncryptedTicket() {
bitField0_ = (bitField0_ & ~0x00000020);
encryptedTicket_ = getDefaultInstance().getEncryptedTicket();
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:rock.Psk)
}
// @@protoc_insertion_point(class_scope:rock.Psk)
private static final rock.protobuf.RockUserOuterClass.Psk DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new rock.protobuf.RockUserOuterClass.Psk();
}
public static rock.protobuf.RockUserOuterClass.Psk getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Psk parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Psk(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 rock.protobuf.RockUserOuterClass.Psk getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_RockDeviceInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_RockDeviceInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_RockUser_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_RockUser_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_RockWifiInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_RockWifiInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_RockMMInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_RockMMInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_HkdfKey56_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_HkdfKey56_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_rock_Psk_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_rock_Psk_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\017rock_user.proto\022\004rock\032\014wechat.proto\"\300\003" +
"\n\016RockDeviceInfo\022\017\n\007UUIDOne\030\001 \001(\t\022\017\n\007UUI" +
"DTwo\030\002 \001(\t\022\014\n\004Imei\030\003 \001(\t\022\020\n\010DeviceID\030\004 \001" +
"(\014\022\033\n\nDeviceName\030\005 \001(\t:\007iPad7,5\022\025\n\010TimeZ" +
"one\030\006 \001(\t:\0038.0\022\027\n\010Language\030\007 \001(\t:\005zh_CN\022" +
"\032\n\013DeviceBrand\030\010 \001(\t:\005Apple\022\027\n\013RealCount" +
"ry\030\t \001(\t:\002CN\022\033\n\tIphoneVer\030\n \001(\t:\010iPad11," +
"3\022!\n\010BundleID\030\013 \001(\t:\017com.tencent.xin\022\036\n\006" +
"OsType\030\014 \001(\t:\016iPad iOS13.3.1\022\020\n\010AdSource" +
"\030\r \001(\t\022\034\n\014OsTypeNumber\030\016 \001(\t:\00613.3.1\022\024\n\t" +
"CoreCount\030\017 \001(\r:\0012\022\023\n\013CarrierName\030\020 \001(\t\022" +
"\023\n\013SoftTypeXML\030\021 \001(\t\022\032\n\022ClientCheckDataX" +
"ML\030\022 \001(\t\"\200\005\n\010RockUser\022\014\n\004uuid\030\001 \001(\t\022\r\n\005t" +
"oken\030\002 \001(\t\022\013\n\003uin\030\003 \001(\r\022\014\n\004wxid\030\004 \001(\t\022\021\n" +
"\tNotifyKey\030\005 \001(\t\022\016\n\006cookie\030\006 \001(\014\022\016\n\006AesK" +
"ey\030\007 \001(\014\022\023\n\013EcPublicKey\030\010 \001(\014\022\024\n\014EcPriva" +
"teKey\030\t \001(\014\022\026\n\016TmpEcPublicKey\030\n \001(\014\022\027\n\017T" +
"mpEcPrivateKey\030\013 \001(\014\022\023\n\013CheckSumKey\030\014 \001(" +
"\014\022\023\n\013AutoAuthKey\030\r \001(\014\022\017\n\007SyncKey\030\016 \001(\014\022" +
"\022\n\nFavSyncKey\030\017 \001(\014\022\022\n\nSnsSyncKey\030\020 \001(\014\022" +
")\n\007DNSInfo\030\023 \001(\0132\030.wechat_proto.CDNDnsIn" +
"fo\022,\n\nSNSDnsInfo\030\024 \001(\0132\030.wechat_proto.CD" +
"NDnsInfo\022,\n\nAPPDnsInfo\030\025 \001(\0132\030.wechat_pr" +
"oto.CDNDnsInfo\022-\n\013FAKEDnsInfo\030\026 \001(\0132\030.we" +
"chat_proto.CDNDnsInfo\022(\n\nDeviceInfo\030\027 \001(" +
"\0132\024.rock.RockDeviceInfo\022\"\n\016BalanceVersio" +
"n\030\030 \001(\r:\n1589560770\022$\n\010WifiInfo\030\031 \001(\0132\022." +
"rock.RockWifiInfo\022 \n\006MMInfo\030\032 \001(\0132\020.rock" +
".RockMMInfo\"/\n\014RockWifiInfo\022\014\n\004Name\030\001 \001(" +
"\t\022\021\n\tWifiBssID\030\002 \001(\t\"\375\001\n\nRockMMInfo\022&\n\tS" +
"hortHost\030\001 \001(\t:\023short.weixin.qq.com\022\017\n\007S" +
"hortIP\030\002 \001(\t\022\025\n\tShortPort\030\003 \001(\r:\00280\022$\n\010L" +
"ongHost\030\004 \001(\t:\022long.weixin.qq.com\022\016\n\006Lon" +
"gIP\030\005 \001(\t\022\024\n\010LongPort\030\006 \001(\r:\00280\022\033\n\010Short" +
"Psk\030\007 \003(\0132\t.rock.Psk\022\024\n\014PskAccessKey\030\010 \001" +
"(\014\022 \n\007hkdfKey\030\t \001(\0132\017.rock.HkdfKey56\"a\n\t" +
"HkdfKey56\022\024\n\014EncodeAesKey\030\001 \001(\014\022\023\n\013Encod" +
"eNonce\030\002 \001(\014\022\024\n\014DecodeAesKey\030\003 \001(\014\022\023\n\013De" +
"codeNonce\030\004 \001(\014\"{\n\003Psk\022\014\n\004Kind\030\001 \001(\005\022\033\n\023" +
"TicketKLifeTimeHint\030\002 \001(\r\022\020\n\010MacValue\030\003 " +
"\001(\014\022\022\n\nKeyVersion\030\004 \001(\r\022\n\n\002Iv\030\005 \001(\014\022\027\n\017E" +
"ncryptedTicket\030\006 \001(\014B\017\n\rrock.protobuf"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
wechat.protobuf.Wechat.getDescriptor(),
});
internal_static_rock_RockDeviceInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_rock_RockDeviceInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_RockDeviceInfo_descriptor,
new java.lang.String[] { "UUIDOne", "UUIDTwo", "Imei", "DeviceID", "DeviceName", "TimeZone", "Language", "DeviceBrand", "RealCountry", "IphoneVer", "BundleID", "OsType", "AdSource", "OsTypeNumber", "CoreCount", "CarrierName", "SoftTypeXML", "ClientCheckDataXML", });
internal_static_rock_RockUser_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_rock_RockUser_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_RockUser_descriptor,
new java.lang.String[] { "Uuid", "Token", "Uin", "Wxid", "NotifyKey", "Cookie", "AesKey", "EcPublicKey", "EcPrivateKey", "TmpEcPublicKey", "TmpEcPrivateKey", "CheckSumKey", "AutoAuthKey", "SyncKey", "FavSyncKey", "SnsSyncKey", "DNSInfo", "SNSDnsInfo", "APPDnsInfo", "FAKEDnsInfo", "DeviceInfo", "BalanceVersion", "WifiInfo", "MMInfo", });
internal_static_rock_RockWifiInfo_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_rock_RockWifiInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_RockWifiInfo_descriptor,
new java.lang.String[] { "Name", "WifiBssID", });
internal_static_rock_RockMMInfo_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_rock_RockMMInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_RockMMInfo_descriptor,
new java.lang.String[] { "ShortHost", "ShortIP", "ShortPort", "LongHost", "LongIP", "LongPort", "ShortPsk", "PskAccessKey", "HkdfKey", });
internal_static_rock_HkdfKey56_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_rock_HkdfKey56_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_HkdfKey56_descriptor,
new java.lang.String[] { "EncodeAesKey", "EncodeNonce", "DecodeAesKey", "DecodeNonce", });
internal_static_rock_Psk_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_rock_Psk_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_rock_Psk_descriptor,
new java.lang.String[] { "Kind", "TicketKLifeTimeHint", "MacValue", "KeyVersion", "Iv", "EncryptedTicket", });
wechat.protobuf.Wechat.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy