Class AsyncBatchAnnotateFilesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
- com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest.Builder
-
- All Implemented Interfaces:
AsyncBatchAnnotateFilesRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AsyncBatchAnnotateFilesRequest
public static final class AsyncBatchAnnotateFilesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder> implements AsyncBatchAnnotateFilesRequestOrBuilder
Multiple async file annotation requests are batched into a single service call.
Protobuf typegoogle.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
clear
public AsyncBatchAnnotateFilesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
getDefaultInstanceForType
public AsyncBatchAnnotateFilesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AsyncBatchAnnotateFilesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AsyncBatchAnnotateFilesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AsyncBatchAnnotateFilesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
setField
public AsyncBatchAnnotateFilesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
clearField
public AsyncBatchAnnotateFilesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
clearOneof
public AsyncBatchAnnotateFilesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
setRepeatedField
public AsyncBatchAnnotateFilesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
addRepeatedField
public AsyncBatchAnnotateFilesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(AsyncBatchAnnotateFilesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesRequest.Builder>
- Throws:
IOException
-
getRequestsList
public List<AsyncAnnotateFileRequest> getRequestsList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRequestsList
in interfaceAsyncBatchAnnotateFilesRequestOrBuilder
-
getRequestsCount
public int getRequestsCount()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRequestsCount
in interfaceAsyncBatchAnnotateFilesRequestOrBuilder
-
getRequests
public AsyncAnnotateFileRequest getRequests(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRequests
in interfaceAsyncBatchAnnotateFilesRequestOrBuilder
-
setRequests
public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
setRequests
public AsyncBatchAnnotateFilesRequest.Builder setRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addRequests
public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addRequests
public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest value)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addRequests
public AsyncBatchAnnotateFilesRequest.Builder addRequests(AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addRequests
public AsyncBatchAnnotateFilesRequest.Builder addRequests(int index, AsyncAnnotateFileRequest.Builder builderForValue)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addAllRequests
public AsyncBatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearRequests
public AsyncBatchAnnotateFilesRequest.Builder clearRequests()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
removeRequests
public AsyncBatchAnnotateFilesRequest.Builder removeRequests(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
getRequestsBuilder
public AsyncAnnotateFileRequest.Builder getRequestsBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
getRequestsOrBuilder
public AsyncAnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRequestsOrBuilder
in interfaceAsyncBatchAnnotateFilesRequestOrBuilder
-
getRequestsOrBuilderList
public List<? extends AsyncAnnotateFileRequestOrBuilder> getRequestsOrBuilderList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRequestsOrBuilderList
in interfaceAsyncBatchAnnotateFilesRequestOrBuilder
-
addRequestsBuilder
public AsyncAnnotateFileRequest.Builder addRequestsBuilder()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
addRequestsBuilder
public AsyncAnnotateFileRequest.Builder addRequestsBuilder(int index)
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
getRequestsBuilderList
public List<AsyncAnnotateFileRequest.Builder> getRequestsBuilderList()
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final AsyncBatchAnnotateFilesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
mergeUnknownFields
public final AsyncBatchAnnotateFilesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder>
-
-