Class AsyncAnnotateFileResponse.Builder (3.53.0)

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.v1.AsyncAnnotateFileResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AsyncAnnotateFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

build()

public AsyncAnnotateFileResponse build()
Returns
Type Description
AsyncAnnotateFileResponse

buildPartial()

public AsyncAnnotateFileResponse buildPartial()
Returns
Type Description
AsyncAnnotateFileResponse

clear()

public AsyncAnnotateFileResponse.Builder clear()
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AsyncAnnotateFileResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AsyncAnnotateFileResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

clearOutputConfig()

public AsyncAnnotateFileResponse.Builder clearOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Returns
Type Description
AsyncAnnotateFileResponse.Builder

clone()

public AsyncAnnotateFileResponse.Builder clone()
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

getDefaultInstanceForType()

public AsyncAnnotateFileResponse getDefaultInstanceForType()
Returns
Type Description
AsyncAnnotateFileResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutputConfig()

public OutputConfig getOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Returns
Type Description
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Returns
Type Description
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AsyncAnnotateFileResponse other)

public AsyncAnnotateFileResponse.Builder mergeFrom(AsyncAnnotateFileResponse other)
Parameter
Name Description
other AsyncAnnotateFileResponse
Returns
Type Description
AsyncAnnotateFileResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AsyncAnnotateFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AsyncAnnotateFileResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

mergeOutputConfig(OutputConfig value)

public AsyncAnnotateFileResponse.Builder mergeOutputConfig(OutputConfig value)

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Parameter
Name Description
value OutputConfig
Returns
Type Description
AsyncAnnotateFileResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AsyncAnnotateFileResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AsyncAnnotateFileResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

setOutputConfig(OutputConfig value)

public AsyncAnnotateFileResponse.Builder setOutputConfig(OutputConfig value)

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Parameter
Name Description
value OutputConfig
Returns
Type Description
AsyncAnnotateFileResponse.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public AsyncAnnotateFileResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1.OutputConfig output_config = 1;

Parameter
Name Description
builderForValue OutputConfig.Builder
Returns
Type Description
AsyncAnnotateFileResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AsyncAnnotateFileResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AsyncAnnotateFileResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AsyncAnnotateFileResponse.Builder
Overrides