public static final class BatchTransferResourcesResponse.TransferResourceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder> implements BatchTransferResourcesResponse.TransferResourceResponseOrBuilder
Transfer response for a single resource.Protobuf type
google.cloud.translation.v3.BatchTransferResourcesResponse.TransferResourceResponse| Modifier and Type | Method and Description |
|---|---|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchTransferResourcesResponse.TransferResourceResponse |
build() |
BatchTransferResourcesResponse.TransferResourceResponse |
buildPartial() |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clear() |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clearError()
The error result in case of failure.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clearSource()
Full name of the resource to transfer as specified in the request.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clearTarget()
Full name of the new resource successfully transferred from the source
hosted by Translation API.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
clone() |
BatchTransferResourcesResponse.TransferResourceResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getError()
The error result in case of failure.
|
com.google.rpc.Status.Builder |
getErrorBuilder()
The error result in case of failure.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
The error result in case of failure.
|
String |
getSource()
Full name of the resource to transfer as specified in the request.
|
com.google.protobuf.ByteString |
getSourceBytes()
Full name of the resource to transfer as specified in the request.
|
String |
getTarget()
Full name of the new resource successfully transferred from the source
hosted by Translation API.
|
com.google.protobuf.ByteString |
getTargetBytes()
Full name of the new resource successfully transferred from the source
hosted by Translation API.
|
boolean |
hasError()
The error result in case of failure.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
mergeError(com.google.rpc.Status value)
The error result in case of failure.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
mergeFrom(BatchTransferResourcesResponse.TransferResourceResponse other) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setError(com.google.rpc.Status.Builder builderForValue)
The error result in case of failure.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setError(com.google.rpc.Status value)
The error result in case of failure.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setSource(String value)
Full name of the resource to transfer as specified in the request.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
Full name of the resource to transfer as specified in the request.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setTarget(String value)
Full name of the new resource successfully transferred from the source
hosted by Translation API.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
Full name of the new resource successfully transferred from the source
hosted by Translation API.
|
BatchTransferResourcesResponse.TransferResourceResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchTransferResourcesResponse.TransferResourceResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchTransferResourcesResponse.TransferResourceResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchTransferResourcesResponse.TransferResourceResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder mergeFrom(BatchTransferResourcesResponse.TransferResourceResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public BatchTransferResourcesResponse.TransferResourceResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>IOExceptionpublic String getSource()
Full name of the resource to transfer as specified in the request.
string source = 1;getSource in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Full name of the resource to transfer as specified in the request.
string source = 1;getSourceBytes in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic BatchTransferResourcesResponse.TransferResourceResponse.Builder setSource(String value)
Full name of the resource to transfer as specified in the request.
string source = 1;value - The source to set.public BatchTransferResourcesResponse.TransferResourceResponse.Builder clearSource()
Full name of the resource to transfer as specified in the request.
string source = 1;public BatchTransferResourcesResponse.TransferResourceResponse.Builder setSourceBytes(com.google.protobuf.ByteString value)
Full name of the resource to transfer as specified in the request.
string source = 1;value - The bytes for source to set.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;getTarget in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic 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;getTargetBytes in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic BatchTransferResourcesResponse.TransferResourceResponse.Builder setTarget(String value)
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;value - The target to set.public BatchTransferResourcesResponse.TransferResourceResponse.Builder clearTarget()
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;public BatchTransferResourcesResponse.TransferResourceResponse.Builder setTargetBytes(com.google.protobuf.ByteString value)
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;value - The bytes for target to set.public boolean hasError()
The error result in case of failure.
.google.rpc.Status error = 3;hasError in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic com.google.rpc.Status getError()
The error result in case of failure.
.google.rpc.Status error = 3;getError in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic BatchTransferResourcesResponse.TransferResourceResponse.Builder setError(com.google.rpc.Status value)
The error result in case of failure.
.google.rpc.Status error = 3;public BatchTransferResourcesResponse.TransferResourceResponse.Builder setError(com.google.rpc.Status.Builder builderForValue)
The error result in case of failure.
.google.rpc.Status error = 3;public BatchTransferResourcesResponse.TransferResourceResponse.Builder mergeError(com.google.rpc.Status value)
The error result in case of failure.
.google.rpc.Status error = 3;public BatchTransferResourcesResponse.TransferResourceResponse.Builder clearError()
The error result in case of failure.
.google.rpc.Status error = 3;public com.google.rpc.Status.Builder getErrorBuilder()
The error result in case of failure.
.google.rpc.Status error = 3;public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
The error result in case of failure.
.google.rpc.Status error = 3;getErrorOrBuilder in interface BatchTransferResourcesResponse.TransferResourceResponseOrBuilderpublic final BatchTransferResourcesResponse.TransferResourceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>public final BatchTransferResourcesResponse.TransferResourceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchTransferResourcesResponse.TransferResourceResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.