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