public static interface AdaptiveMtTranslateRequest.ReferenceSentenceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AdaptiveMtTranslateRequest.ReferenceSentencePairList |
getReferenceSentencePairLists(int index)
Reference sentences pair lists.
|
int |
getReferenceSentencePairListsCount()
Reference sentences pair lists.
|
List<AdaptiveMtTranslateRequest.ReferenceSentencePairList> |
getReferenceSentencePairListsList()
Reference sentences pair lists.
|
AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder |
getReferenceSentencePairListsOrBuilder(int index)
Reference sentences pair lists.
|
List<? extends AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder> |
getReferenceSentencePairListsOrBuilderList()
Reference sentences pair lists.
|
String |
getSourceLanguageCode()
Source language code.
|
com.google.protobuf.ByteString |
getSourceLanguageCodeBytes()
Source language code.
|
String |
getTargetLanguageCode()
Target language code.
|
com.google.protobuf.ByteString |
getTargetLanguageCodeBytes()
Target language code.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<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;
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;
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;
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;
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;
String getSourceLanguageCode()
Source language code.
string source_language_code = 2;com.google.protobuf.ByteString getSourceLanguageCodeBytes()
Source language code.
string source_language_code = 2;String getTargetLanguageCode()
Target language code.
string target_language_code = 3;com.google.protobuf.ByteString getTargetLanguageCodeBytes()
Target language code.
string target_language_code = 3;Copyright © 2024 Google LLC. All rights reserved.