Enum LabelImageRequest.Feature

java.lang.Object
java.lang.Enum<LabelImageRequest.Feature>
com.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<LabelImageRequest.Feature>
Enclosing class:
LabelImageRequest

public static enum LabelImageRequest.Feature extends Enum<LabelImageRequest.Feature> implements com.google.protobuf.ProtocolMessageEnum
 Image labeling task feature.
 
Protobuf enum google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature
  • Enum Constant Details

    • FEATURE_UNSPECIFIED

      public static final LabelImageRequest.Feature FEATURE_UNSPECIFIED
      FEATURE_UNSPECIFIED = 0;
    • 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;
    • UNRECOGNIZED

      public static final LabelImageRequest.Feature UNRECOGNIZED
  • Field Details

    • FEATURE_UNSPECIFIED_VALUE

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

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

      public static final int BOUNDING_BOX_VALUE
       Label image with bounding boxes for labels.
       
      BOUNDING_BOX = 2;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static LabelImageRequest.Feature[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 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