Class BatchTransferResourcesResponse (2.52.0)

public final class BatchTransferResourcesResponse extends GeneratedMessageV3 implements BatchTransferResourcesResponseOrBuilder

Response message for BatchTransferResources.

Protobuf type google.cloud.translation.v3.BatchTransferResourcesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchTransferResourcesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchTransferResourcesResponse getDefaultInstance()
Returns
Type Description
BatchTransferResourcesResponse

getDescriptor()

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

newBuilder()

public static BatchTransferResourcesResponse.Builder newBuilder()
Returns
Type Description
BatchTransferResourcesResponse.Builder

newBuilder(BatchTransferResourcesResponse prototype)

public static BatchTransferResourcesResponse.Builder newBuilder(BatchTransferResourcesResponse prototype)
Parameter
Name Description
prototype BatchTransferResourcesResponse
Returns
Type Description
BatchTransferResourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchTransferResourcesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchTransferResourcesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchTransferResourcesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchTransferResourcesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchTransferResourcesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchTransferResourcesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchTransferResourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchTransferResourcesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchTransferResourcesResponse> parser()
Returns
Type Description
Parser<BatchTransferResourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchTransferResourcesResponse getDefaultInstanceForType()
Returns
Type Description
BatchTransferResourcesResponse

getParserForType()

public Parser<BatchTransferResourcesResponse> getParserForType()
Returns
Type Description
Parser<BatchTransferResourcesResponse>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchTransferResourcesResponse.Builder newBuilderForType()
Returns
Type Description
BatchTransferResourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchTransferResourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchTransferResourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchTransferResourcesResponse.Builder toBuilder()
Returns
Type Description
BatchTransferResourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException