public static final class EntityAnnotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder> implements EntityAnnotationOrBuilder
Set of detected entity features.Protobuf type
google.cloud.vision.v1.EntityAnnotation| Modifier and Type | Method and Description |
|---|---|
EntityAnnotation.Builder |
addAllLocations(java.lang.Iterable<? extends LocationInfo> values)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addAllProperties(java.lang.Iterable<? extends Property> values)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
addLocations(int index,
LocationInfo.Builder builderForValue)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addLocations(int index,
LocationInfo value)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addLocations(LocationInfo.Builder builderForValue)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addLocations(LocationInfo value)
The location information for the detected entity.
|
LocationInfo.Builder |
addLocationsBuilder()
The location information for the detected entity.
|
LocationInfo.Builder |
addLocationsBuilder(int index)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addProperties(int index,
Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
addProperties(int index,
Property value)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
addProperties(Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
addProperties(Property value)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
Property.Builder |
addPropertiesBuilder()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
Property.Builder |
addPropertiesBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EntityAnnotation |
build() |
EntityAnnotation |
buildPartial() |
EntityAnnotation.Builder |
clear() |
EntityAnnotation.Builder |
clearBoundingPoly()
Image region to which this entity belongs.
|
EntityAnnotation.Builder |
clearConfidence()
The accuracy of the entity detection in an image.
|
EntityAnnotation.Builder |
clearDescription()
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EntityAnnotation.Builder |
clearLocale()
The language code for the locale in which the entity textual
`description` is expressed.
|
EntityAnnotation.Builder |
clearLocations()
The location information for the detected entity.
|
EntityAnnotation.Builder |
clearMid()
Opaque entity ID.
|
EntityAnnotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EntityAnnotation.Builder |
clearProperties()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
clearScore()
Overall score of the result.
|
EntityAnnotation.Builder |
clearTopicality()
The relevancy of the ICA (Image Content Annotation) label to the
image.
|
EntityAnnotation.Builder |
clone() |
BoundingPoly |
getBoundingPoly()
Image region to which this entity belongs.
|
BoundingPoly.Builder |
getBoundingPolyBuilder()
Image region to which this entity belongs.
|
BoundingPolyOrBuilder |
getBoundingPolyOrBuilder()
Image region to which this entity belongs.
|
float |
getConfidence()
The accuracy of the entity detection in an image.
|
EntityAnnotation |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Entity textual description, expressed in its `locale` language.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Entity textual description, expressed in its `locale` language.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLocale()
The language code for the locale in which the entity textual
`description` is expressed.
|
com.google.protobuf.ByteString |
getLocaleBytes()
The language code for the locale in which the entity textual
`description` is expressed.
|
LocationInfo |
getLocations(int index)
The location information for the detected entity.
|
LocationInfo.Builder |
getLocationsBuilder(int index)
The location information for the detected entity.
|
java.util.List<LocationInfo.Builder> |
getLocationsBuilderList()
The location information for the detected entity.
|
int |
getLocationsCount()
The location information for the detected entity.
|
java.util.List<LocationInfo> |
getLocationsList()
The location information for the detected entity.
|
LocationInfoOrBuilder |
getLocationsOrBuilder(int index)
The location information for the detected entity.
|
java.util.List<? extends LocationInfoOrBuilder> |
getLocationsOrBuilderList()
The location information for the detected entity.
|
java.lang.String |
getMid()
Opaque entity ID.
|
com.google.protobuf.ByteString |
getMidBytes()
Opaque entity ID.
|
Property |
getProperties(int index)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
Property.Builder |
getPropertiesBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
java.util.List<Property.Builder> |
getPropertiesBuilderList()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
int |
getPropertiesCount()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
java.util.List<Property> |
getPropertiesList()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
PropertyOrBuilder |
getPropertiesOrBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
java.util.List<? extends PropertyOrBuilder> |
getPropertiesOrBuilderList()
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
float |
getScore()
Overall score of the result.
|
float |
getTopicality()
The relevancy of the ICA (Image Content Annotation) label to the
image.
|
boolean |
hasBoundingPoly()
Image region to which this entity belongs.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EntityAnnotation.Builder |
mergeBoundingPoly(BoundingPoly value)
Image region to which this entity belongs.
|
EntityAnnotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EntityAnnotation.Builder |
mergeFrom(EntityAnnotation other) |
EntityAnnotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
EntityAnnotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EntityAnnotation.Builder |
removeLocations(int index)
The location information for the detected entity.
|
EntityAnnotation.Builder |
removeProperties(int index)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
setBoundingPoly(BoundingPoly.Builder builderForValue)
Image region to which this entity belongs.
|
EntityAnnotation.Builder |
setBoundingPoly(BoundingPoly value)
Image region to which this entity belongs.
|
EntityAnnotation.Builder |
setConfidence(float value)
The accuracy of the entity detection in an image.
|
EntityAnnotation.Builder |
setDescription(java.lang.String value)
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EntityAnnotation.Builder |
setLocale(java.lang.String value)
The language code for the locale in which the entity textual
`description` is expressed.
|
EntityAnnotation.Builder |
setLocaleBytes(com.google.protobuf.ByteString value)
The language code for the locale in which the entity textual
`description` is expressed.
|
EntityAnnotation.Builder |
setLocations(int index,
LocationInfo.Builder builderForValue)
The location information for the detected entity.
|
EntityAnnotation.Builder |
setLocations(int index,
LocationInfo value)
The location information for the detected entity.
|
EntityAnnotation.Builder |
setMid(java.lang.String value)
Opaque entity ID.
|
EntityAnnotation.Builder |
setMidBytes(com.google.protobuf.ByteString value)
Opaque entity ID.
|
EntityAnnotation.Builder |
setProperties(int index,
Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
setProperties(int index,
Property value)
Some entities may have optional user-supplied `Property` (name/value)
fields, such a score or string that qualifies the entity.
|
EntityAnnotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
EntityAnnotation.Builder |
setScore(float value)
Overall score of the result.
|
EntityAnnotation.Builder |
setTopicality(float value)
The relevancy of the ICA (Image Content Annotation) label to the
image.
|
EntityAnnotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EntityAnnotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EntityAnnotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EntityAnnotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(EntityAnnotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityAnnotation.Builder>java.io.IOExceptionpublic java.lang.String getMid()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
optional string mid = 1;getMid in interface EntityAnnotationOrBuilderpublic com.google.protobuf.ByteString getMidBytes()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
optional string mid = 1;getMidBytes in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setMid(java.lang.String value)
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
optional string mid = 1;public EntityAnnotation.Builder clearMid()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
optional string mid = 1;public EntityAnnotation.Builder setMidBytes(com.google.protobuf.ByteString value)
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
optional string mid = 1;public java.lang.String getLocale()
The language code for the locale in which the entity textual `description` is expressed.
optional string locale = 2;getLocale in interface EntityAnnotationOrBuilderpublic com.google.protobuf.ByteString getLocaleBytes()
The language code for the locale in which the entity textual `description` is expressed.
optional string locale = 2;getLocaleBytes in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setLocale(java.lang.String value)
The language code for the locale in which the entity textual `description` is expressed.
optional string locale = 2;public EntityAnnotation.Builder clearLocale()
The language code for the locale in which the entity textual `description` is expressed.
optional string locale = 2;public EntityAnnotation.Builder setLocaleBytes(com.google.protobuf.ByteString value)
The language code for the locale in which the entity textual `description` is expressed.
optional string locale = 2;public java.lang.String getDescription()
Entity textual description, expressed in its `locale` language.
optional string description = 3;getDescription in interface EntityAnnotationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Entity textual description, expressed in its `locale` language.
optional string description = 3;getDescriptionBytes in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setDescription(java.lang.String value)
Entity textual description, expressed in its `locale` language.
optional string description = 3;public EntityAnnotation.Builder clearDescription()
Entity textual description, expressed in its `locale` language.
optional string description = 3;public EntityAnnotation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Entity textual description, expressed in its `locale` language.
optional string description = 3;public float getScore()
Overall score of the result. Range [0, 1].
optional float score = 4;getScore in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setScore(float value)
Overall score of the result. Range [0, 1].
optional float score = 4;public EntityAnnotation.Builder clearScore()
Overall score of the result. Range [0, 1].
optional float score = 4;public float getConfidence()
The accuracy of the entity detection in an image. For example, for an image in which the "Eiffel Tower" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].
optional float confidence = 5;getConfidence in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setConfidence(float value)
The accuracy of the entity detection in an image. For example, for an image in which the "Eiffel Tower" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].
optional float confidence = 5;public EntityAnnotation.Builder clearConfidence()
The accuracy of the entity detection in an image. For example, for an image in which the "Eiffel Tower" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].
optional float confidence = 5;public float getTopicality()
The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of "tower" is likely higher to an image containing the detected "Eiffel Tower" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].
optional float topicality = 6;getTopicality in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setTopicality(float value)
The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of "tower" is likely higher to an image containing the detected "Eiffel Tower" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].
optional float topicality = 6;public EntityAnnotation.Builder clearTopicality()
The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of "tower" is likely higher to an image containing the detected "Eiffel Tower" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].
optional float topicality = 6;public boolean hasBoundingPoly()
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;hasBoundingPoly in interface EntityAnnotationOrBuilderpublic BoundingPoly getBoundingPoly()
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;getBoundingPoly in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setBoundingPoly(BoundingPoly value)
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder mergeBoundingPoly(BoundingPoly value)
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder clearBoundingPoly()
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public BoundingPoly.Builder getBoundingPolyBuilder()
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
Image region to which this entity belongs. Currently not produced for `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR), `boundingPoly`s are produced for the entire text detected in an image region, followed by `boundingPoly`s for each word within the detected text.
optional .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;getBoundingPolyOrBuilder in interface EntityAnnotationOrBuilderpublic java.util.List<LocationInfo> getLocationsList()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;getLocationsList in interface EntityAnnotationOrBuilderpublic int getLocationsCount()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;getLocationsCount in interface EntityAnnotationOrBuilderpublic LocationInfo getLocations(int index)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;getLocations in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setLocations(int index, LocationInfo value)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder setLocations(int index, LocationInfo.Builder builderForValue)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder addLocations(LocationInfo value)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder addLocations(int index, LocationInfo value)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder addLocations(LocationInfo.Builder builderForValue)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder addLocations(int index, LocationInfo.Builder builderForValue)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder addAllLocations(java.lang.Iterable<? extends LocationInfo> values)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder clearLocations()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public EntityAnnotation.Builder removeLocations(int index)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public LocationInfo.Builder getLocationsBuilder(int index)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public LocationInfoOrBuilder getLocationsOrBuilder(int index)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;getLocationsOrBuilder in interface EntityAnnotationOrBuilderpublic java.util.List<? extends LocationInfoOrBuilder> getLocationsOrBuilderList()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;getLocationsOrBuilderList in interface EntityAnnotationOrBuilderpublic LocationInfo.Builder addLocationsBuilder()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public LocationInfo.Builder addLocationsBuilder(int index)
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public java.util.List<LocationInfo.Builder> getLocationsBuilderList()
The location information for the detected entity. Multiple `LocationInfo` elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.
repeated .google.cloud.vision.v1.LocationInfo locations = 8;public java.util.List<Property> getPropertiesList()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;getPropertiesList in interface EntityAnnotationOrBuilderpublic int getPropertiesCount()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;getPropertiesCount in interface EntityAnnotationOrBuilderpublic Property getProperties(int index)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;getProperties in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setProperties(int index, Property value)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder setProperties(int index, Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder addProperties(Property value)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder addProperties(int index, Property value)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder addProperties(Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder addProperties(int index, Property.Builder builderForValue)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder addAllProperties(java.lang.Iterable<? extends Property> values)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder clearProperties()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public EntityAnnotation.Builder removeProperties(int index)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public Property.Builder getPropertiesBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public PropertyOrBuilder getPropertiesOrBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;getPropertiesOrBuilder in interface EntityAnnotationOrBuilderpublic java.util.List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;getPropertiesOrBuilderList in interface EntityAnnotationOrBuilderpublic Property.Builder addPropertiesBuilder()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public Property.Builder addPropertiesBuilder(int index)
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public java.util.List<Property.Builder> getPropertiesBuilderList()
Some entities may have optional user-supplied `Property` (name/value) fields, such a score or string that qualifies the entity.
repeated .google.cloud.vision.v1.Property properties = 9;public final EntityAnnotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>public final EntityAnnotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>