Package com.google.cloud.translate.v3
Class ListAdaptiveMtFilesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtFilesResponse.Builder>
com.google.cloud.translate.v3.ListAdaptiveMtFilesResponse.Builder
- All Implemented Interfaces:
ListAdaptiveMtFilesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListAdaptiveMtFilesResponse
public static final class ListAdaptiveMtFilesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtFilesResponse.Builder>
implements ListAdaptiveMtFilesResponseOrBuilder
The response for listing all AdaptiveMt files under a given dataset.Protobuf type
google.cloud.translation.v3.ListAdaptiveMtFilesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAdaptiveMtFiles(int index, AdaptiveMtFile value) Output only.addAdaptiveMtFiles(int index, AdaptiveMtFile.Builder builderForValue) Output only.addAdaptiveMtFiles(AdaptiveMtFile value) Output only.addAdaptiveMtFiles(AdaptiveMtFile.Builder builderForValue) Output only.Output only.addAdaptiveMtFilesBuilder(int index) Output only.addAllAdaptiveMtFiles(Iterable<? extends AdaptiveMtFile> values) Output only.build()clear()Output only.Optional.getAdaptiveMtFiles(int index) Output only.getAdaptiveMtFilesBuilder(int index) Output only.Output only.intOutput only.Output only.getAdaptiveMtFilesOrBuilder(int index) Output only.List<? extends AdaptiveMtFileOrBuilder>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) removeAdaptiveMtFiles(int index) Output only.setAdaptiveMtFiles(int index, AdaptiveMtFile value) Output only.setAdaptiveMtFiles(int index, AdaptiveMtFile.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<ListAdaptiveMtFilesResponse.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<ListAdaptiveMtFilesResponse.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<ListAdaptiveMtFilesResponse.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<ListAdaptiveMtFilesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListAdaptiveMtFilesResponse.Builder>
-
mergeFrom
public ListAdaptiveMtFilesResponse.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<ListAdaptiveMtFilesResponse.Builder>- Throws:
IOException
-
getAdaptiveMtFilesList
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtFilesListin interfaceListAdaptiveMtFilesResponseOrBuilder
-
getAdaptiveMtFilesCount
public int getAdaptiveMtFilesCount()Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtFilesCountin interfaceListAdaptiveMtFilesResponseOrBuilder
-
getAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtFilesin interfaceListAdaptiveMtFilesResponseOrBuilder
-
setAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAdaptiveMtFiles
public ListAdaptiveMtFilesResponse.Builder setAdaptiveMtFiles(int index, AdaptiveMtFile.Builder builderForValue) Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAdaptiveMtFiles
public ListAdaptiveMtFilesResponse.Builder addAdaptiveMtFiles(AdaptiveMtFile.Builder builderForValue) Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAdaptiveMtFiles
public ListAdaptiveMtFilesResponse.Builder addAdaptiveMtFiles(int index, AdaptiveMtFile.Builder builderForValue) Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllAdaptiveMtFiles
public ListAdaptiveMtFilesResponse.Builder addAllAdaptiveMtFiles(Iterable<? extends AdaptiveMtFile> values) Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeAdaptiveMtFiles
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAdaptiveMtFilesBuilder
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAdaptiveMtFilesOrBuilder
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtFilesOrBuilderin interfaceListAdaptiveMtFilesResponseOrBuilder
-
getAdaptiveMtFilesOrBuilderList
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdaptiveMtFilesOrBuilderListin interfaceListAdaptiveMtFilesResponseOrBuilder
-
addAdaptiveMtFilesBuilder
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAdaptiveMtFilesBuilder
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAdaptiveMtFilesBuilderList
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getNextPageToken
Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNextPageTokenin interfaceListAdaptiveMtFilesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNextPageTokenBytesin interfaceListAdaptiveMtFilesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
string next_page_token = 3 [(.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 ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListAdaptiveMtFilesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
string next_page_token = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-