Interface AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder (2.49.0)

public static interface AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSourceSentence()

public abstract String getSourceSentence()

Source sentence in the sentence pair.

string source_sentence = 1;

Returns
Type Description
String

The sourceSentence.

getSourceSentenceBytes()

public abstract ByteString getSourceSentenceBytes()

Source sentence in the sentence pair.

string source_sentence = 1;

Returns
Type Description
ByteString

The bytes for sourceSentence.

getTargetSentence()

public abstract String getTargetSentence()

Target sentence in the sentence pair.

string target_sentence = 2;

Returns
Type Description
String

The targetSentence.

getTargetSentenceBytes()

public abstract ByteString getTargetSentenceBytes()

Target sentence in the sentence pair.

string target_sentence = 2;

Returns
Type Description
ByteString

The bytes for targetSentence.