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 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

       Used for an unidirectional glossary.
       
      .google.cloud.translation.v3.GlossaryEntry.GlossaryTermsPair terms_pair = 2;
      Returns:
      The termsPair.
    • 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

       Used for an equivalent term sets glossary.
       
      .google.cloud.translation.v3.GlossaryEntry.GlossaryTermsSet terms_set = 3;
      Returns:
      The termsSet.
    • 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()