Class AsyncBatchAnnotateFilesRequest.Builder (3.14.0)

public static final class AsyncBatchAnnotateFilesRequest.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder> implements AsyncBatchAnnotateFilesRequestOrBuilder

Multiple async file annotation requests are batched into a single service call.

Protobuf type google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)

public AsyncBatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest>
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(AsyncAnnotateFileRequest value)

public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest value)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAsyncAnnotateFileRequest
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

addRequests(AsyncAnnotateFileRequest.Builder builderForValue)

public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest.Builder builderForValue)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAsyncAnnotateFileRequest.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

addRequests(int index, AsyncAnnotateFileRequest value)

public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest value)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAsyncAnnotateFileRequest
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

addRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)

public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAsyncAnnotateFileRequest.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

addRequestsBuilder()

public AsyncAnnotateFileRequest.Builder addRequestsBuilder()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

addRequestsBuilder(int index)

public AsyncAnnotateFileRequest.Builder addRequestsBuilder(int index)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

build()

public AsyncBatchAnnotateFilesRequest build()
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest

buildPartial()

public AsyncBatchAnnotateFilesRequest buildPartial()
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequests()

public AsyncBatchAnnotateFilesRequest.Builder clearRequests()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

clone()

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

getDefaultInstanceForType()

public AsyncBatchAnnotateFilesRequest getDefaultInstanceForType()
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRequests(int index)

public AsyncAnnotateFileRequest getRequests(int index)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileRequest

getRequestsBuilder(int index)

public AsyncAnnotateFileRequest.Builder getRequestsBuilder(int index)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileRequest.Builder

getRequestsBuilderList()

public List<AsyncAnnotateFileRequest.Builder> getRequestsBuilderList()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRequestsList()

public List<AsyncAnnotateFileRequest> getRequestsList()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<AsyncAnnotateFileRequest>

getRequestsOrBuilder(int index)

public AsyncAnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends AsyncAnnotateFileRequestOrBuilder> getRequestsOrBuilderList()

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AsyncBatchAnnotateFilesRequest other)

public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(AsyncBatchAnnotateFilesRequest other)
Parameter
NameDescription
otherAsyncBatchAnnotateFilesRequest
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public AsyncBatchAnnotateFilesRequest.Builder removeRequests(int index)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequests(int index, AsyncAnnotateFileRequest value)

public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest value)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAsyncAnnotateFileRequest
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

setRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)

public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAsyncAnnotateFileRequest.Builder
Returns
TypeDescription
AsyncBatchAnnotateFilesRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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