public static final class ListAdaptiveMtSentencesResponse.Builder extends GeneratedMessageV3.Builder<ListAdaptiveMtSentencesResponse.Builder> implements ListAdaptiveMtSentencesResponseOrBuilder
List AdaptiveMt sentences response.
Protobuf type google.cloud.translation.v3.ListAdaptiveMtSentencesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAdaptiveMtSentences(AdaptiveMtSentence value)
public ListAdaptiveMtSentencesResponse.Builder addAdaptiveMtSentences(AdaptiveMtSentence value)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtSentences(AdaptiveMtSentence.Builder builderForValue)
public ListAdaptiveMtSentencesResponse.Builder addAdaptiveMtSentences(AdaptiveMtSentence.Builder builderForValue)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtSentences(int index, AdaptiveMtSentence value)
public ListAdaptiveMtSentencesResponse.Builder addAdaptiveMtSentences(int index, AdaptiveMtSentence value)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtSentences(int index, AdaptiveMtSentence.Builder builderForValue)
public ListAdaptiveMtSentencesResponse.Builder addAdaptiveMtSentences(int index, AdaptiveMtSentence.Builder builderForValue)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtSentencesBuilder()
public AdaptiveMtSentence.Builder addAdaptiveMtSentencesBuilder()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtSentencesBuilder(int index)
public AdaptiveMtSentence.Builder addAdaptiveMtSentencesBuilder(int index)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
addAllAdaptiveMtSentences(Iterable<? extends AdaptiveMtSentence> values)
public ListAdaptiveMtSentencesResponse.Builder addAllAdaptiveMtSentences(Iterable<? extends AdaptiveMtSentence> values)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.translate.v3.AdaptiveMtSentence>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtSentencesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAdaptiveMtSentencesResponse build()
buildPartial()
public ListAdaptiveMtSentencesResponse buildPartial()
clear()
public ListAdaptiveMtSentencesResponse.Builder clear()
Overrides
clearAdaptiveMtSentences()
public ListAdaptiveMtSentencesResponse.Builder clearAdaptiveMtSentences()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ListAdaptiveMtSentencesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAdaptiveMtSentencesResponse.Builder clearNextPageToken()
Optional.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAdaptiveMtSentencesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAdaptiveMtSentencesResponse.Builder clone()
Overrides
getAdaptiveMtSentences(int index)
public AdaptiveMtSentence getAdaptiveMtSentences(int index)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtSentencesBuilder(int index)
public AdaptiveMtSentence.Builder getAdaptiveMtSentencesBuilder(int index)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtSentencesBuilderList()
public List<AdaptiveMtSentence.Builder> getAdaptiveMtSentencesBuilderList()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtSentencesCount()
public int getAdaptiveMtSentencesCount()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getAdaptiveMtSentencesList()
public List<AdaptiveMtSentence> getAdaptiveMtSentencesList()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtSentencesOrBuilder(int index)
public AdaptiveMtSentenceOrBuilder getAdaptiveMtSentencesOrBuilder(int index)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtSentencesOrBuilderList()
public List<? extends AdaptiveMtSentenceOrBuilder> getAdaptiveMtSentencesOrBuilderList()
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.translate.v3.AdaptiveMtSentenceOrBuilder> |
|
getDefaultInstanceForType()
public ListAdaptiveMtSentencesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Optional.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAdaptiveMtSentencesResponse other)
public ListAdaptiveMtSentencesResponse.Builder mergeFrom(ListAdaptiveMtSentencesResponse other)
public ListAdaptiveMtSentencesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAdaptiveMtSentencesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtSentencesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAdaptiveMtSentences(int index)
public ListAdaptiveMtSentencesResponse.Builder removeAdaptiveMtSentences(int index)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
setAdaptiveMtSentences(int index, AdaptiveMtSentence value)
public ListAdaptiveMtSentencesResponse.Builder setAdaptiveMtSentences(int index, AdaptiveMtSentence value)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setAdaptiveMtSentences(int index, AdaptiveMtSentence.Builder builderForValue)
public ListAdaptiveMtSentencesResponse.Builder setAdaptiveMtSentences(int index, AdaptiveMtSentence.Builder builderForValue)
Output only. The list of AdaptiveMtSentences.
repeated .google.cloud.translation.v3.AdaptiveMtSentence adaptive_mt_sentences = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtSentencesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAdaptiveMtSentencesResponse.Builder setNextPageToken(String value)
Optional.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListAdaptiveMtSentencesResponse.Builder setNextPageTokenBytes(ByteString value)
Optional.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAdaptiveMtSentencesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtSentencesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides