Class AsyncBatchAnnotateImagesResponse.Builder (3.27.0)

public static final class AsyncBatchAnnotateImagesResponse.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateImagesResponse.Builder> implements AsyncBatchAnnotateImagesResponseOrBuilder

Response to an async batch image annotation request.

Protobuf type google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AsyncBatchAnnotateImagesResponse build()
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse

buildPartial()

public AsyncBatchAnnotateImagesResponse buildPartial()
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public AsyncBatchAnnotateImagesResponse.Builder clearOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder

clone()

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

getDefaultInstanceForType()

public AsyncBatchAnnotateImagesResponse getDefaultInstanceForType()
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOutputConfig()

public OutputConfig getOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
TypeDescription
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
TypeDescription
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

.google.cloud.vision.v1p4beta1.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(AsyncBatchAnnotateImagesResponse other)

public AsyncBatchAnnotateImagesResponse.Builder mergeFrom(AsyncBatchAnnotateImagesResponse other)
Parameter
NameDescription
otherAsyncBatchAnnotateImagesResponse
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AsyncBatchAnnotateImagesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder
Overrides

mergeOutputConfig(OutputConfig value)

public AsyncBatchAnnotateImagesResponse.Builder mergeOutputConfig(OutputConfig value)

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Parameter
NameDescription
valueOutputConfig
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputConfig(OutputConfig value)

public AsyncBatchAnnotateImagesResponse.Builder setOutputConfig(OutputConfig value)

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Parameter
NameDescription
valueOutputConfig
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public AsyncBatchAnnotateImagesResponse.Builder setOutputConfig(OutputConfig.Builder builderForValue)

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Parameter
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
AsyncBatchAnnotateImagesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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