Interface AdaptiveMtTranslateRequest.ReferenceSentenceConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdaptiveMtTranslateRequest.ReferenceSentenceConfig, AdaptiveMtTranslateRequest.ReferenceSentenceConfig.Builder
Enclosing class:
AdaptiveMtTranslateRequest

public static interface AdaptiveMtTranslateRequest.ReferenceSentenceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getReferenceSentencePairListsList

      List<AdaptiveMtTranslateRequest.ReferenceSentencePairList> getReferenceSentencePairListsList()
       Reference sentences pair lists. Each list will be used as the references
       to translate the sentence under "content" field at the corresponding
       index. Length of the list is required to be equal to the length of
       "content" field.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairList reference_sentence_pair_lists = 1;
    • getReferenceSentencePairLists

      AdaptiveMtTranslateRequest.ReferenceSentencePairList getReferenceSentencePairLists(int index)
       Reference sentences pair lists. Each list will be used as the references
       to translate the sentence under "content" field at the corresponding
       index. Length of the list is required to be equal to the length of
       "content" field.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairList reference_sentence_pair_lists = 1;
    • getReferenceSentencePairListsCount

      int getReferenceSentencePairListsCount()
       Reference sentences pair lists. Each list will be used as the references
       to translate the sentence under "content" field at the corresponding
       index. Length of the list is required to be equal to the length of
       "content" field.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairList reference_sentence_pair_lists = 1;
    • getReferenceSentencePairListsOrBuilderList

      List<? extends AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder> getReferenceSentencePairListsOrBuilderList()
       Reference sentences pair lists. Each list will be used as the references
       to translate the sentence under "content" field at the corresponding
       index. Length of the list is required to be equal to the length of
       "content" field.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairList reference_sentence_pair_lists = 1;
    • getReferenceSentencePairListsOrBuilder

      AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder getReferenceSentencePairListsOrBuilder(int index)
       Reference sentences pair lists. Each list will be used as the references
       to translate the sentence under "content" field at the corresponding
       index. Length of the list is required to be equal to the length of
       "content" field.
       
      repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairList reference_sentence_pair_lists = 1;
    • getSourceLanguageCode

      String getSourceLanguageCode()
       Source language code.
       
      string source_language_code = 2;
      Returns:
      The sourceLanguageCode.
    • getSourceLanguageCodeBytes

      com.google.protobuf.ByteString getSourceLanguageCodeBytes()
       Source language code.
       
      string source_language_code = 2;
      Returns:
      The bytes for sourceLanguageCode.
    • getTargetLanguageCode

      String getTargetLanguageCode()
       Target language code.
       
      string target_language_code = 3;
      Returns:
      The targetLanguageCode.
    • getTargetLanguageCodeBytes

      com.google.protobuf.ByteString getTargetLanguageCodeBytes()
       Target language code.
       
      string target_language_code = 3;
      Returns:
      The bytes for targetLanguageCode.