Interface TextMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextMetadata,TextMetadata.Builder
@Generated
public interface TextMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).com.google.protobuf.ByteStringThe language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).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 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.
-