Interface AdaptiveMtTranslateResponseOrBuilder

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

@Generated public interface AdaptiveMtTranslateResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTranslationsList

      List<AdaptiveMtTranslation> getTranslationsList()
       Output only. The translation.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTranslations

      AdaptiveMtTranslation getTranslations(int index)
       Output only. The translation.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTranslationsCount

      int getTranslationsCount()
       Output only. The translation.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTranslationsOrBuilderList

      List<? extends AdaptiveMtTranslationOrBuilder> getTranslationsOrBuilderList()
       Output only. The translation.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTranslationsOrBuilder

      AdaptiveMtTranslationOrBuilder getTranslationsOrBuilder(int index)
       Output only. The translation.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLanguageCode

      String getLanguageCode()
       Output only. The translation's language code.
       
      string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Output only. The translation's language code.
       
      string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for languageCode.
    • getGlossaryTranslationsList

      List<AdaptiveMtTranslation> getGlossaryTranslationsList()
       Text translation response if a glossary is provided in the request. This
       could be the same as 'translation' above if no terms apply.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;
    • getGlossaryTranslations

      AdaptiveMtTranslation getGlossaryTranslations(int index)
       Text translation response if a glossary is provided in the request. This
       could be the same as 'translation' above if no terms apply.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;
    • getGlossaryTranslationsCount

      int getGlossaryTranslationsCount()
       Text translation response if a glossary is provided in the request. This
       could be the same as 'translation' above if no terms apply.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;
    • getGlossaryTranslationsOrBuilderList

      List<? extends AdaptiveMtTranslationOrBuilder> getGlossaryTranslationsOrBuilderList()
       Text translation response if a glossary is provided in the request. This
       could be the same as 'translation' above if no terms apply.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;
    • getGlossaryTranslationsOrBuilder

      AdaptiveMtTranslationOrBuilder getGlossaryTranslationsOrBuilder(int index)
       Text translation response if a glossary is provided in the request. This
       could be the same as 'translation' above if no terms apply.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;