Class AsyncBatchAnnotateImagesResponse.Builder (3.51.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AsyncBatchAnnotateImagesResponse build()
Returns
Type Description
AsyncBatchAnnotateImagesResponse

buildPartial()

public AsyncBatchAnnotateImagesResponse buildPartial()
Returns
Type Description
AsyncBatchAnnotateImagesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputConfig()

public AsyncBatchAnnotateImagesResponse.Builder clearOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
Type Description
AsyncBatchAnnotateImagesResponse.Builder

clone()

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

getDefaultInstanceForType()

public AsyncBatchAnnotateImagesResponse getDefaultInstanceForType()
Returns
Type Description
AsyncBatchAnnotateImagesResponse

getDescriptorForType()

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

getOutputConfig()

public OutputConfig getOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
Type Description
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

Returns
Type Description
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

The output location and metadata from AsyncBatchAnnotateImagesRequest.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AsyncBatchAnnotateImagesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value OutputConfig
Returns
Type Description
AsyncBatchAnnotateImagesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AsyncBatchAnnotateImagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value OutputConfig
Returns
Type Description
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
Name Description
builderForValue OutputConfig.Builder
Returns
Type Description
AsyncBatchAnnotateImagesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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