Package com.google.cloud.vision.v1
Class BatchAnnotateFilesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
- com.google.cloud.vision.v1.BatchAnnotateFilesResponse.Builder
-
- All Implemented Interfaces:
BatchAnnotateFilesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchAnnotateFilesResponse
public static final class BatchAnnotateFilesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder> implements BatchAnnotateFilesResponseOrBuilder
A list of file annotation responses.
Protobuf typegoogle.cloud.vision.v1.BatchAnnotateFilesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchAnnotateFilesResponse.BuilderaddAllResponses(Iterable<? extends AnnotateFileResponse> values)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchAnnotateFilesResponse.BuilderaddResponses(int index, AnnotateFileResponse value)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuilderaddResponses(int index, AnnotateFileResponse.Builder builderForValue)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuilderaddResponses(AnnotateFileResponse value)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuilderaddResponses(AnnotateFileResponse.Builder builderForValue)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.BuilderaddResponsesBuilder()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.BuilderaddResponsesBuilder(int index)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponsebuild()BatchAnnotateFilesResponsebuildPartial()BatchAnnotateFilesResponse.Builderclear()BatchAnnotateFilesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchAnnotateFilesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchAnnotateFilesResponse.BuilderclearResponses()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.Builderclone()BatchAnnotateFilesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AnnotateFileResponsegetResponses(int index)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponse.BuildergetResponsesBuilder(int index)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<AnnotateFileResponse.Builder>getResponsesBuilderList()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.intgetResponsesCount()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<AnnotateFileResponse>getResponsesList()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.AnnotateFileResponseOrBuildergetResponsesOrBuilder(int index)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.List<? extends AnnotateFileResponseOrBuilder>getResponsesOrBuilderList()The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchAnnotateFilesResponse.BuildermergeFrom(BatchAnnotateFilesResponse other)BatchAnnotateFilesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchAnnotateFilesResponse.BuildermergeFrom(com.google.protobuf.Message other)BatchAnnotateFilesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchAnnotateFilesResponse.BuilderremoveResponses(int index)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BatchAnnotateFilesResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BatchAnnotateFilesResponse.BuildersetResponses(int index, AnnotateFileResponse value)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.BuildersetResponses(int index, AnnotateFileResponse.Builder builderForValue)The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
clear
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
getDefaultInstanceForType
public BatchAnnotateFilesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchAnnotateFilesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchAnnotateFilesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
setField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
clearField
public BatchAnnotateFilesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
clearOneof
public BatchAnnotateFilesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
setRepeatedField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
addRepeatedField
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.Builder mergeFrom(BatchAnnotateFilesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeFrom
public BatchAnnotateFilesResponse.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<BatchAnnotateFilesResponse.Builder>- Throws:
IOException
-
getResponsesList
public List<AnnotateFileResponse> getResponsesList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;- Specified by:
getResponsesListin interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponsesCount
public int getResponsesCount()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;- Specified by:
getResponsesCountin interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponses
public AnnotateFileResponse getResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;- Specified by:
getResponsesin interfaceBatchAnnotateFilesResponseOrBuilder
-
setResponses
public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
setResponses
public BatchAnnotateFilesResponse.Builder setResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse value)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addResponses
public BatchAnnotateFilesResponse.Builder addResponses(int index, AnnotateFileResponse.Builder builderForValue)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addAllResponses
public BatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AnnotateFileResponse> values)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
clearResponses
public BatchAnnotateFilesResponse.Builder clearResponses()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
removeResponses
public BatchAnnotateFilesResponse.Builder removeResponses(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
getResponsesBuilder
public AnnotateFileResponse.Builder getResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
getResponsesOrBuilder
public AnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;- Specified by:
getResponsesOrBuilderin interfaceBatchAnnotateFilesResponseOrBuilder
-
getResponsesOrBuilderList
public List<? extends AnnotateFileResponseOrBuilder> getResponsesOrBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;- Specified by:
getResponsesOrBuilderListin interfaceBatchAnnotateFilesResponseOrBuilder
-
addResponsesBuilder
public AnnotateFileResponse.Builder addResponsesBuilder()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
addResponsesBuilder
public AnnotateFileResponse.Builder addResponsesBuilder(int index)
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
getResponsesBuilderList
public List<AnnotateFileResponse.Builder> getResponsesBuilderList()
The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.
repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;
-
setUnknownFields
public final BatchAnnotateFilesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
mergeUnknownFields
public final BatchAnnotateFilesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder>
-
-