Class ListAdaptiveMtFilesResponse.Builder (2.37.0)

See more code actions.
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

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()
Returns
TypeDescription
Descriptor

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];

Parameter
NameDescription
valueAdaptiveMtFile

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];

Parameter
NameDescription
builderForValueAdaptiveMtFile.Builder

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];

Parameters
NameDescription
indexint
valueAdaptiveMtFile

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];

Parameters
NameDescription
indexint
builderForValueAdaptiveMtFile.Builder

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];

Returns
TypeDescription
AdaptiveMtFile.Builder

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
NameDescription
indexint
Returns
TypeDescription
AdaptiveMtFile.Builder

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
NameDescription
valuesIterable<? extends com.google.cloud.translate.v3.AdaptiveMtFile>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAdaptiveMtFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public ListAdaptiveMtFilesResponse build()
Returns
TypeDescription
ListAdaptiveMtFilesResponse

buildPartial()

public ListAdaptiveMtFilesResponse buildPartial()
Returns
TypeDescription
ListAdaptiveMtFilesResponse

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)
Parameter
NameDescription
fieldFieldDescriptor
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];

Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAdaptiveMtFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
NameDescription
indexint
Returns
TypeDescription
AdaptiveMtFile

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
NameDescription
indexint
Returns
TypeDescription
AdaptiveMtFile.Builder

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];

Returns
TypeDescription
List<Builder>

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
TypeDescription
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];

Returns
TypeDescription
List<AdaptiveMtFile>

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
NameDescription
indexint
Returns
TypeDescription
AdaptiveMtFileOrBuilder

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
TypeDescription
List<? extends com.google.cloud.translate.v3.AdaptiveMtFileOrBuilder>

getDefaultInstanceForType()

public ListAdaptiveMtFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAdaptiveMtFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAdaptiveMtFilesResponse other)

public ListAdaptiveMtFilesResponse.Builder mergeFrom(ListAdaptiveMtFilesResponse other)
Parameter
NameDescription
otherListAdaptiveMtFilesResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAdaptiveMtFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAdaptiveMtFilesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAdaptiveMtFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
indexint

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];

Parameters
NameDescription
indexint
valueAdaptiveMtFile

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];

Parameters
NameDescription
indexint
builderForValueAdaptiveMtFile.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAdaptiveMtFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAdaptiveMtFilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAdaptiveMtFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAdaptiveMtFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides