public static final class EntityAnnotation.Builder extends 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(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()
**Deprecated.
|
EntityAnnotation.Builder |
clearDescription()
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
clearField(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(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()
**Deprecated.
|
EntityAnnotation |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Entity textual description, expressed in its `locale` language.
|
ByteString |
getDescriptionBytes()
Entity textual description, expressed in its `locale` language.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getLocale()
The language code for the locale in which the entity textual
`description` is expressed.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EntityAnnotation.Builder |
mergeBoundingPoly(BoundingPoly value)
Image region to which this entity belongs.
|
EntityAnnotation.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
EntityAnnotation.Builder |
mergeFrom(EntityAnnotation other) |
EntityAnnotation.Builder |
mergeFrom(Message other) |
EntityAnnotation.Builder |
mergeUnknownFields(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)
**Deprecated.
|
EntityAnnotation.Builder |
setDescription(java.lang.String value)
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
setDescriptionBytes(ByteString value)
Entity textual description, expressed in its `locale` language.
|
EntityAnnotation.Builder |
setField(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(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(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(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(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic EntityAnnotation build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic EntityAnnotation buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic EntityAnnotation.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(EntityAnnotation other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public EntityAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class 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/).
string mid = 1;getMid in interface EntityAnnotationOrBuilderpublic ByteString getMidBytes()
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
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/).
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/).
string mid = 1;public EntityAnnotation.Builder setMidBytes(ByteString value)
Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/).
string mid = 1;public java.lang.String getLocale()
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;getLocale in interface EntityAnnotationOrBuilderpublic ByteString getLocaleBytes()
The language code for the locale in which the entity textual `description` is expressed.
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.
string locale = 2;public EntityAnnotation.Builder clearLocale()
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;public EntityAnnotation.Builder setLocaleBytes(ByteString value)
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;public java.lang.String getDescription()
Entity textual description, expressed in its `locale` language.
string description = 3;getDescription in interface EntityAnnotationOrBuilderpublic ByteString getDescriptionBytes()
Entity textual description, expressed in its `locale` language.
string description = 3;getDescriptionBytes in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setDescription(java.lang.String value)
Entity textual description, expressed in its `locale` language.
string description = 3;public EntityAnnotation.Builder clearDescription()
Entity textual description, expressed in its `locale` language.
string description = 3;public EntityAnnotation.Builder setDescriptionBytes(ByteString value)
Entity textual description, expressed in its `locale` language.
string description = 3;public float getScore()
Overall score of the result. Range [0, 1].
float score = 4;getScore in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setScore(float value)
Overall score of the result. Range [0, 1].
float score = 4;public EntityAnnotation.Builder clearScore()
Overall score of the result. Range [0, 1].
float score = 4;public float getConfidence()
**Deprecated. Use `score` instead.** 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].
float confidence = 5;getConfidence in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setConfidence(float value)
**Deprecated. Use `score` instead.** 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].
float confidence = 5;public EntityAnnotation.Builder clearConfidence()
**Deprecated. Use `score` instead.** 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].
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].
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].
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].
float topicality = 6;public boolean hasBoundingPoly()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;hasBoundingPoly in interface EntityAnnotationOrBuilderpublic BoundingPoly getBoundingPoly()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;getBoundingPoly in interface EntityAnnotationOrBuilderpublic EntityAnnotation.Builder setBoundingPoly(BoundingPoly value)
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder setBoundingPoly(BoundingPoly.Builder builderForValue)
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder mergeBoundingPoly(BoundingPoly value)
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public EntityAnnotation.Builder clearBoundingPoly()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public BoundingPoly.Builder getBoundingPolyBuilder()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1.BoundingPoly bounding_poly = 7;public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.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(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>public final EntityAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>