public static final class BaseRpc.Locale extends com.google.protobuf.GeneratedMessage implements BaseRpc.LocaleOrBuilder
Locale| Modifier and Type | Class and Description |
|---|---|
static class |
BaseRpc.Locale.Builder
Protobuf type
Locale |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
COUNTRY_FIELD_NUMBER |
static int |
LANGUAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<BaseRpc.Locale> |
PARSER |
static int |
VARIANT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountry()
required string country = 1; |
com.google.protobuf.ByteString |
getCountryBytes()
required string country = 1; |
static BaseRpc.Locale |
getDefaultInstance() |
BaseRpc.Locale |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLanguage()
required string language = 2; |
com.google.protobuf.ByteString |
getLanguageBytes()
required string language = 2; |
com.google.protobuf.Parser<BaseRpc.Locale> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVariant()
optional string variant = 3; |
com.google.protobuf.ByteString |
getVariantBytes()
optional string variant = 3; |
boolean |
hasCountry()
required string country = 1; |
boolean |
hasLanguage()
required string language = 2; |
boolean |
hasVariant()
optional string variant = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BaseRpc.Locale.Builder |
newBuilder() |
static BaseRpc.Locale.Builder |
newBuilder(BaseRpc.Locale prototype) |
BaseRpc.Locale.Builder |
newBuilderForType() |
protected BaseRpc.Locale.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static BaseRpc.Locale |
parseDelimitedFrom(InputStream input) |
static BaseRpc.Locale |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaseRpc.Locale |
parseFrom(byte[] data) |
static BaseRpc.Locale |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaseRpc.Locale |
parseFrom(com.google.protobuf.ByteString data) |
static BaseRpc.Locale |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaseRpc.Locale |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BaseRpc.Locale |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BaseRpc.Locale |
parseFrom(InputStream input) |
static BaseRpc.Locale |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BaseRpc.Locale.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<BaseRpc.Locale> PARSER
public static final int COUNTRY_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static final int VARIANT_FIELD_NUMBER
public static BaseRpc.Locale getDefaultInstance()
public BaseRpc.Locale getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<BaseRpc.Locale> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasCountry()
required string country = 1;hasCountry in interface BaseRpc.LocaleOrBuilderpublic String getCountry()
required string country = 1;getCountry in interface BaseRpc.LocaleOrBuilderpublic com.google.protobuf.ByteString getCountryBytes()
required string country = 1;getCountryBytes in interface BaseRpc.LocaleOrBuilderpublic boolean hasLanguage()
required string language = 2;hasLanguage in interface BaseRpc.LocaleOrBuilderpublic String getLanguage()
required string language = 2;getLanguage in interface BaseRpc.LocaleOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
required string language = 2;getLanguageBytes in interface BaseRpc.LocaleOrBuilderpublic boolean hasVariant()
optional string variant = 3;hasVariant in interface BaseRpc.LocaleOrBuilderpublic String getVariant()
optional string variant = 3;getVariant in interface BaseRpc.LocaleOrBuilderpublic com.google.protobuf.ByteString getVariantBytes()
optional string variant = 3;getVariantBytes in interface BaseRpc.LocaleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static BaseRpc.Locale parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaseRpc.Locale parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaseRpc.Locale parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaseRpc.Locale parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BaseRpc.Locale parseFrom(InputStream input) throws IOException
IOExceptionpublic static BaseRpc.Locale parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaseRpc.Locale parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BaseRpc.Locale parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaseRpc.Locale parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BaseRpc.Locale parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BaseRpc.Locale.Builder newBuilder()
public BaseRpc.Locale.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BaseRpc.Locale.Builder newBuilder(BaseRpc.Locale prototype)
public BaseRpc.Locale.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BaseRpc.Locale.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2020. All rights reserved.