Package com.google.cloud.visionai.v1
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionModel Type Image Classification.Processor Type UNSPECIFIED.Model Type Object Detection.Model Type Occupancy Counting.Model Type Person Blur.Model Type Product Recognizer.Model Type SynthID.Model Type Tag Recognizer.Model Type Vertex Custom.Model Type Action Recognition.Model Type Video Classification.Model Type Object Tracking. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intModel Type Image Classification.static final intProcessor Type UNSPECIFIED.static final intModel Type Object Detection.static final intModel Type Occupancy Counting.static final intModel Type Person Blur.static final intModel Type Product Recognizer.static final intModel Type SynthID.static final intModel Type Tag Recognizer.static final intModel Type Vertex Custom.static final intModel Type Action Recognition.static final intModel Type Video Classification.static final intModel Type Object Tracking. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ModelType>static ModelTypevalueOf(int value) Deprecated.static ModelTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ModelTypeReturns the enum constant of this type with the specified name.static ModelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MODEL_TYPE_UNSPECIFIED
Processor Type UNSPECIFIED.
MODEL_TYPE_UNSPECIFIED = 0; -
IMAGE_CLASSIFICATION
Model Type Image Classification.
IMAGE_CLASSIFICATION = 1; -
OBJECT_DETECTION
Model Type Object Detection.
OBJECT_DETECTION = 2; -
VIDEO_CLASSIFICATION
Model Type Video Classification.
VIDEO_CLASSIFICATION = 3; -
VIDEO_OBJECT_TRACKING
Model Type Object Tracking.
VIDEO_OBJECT_TRACKING = 4; -
VIDEO_ACTION_RECOGNITION
Model Type Action Recognition.
VIDEO_ACTION_RECOGNITION = 5; -
OCCUPANCY_COUNTING
Model Type Occupancy Counting.
OCCUPANCY_COUNTING = 6; -
PERSON_BLUR
Model Type Person Blur.
PERSON_BLUR = 7; -
VERTEX_CUSTOM
Model Type Vertex Custom.
VERTEX_CUSTOM = 8; -
PRODUCT_RECOGNIZER
Model Type Product Recognizer.
PRODUCT_RECOGNIZER = 9; -
TAG_RECOGNIZER
Model Type Tag Recognizer.
TAG_RECOGNIZER = 10; -
SYNTH_ID
Model Type SynthID.
SYNTH_ID = 15; -
UNRECOGNIZED
-
-
Field Details
-
MODEL_TYPE_UNSPECIFIED_VALUE
public static final int MODEL_TYPE_UNSPECIFIED_VALUEProcessor Type UNSPECIFIED.
MODEL_TYPE_UNSPECIFIED = 0;- See Also:
-
IMAGE_CLASSIFICATION_VALUE
public static final int IMAGE_CLASSIFICATION_VALUEModel Type Image Classification.
IMAGE_CLASSIFICATION = 1;- See Also:
-
OBJECT_DETECTION_VALUE
public static final int OBJECT_DETECTION_VALUEModel Type Object Detection.
OBJECT_DETECTION = 2;- See Also:
-
VIDEO_CLASSIFICATION_VALUE
public static final int VIDEO_CLASSIFICATION_VALUEModel Type Video Classification.
VIDEO_CLASSIFICATION = 3;- See Also:
-
VIDEO_OBJECT_TRACKING_VALUE
public static final int VIDEO_OBJECT_TRACKING_VALUEModel Type Object Tracking.
VIDEO_OBJECT_TRACKING = 4;- See Also:
-
VIDEO_ACTION_RECOGNITION_VALUE
public static final int VIDEO_ACTION_RECOGNITION_VALUEModel Type Action Recognition.
VIDEO_ACTION_RECOGNITION = 5;- See Also:
-
OCCUPANCY_COUNTING_VALUE
public static final int OCCUPANCY_COUNTING_VALUEModel Type Occupancy Counting.
OCCUPANCY_COUNTING = 6;- See Also:
-
PERSON_BLUR_VALUE
public static final int PERSON_BLUR_VALUEModel Type Person Blur.
PERSON_BLUR = 7;- See Also:
-
VERTEX_CUSTOM_VALUE
public static final int VERTEX_CUSTOM_VALUEModel Type Vertex Custom.
VERTEX_CUSTOM = 8;- See Also:
-
PRODUCT_RECOGNIZER_VALUE
public static final int PRODUCT_RECOGNIZER_VALUEModel Type Product Recognizer.
PRODUCT_RECOGNIZER = 9;- See Also:
-
TAG_RECOGNIZER_VALUE
public static final int TAG_RECOGNIZER_VALUEModel Type Tag Recognizer.
TAG_RECOGNIZER = 10;- See Also:
-
SYNTH_ID_VALUE
public static final int SYNTH_ID_VALUEModel Type SynthID.
SYNTH_ID = 15;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-