Class 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.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
    implements EntityAnnotationOrBuilder
     Set of detected entity features.
     
    Protobuf type google.cloud.vision.v1p1beta1.EntityAnnotation
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public EntityAnnotation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • setField

        public EntityAnnotation.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • clearField

        public EntityAnnotation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • clearOneof

        public EntityAnnotation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • setRepeatedField

        public EntityAnnotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • addRepeatedField

        public EntityAnnotation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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

        public float getConfidence()
         The accuracy of the entity detection in an image.
         For example, for an image in which the "Eiffel Tower" entity is detected,
         this field represents the confidence that there is a tower in the query
         image. Range [0, 1].
         
        float confidence = 5;
        Specified by:
        getConfidence in interface EntityAnnotationOrBuilder
        Returns:
        The confidence.
      • setConfidence

        public EntityAnnotation.Builder setConfidence​(float value)
         The accuracy of the entity detection in an image.
         For example, for an image in which the "Eiffel Tower" entity is detected,
         this field represents the confidence that there is a tower in the query
         image. Range [0, 1].
         
        float confidence = 5;
        Parameters:
        value - The confidence to set.
        Returns:
        This builder for chaining.
      • clearConfidence

        public EntityAnnotation.Builder clearConfidence()
         The accuracy of the entity detection in an image.
         For example, for an image in which the "Eiffel Tower" entity is detected,
         this field represents the confidence that there is a tower in the query
         image. Range [0, 1].
         
        float confidence = 5;
        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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.BoundingPoly bounding_poly = 7;
      • 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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.Property properties = 9;
      • setUnknownFields

        public final EntityAnnotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>
      • mergeUnknownFields

        public final EntityAnnotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EntityAnnotation.Builder>