public static final class ListAdaptiveMtFilesResponse.Builder extends GeneratedMessageV3.Builder<ListAdaptiveMtFilesResponse.Builder> implements ListAdaptiveMtFilesResponseOrBuilder
The response for listing all AdaptiveMt files under a given dataset.
Protobuf type google.cloud.translation.v3.ListAdaptiveMtFilesResponse
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
addAdaptiveMtFiles(AdaptiveMtFile value)
public ListAdaptiveMtFilesResponse.Builder addAdaptiveMtFiles(AdaptiveMtFile value)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtFiles(AdaptiveMtFile.Builder builderForValue)
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(int index, AdaptiveMtFile value)
public ListAdaptiveMtFilesResponse.Builder addAdaptiveMtFiles(int index, AdaptiveMtFile value)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtFiles(int index, AdaptiveMtFile.Builder builderForValue)
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];
addAdaptiveMtFilesBuilder()
public AdaptiveMtFile.Builder addAdaptiveMtFilesBuilder()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAdaptiveMtFilesBuilder(int index)
public AdaptiveMtFile.Builder addAdaptiveMtFilesBuilder(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
addAllAdaptiveMtFiles(Iterable<? extends AdaptiveMtFile> values)
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];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.translate.v3.AdaptiveMtFile>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAdaptiveMtFilesResponse build()
buildPartial()
public ListAdaptiveMtFilesResponse buildPartial()
clear()
public ListAdaptiveMtFilesResponse.Builder clear()
Overrides
clearAdaptiveMtFiles()
public ListAdaptiveMtFilesResponse.Builder clearAdaptiveMtFiles()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public ListAdaptiveMtFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListAdaptiveMtFilesResponse.Builder 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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAdaptiveMtFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAdaptiveMtFilesResponse.Builder clone()
Overrides
getAdaptiveMtFiles(int index)
public AdaptiveMtFile getAdaptiveMtFiles(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getAdaptiveMtFilesBuilder(int index)
public AdaptiveMtFile.Builder getAdaptiveMtFilesBuilder(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getAdaptiveMtFilesBuilderList()
public List<AdaptiveMtFile.Builder> getAdaptiveMtFilesBuilderList()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Returns |
---|
Type | Description |
int | |
getAdaptiveMtFilesList()
public List<AdaptiveMtFile> getAdaptiveMtFilesList()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdaptiveMtFilesOrBuilder(int index)
public AdaptiveMtFileOrBuilder getAdaptiveMtFilesOrBuilder(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
getAdaptiveMtFilesOrBuilderList()
public List<? extends AdaptiveMtFileOrBuilder> getAdaptiveMtFilesOrBuilderList()
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.translate.v3.AdaptiveMtFileOrBuilder> | |
getDefaultInstanceForType()
public ListAdaptiveMtFilesResponse 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
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 |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public 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];
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAdaptiveMtFilesResponse other)
public ListAdaptiveMtFilesResponse.Builder mergeFrom(ListAdaptiveMtFilesResponse other)
public ListAdaptiveMtFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAdaptiveMtFilesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAdaptiveMtFiles(int index)
public ListAdaptiveMtFilesResponse.Builder removeAdaptiveMtFiles(int index)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
setAdaptiveMtFiles(int index, AdaptiveMtFile value)
public ListAdaptiveMtFilesResponse.Builder setAdaptiveMtFiles(int index, AdaptiveMtFile value)
Output only. The Adaptive MT files.
repeated .google.cloud.translation.v3.AdaptiveMtFile adaptive_mt_files = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setAdaptiveMtFiles(int index, AdaptiveMtFile.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ListAdaptiveMtFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListAdaptiveMtFilesResponse.Builder setNextPageToken(String 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];
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListAdaptiveMtFilesResponse.Builder setNextPageTokenBytes(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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAdaptiveMtFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAdaptiveMtFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides