Interface AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder (2.55.0)

public static interface AdaptiveMtTranslateRequest.ReferenceSentencePairListOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReferenceSentencePairs(int index)

public abstract AdaptiveMtTranslateRequest.ReferenceSentencePair getReferenceSentencePairs(int index)

Reference sentence pairs.

repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;

Parameter
Name Description
index int
Returns
Type Description
AdaptiveMtTranslateRequest.ReferenceSentencePair

getReferenceSentencePairsCount()

public abstract int getReferenceSentencePairsCount()

Reference sentence pairs.

repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;

Returns
Type Description
int

getReferenceSentencePairsList()

public abstract List<AdaptiveMtTranslateRequest.ReferenceSentencePair> getReferenceSentencePairsList()

Reference sentence pairs.

repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;

Returns
Type Description
List<ReferenceSentencePair>

getReferenceSentencePairsOrBuilder(int index)

public abstract AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder getReferenceSentencePairsOrBuilder(int index)

Reference sentence pairs.

repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;

Parameter
Name Description
index int
Returns
Type Description
AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder

getReferenceSentencePairsOrBuilderList()

public abstract List<? extends AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder> getReferenceSentencePairsOrBuilderList()

Reference sentence pairs.

repeated .google.cloud.translation.v3.AdaptiveMtTranslateRequest.ReferenceSentencePair reference_sentence_pairs = 1;

Returns
Type Description
List<? extends com.google.cloud.translate.v3.AdaptiveMtTranslateRequest.ReferenceSentencePairOrBuilder>