Class AnnotateImageResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
-
- com.google.cloud.vision.v1p4beta1.AnnotateImageResponse.Builder
-
- All Implemented Interfaces:
AnnotateImageResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AnnotateImageResponse
public static final class AnnotateImageResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotateImageResponse.Builder> implements AnnotateImageResponseOrBuilder
Response to an image annotation request.
Protobuf typegoogle.cloud.vision.v1p4beta1.AnnotateImageResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotateImageResponse.Builder
addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
addAllLabelAnnotations(Iterable<? extends EntityAnnotation> values)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
addAllLandmarkAnnotations(Iterable<? extends EntityAnnotation> values)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
addAllLocalizedObjectAnnotations(Iterable<? extends LocalizedObjectAnnotation> values)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
addAllLogoAnnotations(Iterable<? extends EntityAnnotation> values)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
addAllTextAnnotations(Iterable<? extends EntityAnnotation> values)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
addFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
addFaceAnnotations(FaceAnnotation value)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
addFaceAnnotations(FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.FaceAnnotation.Builder
addFaceAnnotationsBuilder()
If present, face detection has completed successfully.FaceAnnotation.Builder
addFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
addLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
addLabelAnnotations(EntityAnnotation value)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
addLabelAnnotations(EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.EntityAnnotation.Builder
addLabelAnnotationsBuilder()
If present, label detection has completed successfully.EntityAnnotation.Builder
addLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
addLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
addLandmarkAnnotations(EntityAnnotation value)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.EntityAnnotation.Builder
addLandmarkAnnotationsBuilder()
If present, landmark detection has completed successfully.EntityAnnotation.Builder
addLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
addLocalizedObjectAnnotations(LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
addLocalizedObjectAnnotations(LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully.LocalizedObjectAnnotation.Builder
addLocalizedObjectAnnotationsBuilder()
If present, localized object detection has completed successfully.LocalizedObjectAnnotation.Builder
addLocalizedObjectAnnotationsBuilder(int index)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
addLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
addLogoAnnotations(EntityAnnotation value)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
addLogoAnnotations(EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.EntityAnnotation.Builder
addLogoAnnotationsBuilder()
If present, logo detection has completed successfully.EntityAnnotation.Builder
addLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateImageResponse.Builder
addTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
addTextAnnotations(EntityAnnotation value)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
addTextAnnotations(EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.EntityAnnotation.Builder
addTextAnnotationsBuilder()
If present, text (OCR) detection has completed successfully.EntityAnnotation.Builder
addTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse
build()
AnnotateImageResponse
buildPartial()
AnnotateImageResponse.Builder
clear()
AnnotateImageResponse.Builder
clearContext()
If present, contextual information is needed to understand where this image comes from.AnnotateImageResponse.Builder
clearCropHintsAnnotation()
If present, crop hints have completed successfully.AnnotateImageResponse.Builder
clearError()
If set, represents the error message for the operation.AnnotateImageResponse.Builder
clearFaceAnnotations()
If present, face detection has completed successfully.AnnotateImageResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AnnotateImageResponse.Builder
clearFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.AnnotateImageResponse.Builder
clearImagePropertiesAnnotation()
If present, image properties were extracted successfully.AnnotateImageResponse.Builder
clearLabelAnnotations()
If present, label detection has completed successfully.AnnotateImageResponse.Builder
clearLandmarkAnnotations()
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
clearLocalizedObjectAnnotations()
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
clearLogoAnnotations()
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AnnotateImageResponse.Builder
clearProductSearchResults()
If present, product search has completed successfully.AnnotateImageResponse.Builder
clearSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.AnnotateImageResponse.Builder
clearTextAnnotations()
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
clearWebDetection()
If present, web detection has completed successfully.AnnotateImageResponse.Builder
clone()
ImageAnnotationContext
getContext()
If present, contextual information is needed to understand where this image comes from.ImageAnnotationContext.Builder
getContextBuilder()
If present, contextual information is needed to understand where this image comes from.ImageAnnotationContextOrBuilder
getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.CropHintsAnnotation
getCropHintsAnnotation()
If present, crop hints have completed successfully.CropHintsAnnotation.Builder
getCropHintsAnnotationBuilder()
If present, crop hints have completed successfully.CropHintsAnnotationOrBuilder
getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.AnnotateImageResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.rpc.Status
getError()
If set, represents the error message for the operation.com.google.rpc.Status.Builder
getErrorBuilder()
If set, represents the error message for the operation.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
If set, represents the error message for the operation.FaceAnnotation
getFaceAnnotations(int index)
If present, face detection has completed successfully.FaceAnnotation.Builder
getFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.List<FaceAnnotation.Builder>
getFaceAnnotationsBuilderList()
If present, face detection has completed successfully.int
getFaceAnnotationsCount()
If present, face detection has completed successfully.List<FaceAnnotation>
getFaceAnnotationsList()
If present, face detection has completed successfully.FaceAnnotationOrBuilder
getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.List<? extends FaceAnnotationOrBuilder>
getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.TextAnnotation
getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.TextAnnotation.Builder
getFullTextAnnotationBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.TextAnnotationOrBuilder
getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.ImageProperties
getImagePropertiesAnnotation()
If present, image properties were extracted successfully.ImageProperties.Builder
getImagePropertiesAnnotationBuilder()
If present, image properties were extracted successfully.ImagePropertiesOrBuilder
getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.EntityAnnotation
getLabelAnnotations(int index)
If present, label detection has completed successfully.EntityAnnotation.Builder
getLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.List<EntityAnnotation.Builder>
getLabelAnnotationsBuilderList()
If present, label detection has completed successfully.int
getLabelAnnotationsCount()
If present, label detection has completed successfully.List<EntityAnnotation>
getLabelAnnotationsList()
If present, label detection has completed successfully.EntityAnnotationOrBuilder
getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.EntityAnnotation
getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.EntityAnnotation.Builder
getLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.List<EntityAnnotation.Builder>
getLandmarkAnnotationsBuilderList()
If present, landmark detection has completed successfully.int
getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.List<EntityAnnotation>
getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.EntityAnnotationOrBuilder
getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.LocalizedObjectAnnotation
getLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully.LocalizedObjectAnnotation.Builder
getLocalizedObjectAnnotationsBuilder(int index)
If present, localized object detection has completed successfully.List<LocalizedObjectAnnotation.Builder>
getLocalizedObjectAnnotationsBuilderList()
If present, localized object detection has completed successfully.int
getLocalizedObjectAnnotationsCount()
If present, localized object detection has completed successfully.List<LocalizedObjectAnnotation>
getLocalizedObjectAnnotationsList()
If present, localized object detection has completed successfully.LocalizedObjectAnnotationOrBuilder
getLocalizedObjectAnnotationsOrBuilder(int index)
If present, localized object detection has completed successfully.List<? extends LocalizedObjectAnnotationOrBuilder>
getLocalizedObjectAnnotationsOrBuilderList()
If present, localized object detection has completed successfully.EntityAnnotation
getLogoAnnotations(int index)
If present, logo detection has completed successfully.EntityAnnotation.Builder
getLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.List<EntityAnnotation.Builder>
getLogoAnnotationsBuilderList()
If present, logo detection has completed successfully.int
getLogoAnnotationsCount()
If present, logo detection has completed successfully.List<EntityAnnotation>
getLogoAnnotationsList()
If present, logo detection has completed successfully.EntityAnnotationOrBuilder
getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.ProductSearchResults
getProductSearchResults()
If present, product search has completed successfully.ProductSearchResults.Builder
getProductSearchResultsBuilder()
If present, product search has completed successfully.ProductSearchResultsOrBuilder
getProductSearchResultsOrBuilder()
If present, product search has completed successfully.SafeSearchAnnotation
getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.SafeSearchAnnotation.Builder
getSafeSearchAnnotationBuilder()
If present, safe-search annotation has completed successfully.SafeSearchAnnotationOrBuilder
getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.EntityAnnotation
getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.EntityAnnotation.Builder
getTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.List<EntityAnnotation.Builder>
getTextAnnotationsBuilderList()
If present, text (OCR) detection has completed successfully.int
getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.List<EntityAnnotation>
getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.EntityAnnotationOrBuilder
getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.List<? extends EntityAnnotationOrBuilder>
getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.WebDetection
getWebDetection()
If present, web detection has completed successfully.WebDetection.Builder
getWebDetectionBuilder()
If present, web detection has completed successfully.WebDetectionOrBuilder
getWebDetectionOrBuilder()
If present, web detection has completed successfully.boolean
hasContext()
If present, contextual information is needed to understand where this image comes from.boolean
hasCropHintsAnnotation()
If present, crop hints have completed successfully.boolean
hasError()
If set, represents the error message for the operation.boolean
hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully.boolean
hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.boolean
hasProductSearchResults()
If present, product search has completed successfully.boolean
hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.boolean
hasWebDetection()
If present, web detection has completed successfully.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AnnotateImageResponse.Builder
mergeContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.AnnotateImageResponse.Builder
mergeCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.AnnotateImageResponse.Builder
mergeError(com.google.rpc.Status value)
If set, represents the error message for the operation.AnnotateImageResponse.Builder
mergeFrom(AnnotateImageResponse other)
AnnotateImageResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AnnotateImageResponse.Builder
mergeFrom(com.google.protobuf.Message other)
AnnotateImageResponse.Builder
mergeFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully.AnnotateImageResponse.Builder
mergeImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.AnnotateImageResponse.Builder
mergeProductSearchResults(ProductSearchResults value)
If present, product search has completed successfully.AnnotateImageResponse.Builder
mergeSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.AnnotateImageResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnnotateImageResponse.Builder
mergeWebDetection(WebDetection value)
If present, web detection has completed successfully.AnnotateImageResponse.Builder
removeFaceAnnotations(int index)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
removeLabelAnnotations(int index)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
removeLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
removeLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
removeLogoAnnotations(int index)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
removeTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
setContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.AnnotateImageResponse.Builder
setContext(ImageAnnotationContext.Builder builderForValue)
If present, contextual information is needed to understand where this image comes from.AnnotateImageResponse.Builder
setCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.AnnotateImageResponse.Builder
setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
If present, crop hints have completed successfully.AnnotateImageResponse.Builder
setError(com.google.rpc.Status value)
If set, represents the error message for the operation.AnnotateImageResponse.Builder
setError(com.google.rpc.Status.Builder builderForValue)
If set, represents the error message for the operation.AnnotateImageResponse.Builder
setFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.AnnotateImageResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnnotateImageResponse.Builder
setFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully.AnnotateImageResponse.Builder
setFullTextAnnotation(TextAnnotation.Builder builderForValue)
If present, text (OCR) detection or document (OCR) text detection has completed successfully.AnnotateImageResponse.Builder
setImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.AnnotateImageResponse.Builder
setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
If present, image properties were extracted successfully.AnnotateImageResponse.Builder
setLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.AnnotateImageResponse.Builder
setLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.AnnotateImageResponse.Builder
setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully.AnnotateImageResponse.Builder
setLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.AnnotateImageResponse.Builder
setProductSearchResults(ProductSearchResults value)
If present, product search has completed successfully.AnnotateImageResponse.Builder
setProductSearchResults(ProductSearchResults.Builder builderForValue)
If present, product search has completed successfully.AnnotateImageResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AnnotateImageResponse.Builder
setSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.AnnotateImageResponse.Builder
setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
If present, safe-search annotation has completed successfully.AnnotateImageResponse.Builder
setTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.AnnotateImageResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnnotateImageResponse.Builder
setWebDetection(WebDetection value)
If present, web detection has completed successfully.AnnotateImageResponse.Builder
setWebDetection(WebDetection.Builder builderForValue)
If present, web detection has completed successfully.-
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<AnnotateImageResponse.Builder>
-
clear
public AnnotateImageResponse.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<AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
getDefaultInstanceForType
public AnnotateImageResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnnotateImageResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnnotateImageResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
setField
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
clearField
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
clearOneof
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
setRepeatedField
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
addRepeatedField
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
-
mergeFrom
public AnnotateImageResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnnotateImageResponse.Builder>
-
mergeFrom
public AnnotateImageResponse.Builder mergeFrom(AnnotateImageResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
-
mergeFrom
public AnnotateImageResponse.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<AnnotateImageResponse.Builder>
- Throws:
IOException
-
getFaceAnnotationsList
public List<FaceAnnotation> getFaceAnnotationsList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
- Specified by:
getFaceAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getFaceAnnotationsCount
public int getFaceAnnotationsCount()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
- Specified by:
getFaceAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getFaceAnnotations
public FaceAnnotation getFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
- Specified by:
getFaceAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setFaceAnnotations
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
setFaceAnnotations
public AnnotateImageResponse.Builder setFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addFaceAnnotations
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addFaceAnnotations
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation value)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addFaceAnnotations
public AnnotateImageResponse.Builder addFaceAnnotations(FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addFaceAnnotations
public AnnotateImageResponse.Builder addFaceAnnotations(int index, FaceAnnotation.Builder builderForValue)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addAllFaceAnnotations
public AnnotateImageResponse.Builder addAllFaceAnnotations(Iterable<? extends FaceAnnotation> values)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
clearFaceAnnotations
public AnnotateImageResponse.Builder clearFaceAnnotations()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
removeFaceAnnotations
public AnnotateImageResponse.Builder removeFaceAnnotations(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsBuilder
public FaceAnnotation.Builder getFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsOrBuilder
public FaceAnnotationOrBuilder getFaceAnnotationsOrBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
- Specified by:
getFaceAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getFaceAnnotationsOrBuilderList
public List<? extends FaceAnnotationOrBuilder> getFaceAnnotationsOrBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
- Specified by:
getFaceAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addFaceAnnotationsBuilder
public FaceAnnotation.Builder addFaceAnnotationsBuilder()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
addFaceAnnotationsBuilder
public FaceAnnotation.Builder addFaceAnnotationsBuilder(int index)
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getFaceAnnotationsBuilderList
public List<FaceAnnotation.Builder> getFaceAnnotationsBuilderList()
If present, face detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.FaceAnnotation face_annotations = 1;
-
getLandmarkAnnotationsList
public List<EntityAnnotation> getLandmarkAnnotationsList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
- Specified by:
getLandmarkAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getLandmarkAnnotationsCount
public int getLandmarkAnnotationsCount()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
- Specified by:
getLandmarkAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getLandmarkAnnotations
public EntityAnnotation getLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
- Specified by:
getLandmarkAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setLandmarkAnnotations
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
setLandmarkAnnotations
public AnnotateImageResponse.Builder setLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addLandmarkAnnotations
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addLandmarkAnnotations
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation value)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addLandmarkAnnotations
public AnnotateImageResponse.Builder addLandmarkAnnotations(EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addLandmarkAnnotations
public AnnotateImageResponse.Builder addLandmarkAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addAllLandmarkAnnotations
public AnnotateImageResponse.Builder addAllLandmarkAnnotations(Iterable<? extends EntityAnnotation> values)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
clearLandmarkAnnotations
public AnnotateImageResponse.Builder clearLandmarkAnnotations()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
removeLandmarkAnnotations
public AnnotateImageResponse.Builder removeLandmarkAnnotations(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsBuilder
public EntityAnnotation.Builder getLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsOrBuilder
public EntityAnnotationOrBuilder getLandmarkAnnotationsOrBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
- Specified by:
getLandmarkAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getLandmarkAnnotationsOrBuilderList
public List<? extends EntityAnnotationOrBuilder> getLandmarkAnnotationsOrBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
- Specified by:
getLandmarkAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addLandmarkAnnotationsBuilder
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
addLandmarkAnnotationsBuilder
public EntityAnnotation.Builder addLandmarkAnnotationsBuilder(int index)
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLandmarkAnnotationsBuilderList
public List<EntityAnnotation.Builder> getLandmarkAnnotationsBuilderList()
If present, landmark detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation landmark_annotations = 2;
-
getLogoAnnotationsList
public List<EntityAnnotation> getLogoAnnotationsList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
- Specified by:
getLogoAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getLogoAnnotationsCount
public int getLogoAnnotationsCount()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
- Specified by:
getLogoAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getLogoAnnotations
public EntityAnnotation getLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
- Specified by:
getLogoAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setLogoAnnotations
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
setLogoAnnotations
public AnnotateImageResponse.Builder setLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addLogoAnnotations
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addLogoAnnotations
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation value)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addLogoAnnotations
public AnnotateImageResponse.Builder addLogoAnnotations(EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addLogoAnnotations
public AnnotateImageResponse.Builder addLogoAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addAllLogoAnnotations
public AnnotateImageResponse.Builder addAllLogoAnnotations(Iterable<? extends EntityAnnotation> values)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
clearLogoAnnotations
public AnnotateImageResponse.Builder clearLogoAnnotations()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
removeLogoAnnotations
public AnnotateImageResponse.Builder removeLogoAnnotations(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsBuilder
public EntityAnnotation.Builder getLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsOrBuilder
public EntityAnnotationOrBuilder getLogoAnnotationsOrBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
- Specified by:
getLogoAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getLogoAnnotationsOrBuilderList
public List<? extends EntityAnnotationOrBuilder> getLogoAnnotationsOrBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
- Specified by:
getLogoAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addLogoAnnotationsBuilder
public EntityAnnotation.Builder addLogoAnnotationsBuilder()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
addLogoAnnotationsBuilder
public EntityAnnotation.Builder addLogoAnnotationsBuilder(int index)
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLogoAnnotationsBuilderList
public List<EntityAnnotation.Builder> getLogoAnnotationsBuilderList()
If present, logo detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation logo_annotations = 3;
-
getLabelAnnotationsList
public List<EntityAnnotation> getLabelAnnotationsList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
- Specified by:
getLabelAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getLabelAnnotationsCount
public int getLabelAnnotationsCount()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
- Specified by:
getLabelAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getLabelAnnotations
public EntityAnnotation getLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
- Specified by:
getLabelAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setLabelAnnotations
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
setLabelAnnotations
public AnnotateImageResponse.Builder setLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addLabelAnnotations
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addLabelAnnotations
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation value)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addLabelAnnotations
public AnnotateImageResponse.Builder addLabelAnnotations(EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addLabelAnnotations
public AnnotateImageResponse.Builder addLabelAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addAllLabelAnnotations
public AnnotateImageResponse.Builder addAllLabelAnnotations(Iterable<? extends EntityAnnotation> values)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
clearLabelAnnotations
public AnnotateImageResponse.Builder clearLabelAnnotations()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
removeLabelAnnotations
public AnnotateImageResponse.Builder removeLabelAnnotations(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsBuilder
public EntityAnnotation.Builder getLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsOrBuilder
public EntityAnnotationOrBuilder getLabelAnnotationsOrBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
- Specified by:
getLabelAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getLabelAnnotationsOrBuilderList
public List<? extends EntityAnnotationOrBuilder> getLabelAnnotationsOrBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
- Specified by:
getLabelAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addLabelAnnotationsBuilder
public EntityAnnotation.Builder addLabelAnnotationsBuilder()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
addLabelAnnotationsBuilder
public EntityAnnotation.Builder addLabelAnnotationsBuilder(int index)
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLabelAnnotationsBuilderList
public List<EntityAnnotation.Builder> getLabelAnnotationsBuilderList()
If present, label detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation label_annotations = 4;
-
getLocalizedObjectAnnotationsList
public List<LocalizedObjectAnnotation> getLocalizedObjectAnnotationsList()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
- Specified by:
getLocalizedObjectAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getLocalizedObjectAnnotationsCount
public int getLocalizedObjectAnnotationsCount()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
- Specified by:
getLocalizedObjectAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getLocalizedObjectAnnotations
public LocalizedObjectAnnotation getLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
- Specified by:
getLocalizedObjectAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setLocalizedObjectAnnotations
public AnnotateImageResponse.Builder setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
setLocalizedObjectAnnotations
public AnnotateImageResponse.Builder setLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addLocalizedObjectAnnotations
public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addLocalizedObjectAnnotations
public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation value)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addLocalizedObjectAnnotations
public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addLocalizedObjectAnnotations
public AnnotateImageResponse.Builder addLocalizedObjectAnnotations(int index, LocalizedObjectAnnotation.Builder builderForValue)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addAllLocalizedObjectAnnotations
public AnnotateImageResponse.Builder addAllLocalizedObjectAnnotations(Iterable<? extends LocalizedObjectAnnotation> values)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
clearLocalizedObjectAnnotations
public AnnotateImageResponse.Builder clearLocalizedObjectAnnotations()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
removeLocalizedObjectAnnotations
public AnnotateImageResponse.Builder removeLocalizedObjectAnnotations(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsBuilder
public LocalizedObjectAnnotation.Builder getLocalizedObjectAnnotationsBuilder(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsOrBuilder
public LocalizedObjectAnnotationOrBuilder getLocalizedObjectAnnotationsOrBuilder(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
- Specified by:
getLocalizedObjectAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getLocalizedObjectAnnotationsOrBuilderList
public List<? extends LocalizedObjectAnnotationOrBuilder> getLocalizedObjectAnnotationsOrBuilderList()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
- Specified by:
getLocalizedObjectAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addLocalizedObjectAnnotationsBuilder
public LocalizedObjectAnnotation.Builder addLocalizedObjectAnnotationsBuilder()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
addLocalizedObjectAnnotationsBuilder
public LocalizedObjectAnnotation.Builder addLocalizedObjectAnnotationsBuilder(int index)
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getLocalizedObjectAnnotationsBuilderList
public List<LocalizedObjectAnnotation.Builder> getLocalizedObjectAnnotationsBuilderList()
If present, localized object detection has completed successfully. This will be sorted descending by confidence score.
repeated .google.cloud.vision.v1p4beta1.LocalizedObjectAnnotation localized_object_annotations = 22;
-
getTextAnnotationsList
public List<EntityAnnotation> getTextAnnotationsList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
- Specified by:
getTextAnnotationsList
in interfaceAnnotateImageResponseOrBuilder
-
getTextAnnotationsCount
public int getTextAnnotationsCount()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
- Specified by:
getTextAnnotationsCount
in interfaceAnnotateImageResponseOrBuilder
-
getTextAnnotations
public EntityAnnotation getTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
- Specified by:
getTextAnnotations
in interfaceAnnotateImageResponseOrBuilder
-
setTextAnnotations
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
setTextAnnotations
public AnnotateImageResponse.Builder setTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addTextAnnotations
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addTextAnnotations
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation value)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addTextAnnotations
public AnnotateImageResponse.Builder addTextAnnotations(EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addTextAnnotations
public AnnotateImageResponse.Builder addTextAnnotations(int index, EntityAnnotation.Builder builderForValue)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addAllTextAnnotations
public AnnotateImageResponse.Builder addAllTextAnnotations(Iterable<? extends EntityAnnotation> values)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
clearTextAnnotations
public AnnotateImageResponse.Builder clearTextAnnotations()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
removeTextAnnotations
public AnnotateImageResponse.Builder removeTextAnnotations(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsBuilder
public EntityAnnotation.Builder getTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsOrBuilder
public EntityAnnotationOrBuilder getTextAnnotationsOrBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
- Specified by:
getTextAnnotationsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
getTextAnnotationsOrBuilderList
public List<? extends EntityAnnotationOrBuilder> getTextAnnotationsOrBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
- Specified by:
getTextAnnotationsOrBuilderList
in interfaceAnnotateImageResponseOrBuilder
-
addTextAnnotationsBuilder
public EntityAnnotation.Builder addTextAnnotationsBuilder()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
addTextAnnotationsBuilder
public EntityAnnotation.Builder addTextAnnotationsBuilder(int index)
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
getTextAnnotationsBuilderList
public List<EntityAnnotation.Builder> getTextAnnotationsBuilderList()
If present, text (OCR) detection has completed successfully.
repeated .google.cloud.vision.v1p4beta1.EntityAnnotation text_annotations = 5;
-
hasFullTextAnnotation
public boolean hasFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
- Specified by:
hasFullTextAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the fullTextAnnotation field is set.
-
getFullTextAnnotation
public TextAnnotation getFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
- Specified by:
getFullTextAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The fullTextAnnotation.
-
setFullTextAnnotation
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
setFullTextAnnotation
public AnnotateImageResponse.Builder setFullTextAnnotation(TextAnnotation.Builder builderForValue)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
mergeFullTextAnnotation
public AnnotateImageResponse.Builder mergeFullTextAnnotation(TextAnnotation value)
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
clearFullTextAnnotation
public AnnotateImageResponse.Builder clearFullTextAnnotation()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
getFullTextAnnotationBuilder
public TextAnnotation.Builder getFullTextAnnotationBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
-
getFullTextAnnotationOrBuilder
public TextAnnotationOrBuilder getFullTextAnnotationOrBuilder()
If present, text (OCR) detection or document (OCR) text detection has completed successfully. This annotation provides the structural hierarchy for the OCR detected text.
.google.cloud.vision.v1p4beta1.TextAnnotation full_text_annotation = 12;
- Specified by:
getFullTextAnnotationOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasSafeSearchAnnotation
public boolean hasSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
- Specified by:
hasSafeSearchAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the safeSearchAnnotation field is set.
-
getSafeSearchAnnotation
public SafeSearchAnnotation getSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
- Specified by:
getSafeSearchAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The safeSearchAnnotation.
-
setSafeSearchAnnotation
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
setSafeSearchAnnotation
public AnnotateImageResponse.Builder setSafeSearchAnnotation(SafeSearchAnnotation.Builder builderForValue)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
mergeSafeSearchAnnotation
public AnnotateImageResponse.Builder mergeSafeSearchAnnotation(SafeSearchAnnotation value)
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
clearSafeSearchAnnotation
public AnnotateImageResponse.Builder clearSafeSearchAnnotation()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
getSafeSearchAnnotationBuilder
public SafeSearchAnnotation.Builder getSafeSearchAnnotationBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
-
getSafeSearchAnnotationOrBuilder
public SafeSearchAnnotationOrBuilder getSafeSearchAnnotationOrBuilder()
If present, safe-search annotation has completed successfully.
.google.cloud.vision.v1p4beta1.SafeSearchAnnotation safe_search_annotation = 6;
- Specified by:
getSafeSearchAnnotationOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasImagePropertiesAnnotation
public boolean hasImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
- Specified by:
hasImagePropertiesAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the imagePropertiesAnnotation field is set.
-
getImagePropertiesAnnotation
public ImageProperties getImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
- Specified by:
getImagePropertiesAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The imagePropertiesAnnotation.
-
setImagePropertiesAnnotation
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
setImagePropertiesAnnotation
public AnnotateImageResponse.Builder setImagePropertiesAnnotation(ImageProperties.Builder builderForValue)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
mergeImagePropertiesAnnotation
public AnnotateImageResponse.Builder mergeImagePropertiesAnnotation(ImageProperties value)
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
clearImagePropertiesAnnotation
public AnnotateImageResponse.Builder clearImagePropertiesAnnotation()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
getImagePropertiesAnnotationBuilder
public ImageProperties.Builder getImagePropertiesAnnotationBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
-
getImagePropertiesAnnotationOrBuilder
public ImagePropertiesOrBuilder getImagePropertiesAnnotationOrBuilder()
If present, image properties were extracted successfully.
.google.cloud.vision.v1p4beta1.ImageProperties image_properties_annotation = 8;
- Specified by:
getImagePropertiesAnnotationOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasCropHintsAnnotation
public boolean hasCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
- Specified by:
hasCropHintsAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the cropHintsAnnotation field is set.
-
getCropHintsAnnotation
public CropHintsAnnotation getCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
- Specified by:
getCropHintsAnnotation
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The cropHintsAnnotation.
-
setCropHintsAnnotation
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
setCropHintsAnnotation
public AnnotateImageResponse.Builder setCropHintsAnnotation(CropHintsAnnotation.Builder builderForValue)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
mergeCropHintsAnnotation
public AnnotateImageResponse.Builder mergeCropHintsAnnotation(CropHintsAnnotation value)
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
clearCropHintsAnnotation
public AnnotateImageResponse.Builder clearCropHintsAnnotation()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
getCropHintsAnnotationBuilder
public CropHintsAnnotation.Builder getCropHintsAnnotationBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
-
getCropHintsAnnotationOrBuilder
public CropHintsAnnotationOrBuilder getCropHintsAnnotationOrBuilder()
If present, crop hints have completed successfully.
.google.cloud.vision.v1p4beta1.CropHintsAnnotation crop_hints_annotation = 11;
- Specified by:
getCropHintsAnnotationOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasWebDetection
public boolean hasWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
- Specified by:
hasWebDetection
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the webDetection field is set.
-
getWebDetection
public WebDetection getWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
- Specified by:
getWebDetection
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The webDetection.
-
setWebDetection
public AnnotateImageResponse.Builder setWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
setWebDetection
public AnnotateImageResponse.Builder setWebDetection(WebDetection.Builder builderForValue)
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
mergeWebDetection
public AnnotateImageResponse.Builder mergeWebDetection(WebDetection value)
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
clearWebDetection
public AnnotateImageResponse.Builder clearWebDetection()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
getWebDetectionBuilder
public WebDetection.Builder getWebDetectionBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
-
getWebDetectionOrBuilder
public WebDetectionOrBuilder getWebDetectionOrBuilder()
If present, web detection has completed successfully.
.google.cloud.vision.v1p4beta1.WebDetection web_detection = 13;
- Specified by:
getWebDetectionOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasProductSearchResults
public boolean hasProductSearchResults()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
- Specified by:
hasProductSearchResults
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the productSearchResults field is set.
-
getProductSearchResults
public ProductSearchResults getProductSearchResults()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
- Specified by:
getProductSearchResults
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The productSearchResults.
-
setProductSearchResults
public AnnotateImageResponse.Builder setProductSearchResults(ProductSearchResults value)
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
setProductSearchResults
public AnnotateImageResponse.Builder setProductSearchResults(ProductSearchResults.Builder builderForValue)
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
mergeProductSearchResults
public AnnotateImageResponse.Builder mergeProductSearchResults(ProductSearchResults value)
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
clearProductSearchResults
public AnnotateImageResponse.Builder clearProductSearchResults()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
getProductSearchResultsBuilder
public ProductSearchResults.Builder getProductSearchResultsBuilder()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
-
getProductSearchResultsOrBuilder
public ProductSearchResultsOrBuilder getProductSearchResultsOrBuilder()
If present, product search has completed successfully.
.google.cloud.vision.v1p4beta1.ProductSearchResults product_search_results = 14;
- Specified by:
getProductSearchResultsOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasError
public boolean hasError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
- Specified by:
hasError
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
- Specified by:
getError
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The error.
-
setError
public AnnotateImageResponse.Builder setError(com.google.rpc.Status value)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
setError
public AnnotateImageResponse.Builder setError(com.google.rpc.Status.Builder builderForValue)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
mergeError
public AnnotateImageResponse.Builder mergeError(com.google.rpc.Status value)
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
clearError
public AnnotateImageResponse.Builder clearError()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when `error` is set.
.google.rpc.Status error = 9;
- Specified by:
getErrorOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
hasContext
public boolean hasContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
- Specified by:
hasContext
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
public ImageAnnotationContext getContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
- Specified by:
getContext
in interfaceAnnotateImageResponseOrBuilder
- Returns:
- The context.
-
setContext
public AnnotateImageResponse.Builder setContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
setContext
public AnnotateImageResponse.Builder setContext(ImageAnnotationContext.Builder builderForValue)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
mergeContext
public AnnotateImageResponse.Builder mergeContext(ImageAnnotationContext value)
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
clearContext
public AnnotateImageResponse.Builder clearContext()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
getContextBuilder
public ImageAnnotationContext.Builder getContextBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
-
getContextOrBuilder
public ImageAnnotationContextOrBuilder getContextOrBuilder()
If present, contextual information is needed to understand where this image comes from.
.google.cloud.vision.v1p4beta1.ImageAnnotationContext context = 21;
- Specified by:
getContextOrBuilder
in interfaceAnnotateImageResponseOrBuilder
-
setUnknownFields
public final AnnotateImageResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
-
mergeUnknownFields
public final AnnotateImageResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnnotateImageResponse.Builder>
-
-