Interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilder (2.52.0)

public static interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

The error result in case of failure.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

The error result in case of failure.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getSource()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract boolean hasError()

The error result in case of failure.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.