Enum ModelType

java.lang.Object
java.lang.Enum<ModelType>
com.google.cloud.visionai.v1.ModelType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ModelType>

@Generated public enum ModelType extends Enum<ModelType> implements com.google.protobuf.ProtocolMessageEnum
 All the supported model types in Vision AI App Platform.
 
Protobuf enum google.cloud.visionai.v1.ModelType
  • Enum Constant Details

    • MODEL_TYPE_UNSPECIFIED

      public static final ModelType MODEL_TYPE_UNSPECIFIED
       Processor Type UNSPECIFIED.
       
      MODEL_TYPE_UNSPECIFIED = 0;
    • IMAGE_CLASSIFICATION

      public static final ModelType IMAGE_CLASSIFICATION
       Model Type Image Classification.
       
      IMAGE_CLASSIFICATION = 1;
    • OBJECT_DETECTION

      public static final ModelType OBJECT_DETECTION
       Model Type Object Detection.
       
      OBJECT_DETECTION = 2;
    • VIDEO_CLASSIFICATION

      public static final ModelType VIDEO_CLASSIFICATION
       Model Type Video Classification.
       
      VIDEO_CLASSIFICATION = 3;
    • VIDEO_OBJECT_TRACKING

      public static final ModelType VIDEO_OBJECT_TRACKING
       Model Type Object Tracking.
       
      VIDEO_OBJECT_TRACKING = 4;
    • VIDEO_ACTION_RECOGNITION

      public static final ModelType VIDEO_ACTION_RECOGNITION
       Model Type Action Recognition.
       
      VIDEO_ACTION_RECOGNITION = 5;
    • OCCUPANCY_COUNTING

      public static final ModelType OCCUPANCY_COUNTING
       Model Type Occupancy Counting.
       
      OCCUPANCY_COUNTING = 6;
    • PERSON_BLUR

      public static final ModelType PERSON_BLUR
       Model Type Person Blur.
       
      PERSON_BLUR = 7;
    • VERTEX_CUSTOM

      public static final ModelType VERTEX_CUSTOM
       Model Type Vertex Custom.
       
      VERTEX_CUSTOM = 8;
    • PRODUCT_RECOGNIZER

      public static final ModelType PRODUCT_RECOGNIZER
       Model Type Product Recognizer.
       
      PRODUCT_RECOGNIZER = 9;
    • TAG_RECOGNIZER

      public static final ModelType TAG_RECOGNIZER
       Model Type Tag Recognizer.
       
      TAG_RECOGNIZER = 10;
    • SYNTH_ID

      public static final ModelType SYNTH_ID
       Model Type SynthID.
       
      SYNTH_ID = 15;
    • UNRECOGNIZED

      public static final ModelType UNRECOGNIZED
  • Field Details

    • MODEL_TYPE_UNSPECIFIED_VALUE

      public static final int MODEL_TYPE_UNSPECIFIED_VALUE
       Processor Type UNSPECIFIED.
       
      MODEL_TYPE_UNSPECIFIED = 0;
      See Also:
    • IMAGE_CLASSIFICATION_VALUE

      public static final int IMAGE_CLASSIFICATION_VALUE
       Model Type Image Classification.
       
      IMAGE_CLASSIFICATION = 1;
      See Also:
    • OBJECT_DETECTION_VALUE

      public static final int OBJECT_DETECTION_VALUE
       Model Type Object Detection.
       
      OBJECT_DETECTION = 2;
      See Also:
    • VIDEO_CLASSIFICATION_VALUE

      public static final int VIDEO_CLASSIFICATION_VALUE
       Model Type Video Classification.
       
      VIDEO_CLASSIFICATION = 3;
      See Also:
    • VIDEO_OBJECT_TRACKING_VALUE

      public static final int VIDEO_OBJECT_TRACKING_VALUE
       Model Type Object Tracking.
       
      VIDEO_OBJECT_TRACKING = 4;
      See Also:
    • VIDEO_ACTION_RECOGNITION_VALUE

      public static final int VIDEO_ACTION_RECOGNITION_VALUE
       Model Type Action Recognition.
       
      VIDEO_ACTION_RECOGNITION = 5;
      See Also:
    • OCCUPANCY_COUNTING_VALUE

      public static final int OCCUPANCY_COUNTING_VALUE
       Model Type Occupancy Counting.
       
      OCCUPANCY_COUNTING = 6;
      See Also:
    • PERSON_BLUR_VALUE

      public static final int PERSON_BLUR_VALUE
       Model Type Person Blur.
       
      PERSON_BLUR = 7;
      See Also:
    • VERTEX_CUSTOM_VALUE

      public static final int VERTEX_CUSTOM_VALUE
       Model Type Vertex Custom.
       
      VERTEX_CUSTOM = 8;
      See Also:
    • PRODUCT_RECOGNIZER_VALUE

      public static final int PRODUCT_RECOGNIZER_VALUE
       Model Type Product Recognizer.
       
      PRODUCT_RECOGNIZER = 9;
      See Also:
    • TAG_RECOGNIZER_VALUE

      public static final int TAG_RECOGNIZER_VALUE
       Model Type Tag Recognizer.
       
      TAG_RECOGNIZER = 10;
      See Also:
    • SYNTH_ID_VALUE

      public static final int SYNTH_ID_VALUE
       Model Type SynthID.
       
      SYNTH_ID = 15;
      See Also:
  • Method Details

    • values

      public static ModelType[] 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 ModelType 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 ModelType 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 ModelType 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<ModelType> 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 ModelType 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