public static final class ListAdaptiveMtDatasetsResponse.Builder extends GeneratedMessageV3.Builder<ListAdaptiveMtDatasetsResponse.Builder> implements ListAdaptiveMtDatasetsResponseOrBuilder
A list of AdaptiveMtDatasets.
Protobuf type google.cloud.translation.v3.ListAdaptiveMtDatasetsResponse
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
addAdaptiveMtDatasets(AdaptiveMtDataset value)
public ListAdaptiveMtDatasetsResponse.Builder addAdaptiveMtDatasets(AdaptiveMtDataset value)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtDatasets(AdaptiveMtDataset.Builder builderForValue)
public ListAdaptiveMtDatasetsResponse.Builder addAdaptiveMtDatasets(AdaptiveMtDataset.Builder builderForValue)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtDatasets(int index, AdaptiveMtDataset value)
public ListAdaptiveMtDatasetsResponse.Builder addAdaptiveMtDatasets(int index, AdaptiveMtDataset value)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue)
public ListAdaptiveMtDatasetsResponse.Builder addAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtDatasetsBuilder()
public AdaptiveMtDataset.Builder addAdaptiveMtDatasetsBuilder()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtDatasetsBuilder(int index)
public AdaptiveMtDataset.Builder addAdaptiveMtDatasetsBuilder(int index)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
addAllAdaptiveMtDatasets(Iterable<? extends AdaptiveMtDataset> values)
public ListAdaptiveMtDatasetsResponse.Builder addAllAdaptiveMtDatasets(Iterable<? extends AdaptiveMtDataset> values)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.translate.v3.AdaptiveMtDataset>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtDatasetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAdaptiveMtDatasetsResponse build()
buildPartial()
public ListAdaptiveMtDatasetsResponse buildPartial()
clear()
public ListAdaptiveMtDatasetsResponse.Builder clear()
Overrides
clearAdaptiveMtDatasets()
public ListAdaptiveMtDatasetsResponse.Builder clearAdaptiveMtDatasets()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ListAdaptiveMtDatasetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAdaptiveMtDatasetsResponse.Builder clearNextPageToken()
Optional. A token to retrieve a page of results. Pass this value in the
[ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAdaptiveMtDatasetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAdaptiveMtDatasetsResponse.Builder clone()
Overrides
getAdaptiveMtDatasets(int index)
public AdaptiveMtDataset getAdaptiveMtDatasets(int index)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtDatasetsBuilder(int index)
public AdaptiveMtDataset.Builder getAdaptiveMtDatasetsBuilder(int index)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtDatasetsBuilderList()
public List<AdaptiveMtDataset.Builder> getAdaptiveMtDatasetsBuilderList()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtDatasetsCount()
public int getAdaptiveMtDatasetsCount()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getAdaptiveMtDatasetsList()
public List<AdaptiveMtDataset> getAdaptiveMtDatasetsList()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtDatasetsOrBuilder(int index)
public AdaptiveMtDatasetOrBuilder getAdaptiveMtDatasetsOrBuilder(int index)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getAdaptiveMtDatasetsOrBuilderList()
public List<? extends AdaptiveMtDatasetOrBuilder> getAdaptiveMtDatasetsOrBuilderList()
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.translate.v3.AdaptiveMtDatasetOrBuilder> |
|
getDefaultInstanceForType()
public ListAdaptiveMtDatasetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Optional. A token to retrieve a page of results. Pass this value in the
[ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Optional. A token to retrieve a page of results. Pass this value in the
[ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
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(ListAdaptiveMtDatasetsResponse other)
public ListAdaptiveMtDatasetsResponse.Builder mergeFrom(ListAdaptiveMtDatasetsResponse other)
public ListAdaptiveMtDatasetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAdaptiveMtDatasetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtDatasetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAdaptiveMtDatasets(int index)
public ListAdaptiveMtDatasetsResponse.Builder removeAdaptiveMtDatasets(int index)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
setAdaptiveMtDatasets(int index, AdaptiveMtDataset value)
public ListAdaptiveMtDatasetsResponse.Builder setAdaptiveMtDatasets(int index, AdaptiveMtDataset value)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue)
public ListAdaptiveMtDatasetsResponse.Builder setAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue)
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtDatasetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAdaptiveMtDatasetsResponse.Builder setNextPageToken(String value)
Optional. A token to retrieve a page of results. Pass this value in the
[ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListAdaptiveMtDatasetsResponse.Builder setNextPageTokenBytes(ByteString value)
Optional. A token to retrieve a page of results. Pass this value in the
[ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
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 ListAdaptiveMtDatasetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtDatasetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides