public interface GlossaryEntryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDataCase()
public abstract GlossaryEntry.DataCase getDataCase()
Returns | |
---|---|
Type | Description |
GlossaryEntry.DataCase |
getDescription()
public abstract String getDescription()
Describes the glossary entry.
string description = 4;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
Describes the glossary entry.
string description = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getName()
public abstract String getName()
Identifier. The resource name of the entry.
Format:
projects/*/locations/*/glossaries/*/glossaryEntries/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. The resource name of the entry.
Format:
projects/*/locations/*/glossaries/*/glossaryEntries/*
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getTermsPair()
public abstract GlossaryEntry.GlossaryTermsPair getTermsPair()
Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;
Returns | |
---|---|
Type | Description |
GlossaryEntry.GlossaryTermsPair |
The termsPair. |
getTermsPairOrBuilder()
public abstract GlossaryEntry.GlossaryTermsPairOrBuilder getTermsPairOrBuilder()
Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;
Returns | |
---|---|
Type | Description |
GlossaryEntry.GlossaryTermsPairOrBuilder |
getTermsSet()
public abstract GlossaryEntry.GlossaryTermsSet getTermsSet()
Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;
Returns | |
---|---|
Type | Description |
GlossaryEntry.GlossaryTermsSet |
The termsSet. |
getTermsSetOrBuilder()
public abstract GlossaryEntry.GlossaryTermsSetOrBuilder getTermsSetOrBuilder()
Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;
Returns | |
---|---|
Type | Description |
GlossaryEntry.GlossaryTermsSetOrBuilder |
hasTermsPair()
public abstract boolean hasTermsPair()
Used for an unidirectional glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the termsPair field is set. |
hasTermsSet()
public abstract boolean hasTermsSet()
Used for an equivalent term sets glossary.
.google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the termsSet field is set. |