public static final class AsyncBatchAnnotateFilesRequest.Builder extends GeneratedMessage.Builder<AsyncBatchAnnotateFilesRequest.Builder> implements AsyncBatchAnnotateFilesRequestOrBuilder
Multiple async file annotation requests are batched into a single service
call.
Protobuf type google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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 |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequest>
|
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];
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];
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];
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];
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];
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 |
| Name |
Description |
index |
int
|
build()
public AsyncBatchAnnotateFilesRequest build()
buildPartial()
public AsyncBatchAnnotateFilesRequest buildPartial()
clear()
public AsyncBatchAnnotateFilesRequest.Builder clear()
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];
getDefaultInstanceForType()
public AsyncBatchAnnotateFilesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
| Name |
Description |
index |
int
|
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 |
| Name |
Description |
index |
int
|
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];
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 |
| Type |
Description |
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];
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 |
| Name |
Description |
index |
int
|
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 |
| Type |
Description |
List<? extends com.google.cloud.vision.v1p4beta1.AsyncAnnotateFileRequestOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AsyncBatchAnnotateFilesRequest other)
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(AsyncBatchAnnotateFilesRequest other)
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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 |
| Name |
Description |
index |
int
|
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];
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];