Interface LanguageInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LanguageInfo,LanguageInfo.Builder
@Generated
public interface LanguageInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.The language code for the DataStore.com.google.protobuf.ByteStringThe language code for the DataStore.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLanguageCode
String getLanguageCode()The language code for the DataStore.
string language_code = 1;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()The language code for the DataStore.
string language_code = 1;- Returns:
- The bytes for languageCode.
-
getNormalizedLanguageCode
String getNormalizedLanguageCode()Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
string normalized_language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The normalizedLanguageCode.
-
getNormalizedLanguageCodeBytes
com.google.protobuf.ByteString getNormalizedLanguageCodeBytes()Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.
string normalized_language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for normalizedLanguageCode.
-
getLanguage
String getLanguage()Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`.
string language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The language.
-
getLanguageBytes
com.google.protobuf.ByteString getLanguageBytes()Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`.
string language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for language.
-
getRegion
String getRegion()Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
string region = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
string region = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for region.
-