Enum LabelImageRequest.Feature

    • Enum Constant Detail

      • CLASSIFICATION

        public static final LabelImageRequest.Feature CLASSIFICATION
         Label whole image with one or more of labels.
         
        CLASSIFICATION = 1;
      • BOUNDING_BOX

        public static final LabelImageRequest.Feature BOUNDING_BOX
         Label image with bounding boxes for labels.
         
        BOUNDING_BOX = 2;
      • ORIENTED_BOUNDING_BOX

        public static final LabelImageRequest.Feature ORIENTED_BOUNDING_BOX
         Label oriented bounding box. The box does not have to be parallel to
         horizontal line.
         
        ORIENTED_BOUNDING_BOX = 6;
      • BOUNDING_POLY

        public static final LabelImageRequest.Feature BOUNDING_POLY
         Label images with bounding poly. A bounding poly is a plane figure that
         is bounded by a finite chain of straight line segments closing in a loop.
         
        BOUNDING_POLY = 3;
      • POLYLINE

        public static final LabelImageRequest.Feature POLYLINE
         Label images with polyline. Polyline is formed by connected line segments
         which are not in closed form.
         
        POLYLINE = 4;
      • SEGMENTATION

        public static final LabelImageRequest.Feature SEGMENTATION
         Label images with segmentation. Segmentation is different from bounding
         poly since it is more fine-grained, pixel level annotation.
         
        SEGMENTATION = 5;
    • Field Detail

      • FEATURE_UNSPECIFIED_VALUE

        public static final int FEATURE_UNSPECIFIED_VALUE
        FEATURE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • CLASSIFICATION_VALUE

        public static final int CLASSIFICATION_VALUE
         Label whole image with one or more of labels.
         
        CLASSIFICATION = 1;
        See Also:
        Constant Field Values
      • BOUNDING_BOX_VALUE

        public static final int BOUNDING_BOX_VALUE
         Label image with bounding boxes for labels.
         
        BOUNDING_BOX = 2;
        See Also:
        Constant Field Values
      • ORIENTED_BOUNDING_BOX_VALUE

        public static final int ORIENTED_BOUNDING_BOX_VALUE
         Label oriented bounding box. The box does not have to be parallel to
         horizontal line.
         
        ORIENTED_BOUNDING_BOX = 6;
        See Also:
        Constant Field Values
      • BOUNDING_POLY_VALUE

        public static final int BOUNDING_POLY_VALUE
         Label images with bounding poly. A bounding poly is a plane figure that
         is bounded by a finite chain of straight line segments closing in a loop.
         
        BOUNDING_POLY = 3;
        See Also:
        Constant Field Values
      • POLYLINE_VALUE

        public static final int POLYLINE_VALUE
         Label images with polyline. Polyline is formed by connected line segments
         which are not in closed form.
         
        POLYLINE = 4;
        See Also:
        Constant Field Values
      • SEGMENTATION_VALUE

        public static final int SEGMENTATION_VALUE
         Label images with segmentation. Segmentation is different from bounding
         poly since it is more fine-grained, pixel level annotation.
         
        SEGMENTATION = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static LabelImageRequest.Feature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LabelImageRequest.Feature c : LabelImageRequest.Feature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LabelImageRequest.Feature valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static LabelImageRequest.Feature valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static LabelImageRequest.Feature forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<LabelImageRequest.Feature> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static LabelImageRequest.Feature valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null