Class AsyncAnnotateFileResponse.Builder (3.1.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AsyncAnnotateFileResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

build()

public AsyncAnnotateFileResponse build()
Returns
TypeDescription
AsyncAnnotateFileResponse

buildPartial()

public AsyncAnnotateFileResponse buildPartial()
Returns
TypeDescription
AsyncAnnotateFileResponse

clear()

public AsyncAnnotateFileResponse.Builder clear()
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AsyncAnnotateFileResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AsyncAnnotateFileResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

clearOutputConfig()

public AsyncAnnotateFileResponse.Builder clearOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

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

Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

clone()

public AsyncAnnotateFileResponse.Builder clone()
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

getDefaultInstanceForType()

public AsyncAnnotateFileResponse getDefaultInstanceForType()
Returns
TypeDescription
AsyncAnnotateFileResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputConfig()

public OutputConfig getOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

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

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

The output location and metadata from AsyncAnnotateFileRequest.

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

Returns
TypeDescription
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

The output location and metadata from AsyncAnnotateFileRequest.

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

Returns
TypeDescription
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

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

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AsyncAnnotateFileResponse other)

public AsyncAnnotateFileResponse.Builder mergeFrom(AsyncAnnotateFileResponse other)
Parameter
NameDescription
otherAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AsyncAnnotateFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AsyncAnnotateFileResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
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
NameDescription
valueOutputConfig
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AsyncAnnotateFileResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AsyncAnnotateFileResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
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
NameDescription
valueOutputConfig
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

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
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

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

public AsyncAnnotateFileResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AsyncAnnotateFileResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides