Send feedback
Class BatchTransferResourcesResponse.TransferResourceResponse (2.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.48.0 keyboard_arrow_down
public static final class BatchTransferResourcesResponse . TransferResourceResponse extends GeneratedMessageV3 implements BatchTransferResourcesResponse . TransferResourceResponseOrBuilder
Transfer response for a single resource.
Protobuf type
google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
Type
Description
int
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static BatchTransferResourcesResponse . TransferResourceResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BatchTransferResourcesResponse . TransferResourceResponse . Builder newBuilder ()
newBuilder(BatchTransferResourcesResponse.TransferResourceResponse prototype)
public static BatchTransferResourcesResponse . TransferResourceResponse . Builder newBuilder ( BatchTransferResourcesResponse . TransferResourceResponse prototype )
public static BatchTransferResourcesResponse . TransferResourceResponse parseDelimitedFrom ( InputStream input )
public static BatchTransferResourcesResponse . TransferResourceResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( CodedInputStream input )
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( InputStream input )
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchTransferResourcesResponse . TransferResourceResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BatchTransferResourcesResponse . TransferResourceResponse > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public BatchTransferResourcesResponse . TransferResourceResponse getDefaultInstanceForType ()
getError()
The error result in case of failure.
.google.rpc.Status error = 3;
Returns
Type
Description
com.google.rpc.Status
The error.
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder ()
The error result in case of failure.
.google.rpc.Status error = 3;
Returns
Type
Description
com.google.rpc.StatusOrBuilder
getParserForType()
public Parser<BatchTransferResourcesResponse . TransferResourceResponse > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSource()
public String getSource ()
Full name of the resource to transfer as specified in the request.
string source = 1;
Returns
Type
Description
String
The source.
getSourceBytes()
public ByteString getSourceBytes ()
Full name of the resource to transfer as specified in the request.
string source = 1;
Returns
Type
Description
ByteString
The bytes for source.
getTarget()
public String getTarget ()
Full name of the new resource successfully transferred from the source
hosted by Translation API. Target will be empty if the transfer failed.
string target = 2;
Returns
Type
Description
String
The target.
getTargetBytes()
public ByteString getTargetBytes ()
Full name of the new resource successfully transferred from the source
hosted by Translation API. Target will be empty if the transfer failed.
string target = 2;
Returns
Type
Description
ByteString
The bytes for target.
hasError()
public boolean hasError ()
The error result in case of failure.
.google.rpc.Status error = 3;
Returns
Type
Description
boolean
Whether the error field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BatchTransferResourcesResponse . TransferResourceResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchTransferResourcesResponse . TransferResourceResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public BatchTransferResourcesResponse . TransferResourceResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]