Class EntityAnnotation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder>
com.google.cloud.vision.v1.EntityAnnotation.Builder
All Implemented Interfaces:
EntityAnnotationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EntityAnnotation

public static final class EntityAnnotation.Builder extends com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder> implements EntityAnnotationOrBuilder
 Set of detected entity features.
 
Protobuf type google.cloud.vision.v1.EntityAnnotation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder>
    • clear

      public EntityAnnotation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder>
    • getDefaultInstanceForType

      public EntityAnnotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public EntityAnnotation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EntityAnnotation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public EntityAnnotation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityAnnotation.Builder>
    • mergeFrom

      public EntityAnnotation.Builder mergeFrom(EntityAnnotation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EntityAnnotation.Builder>
    • mergeFrom

      public EntityAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntityAnnotation.Builder>
      Throws:
      IOException
    • getMid

      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;
      Specified by:
      getMid in interface EntityAnnotationOrBuilder
      Returns:
      The mid.
    • getMidBytes

      public 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/).
       
      string mid = 1;
      Specified by:
      getMidBytes in interface EntityAnnotationOrBuilder
      Returns:
      The bytes for mid.
    • setMid

      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;
      Parameters:
      value - The mid to set.
      Returns:
      This builder for chaining.
    • clearMid

      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;
      Returns:
      This builder for chaining.
    • setMidBytes

      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/).
       
      string mid = 1;
      Parameters:
      value - The bytes for mid to set.
      Returns:
      This builder for chaining.
    • getLocale

      public String getLocale()
       The language code for the locale in which the entity textual
       `description` is expressed.
       
      string locale = 2;
      Specified by:
      getLocale in interface EntityAnnotationOrBuilder
      Returns:
      The locale.
    • getLocaleBytes

      public com.google.protobuf.ByteString getLocaleBytes()
       The language code for the locale in which the entity textual
       `description` is expressed.
       
      string locale = 2;
      Specified by:
      getLocaleBytes in interface EntityAnnotationOrBuilder
      Returns:
      The bytes for locale.
    • setLocale

      public EntityAnnotation.Builder setLocale(String value)
       The language code for the locale in which the entity textual
       `description` is expressed.
       
      string locale = 2;
      Parameters:
      value - The locale to set.
      Returns:
      This builder for chaining.
    • clearLocale

      public EntityAnnotation.Builder clearLocale()
       The language code for the locale in which the entity textual
       `description` is expressed.
       
      string locale = 2;
      Returns:
      This builder for chaining.
    • setLocaleBytes

      public EntityAnnotation.Builder setLocaleBytes(com.google.protobuf.ByteString value)
       The language code for the locale in which the entity textual
       `description` is expressed.
       
      string locale = 2;
      Parameters:
      value - The bytes for locale to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Entity textual description, expressed in its `locale` language.
       
      string description = 3;
      Specified by:
      getDescription in interface EntityAnnotationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Entity textual description, expressed in its `locale` language.
       
      string description = 3;
      Specified by:
      getDescriptionBytes in interface EntityAnnotationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public EntityAnnotation.Builder setDescription(String value)
       Entity textual description, expressed in its `locale` language.
       
      string description = 3;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public EntityAnnotation.Builder clearDescription()
       Entity textual description, expressed in its `locale` language.
       
      string description = 3;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public EntityAnnotation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Entity textual description, expressed in its `locale` language.
       
      string description = 3;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getScore

      public float getScore()
       Overall score of the result. Range [0, 1].
       
      float score = 4;
      Specified by:
      getScore in interface EntityAnnotationOrBuilder
      Returns:
      The score.
    • setScore

      public EntityAnnotation.Builder setScore(float value)
       Overall score of the result. Range [0, 1].
       
      float score = 4;
      Parameters:
      value - The score to set.
      Returns:
      This builder for chaining.
    • clearScore

      public EntityAnnotation.Builder clearScore()
       Overall score of the result. Range [0, 1].
       
      float score = 4;
      Returns:
      This builder for chaining.
    • getConfidence

      @Deprecated public float getConfidence()
      Deprecated.
      google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See google/cloud/vision/v1/image_annotator.proto;l=510
       **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 [deprecated = true];
      Specified by:
      getConfidence in interface EntityAnnotationOrBuilder
      Returns:
      The confidence.
    • setConfidence

      @Deprecated public EntityAnnotation.Builder setConfidence(float value)
      Deprecated.
      google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See google/cloud/vision/v1/image_annotator.proto;l=510
       **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 [deprecated = true];
      Parameters:
      value - The confidence to set.
      Returns:
      This builder for chaining.
    • clearConfidence

      @Deprecated public EntityAnnotation.Builder clearConfidence()
      Deprecated.
      google.cloud.vision.v1.EntityAnnotation.confidence is deprecated. See google/cloud/vision/v1/image_annotator.proto;l=510
       **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 [deprecated = true];
      Returns:
      This builder for chaining.
    • getTopicality

      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;
      Specified by:
      getTopicality in interface EntityAnnotationOrBuilder
      Returns:
      The topicality.
    • setTopicality

      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;
      Parameters:
      value - The topicality to set.
      Returns:
      This builder for chaining.
    • clearTopicality

      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;
      Returns:
      This builder for chaining.
    • hasBoundingPoly

      public boolean hasBoundingPoly()
       Image region to which this entity belongs. Not produced
       for `LABEL_DETECTION` features.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;
      Specified by:
      hasBoundingPoly in interface EntityAnnotationOrBuilder
      Returns:
      Whether the boundingPoly field is set.
    • getBoundingPoly

      public BoundingPoly getBoundingPoly()
       Image region to which this entity belongs. Not produced
       for `LABEL_DETECTION` features.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;
      Specified by:
      getBoundingPoly in interface EntityAnnotationOrBuilder
      Returns:
      The boundingPoly.
    • setBoundingPoly

      public 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;
    • setBoundingPoly

      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;
    • mergeBoundingPoly

      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;
    • clearBoundingPoly

      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;
    • getBoundingPolyBuilder

      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;
    • getBoundingPolyOrBuilder

      public BoundingPolyOrBuilder getBoundingPolyOrBuilder()
       Image region to which this entity belongs. Not produced
       for `LABEL_DETECTION` features.
       
      .google.cloud.vision.v1.BoundingPoly bounding_poly = 7;
      Specified by:
      getBoundingPolyOrBuilder in interface EntityAnnotationOrBuilder
    • getLocationsList

      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.v1.LocationInfo locations = 8;
      Specified by:
      getLocationsList in interface EntityAnnotationOrBuilder
    • getLocationsCount

      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.v1.LocationInfo locations = 8;
      Specified by:
      getLocationsCount in interface EntityAnnotationOrBuilder
    • getLocations

      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.v1.LocationInfo locations = 8;
      Specified by:
      getLocations in interface EntityAnnotationOrBuilder
    • setLocations

      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.v1.LocationInfo locations = 8;
    • setLocations

      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;
    • addLocations

      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;
    • addLocations

      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;
    • addLocations

      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;
    • addLocations

      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;
    • addAllLocations

      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.v1.LocationInfo locations = 8;
    • clearLocations

      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;
    • removeLocations

      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;
    • getLocationsBuilder

      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;
    • getLocationsOrBuilder

      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;
      Specified by:
      getLocationsOrBuilder in interface EntityAnnotationOrBuilder
    • getLocationsOrBuilderList

      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.v1.LocationInfo locations = 8;
      Specified by:
      getLocationsOrBuilderList in interface EntityAnnotationOrBuilder
    • addLocationsBuilder

      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.v1.LocationInfo locations = 8;
    • addLocationsBuilder

      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;
    • getLocationsBuilderList

      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.v1.LocationInfo locations = 8;
    • getPropertiesList

      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.v1.Property properties = 9;
      Specified by:
      getPropertiesList in interface EntityAnnotationOrBuilder
    • getPropertiesCount

      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.v1.Property properties = 9;
      Specified by:
      getPropertiesCount in interface EntityAnnotationOrBuilder
    • getProperties

      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.v1.Property properties = 9;
      Specified by:
      getProperties in interface EntityAnnotationOrBuilder
    • setProperties

      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.v1.Property properties = 9;
    • setProperties

      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;
    • addProperties

      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;
    • addProperties

      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;
    • addProperties

      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;
    • addProperties

      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;
    • addAllProperties

      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.v1.Property properties = 9;
    • clearProperties

      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;
    • removeProperties

      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;
    • getPropertiesBuilder

      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;
    • getPropertiesOrBuilder

      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;
      Specified by:
      getPropertiesOrBuilder in interface EntityAnnotationOrBuilder
    • getPropertiesOrBuilderList

      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.v1.Property properties = 9;
      Specified by:
      getPropertiesOrBuilderList in interface EntityAnnotationOrBuilder
    • addPropertiesBuilder

      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.v1.Property properties = 9;
    • addPropertiesBuilder

      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;
    • getPropertiesBuilderList

      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.v1.Property properties = 9;