Package com.google.cloud.translate.v3
Interface AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdaptiveMtTranslateRequest.ReferenceSentencePair,AdaptiveMtTranslateRequest.ReferenceSentencePair.Builder
- Enclosing class:
- AdaptiveMtTranslateRequest
public static interface AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSource sentence in the sentence pair.com.google.protobuf.ByteStringSource sentence in the sentence pair.Target sentence in the sentence pair.com.google.protobuf.ByteStringTarget sentence in the sentence pair.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSourceSentence
String getSourceSentence()Source sentence in the sentence pair.
string source_sentence = 1;- Returns:
- The sourceSentence.
-
getSourceSentenceBytes
com.google.protobuf.ByteString getSourceSentenceBytes()Source sentence in the sentence pair.
string source_sentence = 1;- Returns:
- The bytes for sourceSentence.
-
getTargetSentence
String getTargetSentence()Target sentence in the sentence pair.
string target_sentence = 2;- Returns:
- The targetSentence.
-
getTargetSentenceBytes
com.google.protobuf.ByteString getTargetSentenceBytes()Target sentence in the sentence pair.
string target_sentence = 2;- Returns:
- The bytes for targetSentence.
-