Package com.google.cloud.translate.v3
Class ListAdaptiveMtDatasetsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
com.google.cloud.translate.v3.ListAdaptiveMtDatasetsResponse.Builder
- All Implemented Interfaces:
ListAdaptiveMtDatasetsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListAdaptiveMtDatasetsResponse
public static final class ListAdaptiveMtDatasetsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
implements ListAdaptiveMtDatasetsResponseOrBuilder
A list of AdaptiveMtDatasets.Protobuf type
google.cloud.translation.v3.ListAdaptiveMtDatasetsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAdaptiveMtDatasets(int index, AdaptiveMtDataset value) Output only.addAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue) Output only.Output only.addAdaptiveMtDatasets(AdaptiveMtDataset.Builder builderForValue) Output only.Output only.addAdaptiveMtDatasetsBuilder(int index) Output only.addAllAdaptiveMtDatasets(Iterable<? extends AdaptiveMtDataset> values) Output only.build()clear()Output only.Optional.getAdaptiveMtDatasets(int index) Output only.getAdaptiveMtDatasetsBuilder(int index) Output only.Output only.intOutput only.Output only.getAdaptiveMtDatasetsOrBuilder(int index) Output only.List<? extends AdaptiveMtDatasetOrBuilder>Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAdaptiveMtDatasets(int index) Output only.setAdaptiveMtDatasets(int index, AdaptiveMtDataset value) Output only.setAdaptiveMtDatasets(int index, AdaptiveMtDataset.Builder builderForValue) Output only.setNextPageToken(String value) Optional.setNextPageTokenBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>
-
mergeFrom
public ListAdaptiveMtDatasetsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListAdaptiveMtDatasetsResponse.Builder>- Throws:
IOException
-
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];- Specified by:
getAdaptiveMtDatasetsListin interfaceListAdaptiveMtDatasetsResponseOrBuilder
-
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];- Specified by:
getAdaptiveMtDatasetsCountin interfaceListAdaptiveMtDatasetsResponseOrBuilder
-
getAdaptiveMtDatasets
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtDatasetsin interfaceListAdaptiveMtDatasetsResponseOrBuilder
-
setAdaptiveMtDatasets
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
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]; -
addAdaptiveMtDatasets
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
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
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
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]; -
addAllAdaptiveMtDatasets
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]; -
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]; -
removeAdaptiveMtDatasets
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAdaptiveMtDatasetsBuilder
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
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtDatasetsOrBuilderin interfaceListAdaptiveMtDatasetsResponseOrBuilder
-
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];- Specified by:
getAdaptiveMtDatasetsOrBuilderListin interfaceListAdaptiveMtDatasetsResponseOrBuilder
-
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
Output only. A list of Adaptive MT datasets.
repeated .google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_datasets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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]; -
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];- Specified by:
getNextPageTokenin interfaceListAdaptiveMtDatasetsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];- Specified by:
getNextPageTokenBytesin interfaceListAdaptiveMtDatasetsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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];- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListAdaptiveMtDatasetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-