Package com.google.cloud.translate.v3
Interface GlossaryEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GlossaryEntry,GlossaryEntry.Builder
@Generated
public interface GlossaryEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescribes the glossary entry.com.google.protobuf.ByteStringDescribes the glossary entry.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Used for an unidirectional glossary.Used for an unidirectional glossary.Used for an equivalent term sets glossary.Used for an equivalent term sets glossary.booleanUsed for an unidirectional glossary.booleanUsed for an equivalent term sets glossary.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
-
getName
String getName()Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasTermsPair
boolean hasTermsPair()Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;- Returns:
- Whether the termsPair field is set.
-
getTermsPair
GlossaryEntry.GlossaryTermsPair getTermsPair()Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;- Returns:
- The termsPair.
-
getTermsPairOrBuilder
GlossaryEntry.GlossaryTermsPairOrBuilder getTermsPairOrBuilder()Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2; -
hasTermsSet
boolean hasTermsSet()Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;- Returns:
- Whether the termsSet field is set.
-
getTermsSet
GlossaryEntry.GlossaryTermsSet getTermsSet()Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;- Returns:
- The termsSet.
-
getTermsSetOrBuilder
GlossaryEntry.GlossaryTermsSetOrBuilder getTermsSetOrBuilder()Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3; -
getDescription
String getDescription()Describes the glossary entry.
string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Describes the glossary entry.
string description = 4;- Returns:
- The bytes for description.
-
getDataCase
GlossaryEntry.DataCase getDataCase()
-