Class AsyncBatchAnnotateFilesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
- com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse.Builder
-
- All Implemented Interfaces:
AsyncBatchAnnotateFilesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AsyncBatchAnnotateFilesResponse
public static final class AsyncBatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder> implements AsyncBatchAnnotateFilesResponseOrBuilder
Response to an async batch file annotation request.
Protobuf typegoogle.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncBatchAnnotateFilesResponse.BuilderaddAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AsyncBatchAnnotateFilesResponse.BuilderaddResponses(int index, AsyncAnnotateFileResponse value)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuilderaddResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuilderaddResponses(AsyncAnnotateFileResponse value)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuilderaddResponses(AsyncAnnotateFileResponse.Builder builderForValue)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.BuilderaddResponsesBuilder()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.BuilderaddResponsesBuilder(int index)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponsebuild()AsyncBatchAnnotateFilesResponsebuildPartial()AsyncBatchAnnotateFilesResponse.Builderclear()AsyncBatchAnnotateFilesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AsyncBatchAnnotateFilesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AsyncBatchAnnotateFilesResponse.BuilderclearResponses()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.Builderclone()AsyncBatchAnnotateFilesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AsyncAnnotateFileResponsegetResponses(int index)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponse.BuildergetResponsesBuilder(int index)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<AsyncAnnotateFileResponse.Builder>getResponsesBuilderList()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.intgetResponsesCount()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<AsyncAnnotateFileResponse>getResponsesList()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncAnnotateFileResponseOrBuildergetResponsesOrBuilder(int index)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.List<? extends AsyncAnnotateFileResponseOrBuilder>getResponsesOrBuilderList()The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AsyncBatchAnnotateFilesResponse.BuildermergeFrom(AsyncBatchAnnotateFilesResponse other)AsyncBatchAnnotateFilesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AsyncBatchAnnotateFilesResponse.BuildermergeFrom(com.google.protobuf.Message other)AsyncBatchAnnotateFilesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AsyncBatchAnnotateFilesResponse.BuilderremoveResponses(int index)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AsyncBatchAnnotateFilesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AsyncBatchAnnotateFilesResponse.BuildersetResponses(int index, AsyncAnnotateFileResponse value)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuildersetResponses(int index, AsyncAnnotateFileResponse.Builder builderForValue)The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.AsyncBatchAnnotateFilesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clear
public AsyncBatchAnnotateFilesResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
getDefaultInstanceForType
public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AsyncBatchAnnotateFilesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AsyncBatchAnnotateFilesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AsyncBatchAnnotateFilesResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
setField
public AsyncBatchAnnotateFilesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clearField
public AsyncBatchAnnotateFilesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
clearOneof
public AsyncBatchAnnotateFilesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
setRepeatedField
public AsyncBatchAnnotateFilesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
addRepeatedField
public AsyncBatchAnnotateFilesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(AsyncBatchAnnotateFilesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeFrom
public AsyncBatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AsyncBatchAnnotateFilesResponse.Builder>- Throws:
IOException
-
getResponsesList
public List<AsyncAnnotateFileResponse> getResponsesList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;- Specified by:
getResponsesListin interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponsesCount
public int getResponsesCount()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;- Specified by:
getResponsesCountin interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponses
public AsyncAnnotateFileResponse getResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;- Specified by:
getResponsesin interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
setResponses
public AsyncBatchAnnotateFilesResponse.Builder setResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
setResponses
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(int index, AsyncAnnotateFileResponse value)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
public AsyncBatchAnnotateFilesResponse.Builder addResponses(AsyncAnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addResponses
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.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addAllResponses
public AsyncBatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AsyncAnnotateFileResponse> values)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
clearResponses
public AsyncBatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
removeResponses
public AsyncBatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesBuilder
public AsyncAnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesOrBuilder
public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;- Specified by:
getResponsesOrBuilderin interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
getResponsesOrBuilderList
public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;- Specified by:
getResponsesOrBuilderListin interfaceAsyncBatchAnnotateFilesResponseOrBuilder
-
addResponsesBuilder
public AsyncAnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
addResponsesBuilder
public AsyncAnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
getResponsesBuilderList
public List<AsyncAnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1p4beta1.AsyncAnnotateFileResponse responses = 1;
-
setUnknownFields
public final AsyncBatchAnnotateFilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
mergeUnknownFields
public final AsyncBatchAnnotateFilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesResponse.Builder>
-
-