Class AsyncBatchAnnotateFilesResponse.Builder (3.7.0)

public static final class AsyncBatchAnnotateFilesResponse.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder

Response to an async batch file annotation request.

Protobuf type google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)

public AsyncBatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse>
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponses(AsyncAnnotateFileResponse value)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse value)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
valueAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponses(AsyncAnnotateFileResponse.Builder builderForValue)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
builderForValueAsyncAnnotateFileResponse.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponses(int index, AsyncAnnotateFileResponse value)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
NameDescription
indexint
valueAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)

public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
NameDescription
indexint
builderForValueAsyncAnnotateFileResponse.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

addResponsesBuilder()

public AsyncAnnotateFileResponse.Builder addResponsesBuilder()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

addResponsesBuilder(int index)

public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

build()

public AsyncBatchAnnotateFilesResponse build()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse

buildPartial()

public AsyncBatchAnnotateFilesResponse buildPartial()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponses()

public AsyncBatchAnnotateFilesResponse.Builder clearResponses()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

clone()

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

getDefaultInstanceForType()

public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResponses(int index)

public AsyncAnnotateFileResponse getResponses(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponse

getResponsesBuilder(int index)

public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

getResponsesBuilderList()

public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
List<Builder>

getResponsesCount()

public int getResponsesCount()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
int

getResponsesList()

public List<AsyncAnnotateFileResponse> getResponsesList()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
List<AsyncAnnotateFileResponse>

getResponsesOrBuilder(int index)

public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponseOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AsyncBatchAnnotateFilesResponse other)

public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
Parameter
NameDescription
otherAsyncBatchAnnotateFilesResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeResponses(int index)

public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResponses(int index, AsyncAnnotateFileResponse value)

public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
NameDescription
indexint
valueAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)

public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameters
NameDescription
indexint
builderForValueAsyncAnnotateFileResponse.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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