public static final class EntityAnnotation.Builder extends GeneratedMessageV3.Builder<EntityAnnotation.Builder> implements EntityAnnotationOrBuilder
Set of detected entity features.Protobuf type
google.cloud.vision.v1p3beta1.EntityAnnotation
Modifier and Type | Method and Description |
---|---|
EntityAnnotation.Builder |
addAllLocations(Iterable<? extends LocationInfo> values)
The location information for the detected entity.
|
EntityAnnotation.Builder |
addAllProperties(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,
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() |
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() |
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.
|
List<LocationInfo.Builder> |
getLocationsBuilderList()
The location information for the detected entity.
|
int |
getLocationsCount()
The location information for the detected entity.
|
List<LocationInfo> |
getLocationsList()
The location information for the detected entity.
|
LocationInfoOrBuilder |
getLocationsOrBuilder(int index)
The location information for the detected entity.
|
List<? extends LocationInfoOrBuilder> |
getLocationsOrBuilderList()
The location information for the detected entity.
|
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.
|
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.
|
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.
|
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(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,
Object value) |
EntityAnnotation.Builder |
setLocale(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(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,
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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EntityAnnotation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EntityAnnotation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EntityAnnotation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder mergeFrom(EntityAnnotation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public EntityAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EntityAnnotation.Builder>
IOException
public 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 EntityAnnotationOrBuilder
public 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 EntityAnnotationOrBuilder
public EntityAnnotation.Builder setMid(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;
value
- The mid to set.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;
value
- The bytes for mid to set.public String getLocale()
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;
getLocale
in interface EntityAnnotationOrBuilder
public ByteString getLocaleBytes()
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;
getLocaleBytes
in interface EntityAnnotationOrBuilder
public EntityAnnotation.Builder setLocale(String value)
The language code for the locale in which the entity textual `description` is expressed.
string locale = 2;
value
- The locale to set.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;
value
- The bytes for locale to set.public String getDescription()
Entity textual description, expressed in its `locale` language.
string description = 3;
getDescription
in interface EntityAnnotationOrBuilder
public ByteString getDescriptionBytes()
Entity textual description, expressed in its `locale` language.
string description = 3;
getDescriptionBytes
in interface EntityAnnotationOrBuilder
public EntityAnnotation.Builder setDescription(String value)
Entity textual description, expressed in its `locale` language.
string description = 3;
value
- The description to set.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;
value
- The bytes for description to set.public float getScore()
Overall score of the result. Range [0, 1].
float score = 4;
getScore
in interface EntityAnnotationOrBuilder
public EntityAnnotation.Builder setScore(float value)
Overall score of the result. Range [0, 1].
float score = 4;
value
- The score to set.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 EntityAnnotationOrBuilder
public 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;
value
- The confidence to set.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 EntityAnnotationOrBuilder
public 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;
value
- The topicality to set.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.v1p3beta1.BoundingPoly bounding_poly = 7;
hasBoundingPoly
in interface EntityAnnotationOrBuilder
public BoundingPoly getBoundingPoly()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 7;
getBoundingPoly
in interface EntityAnnotationOrBuilder
public EntityAnnotation.Builder setBoundingPoly(BoundingPoly value)
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1p3beta1.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.v1p3beta1.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.v1p3beta1.BoundingPoly bounding_poly = 7;
public EntityAnnotation.Builder clearBoundingPoly()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 7;
public BoundingPoly.Builder getBoundingPolyBuilder()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 7;
public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features.
.google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 7;
getBoundingPolyOrBuilder
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.LocationInfo locations = 8;
getLocationsList
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.LocationInfo locations = 8;
getLocationsCount
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.LocationInfo locations = 8;
getLocations
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.LocationInfo locations = 8;
public EntityAnnotation.Builder addAllLocations(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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.LocationInfo locations = 8;
getLocationsOrBuilder
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.LocationInfo locations = 8;
getLocationsOrBuilderList
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.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.v1p3beta1.LocationInfo locations = 8;
public 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.v1p3beta1.LocationInfo locations = 8;
public 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.v1p3beta1.Property properties = 9;
getPropertiesList
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.Property properties = 9;
getPropertiesCount
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.Property properties = 9;
getProperties
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.Property properties = 9;
public EntityAnnotation.Builder addAllProperties(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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.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.v1p3beta1.Property properties = 9;
getPropertiesOrBuilder
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.Property properties = 9;
getPropertiesOrBuilderList
in interface EntityAnnotationOrBuilder
public 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.v1p3beta1.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.v1p3beta1.Property properties = 9;
public 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.v1p3beta1.Property properties = 9;
public final EntityAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
public final EntityAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EntityAnnotation.Builder>
Copyright © 2022 Google LLC. All rights reserved.