Interface GlossaryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Glossary, Glossary.Builder

    public interface GlossaryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Required. The resource name of the glossary. Glossary names have the form
         `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the glossary. Glossary names have the form
         `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • hasLanguagePair

        boolean hasLanguagePair()
         Used with unidirectional glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3;
        Returns:
        Whether the languagePair field is set.
      • getLanguagePair

        Glossary.LanguageCodePair getLanguagePair()
         Used with unidirectional glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3;
        Returns:
        The languagePair.
      • getLanguagePairOrBuilder

        Glossary.LanguageCodePairOrBuilder getLanguagePairOrBuilder()
         Used with unidirectional glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodePair language_pair = 3;
      • hasLanguageCodesSet

        boolean hasLanguageCodesSet()
         Used with equivalent term set glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4;
        Returns:
        Whether the languageCodesSet field is set.
      • getLanguageCodesSet

        Glossary.LanguageCodesSet getLanguageCodesSet()
         Used with equivalent term set glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4;
        Returns:
        The languageCodesSet.
      • getLanguageCodesSetOrBuilder

        Glossary.LanguageCodesSetOrBuilder getLanguageCodesSetOrBuilder()
         Used with equivalent term set glossaries.
         
        .google.cloud.translation.v3beta1.Glossary.LanguageCodesSet language_codes_set = 4;
      • hasInputConfig

        boolean hasInputConfig()
         Required. Provides examples to build the glossary from.
         Total glossary must not exceed 10M Unicode codepoints.
         
        .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5;
        Returns:
        Whether the inputConfig field is set.
      • getInputConfig

        GlossaryInputConfig getInputConfig()
         Required. Provides examples to build the glossary from.
         Total glossary must not exceed 10M Unicode codepoints.
         
        .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5;
        Returns:
        The inputConfig.
      • getInputConfigOrBuilder

        GlossaryInputConfigOrBuilder getInputConfigOrBuilder()
         Required. Provides examples to build the glossary from.
         Total glossary must not exceed 10M Unicode codepoints.
         
        .google.cloud.translation.v3beta1.GlossaryInputConfig input_config = 5;
      • getEntryCount

        int getEntryCount()
         Output only. The number of entries defined in the glossary.
         
        int32 entry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The entryCount.
      • hasSubmitTime

        boolean hasSubmitTime()
         Output only. When CreateGlossary was called.
         
        .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the submitTime field is set.
      • getSubmitTime

        com.google.protobuf.Timestamp getSubmitTime()
         Output only. When CreateGlossary was called.
         
        .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The submitTime.
      • getSubmitTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getSubmitTimeOrBuilder()
         Output only. When CreateGlossary was called.
         
        .google.protobuf.Timestamp submit_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasEndTime

        boolean hasEndTime()
         Output only. When the glossary creation was finished.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the endTime field is set.
      • getEndTime

        com.google.protobuf.Timestamp getEndTime()
         Output only. When the glossary creation was finished.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The endTime.
      • getEndTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
         Output only. When the glossary creation was finished.
         
        .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];