// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: RegionInfo.proto
package emu.grasscutter.net.proto;
public final class RegionInfoOuterClass {
private RegionInfoOuterClass() {}
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 RegionInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:RegionInfo)
com.google.protobuf.MessageOrBuilder {
/**
* string ip = 1;
* @return The ip.
*/
java.lang.String getIp();
/**
* string ip = 1;
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* int32 port = 2;
* @return The port.
*/
int getPort();
/**
* string payCallbackUrl = 3;
* @return The payCallbackUrl.
*/
java.lang.String getPayCallbackUrl();
/**
* string payCallbackUrl = 3;
* @return The bytes for payCallbackUrl.
*/
com.google.protobuf.ByteString
getPayCallbackUrlBytes();
/**
* string areaType = 7;
* @return The areaType.
*/
java.lang.String getAreaType();
/**
* string areaType = 7;
* @return The bytes for areaType.
*/
com.google.protobuf.ByteString
getAreaTypeBytes();
/**
* string resourceUrl = 8;
* @return The resourceUrl.
*/
java.lang.String getResourceUrl();
/**
* string resourceUrl = 8;
* @return The bytes for resourceUrl.
*/
com.google.protobuf.ByteString
getResourceUrlBytes();
/**
* string dataUrl = 9;
* @return The dataUrl.
*/
java.lang.String getDataUrl();
/**
* string dataUrl = 9;
* @return The bytes for dataUrl.
*/
com.google.protobuf.ByteString
getDataUrlBytes();
/**
* string feedbackUrl = 10;
* @return The feedbackUrl.
*/
java.lang.String getFeedbackUrl();
/**
* string feedbackUrl = 10;
* @return The bytes for feedbackUrl.
*/
com.google.protobuf.ByteString
getFeedbackUrlBytes();
/**
* string bulletinUrl = 11;
* @return The bulletinUrl.
*/
java.lang.String getBulletinUrl();
/**
* string bulletinUrl = 11;
* @return The bytes for bulletinUrl.
*/
com.google.protobuf.ByteString
getBulletinUrlBytes();
/**
* string version = 12;
* @return The version.
*/
java.lang.String getVersion();
/**
* string version = 12;
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* int32 clientDataVersion = 14;
* @return The clientDataVersion.
*/
int getClientDataVersion();
/**
* int32 clientSilenceDataVersion = 18;
* @return The clientSilenceDataVersion.
*/
int getClientSilenceDataVersion();
/**
* string clientDataMd5 = 19;
* @return The clientDataMd5.
*/
java.lang.String getClientDataMd5();
/**
* string clientDataMd5 = 19;
* @return The bytes for clientDataMd5.
*/
com.google.protobuf.ByteString
getClientDataMd5Bytes();
/**
* string clientSilenceDataMd5 = 20;
* @return The clientSilenceDataMd5.
*/
java.lang.String getClientSilenceDataMd5();
/**
* string clientSilenceDataMd5 = 20;
* @return The bytes for clientSilenceDataMd5.
*/
com.google.protobuf.ByteString
getClientSilenceDataMd5Bytes();
/**
* .ResVersionConfig config = 22;
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
* .ResVersionConfig config = 22;
* @return The config.
*/
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getConfig();
/**
* .ResVersionConfig config = 22;
*/
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getConfigOrBuilder();
/**
* bytes secretKey = 23;
* @return The secretKey.
*/
com.google.protobuf.ByteString getSecretKey();
/**
* string communityUrl = 24;
* @return The communityUrl.
*/
java.lang.String getCommunityUrl();
/**
* string communityUrl = 24;
* @return The bytes for communityUrl.
*/
com.google.protobuf.ByteString
getCommunityUrlBytes();
/**
* string clientVersionSuffix = 26;
* @return The clientVersionSuffix.
*/
java.lang.String getClientVersionSuffix();
/**
* string clientVersionSuffix = 26;
* @return The bytes for clientVersionSuffix.
*/
com.google.protobuf.ByteString
getClientVersionSuffixBytes();
/**
* string clientSilenceVersionSuffix = 27;
* @return The clientSilenceVersionSuffix.
*/
java.lang.String getClientSilenceVersionSuffix();
/**
* string clientSilenceVersionSuffix = 27;
* @return The bytes for clientSilenceVersionSuffix.
*/
com.google.protobuf.ByteString
getClientSilenceVersionSuffixBytes();
/**
* string accountUrl = 31;
* @return The accountUrl.
*/
java.lang.String getAccountUrl();
/**
* string accountUrl = 31;
* @return The bytes for accountUrl.
*/
com.google.protobuf.ByteString
getAccountUrlBytes();
/**
* string cdkeyUrl = 32;
* @return The cdkeyUrl.
*/
java.lang.String getCdkeyUrl();
/**
* string cdkeyUrl = 32;
* @return The bytes for cdkeyUrl.
*/
com.google.protobuf.ByteString
getCdkeyUrlBytes();
/**
* string privacyUrl = 33;
* @return The privacyUrl.
*/
java.lang.String getPrivacyUrl();
/**
* string privacyUrl = 33;
* @return The bytes for privacyUrl.
*/
com.google.protobuf.ByteString
getPrivacyUrlBytes();
}
/**
* Protobuf type {@code RegionInfo}
*/
public static final class RegionInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:RegionInfo)
RegionInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use RegionInfo.newBuilder() to construct.
private RegionInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RegionInfo() {
ip_ = "";
payCallbackUrl_ = "";
areaType_ = "";
resourceUrl_ = "";
dataUrl_ = "";
feedbackUrl_ = "";
bulletinUrl_ = "";
version_ = "";
clientDataMd5_ = "";
clientSilenceDataMd5_ = "";
secretKey_ = com.google.protobuf.ByteString.EMPTY;
communityUrl_ = "";
clientVersionSuffix_ = "";
clientSilenceVersionSuffix_ = "";
accountUrl_ = "";
cdkeyUrl_ = "";
privacyUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RegionInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RegionInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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: {
java.lang.String s = input.readStringRequireUtf8();
ip_ = s;
break;
}
case 16: {
port_ = input.readInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
payCallbackUrl_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
areaType_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
resourceUrl_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
dataUrl_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
feedbackUrl_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
bulletinUrl_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
version_ = s;
break;
}
case 112: {
clientDataVersion_ = input.readInt32();
break;
}
case 144: {
clientSilenceDataVersion_ = input.readInt32();
break;
}
case 154: {
java.lang.String s = input.readStringRequireUtf8();
clientDataMd5_ = s;
break;
}
case 162: {
java.lang.String s = input.readStringRequireUtf8();
clientSilenceDataMd5_ = s;
break;
}
case 178: {
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder subBuilder = null;
if (config_ != null) {
subBuilder = config_.toBuilder();
}
config_ = input.readMessage(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(config_);
config_ = subBuilder.buildPartial();
}
break;
}
case 186: {
secretKey_ = input.readBytes();
break;
}
case 194: {
java.lang.String s = input.readStringRequireUtf8();
communityUrl_ = s;
break;
}
case 210: {
java.lang.String s = input.readStringRequireUtf8();
clientVersionSuffix_ = s;
break;
}
case 218: {
java.lang.String s = input.readStringRequireUtf8();
clientSilenceVersionSuffix_ = s;
break;
}
case 250: {
java.lang.String s = input.readStringRequireUtf8();
accountUrl_ = s;
break;
}
case 258: {
java.lang.String s = input.readStringRequireUtf8();
cdkeyUrl_ = s;
break;
}
case 266: {
java.lang.String s = input.readStringRequireUtf8();
privacyUrl_ = s;
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 emu.grasscutter.net.proto.RegionInfoOuterClass.internal_static_RegionInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.RegionInfoOuterClass.internal_static_RegionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.class, emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.Builder.class);
}
public static final int IP_FIELD_NUMBER = 1;
private volatile java.lang.Object ip_;
/**
* string ip = 1;
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
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();
ip_ = s;
return s;
}
}
/**
* string ip = 1;
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 2;
private int port_;
/**
* int32 port = 2;
* @return The port.
*/
@java.lang.Override
public int getPort() {
return port_;
}
public static final int PAYCALLBACKURL_FIELD_NUMBER = 3;
private volatile java.lang.Object payCallbackUrl_;
/**
* string payCallbackUrl = 3;
* @return The payCallbackUrl.
*/
@java.lang.Override
public java.lang.String getPayCallbackUrl() {
java.lang.Object ref = payCallbackUrl_;
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();
payCallbackUrl_ = s;
return s;
}
}
/**
* string payCallbackUrl = 3;
* @return The bytes for payCallbackUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPayCallbackUrlBytes() {
java.lang.Object ref = payCallbackUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
payCallbackUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AREATYPE_FIELD_NUMBER = 7;
private volatile java.lang.Object areaType_;
/**
* string areaType = 7;
* @return The areaType.
*/
@java.lang.Override
public java.lang.String getAreaType() {
java.lang.Object ref = areaType_;
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();
areaType_ = s;
return s;
}
}
/**
* string areaType = 7;
* @return The bytes for areaType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAreaTypeBytes() {
java.lang.Object ref = areaType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
areaType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESOURCEURL_FIELD_NUMBER = 8;
private volatile java.lang.Object resourceUrl_;
/**
* string resourceUrl = 8;
* @return The resourceUrl.
*/
@java.lang.Override
public java.lang.String getResourceUrl() {
java.lang.Object ref = resourceUrl_;
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();
resourceUrl_ = s;
return s;
}
}
/**
* string resourceUrl = 8;
* @return The bytes for resourceUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResourceUrlBytes() {
java.lang.Object ref = resourceUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATAURL_FIELD_NUMBER = 9;
private volatile java.lang.Object dataUrl_;
/**
* string dataUrl = 9;
* @return The dataUrl.
*/
@java.lang.Override
public java.lang.String getDataUrl() {
java.lang.Object ref = dataUrl_;
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();
dataUrl_ = s;
return s;
}
}
/**
* string dataUrl = 9;
* @return The bytes for dataUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataUrlBytes() {
java.lang.Object ref = dataUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FEEDBACKURL_FIELD_NUMBER = 10;
private volatile java.lang.Object feedbackUrl_;
/**
* string feedbackUrl = 10;
* @return The feedbackUrl.
*/
@java.lang.Override
public java.lang.String getFeedbackUrl() {
java.lang.Object ref = feedbackUrl_;
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();
feedbackUrl_ = s;
return s;
}
}
/**
* string feedbackUrl = 10;
* @return The bytes for feedbackUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFeedbackUrlBytes() {
java.lang.Object ref = feedbackUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feedbackUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BULLETINURL_FIELD_NUMBER = 11;
private volatile java.lang.Object bulletinUrl_;
/**
* string bulletinUrl = 11;
* @return The bulletinUrl.
*/
@java.lang.Override
public java.lang.String getBulletinUrl() {
java.lang.Object ref = bulletinUrl_;
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();
bulletinUrl_ = s;
return s;
}
}
/**
* string bulletinUrl = 11;
* @return The bytes for bulletinUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBulletinUrlBytes() {
java.lang.Object ref = bulletinUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bulletinUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 12;
private volatile java.lang.Object version_;
/**
* string version = 12;
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
* string version = 12;
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENTDATAVERSION_FIELD_NUMBER = 14;
private int clientDataVersion_;
/**
* int32 clientDataVersion = 14;
* @return The clientDataVersion.
*/
@java.lang.Override
public int getClientDataVersion() {
return clientDataVersion_;
}
public static final int CLIENTSILENCEDATAVERSION_FIELD_NUMBER = 18;
private int clientSilenceDataVersion_;
/**
* int32 clientSilenceDataVersion = 18;
* @return The clientSilenceDataVersion.
*/
@java.lang.Override
public int getClientSilenceDataVersion() {
return clientSilenceDataVersion_;
}
public static final int CLIENTDATAMD5_FIELD_NUMBER = 19;
private volatile java.lang.Object clientDataMd5_;
/**
* string clientDataMd5 = 19;
* @return The clientDataMd5.
*/
@java.lang.Override
public java.lang.String getClientDataMd5() {
java.lang.Object ref = clientDataMd5_;
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();
clientDataMd5_ = s;
return s;
}
}
/**
* string clientDataMd5 = 19;
* @return The bytes for clientDataMd5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientDataMd5Bytes() {
java.lang.Object ref = clientDataMd5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientDataMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENTSILENCEDATAMD5_FIELD_NUMBER = 20;
private volatile java.lang.Object clientSilenceDataMd5_;
/**
* string clientSilenceDataMd5 = 20;
* @return The clientSilenceDataMd5.
*/
@java.lang.Override
public java.lang.String getClientSilenceDataMd5() {
java.lang.Object ref = clientSilenceDataMd5_;
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();
clientSilenceDataMd5_ = s;
return s;
}
}
/**
* string clientSilenceDataMd5 = 20;
* @return The bytes for clientSilenceDataMd5.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientSilenceDataMd5Bytes() {
java.lang.Object ref = clientSilenceDataMd5_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSilenceDataMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_FIELD_NUMBER = 22;
private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig config_;
/**
* .ResVersionConfig config = 22;
* @return Whether the config field is set.
*/
@java.lang.Override
public boolean hasConfig() {
return config_ != null;
}
/**
* .ResVersionConfig config = 22;
* @return The config.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getConfig() {
return config_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : config_;
}
/**
* .ResVersionConfig config = 22;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getConfigOrBuilder() {
return getConfig();
}
public static final int SECRETKEY_FIELD_NUMBER = 23;
private com.google.protobuf.ByteString secretKey_;
/**
* bytes secretKey = 23;
* @return The secretKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSecretKey() {
return secretKey_;
}
public static final int COMMUNITYURL_FIELD_NUMBER = 24;
private volatile java.lang.Object communityUrl_;
/**
* string communityUrl = 24;
* @return The communityUrl.
*/
@java.lang.Override
public java.lang.String getCommunityUrl() {
java.lang.Object ref = communityUrl_;
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();
communityUrl_ = s;
return s;
}
}
/**
* string communityUrl = 24;
* @return The bytes for communityUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommunityUrlBytes() {
java.lang.Object ref = communityUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
communityUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENTVERSIONSUFFIX_FIELD_NUMBER = 26;
private volatile java.lang.Object clientVersionSuffix_;
/**
* string clientVersionSuffix = 26;
* @return The clientVersionSuffix.
*/
@java.lang.Override
public java.lang.String getClientVersionSuffix() {
java.lang.Object ref = clientVersionSuffix_;
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();
clientVersionSuffix_ = s;
return s;
}
}
/**
* string clientVersionSuffix = 26;
* @return The bytes for clientVersionSuffix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientVersionSuffixBytes() {
java.lang.Object ref = clientVersionSuffix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientVersionSuffix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENTSILENCEVERSIONSUFFIX_FIELD_NUMBER = 27;
private volatile java.lang.Object clientSilenceVersionSuffix_;
/**
* string clientSilenceVersionSuffix = 27;
* @return The clientSilenceVersionSuffix.
*/
@java.lang.Override
public java.lang.String getClientSilenceVersionSuffix() {
java.lang.Object ref = clientSilenceVersionSuffix_;
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();
clientSilenceVersionSuffix_ = s;
return s;
}
}
/**
* string clientSilenceVersionSuffix = 27;
* @return The bytes for clientSilenceVersionSuffix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClientSilenceVersionSuffixBytes() {
java.lang.Object ref = clientSilenceVersionSuffix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSilenceVersionSuffix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCOUNTURL_FIELD_NUMBER = 31;
private volatile java.lang.Object accountUrl_;
/**
* string accountUrl = 31;
* @return The accountUrl.
*/
@java.lang.Override
public java.lang.String getAccountUrl() {
java.lang.Object ref = accountUrl_;
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();
accountUrl_ = s;
return s;
}
}
/**
* string accountUrl = 31;
* @return The bytes for accountUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountUrlBytes() {
java.lang.Object ref = accountUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CDKEYURL_FIELD_NUMBER = 32;
private volatile java.lang.Object cdkeyUrl_;
/**
* string cdkeyUrl = 32;
* @return The cdkeyUrl.
*/
@java.lang.Override
public java.lang.String getCdkeyUrl() {
java.lang.Object ref = cdkeyUrl_;
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();
cdkeyUrl_ = s;
return s;
}
}
/**
* string cdkeyUrl = 32;
* @return The bytes for cdkeyUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCdkeyUrlBytes() {
java.lang.Object ref = cdkeyUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cdkeyUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIVACYURL_FIELD_NUMBER = 33;
private volatile java.lang.Object privacyUrl_;
/**
* string privacyUrl = 33;
* @return The privacyUrl.
*/
@java.lang.Override
public java.lang.String getPrivacyUrl() {
java.lang.Object ref = privacyUrl_;
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();
privacyUrl_ = s;
return s;
}
}
/**
* string privacyUrl = 33;
* @return The bytes for privacyUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivacyUrlBytes() {
java.lang.Object ref = privacyUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privacyUrl_ = 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 (!getIpBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ip_);
}
if (port_ != 0) {
output.writeInt32(2, port_);
}
if (!getPayCallbackUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, payCallbackUrl_);
}
if (!getAreaTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, areaType_);
}
if (!getResourceUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, resourceUrl_);
}
if (!getDataUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, dataUrl_);
}
if (!getFeedbackUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, feedbackUrl_);
}
if (!getBulletinUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, bulletinUrl_);
}
if (!getVersionBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, version_);
}
if (clientDataVersion_ != 0) {
output.writeInt32(14, clientDataVersion_);
}
if (clientSilenceDataVersion_ != 0) {
output.writeInt32(18, clientSilenceDataVersion_);
}
if (!getClientDataMd5Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, clientDataMd5_);
}
if (!getClientSilenceDataMd5Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 20, clientSilenceDataMd5_);
}
if (config_ != null) {
output.writeMessage(22, getConfig());
}
if (!secretKey_.isEmpty()) {
output.writeBytes(23, secretKey_);
}
if (!getCommunityUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 24, communityUrl_);
}
if (!getClientVersionSuffixBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 26, clientVersionSuffix_);
}
if (!getClientSilenceVersionSuffixBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 27, clientSilenceVersionSuffix_);
}
if (!getAccountUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 31, accountUrl_);
}
if (!getCdkeyUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 32, cdkeyUrl_);
}
if (!getPrivacyUrlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 33, privacyUrl_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIpBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ip_);
}
if (port_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, port_);
}
if (!getPayCallbackUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, payCallbackUrl_);
}
if (!getAreaTypeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, areaType_);
}
if (!getResourceUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, resourceUrl_);
}
if (!getDataUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, dataUrl_);
}
if (!getFeedbackUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, feedbackUrl_);
}
if (!getBulletinUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, bulletinUrl_);
}
if (!getVersionBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, version_);
}
if (clientDataVersion_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(14, clientDataVersion_);
}
if (clientSilenceDataVersion_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(18, clientSilenceDataVersion_);
}
if (!getClientDataMd5Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, clientDataMd5_);
}
if (!getClientSilenceDataMd5Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, clientSilenceDataMd5_);
}
if (config_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, getConfig());
}
if (!secretKey_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(23, secretKey_);
}
if (!getCommunityUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, communityUrl_);
}
if (!getClientVersionSuffixBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, clientVersionSuffix_);
}
if (!getClientSilenceVersionSuffixBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, clientSilenceVersionSuffix_);
}
if (!getAccountUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, accountUrl_);
}
if (!getCdkeyUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, cdkeyUrl_);
}
if (!getPrivacyUrlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, privacyUrl_);
}
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 emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo other = (emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo) obj;
if (!getIp()
.equals(other.getIp())) return false;
if (getPort()
!= other.getPort()) return false;
if (!getPayCallbackUrl()
.equals(other.getPayCallbackUrl())) return false;
if (!getAreaType()
.equals(other.getAreaType())) return false;
if (!getResourceUrl()
.equals(other.getResourceUrl())) return false;
if (!getDataUrl()
.equals(other.getDataUrl())) return false;
if (!getFeedbackUrl()
.equals(other.getFeedbackUrl())) return false;
if (!getBulletinUrl()
.equals(other.getBulletinUrl())) return false;
if (!getVersion()
.equals(other.getVersion())) return false;
if (getClientDataVersion()
!= other.getClientDataVersion()) return false;
if (getClientSilenceDataVersion()
!= other.getClientSilenceDataVersion()) return false;
if (!getClientDataMd5()
.equals(other.getClientDataMd5())) return false;
if (!getClientSilenceDataMd5()
.equals(other.getClientSilenceDataMd5())) return false;
if (hasConfig() != other.hasConfig()) return false;
if (hasConfig()) {
if (!getConfig()
.equals(other.getConfig())) return false;
}
if (!getSecretKey()
.equals(other.getSecretKey())) return false;
if (!getCommunityUrl()
.equals(other.getCommunityUrl())) return false;
if (!getClientVersionSuffix()
.equals(other.getClientVersionSuffix())) return false;
if (!getClientSilenceVersionSuffix()
.equals(other.getClientSilenceVersionSuffix())) return false;
if (!getAccountUrl()
.equals(other.getAccountUrl())) return false;
if (!getCdkeyUrl()
.equals(other.getCdkeyUrl())) return false;
if (!getPrivacyUrl()
.equals(other.getPrivacyUrl())) 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();
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort();
hash = (37 * hash) + PAYCALLBACKURL_FIELD_NUMBER;
hash = (53 * hash) + getPayCallbackUrl().hashCode();
hash = (37 * hash) + AREATYPE_FIELD_NUMBER;
hash = (53 * hash) + getAreaType().hashCode();
hash = (37 * hash) + RESOURCEURL_FIELD_NUMBER;
hash = (53 * hash) + getResourceUrl().hashCode();
hash = (37 * hash) + DATAURL_FIELD_NUMBER;
hash = (53 * hash) + getDataUrl().hashCode();
hash = (37 * hash) + FEEDBACKURL_FIELD_NUMBER;
hash = (53 * hash) + getFeedbackUrl().hashCode();
hash = (37 * hash) + BULLETINURL_FIELD_NUMBER;
hash = (53 * hash) + getBulletinUrl().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + CLIENTDATAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getClientDataVersion();
hash = (37 * hash) + CLIENTSILENCEDATAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getClientSilenceDataVersion();
hash = (37 * hash) + CLIENTDATAMD5_FIELD_NUMBER;
hash = (53 * hash) + getClientDataMd5().hashCode();
hash = (37 * hash) + CLIENTSILENCEDATAMD5_FIELD_NUMBER;
hash = (53 * hash) + getClientSilenceDataMd5().hashCode();
if (hasConfig()) {
hash = (37 * hash) + CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getConfig().hashCode();
}
hash = (37 * hash) + SECRETKEY_FIELD_NUMBER;
hash = (53 * hash) + getSecretKey().hashCode();
hash = (37 * hash) + COMMUNITYURL_FIELD_NUMBER;
hash = (53 * hash) + getCommunityUrl().hashCode();
hash = (37 * hash) + CLIENTVERSIONSUFFIX_FIELD_NUMBER;
hash = (53 * hash) + getClientVersionSuffix().hashCode();
hash = (37 * hash) + CLIENTSILENCEVERSIONSUFFIX_FIELD_NUMBER;
hash = (53 * hash) + getClientSilenceVersionSuffix().hashCode();
hash = (37 * hash) + ACCOUNTURL_FIELD_NUMBER;
hash = (53 * hash) + getAccountUrl().hashCode();
hash = (37 * hash) + CDKEYURL_FIELD_NUMBER;
hash = (53 * hash) + getCdkeyUrl().hashCode();
hash = (37 * hash) + PRIVACYURL_FIELD_NUMBER;
hash = (53 * hash) + getPrivacyUrl().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo 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 emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo 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 emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo 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(emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo 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 RegionInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:RegionInfo)
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.RegionInfoOuterClass.internal_static_RegionInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.RegionInfoOuterClass.internal_static_RegionInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.class, emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.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();
ip_ = "";
port_ = 0;
payCallbackUrl_ = "";
areaType_ = "";
resourceUrl_ = "";
dataUrl_ = "";
feedbackUrl_ = "";
bulletinUrl_ = "";
version_ = "";
clientDataVersion_ = 0;
clientSilenceDataVersion_ = 0;
clientDataMd5_ = "";
clientSilenceDataMd5_ = "";
if (configBuilder_ == null) {
config_ = null;
} else {
config_ = null;
configBuilder_ = null;
}
secretKey_ = com.google.protobuf.ByteString.EMPTY;
communityUrl_ = "";
clientVersionSuffix_ = "";
clientSilenceVersionSuffix_ = "";
accountUrl_ = "";
cdkeyUrl_ = "";
privacyUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.RegionInfoOuterClass.internal_static_RegionInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo build() {
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo buildPartial() {
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo result = new emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo(this);
result.ip_ = ip_;
result.port_ = port_;
result.payCallbackUrl_ = payCallbackUrl_;
result.areaType_ = areaType_;
result.resourceUrl_ = resourceUrl_;
result.dataUrl_ = dataUrl_;
result.feedbackUrl_ = feedbackUrl_;
result.bulletinUrl_ = bulletinUrl_;
result.version_ = version_;
result.clientDataVersion_ = clientDataVersion_;
result.clientSilenceDataVersion_ = clientSilenceDataVersion_;
result.clientDataMd5_ = clientDataMd5_;
result.clientSilenceDataMd5_ = clientSilenceDataMd5_;
if (configBuilder_ == null) {
result.config_ = config_;
} else {
result.config_ = configBuilder_.build();
}
result.secretKey_ = secretKey_;
result.communityUrl_ = communityUrl_;
result.clientVersionSuffix_ = clientVersionSuffix_;
result.clientSilenceVersionSuffix_ = clientSilenceVersionSuffix_;
result.accountUrl_ = accountUrl_;
result.cdkeyUrl_ = cdkeyUrl_;
result.privacyUrl_ = privacyUrl_;
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 emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo) {
return mergeFrom((emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo other) {
if (other == emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo.getDefaultInstance()) return this;
if (!other.getIp().isEmpty()) {
ip_ = other.ip_;
onChanged();
}
if (other.getPort() != 0) {
setPort(other.getPort());
}
if (!other.getPayCallbackUrl().isEmpty()) {
payCallbackUrl_ = other.payCallbackUrl_;
onChanged();
}
if (!other.getAreaType().isEmpty()) {
areaType_ = other.areaType_;
onChanged();
}
if (!other.getResourceUrl().isEmpty()) {
resourceUrl_ = other.resourceUrl_;
onChanged();
}
if (!other.getDataUrl().isEmpty()) {
dataUrl_ = other.dataUrl_;
onChanged();
}
if (!other.getFeedbackUrl().isEmpty()) {
feedbackUrl_ = other.feedbackUrl_;
onChanged();
}
if (!other.getBulletinUrl().isEmpty()) {
bulletinUrl_ = other.bulletinUrl_;
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (other.getClientDataVersion() != 0) {
setClientDataVersion(other.getClientDataVersion());
}
if (other.getClientSilenceDataVersion() != 0) {
setClientSilenceDataVersion(other.getClientSilenceDataVersion());
}
if (!other.getClientDataMd5().isEmpty()) {
clientDataMd5_ = other.clientDataMd5_;
onChanged();
}
if (!other.getClientSilenceDataMd5().isEmpty()) {
clientSilenceDataMd5_ = other.clientSilenceDataMd5_;
onChanged();
}
if (other.hasConfig()) {
mergeConfig(other.getConfig());
}
if (other.getSecretKey() != com.google.protobuf.ByteString.EMPTY) {
setSecretKey(other.getSecretKey());
}
if (!other.getCommunityUrl().isEmpty()) {
communityUrl_ = other.communityUrl_;
onChanged();
}
if (!other.getClientVersionSuffix().isEmpty()) {
clientVersionSuffix_ = other.clientVersionSuffix_;
onChanged();
}
if (!other.getClientSilenceVersionSuffix().isEmpty()) {
clientSilenceVersionSuffix_ = other.clientSilenceVersionSuffix_;
onChanged();
}
if (!other.getAccountUrl().isEmpty()) {
accountUrl_ = other.accountUrl_;
onChanged();
}
if (!other.getCdkeyUrl().isEmpty()) {
cdkeyUrl_ = other.cdkeyUrl_;
onChanged();
}
if (!other.getPrivacyUrl().isEmpty()) {
privacyUrl_ = other.privacyUrl_;
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 {
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object ip_ = "";
/**
* string ip = 1;
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ip_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ip = 1;
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ip = 1;
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ip_ = value;
onChanged();
return this;
}
/**
* string ip = 1;
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
onChanged();
return this;
}
/**
* string ip = 1;
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ip_ = value;
onChanged();
return this;
}
private int port_ ;
/**
* int32 port = 2;
* @return The port.
*/
@java.lang.Override
public int getPort() {
return port_;
}
/**
* int32 port = 2;
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(int value) {
port_ = value;
onChanged();
return this;
}
/**
* int32 port = 2;
* @return This builder for chaining.
*/
public Builder clearPort() {
port_ = 0;
onChanged();
return this;
}
private java.lang.Object payCallbackUrl_ = "";
/**
* string payCallbackUrl = 3;
* @return The payCallbackUrl.
*/
public java.lang.String getPayCallbackUrl() {
java.lang.Object ref = payCallbackUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
payCallbackUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string payCallbackUrl = 3;
* @return The bytes for payCallbackUrl.
*/
public com.google.protobuf.ByteString
getPayCallbackUrlBytes() {
java.lang.Object ref = payCallbackUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
payCallbackUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string payCallbackUrl = 3;
* @param value The payCallbackUrl to set.
* @return This builder for chaining.
*/
public Builder setPayCallbackUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
payCallbackUrl_ = value;
onChanged();
return this;
}
/**
* string payCallbackUrl = 3;
* @return This builder for chaining.
*/
public Builder clearPayCallbackUrl() {
payCallbackUrl_ = getDefaultInstance().getPayCallbackUrl();
onChanged();
return this;
}
/**
* string payCallbackUrl = 3;
* @param value The bytes for payCallbackUrl to set.
* @return This builder for chaining.
*/
public Builder setPayCallbackUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
payCallbackUrl_ = value;
onChanged();
return this;
}
private java.lang.Object areaType_ = "";
/**
* string areaType = 7;
* @return The areaType.
*/
public java.lang.String getAreaType() {
java.lang.Object ref = areaType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
areaType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string areaType = 7;
* @return The bytes for areaType.
*/
public com.google.protobuf.ByteString
getAreaTypeBytes() {
java.lang.Object ref = areaType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
areaType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string areaType = 7;
* @param value The areaType to set.
* @return This builder for chaining.
*/
public Builder setAreaType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
areaType_ = value;
onChanged();
return this;
}
/**
* string areaType = 7;
* @return This builder for chaining.
*/
public Builder clearAreaType() {
areaType_ = getDefaultInstance().getAreaType();
onChanged();
return this;
}
/**
* string areaType = 7;
* @param value The bytes for areaType to set.
* @return This builder for chaining.
*/
public Builder setAreaTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
areaType_ = value;
onChanged();
return this;
}
private java.lang.Object resourceUrl_ = "";
/**
* string resourceUrl = 8;
* @return The resourceUrl.
*/
public java.lang.String getResourceUrl() {
java.lang.Object ref = resourceUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resourceUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string resourceUrl = 8;
* @return The bytes for resourceUrl.
*/
public com.google.protobuf.ByteString
getResourceUrlBytes() {
java.lang.Object ref = resourceUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string resourceUrl = 8;
* @param value The resourceUrl to set.
* @return This builder for chaining.
*/
public Builder setResourceUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
resourceUrl_ = value;
onChanged();
return this;
}
/**
* string resourceUrl = 8;
* @return This builder for chaining.
*/
public Builder clearResourceUrl() {
resourceUrl_ = getDefaultInstance().getResourceUrl();
onChanged();
return this;
}
/**
* string resourceUrl = 8;
* @param value The bytes for resourceUrl to set.
* @return This builder for chaining.
*/
public Builder setResourceUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
resourceUrl_ = value;
onChanged();
return this;
}
private java.lang.Object dataUrl_ = "";
/**
* string dataUrl = 9;
* @return The dataUrl.
*/
public java.lang.String getDataUrl() {
java.lang.Object ref = dataUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dataUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string dataUrl = 9;
* @return The bytes for dataUrl.
*/
public com.google.protobuf.ByteString
getDataUrlBytes() {
java.lang.Object ref = dataUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string dataUrl = 9;
* @param value The dataUrl to set.
* @return This builder for chaining.
*/
public Builder setDataUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dataUrl_ = value;
onChanged();
return this;
}
/**
* string dataUrl = 9;
* @return This builder for chaining.
*/
public Builder clearDataUrl() {
dataUrl_ = getDefaultInstance().getDataUrl();
onChanged();
return this;
}
/**
* string dataUrl = 9;
* @param value The bytes for dataUrl to set.
* @return This builder for chaining.
*/
public Builder setDataUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dataUrl_ = value;
onChanged();
return this;
}
private java.lang.Object feedbackUrl_ = "";
/**
* string feedbackUrl = 10;
* @return The feedbackUrl.
*/
public java.lang.String getFeedbackUrl() {
java.lang.Object ref = feedbackUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
feedbackUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string feedbackUrl = 10;
* @return The bytes for feedbackUrl.
*/
public com.google.protobuf.ByteString
getFeedbackUrlBytes() {
java.lang.Object ref = feedbackUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
feedbackUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string feedbackUrl = 10;
* @param value The feedbackUrl to set.
* @return This builder for chaining.
*/
public Builder setFeedbackUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
feedbackUrl_ = value;
onChanged();
return this;
}
/**
* string feedbackUrl = 10;
* @return This builder for chaining.
*/
public Builder clearFeedbackUrl() {
feedbackUrl_ = getDefaultInstance().getFeedbackUrl();
onChanged();
return this;
}
/**
* string feedbackUrl = 10;
* @param value The bytes for feedbackUrl to set.
* @return This builder for chaining.
*/
public Builder setFeedbackUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
feedbackUrl_ = value;
onChanged();
return this;
}
private java.lang.Object bulletinUrl_ = "";
/**
* string bulletinUrl = 11;
* @return The bulletinUrl.
*/
public java.lang.String getBulletinUrl() {
java.lang.Object ref = bulletinUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bulletinUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string bulletinUrl = 11;
* @return The bytes for bulletinUrl.
*/
public com.google.protobuf.ByteString
getBulletinUrlBytes() {
java.lang.Object ref = bulletinUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bulletinUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string bulletinUrl = 11;
* @param value The bulletinUrl to set.
* @return This builder for chaining.
*/
public Builder setBulletinUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bulletinUrl_ = value;
onChanged();
return this;
}
/**
* string bulletinUrl = 11;
* @return This builder for chaining.
*/
public Builder clearBulletinUrl() {
bulletinUrl_ = getDefaultInstance().getBulletinUrl();
onChanged();
return this;
}
/**
* string bulletinUrl = 11;
* @param value The bytes for bulletinUrl to set.
* @return This builder for chaining.
*/
public Builder setBulletinUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bulletinUrl_ = value;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
* string version = 12;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string version = 12;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string version = 12;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
* string version = 12;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* string version = 12;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private int clientDataVersion_ ;
/**
* int32 clientDataVersion = 14;
* @return The clientDataVersion.
*/
@java.lang.Override
public int getClientDataVersion() {
return clientDataVersion_;
}
/**
* int32 clientDataVersion = 14;
* @param value The clientDataVersion to set.
* @return This builder for chaining.
*/
public Builder setClientDataVersion(int value) {
clientDataVersion_ = value;
onChanged();
return this;
}
/**
* int32 clientDataVersion = 14;
* @return This builder for chaining.
*/
public Builder clearClientDataVersion() {
clientDataVersion_ = 0;
onChanged();
return this;
}
private int clientSilenceDataVersion_ ;
/**
* int32 clientSilenceDataVersion = 18;
* @return The clientSilenceDataVersion.
*/
@java.lang.Override
public int getClientSilenceDataVersion() {
return clientSilenceDataVersion_;
}
/**
* int32 clientSilenceDataVersion = 18;
* @param value The clientSilenceDataVersion to set.
* @return This builder for chaining.
*/
public Builder setClientSilenceDataVersion(int value) {
clientSilenceDataVersion_ = value;
onChanged();
return this;
}
/**
* int32 clientSilenceDataVersion = 18;
* @return This builder for chaining.
*/
public Builder clearClientSilenceDataVersion() {
clientSilenceDataVersion_ = 0;
onChanged();
return this;
}
private java.lang.Object clientDataMd5_ = "";
/**
* string clientDataMd5 = 19;
* @return The clientDataMd5.
*/
public java.lang.String getClientDataMd5() {
java.lang.Object ref = clientDataMd5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientDataMd5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string clientDataMd5 = 19;
* @return The bytes for clientDataMd5.
*/
public com.google.protobuf.ByteString
getClientDataMd5Bytes() {
java.lang.Object ref = clientDataMd5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientDataMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string clientDataMd5 = 19;
* @param value The clientDataMd5 to set.
* @return This builder for chaining.
*/
public Builder setClientDataMd5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clientDataMd5_ = value;
onChanged();
return this;
}
/**
* string clientDataMd5 = 19;
* @return This builder for chaining.
*/
public Builder clearClientDataMd5() {
clientDataMd5_ = getDefaultInstance().getClientDataMd5();
onChanged();
return this;
}
/**
* string clientDataMd5 = 19;
* @param value The bytes for clientDataMd5 to set.
* @return This builder for chaining.
*/
public Builder setClientDataMd5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientDataMd5_ = value;
onChanged();
return this;
}
private java.lang.Object clientSilenceDataMd5_ = "";
/**
* string clientSilenceDataMd5 = 20;
* @return The clientSilenceDataMd5.
*/
public java.lang.String getClientSilenceDataMd5() {
java.lang.Object ref = clientSilenceDataMd5_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientSilenceDataMd5_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string clientSilenceDataMd5 = 20;
* @return The bytes for clientSilenceDataMd5.
*/
public com.google.protobuf.ByteString
getClientSilenceDataMd5Bytes() {
java.lang.Object ref = clientSilenceDataMd5_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSilenceDataMd5_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string clientSilenceDataMd5 = 20;
* @param value The clientSilenceDataMd5 to set.
* @return This builder for chaining.
*/
public Builder setClientSilenceDataMd5(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clientSilenceDataMd5_ = value;
onChanged();
return this;
}
/**
* string clientSilenceDataMd5 = 20;
* @return This builder for chaining.
*/
public Builder clearClientSilenceDataMd5() {
clientSilenceDataMd5_ = getDefaultInstance().getClientSilenceDataMd5();
onChanged();
return this;
}
/**
* string clientSilenceDataMd5 = 20;
* @param value The bytes for clientSilenceDataMd5 to set.
* @return This builder for chaining.
*/
public Builder setClientSilenceDataMd5Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientSilenceDataMd5_ = value;
onChanged();
return this;
}
private emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig config_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder> configBuilder_;
/**
* .ResVersionConfig config = 22;
* @return Whether the config field is set.
*/
public boolean hasConfig() {
return configBuilder_ != null || config_ != null;
}
/**
* .ResVersionConfig config = 22;
* @return The config.
*/
public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig getConfig() {
if (configBuilder_ == null) {
return config_ == null ? emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : config_;
} else {
return configBuilder_.getMessage();
}
}
/**
* .ResVersionConfig config = 22;
*/
public Builder setConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) {
if (configBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
config_ = value;
onChanged();
} else {
configBuilder_.setMessage(value);
}
return this;
}
/**
* .ResVersionConfig config = 22;
*/
public Builder setConfig(
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder builderForValue) {
if (configBuilder_ == null) {
config_ = builderForValue.build();
onChanged();
} else {
configBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .ResVersionConfig config = 22;
*/
public Builder mergeConfig(emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig value) {
if (configBuilder_ == null) {
if (config_ != null) {
config_ =
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.newBuilder(config_).mergeFrom(value).buildPartial();
} else {
config_ = value;
}
onChanged();
} else {
configBuilder_.mergeFrom(value);
}
return this;
}
/**
* .ResVersionConfig config = 22;
*/
public Builder clearConfig() {
if (configBuilder_ == null) {
config_ = null;
onChanged();
} else {
config_ = null;
configBuilder_ = null;
}
return this;
}
/**
* .ResVersionConfig config = 22;
*/
public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder getConfigBuilder() {
onChanged();
return getConfigFieldBuilder().getBuilder();
}
/**
* .ResVersionConfig config = 22;
*/
public emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder getConfigOrBuilder() {
if (configBuilder_ != null) {
return configBuilder_.getMessageOrBuilder();
} else {
return config_ == null ?
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.getDefaultInstance() : config_;
}
}
/**
* .ResVersionConfig config = 22;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder>
getConfigFieldBuilder() {
if (configBuilder_ == null) {
configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfig.Builder, emu.grasscutter.net.proto.ResVersionConfigOuterClass.ResVersionConfigOrBuilder>(
getConfig(),
getParentForChildren(),
isClean());
config_ = null;
}
return configBuilder_;
}
private com.google.protobuf.ByteString secretKey_ = com.google.protobuf.ByteString.EMPTY;
/**
* bytes secretKey = 23;
* @return The secretKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSecretKey() {
return secretKey_;
}
/**
* bytes secretKey = 23;
* @param value The secretKey to set.
* @return This builder for chaining.
*/
public Builder setSecretKey(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
secretKey_ = value;
onChanged();
return this;
}
/**
* bytes secretKey = 23;
* @return This builder for chaining.
*/
public Builder clearSecretKey() {
secretKey_ = getDefaultInstance().getSecretKey();
onChanged();
return this;
}
private java.lang.Object communityUrl_ = "";
/**
* string communityUrl = 24;
* @return The communityUrl.
*/
public java.lang.String getCommunityUrl() {
java.lang.Object ref = communityUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
communityUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string communityUrl = 24;
* @return The bytes for communityUrl.
*/
public com.google.protobuf.ByteString
getCommunityUrlBytes() {
java.lang.Object ref = communityUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
communityUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string communityUrl = 24;
* @param value The communityUrl to set.
* @return This builder for chaining.
*/
public Builder setCommunityUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
communityUrl_ = value;
onChanged();
return this;
}
/**
* string communityUrl = 24;
* @return This builder for chaining.
*/
public Builder clearCommunityUrl() {
communityUrl_ = getDefaultInstance().getCommunityUrl();
onChanged();
return this;
}
/**
* string communityUrl = 24;
* @param value The bytes for communityUrl to set.
* @return This builder for chaining.
*/
public Builder setCommunityUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
communityUrl_ = value;
onChanged();
return this;
}
private java.lang.Object clientVersionSuffix_ = "";
/**
* string clientVersionSuffix = 26;
* @return The clientVersionSuffix.
*/
public java.lang.String getClientVersionSuffix() {
java.lang.Object ref = clientVersionSuffix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientVersionSuffix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string clientVersionSuffix = 26;
* @return The bytes for clientVersionSuffix.
*/
public com.google.protobuf.ByteString
getClientVersionSuffixBytes() {
java.lang.Object ref = clientVersionSuffix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientVersionSuffix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string clientVersionSuffix = 26;
* @param value The clientVersionSuffix to set.
* @return This builder for chaining.
*/
public Builder setClientVersionSuffix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clientVersionSuffix_ = value;
onChanged();
return this;
}
/**
* string clientVersionSuffix = 26;
* @return This builder for chaining.
*/
public Builder clearClientVersionSuffix() {
clientVersionSuffix_ = getDefaultInstance().getClientVersionSuffix();
onChanged();
return this;
}
/**
* string clientVersionSuffix = 26;
* @param value The bytes for clientVersionSuffix to set.
* @return This builder for chaining.
*/
public Builder setClientVersionSuffixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientVersionSuffix_ = value;
onChanged();
return this;
}
private java.lang.Object clientSilenceVersionSuffix_ = "";
/**
* string clientSilenceVersionSuffix = 27;
* @return The clientSilenceVersionSuffix.
*/
public java.lang.String getClientSilenceVersionSuffix() {
java.lang.Object ref = clientSilenceVersionSuffix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clientSilenceVersionSuffix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string clientSilenceVersionSuffix = 27;
* @return The bytes for clientSilenceVersionSuffix.
*/
public com.google.protobuf.ByteString
getClientSilenceVersionSuffixBytes() {
java.lang.Object ref = clientSilenceVersionSuffix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clientSilenceVersionSuffix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string clientSilenceVersionSuffix = 27;
* @param value The clientSilenceVersionSuffix to set.
* @return This builder for chaining.
*/
public Builder setClientSilenceVersionSuffix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clientSilenceVersionSuffix_ = value;
onChanged();
return this;
}
/**
* string clientSilenceVersionSuffix = 27;
* @return This builder for chaining.
*/
public Builder clearClientSilenceVersionSuffix() {
clientSilenceVersionSuffix_ = getDefaultInstance().getClientSilenceVersionSuffix();
onChanged();
return this;
}
/**
* string clientSilenceVersionSuffix = 27;
* @param value The bytes for clientSilenceVersionSuffix to set.
* @return This builder for chaining.
*/
public Builder setClientSilenceVersionSuffixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clientSilenceVersionSuffix_ = value;
onChanged();
return this;
}
private java.lang.Object accountUrl_ = "";
/**
* string accountUrl = 31;
* @return The accountUrl.
*/
public java.lang.String getAccountUrl() {
java.lang.Object ref = accountUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string accountUrl = 31;
* @return The bytes for accountUrl.
*/
public com.google.protobuf.ByteString
getAccountUrlBytes() {
java.lang.Object ref = accountUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string accountUrl = 31;
* @param value The accountUrl to set.
* @return This builder for chaining.
*/
public Builder setAccountUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountUrl_ = value;
onChanged();
return this;
}
/**
* string accountUrl = 31;
* @return This builder for chaining.
*/
public Builder clearAccountUrl() {
accountUrl_ = getDefaultInstance().getAccountUrl();
onChanged();
return this;
}
/**
* string accountUrl = 31;
* @param value The bytes for accountUrl to set.
* @return This builder for chaining.
*/
public Builder setAccountUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountUrl_ = value;
onChanged();
return this;
}
private java.lang.Object cdkeyUrl_ = "";
/**
* string cdkeyUrl = 32;
* @return The cdkeyUrl.
*/
public java.lang.String getCdkeyUrl() {
java.lang.Object ref = cdkeyUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cdkeyUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cdkeyUrl = 32;
* @return The bytes for cdkeyUrl.
*/
public com.google.protobuf.ByteString
getCdkeyUrlBytes() {
java.lang.Object ref = cdkeyUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cdkeyUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cdkeyUrl = 32;
* @param value The cdkeyUrl to set.
* @return This builder for chaining.
*/
public Builder setCdkeyUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cdkeyUrl_ = value;
onChanged();
return this;
}
/**
* string cdkeyUrl = 32;
* @return This builder for chaining.
*/
public Builder clearCdkeyUrl() {
cdkeyUrl_ = getDefaultInstance().getCdkeyUrl();
onChanged();
return this;
}
/**
* string cdkeyUrl = 32;
* @param value The bytes for cdkeyUrl to set.
* @return This builder for chaining.
*/
public Builder setCdkeyUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cdkeyUrl_ = value;
onChanged();
return this;
}
private java.lang.Object privacyUrl_ = "";
/**
* string privacyUrl = 33;
* @return The privacyUrl.
*/
public java.lang.String getPrivacyUrl() {
java.lang.Object ref = privacyUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
privacyUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string privacyUrl = 33;
* @return The bytes for privacyUrl.
*/
public com.google.protobuf.ByteString
getPrivacyUrlBytes() {
java.lang.Object ref = privacyUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privacyUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string privacyUrl = 33;
* @param value The privacyUrl to set.
* @return This builder for chaining.
*/
public Builder setPrivacyUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
privacyUrl_ = value;
onChanged();
return this;
}
/**
* string privacyUrl = 33;
* @return This builder for chaining.
*/
public Builder clearPrivacyUrl() {
privacyUrl_ = getDefaultInstance().getPrivacyUrl();
onChanged();
return this;
}
/**
* string privacyUrl = 33;
* @param value The bytes for privacyUrl to set.
* @return This builder for chaining.
*/
public Builder setPrivacyUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
privacyUrl_ = 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:RegionInfo)
}
// @@protoc_insertion_point(class_scope:RegionInfo)
private static final emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo();
}
public static emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RegionInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RegionInfo(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 emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_RegionInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_RegionInfo_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\020RegionInfo.proto\032\026ResVersionConfig.pro" +
"to\"\352\003\n\nRegionInfo\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 " +
"\001(\005\022\026\n\016payCallbackUrl\030\003 \001(\t\022\020\n\010areaType\030" +
"\007 \001(\t\022\023\n\013resourceUrl\030\010 \001(\t\022\017\n\007dataUrl\030\t " +
"\001(\t\022\023\n\013feedbackUrl\030\n \001(\t\022\023\n\013bulletinUrl\030" +
"\013 \001(\t\022\017\n\007version\030\014 \001(\t\022\031\n\021clientDataVers" +
"ion\030\016 \001(\005\022 \n\030clientSilenceDataVersion\030\022 " +
"\001(\005\022\025\n\rclientDataMd5\030\023 \001(\t\022\034\n\024clientSile" +
"nceDataMd5\030\024 \001(\t\022!\n\006config\030\026 \001(\0132\021.ResVe" +
"rsionConfig\022\021\n\tsecretKey\030\027 \001(\014\022\024\n\014commun" +
"ityUrl\030\030 \001(\t\022\033\n\023clientVersionSuffix\030\032 \001(" +
"\t\022\"\n\032clientSilenceVersionSuffix\030\033 \001(\t\022\022\n" +
"\naccountUrl\030\037 \001(\t\022\020\n\010cdkeyUrl\030 \001(\t\022\022\n\np" +
"rivacyUrl\030! \001(\tB\033\n\031emu.grasscutter.net.p" +
"rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor(),
});
internal_static_RegionInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_RegionInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_RegionInfo_descriptor,
new java.lang.String[] { "Ip", "Port", "PayCallbackUrl", "AreaType", "ResourceUrl", "DataUrl", "FeedbackUrl", "BulletinUrl", "Version", "ClientDataVersion", "ClientSilenceDataVersion", "ClientDataMd5", "ClientSilenceDataMd5", "Config", "SecretKey", "CommunityUrl", "ClientVersionSuffix", "ClientSilenceVersionSuffix", "AccountUrl", "CdkeyUrl", "PrivacyUrl", });
emu.grasscutter.net.proto.ResVersionConfigOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}