Package com.google.cloud.translate.v3
Interface GlossaryTermOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GlossaryTerm,GlossaryTerm.Builder
@Generated
public interface GlossaryTermOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe language for this glossary term.com.google.protobuf.ByteStringThe language for this glossary term.getText()The text for the glossary term.com.google.protobuf.ByteStringThe text for the glossary term.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 for this glossary term.
string language_code = 1;- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()The language for this glossary term.
string language_code = 1;- Returns:
- The bytes for languageCode.
-
getText
String getText()The text for the glossary term.
string text = 2;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()The text for the glossary term.
string text = 2;- Returns:
- The bytes for text.
-