Package com.google.cloud.visionai.v1
Enum Processor.ProcessorType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Processor.ProcessorType>
- Enclosing class:
- Processor
public static enum Processor.ProcessorType
extends Enum<Processor.ProcessorType>
implements com.google.protobuf.ProtocolMessageEnum
TypeProtobuf enum
google.cloud.visionai.v1.Processor.ProcessorType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProcessor Type CONNECTOR.Processor Type CUSTOM.Processor Type PRETRAINED.Processor Type UNSPECIFIED. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intProcessor Type CONNECTOR.static final intProcessor Type CUSTOM.static final intProcessor Type PRETRAINED.static final intProcessor Type UNSPECIFIED. -
Method Summary
Modifier and TypeMethodDescriptionstatic Processor.ProcessorTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Processor.ProcessorType>static Processor.ProcessorTypevalueOf(int value) Deprecated.static Processor.ProcessorTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Processor.ProcessorTypeReturns the enum constant of this type with the specified name.static Processor.ProcessorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCESSOR_TYPE_UNSPECIFIED
Processor Type UNSPECIFIED.
PROCESSOR_TYPE_UNSPECIFIED = 0; -
PRETRAINED
Processor Type PRETRAINED. Pretrained processor is developed by Vision AI App Platform with state-of-the-art vision data processing functionality, like occupancy counting or person blur. Pretrained processor is usually publicly available.
PRETRAINED = 1; -
CUSTOM
Processor Type CUSTOM. Custom processors are specialized processors which are either uploaded by customers or imported from other GCP platform (for example Vertex AI). Custom processor is only visible to the creator.
CUSTOM = 2; -
CONNECTOR
Processor Type CONNECTOR. Connector processors are special processors which perform I/O for the application, they do not processing the data but either deliver the data to other processors or receive data from other processors.
CONNECTOR = 3; -
UNRECOGNIZED
-
-
Field Details
-
PROCESSOR_TYPE_UNSPECIFIED_VALUE
public static final int PROCESSOR_TYPE_UNSPECIFIED_VALUEProcessor Type UNSPECIFIED.
PROCESSOR_TYPE_UNSPECIFIED = 0;- See Also:
-
PRETRAINED_VALUE
public static final int PRETRAINED_VALUEProcessor Type PRETRAINED. Pretrained processor is developed by Vision AI App Platform with state-of-the-art vision data processing functionality, like occupancy counting or person blur. Pretrained processor is usually publicly available.
PRETRAINED = 1;- See Also:
-
CUSTOM_VALUE
public static final int CUSTOM_VALUEProcessor Type CUSTOM. Custom processors are specialized processors which are either uploaded by customers or imported from other GCP platform (for example Vertex AI). Custom processor is only visible to the creator.
CUSTOM = 2;- See Also:
-
CONNECTOR_VALUE
public static final int CONNECTOR_VALUEProcessor Type CONNECTOR. Connector processors are special processors which perform I/O for the application, they do not processing the data but either deliver the data to other processors or receive data from other processors.
CONNECTOR = 3;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Processor.ProcessorType> 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
public static Processor.ProcessorType 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 nameNullPointerException- if the argument is null
-