Interface TranslateTextGlossaryConfigOrBuilder

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

@Generated public interface TranslateTextGlossaryConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getGlossary

      String getGlossary()
       Required. Specifies the glossary used for this translation. Use
       this format: projects/*/locations/*/glossaries/*
       
      string glossary = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The glossary.
    • getGlossaryBytes

      com.google.protobuf.ByteString getGlossaryBytes()
       Required. Specifies the glossary used for this translation. Use
       this format: projects/*/locations/*/glossaries/*
       
      string glossary = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for glossary.
    • getIgnoreCase

      boolean getIgnoreCase()
       Optional. Indicates match is case-insensitive.
       Default value is false if missing.
       
      bool ignore_case = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The ignoreCase.
    • getContextualTranslationEnabled

      boolean getContextualTranslationEnabled()
       Optional. If set to true, the glossary will be used for contextual
       translation.
       
      bool contextual_translation_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The contextualTranslationEnabled.