public static final class AsyncAnnotateFileResponse.Builder extends GeneratedMessageV3.Builder<AsyncAnnotateFileResponse.Builder> implements AsyncAnnotateFileResponseOrBuilder
The response for a single offline file annotation request.
Protobuf type google.cloud.vision.v1p2beta1.AsyncAnnotateFileResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AsyncAnnotateFileResponse build()
Returns
buildPartial()
public AsyncAnnotateFileResponse buildPartial()
Returns
clear()
public AsyncAnnotateFileResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AsyncAnnotateFileResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AsyncAnnotateFileResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOutputConfig()
public AsyncAnnotateFileResponse.Builder clearOutputConfig()
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Returns
clone()
public AsyncAnnotateFileResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AsyncAnnotateFileResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOutputConfig()
public OutputConfig getOutputConfig()
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Returns
getOutputConfigBuilder()
public OutputConfig.Builder getOutputConfigBuilder()
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Returns
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Returns
hasOutputConfig()
public boolean hasOutputConfig()
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Returns
Type | Description |
boolean | Whether the outputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AsyncAnnotateFileResponse other)
public AsyncAnnotateFileResponse.Builder mergeFrom(AsyncAnnotateFileResponse other)
Parameter
Returns
public AsyncAnnotateFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AsyncAnnotateFileResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeOutputConfig(OutputConfig value)
public AsyncAnnotateFileResponse.Builder mergeOutputConfig(OutputConfig value)
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AsyncAnnotateFileResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOutputConfig(OutputConfig value)
public AsyncAnnotateFileResponse.Builder setOutputConfig(OutputConfig value)
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Parameter
Returns
setOutputConfig(OutputConfig.Builder builderForValue)
public AsyncAnnotateFileResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)
The output location and metadata from AsyncAnnotateFileRequest.
.google.cloud.vision.v1p2beta1.OutputConfig output_config = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsyncAnnotateFileResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AsyncAnnotateFileResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides