Interface TextMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextMetadata
,TextMetadata.Builder
public interface TextMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLanguageCode()
The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).com.google.protobuf.ByteString
getLanguageCodeBytes()
The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLanguageCode
String getLanguageCode()
The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US.
string language_code = 1;
- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()
The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US.
string language_code = 1;
- Returns:
- The bytes for languageCode.
-
-