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.v1.AsyncBatchAnnotateFilesRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AsyncBatchAnnotateFilesRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AsyncBatchAnnotateFilesRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AsyncBatchAnnotateFilesRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(AsyncBatchAnnotateFilesRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AsyncBatchAnnotateFilesRequest.Builder>
IOException
public List<AsyncAnnotateFileRequest> getRequestsList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsList
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public int getRequestsCount()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsCount
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public AsyncAnnotateFileRequest getRequests(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequests
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder clearRequests()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncBatchAnnotateFilesRequest.Builder removeRequests(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncAnnotateFileRequest.Builder getRequestsBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncAnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public List<? extends AsyncAnnotateFileRequestOrBuilder> getRequestsOrBuilderList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilderList
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public AsyncAnnotateFileRequest.Builder addRequestsBuilder()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public AsyncAnnotateFileRequest.Builder addRequestsBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public List<AsyncAnnotateFileRequest.Builder> getRequestsBuilderList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
public String getParent()
Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
string parent = 4;
getParent
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public ByteString getParentBytes()
Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
string parent = 4;
getParentBytes
in interface AsyncBatchAnnotateFilesRequestOrBuilder
public AsyncBatchAnnotateFilesRequest.Builder setParent(String value)
Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
string parent = 4;
value
- The parent to set.public AsyncBatchAnnotateFilesRequest.Builder clearParent()
Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
string parent = 4;
public AsyncBatchAnnotateFilesRequest.Builder setParentBytes(ByteString value)
Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
string parent = 4;
value
- The bytes for parent to set.public final AsyncBatchAnnotateFilesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
public final AsyncBatchAnnotateFilesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.