Package com.google.cloud.translate.v3
Interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchTransferResourcesResponse.TransferResourceResponse,BatchTransferResourcesResponse.TransferResourceResponse.Builder
- Enclosing class:
- BatchTransferResourcesResponse
public static interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()The error result in case of failure.The error result in case of failure.Full name of the resource to transfer as specified in the request.com.google.protobuf.ByteStringFull name of the resource to transfer as specified in the request.Full name of the new resource successfully transferred from the source hosted by Translation API.com.google.protobuf.ByteStringFull name of the new resource successfully transferred from the source hosted by Translation API.booleanhasError()The error result in case of failure.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSource
String getSource()Full name of the resource to transfer as specified in the request.
string source = 1;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()Full name of the resource to transfer as specified in the request.
string source = 1;- Returns:
- The bytes for source.
-
getTarget
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:
- The target.
-
getTargetBytes
com.google.protobuf.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:
- The bytes for target.
-
hasError
boolean hasError()The error result in case of failure.
.google.rpc.Status error = 3;- Returns:
- Whether the error field is set.
-
getError
Status getError()The error result in case of failure.
.google.rpc.Status error = 3;- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()The error result in case of failure.
.google.rpc.Status error = 3;
-