Class BatchTransferResourcesResponse.Builder (2.52.0)

public static final class BatchTransferResourcesResponse.Builder extends GeneratedMessageV3.Builder<BatchTransferResourcesResponse.Builder> implements BatchTransferResourcesResponseOrBuilder

Response message for BatchTransferResources.

Protobuf type google.cloud.translation.v3.BatchTransferResourcesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResponses(Iterable<? extends BatchTransferResourcesResponse.TransferResourceResponse> values)

public BatchTransferResourcesResponse.Builder addAllResponses(Iterable<? extends BatchTransferResourcesResponse.TransferResourceResponse> values)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.translate.v3.BatchTransferResourcesResponse.TransferResourceResponse>
Returns
Type Description
BatchTransferResourcesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchTransferResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

addResponses(BatchTransferResourcesResponse.TransferResourceResponse value)

public BatchTransferResourcesResponse.Builder addResponses(BatchTransferResourcesResponse.TransferResourceResponse value)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
value BatchTransferResourcesResponse.TransferResourceResponse
Returns
Type Description
BatchTransferResourcesResponse.Builder

addResponses(BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

public BatchTransferResourcesResponse.Builder addResponses(BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
builderForValue BatchTransferResourcesResponse.TransferResourceResponse.Builder
Returns
Type Description
BatchTransferResourcesResponse.Builder

addResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse value)

public BatchTransferResourcesResponse.Builder addResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse value)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameters
Name Description
index int
value BatchTransferResourcesResponse.TransferResourceResponse
Returns
Type Description
BatchTransferResourcesResponse.Builder

addResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

public BatchTransferResourcesResponse.Builder addResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameters
Name Description
index int
builderForValue BatchTransferResourcesResponse.TransferResourceResponse.Builder
Returns
Type Description
BatchTransferResourcesResponse.Builder

addResponsesBuilder()

public BatchTransferResourcesResponse.TransferResourceResponse.Builder addResponsesBuilder()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
BatchTransferResourcesResponse.TransferResourceResponse.Builder

addResponsesBuilder(int index)

public BatchTransferResourcesResponse.TransferResourceResponse.Builder addResponsesBuilder(int index)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchTransferResourcesResponse.TransferResourceResponse.Builder

build()

public BatchTransferResourcesResponse build()
Returns
Type Description
BatchTransferResourcesResponse

buildPartial()

public BatchTransferResourcesResponse buildPartial()
Returns
Type Description
BatchTransferResourcesResponse

clear()

public BatchTransferResourcesResponse.Builder clear()
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchTransferResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchTransferResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

clearResponses()

public BatchTransferResourcesResponse.Builder clearResponses()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
BatchTransferResourcesResponse.Builder

clone()

public BatchTransferResourcesResponse.Builder clone()
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchTransferResourcesResponse getDefaultInstanceForType()
Returns
Type Description
BatchTransferResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResponses(int index)

public BatchTransferResourcesResponse.TransferResourceResponse getResponses(int index)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchTransferResourcesResponse.TransferResourceResponse

getResponsesBuilder(int index)

public BatchTransferResourcesResponse.TransferResourceResponse.Builder getResponsesBuilder(int index)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchTransferResourcesResponse.TransferResourceResponse.Builder

getResponsesBuilderList()

public List<BatchTransferResourcesResponse.TransferResourceResponse.Builder> getResponsesBuilderList()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
List<Builder>

getResponsesCount()

public int getResponsesCount()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
int

getResponsesList()

public List<BatchTransferResourcesResponse.TransferResourceResponse> getResponsesList()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
List<TransferResourceResponse>

getResponsesOrBuilder(int index)

public BatchTransferResourcesResponse.TransferResourceResponseOrBuilder getResponsesOrBuilder(int index)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchTransferResourcesResponse.TransferResourceResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends BatchTransferResourcesResponse.TransferResourceResponseOrBuilder> getResponsesOrBuilderList()

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Returns
Type Description
List<? extends com.google.cloud.translate.v3.BatchTransferResourcesResponse.TransferResourceResponseOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchTransferResourcesResponse other)

public BatchTransferResourcesResponse.Builder mergeFrom(BatchTransferResourcesResponse other)
Parameter
Name Description
other BatchTransferResourcesResponse
Returns
Type Description
BatchTransferResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchTransferResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchTransferResourcesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchTransferResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

removeResponses(int index)

public BatchTransferResourcesResponse.Builder removeResponses(int index)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchTransferResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchTransferResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

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

public BatchTransferResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

setResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse value)

public BatchTransferResourcesResponse.Builder setResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse value)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameters
Name Description
index int
value BatchTransferResourcesResponse.TransferResourceResponse
Returns
Type Description
BatchTransferResourcesResponse.Builder

setResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

public BatchTransferResourcesResponse.Builder setResponses(int index, BatchTransferResourcesResponse.TransferResourceResponse.Builder builderForValue)

Responses of the transfer for individual resources.

repeated .google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse responses = 1;

Parameters
Name Description
index int
builderForValue BatchTransferResourcesResponse.TransferResourceResponse.Builder
Returns
Type Description
BatchTransferResourcesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchTransferResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides