Package com.google.cloud.vision.v1
Class BatchAnnotateImagesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder>
com.google.cloud.vision.v1.BatchAnnotateImagesResponse.Builder
- All Implemented Interfaces:
BatchAnnotateImagesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchAnnotateImagesResponse
public static final class BatchAnnotateImagesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder>
implements BatchAnnotateImagesResponseOrBuilder
Response to a batch image annotation request.Protobuf type
google.cloud.vision.v1.BatchAnnotateImagesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllResponses(Iterable<? extends AnnotateImageResponse> values) Individual responses to image annotation requests within the batch.addResponses(int index, AnnotateImageResponse value) Individual responses to image annotation requests within the batch.addResponses(int index, AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.Individual responses to image annotation requests within the batch.addResponses(AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.Individual responses to image annotation requests within the batch.addResponsesBuilder(int index) Individual responses to image annotation requests within the batch.build()clear()Individual responses to image annotation requests within the batch.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetResponses(int index) Individual responses to image annotation requests within the batch.getResponsesBuilder(int index) Individual responses to image annotation requests within the batch.Individual responses to image annotation requests within the batch.intIndividual responses to image annotation requests within the batch.Individual responses to image annotation requests within the batch.getResponsesOrBuilder(int index) Individual responses to image annotation requests within the batch.List<? extends AnnotateImageResponseOrBuilder>Individual responses to image annotation requests within the batch.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeResponses(int index) Individual responses to image annotation requests within the batch.setResponses(int index, AnnotateImageResponse value) Individual responses to image annotation requests within the batch.setResponses(int index, AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchAnnotateImagesResponse.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.GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchAnnotateImagesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchAnnotateImagesResponse.Builder>
-
mergeFrom
public BatchAnnotateImagesResponse.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<BatchAnnotateImagesResponse.Builder>- Throws:
IOException
-
getResponsesList
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;- Specified by:
getResponsesListin interfaceBatchAnnotateImagesResponseOrBuilder
-
getResponsesCount
public int getResponsesCount()Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;- Specified by:
getResponsesCountin interfaceBatchAnnotateImagesResponseOrBuilder
-
getResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;- Specified by:
getResponsesin interfaceBatchAnnotateImagesResponseOrBuilder
-
setResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
setResponses
public BatchAnnotateImagesResponse.Builder setResponses(int index, AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addResponses
public BatchAnnotateImagesResponse.Builder addResponses(AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addResponses
public BatchAnnotateImagesResponse.Builder addResponses(int index, AnnotateImageResponse.Builder builderForValue) Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addAllResponses
public BatchAnnotateImagesResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values) Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
clearResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
removeResponses
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
getResponsesBuilder
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
getResponsesOrBuilder
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;- Specified by:
getResponsesOrBuilderin interfaceBatchAnnotateImagesResponseOrBuilder
-
getResponsesOrBuilderList
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;- Specified by:
getResponsesOrBuilderListin interfaceBatchAnnotateImagesResponseOrBuilder
-
addResponsesBuilder
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
addResponsesBuilder
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1; -
getResponsesBuilderList
Individual responses to image annotation requests within the batch.
repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 1;
-