Package com.google.cloud.visionai.v1
Enum AcceleratorType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AcceleratorType>
@Generated
public enum AcceleratorType
extends Enum<AcceleratorType>
implements com.google.protobuf.ProtocolMessageEnum
Represents a hardware accelerator type.Protobuf enum
google.cloud.visionai.v1.AcceleratorType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnspecified accelerator type, which means no accelerator.Nvidia Tesla A100 GPU.Nvidia Tesla K80 GPU.Nvidia Tesla P100 GPU.Nvidia Tesla P4 GPU.Nvidia Tesla T4 GPU.Nvidia Tesla V100 GPU.TPU v2.TPU v3. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnspecified accelerator type, which means no accelerator.static final intNvidia Tesla A100 GPU.static final intNvidia Tesla K80 GPU.static final intNvidia Tesla P100 GPU.static final intNvidia Tesla P4 GPU.static final intNvidia Tesla T4 GPU.static final intNvidia Tesla V100 GPU.static final intTPU v2.static final intTPU v3. -
Method Summary
Modifier and TypeMethodDescriptionstatic AcceleratorTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AcceleratorType>static AcceleratorTypevalueOf(int value) Deprecated.static AcceleratorTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static AcceleratorTypeReturns the enum constant of this type with the specified name.static AcceleratorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACCELERATOR_TYPE_UNSPECIFIED
Unspecified accelerator type, which means no accelerator.
ACCELERATOR_TYPE_UNSPECIFIED = 0; -
NVIDIA_TESLA_K80
Nvidia Tesla K80 GPU.
NVIDIA_TESLA_K80 = 1; -
NVIDIA_TESLA_P100
Nvidia Tesla P100 GPU.
NVIDIA_TESLA_P100 = 2; -
NVIDIA_TESLA_V100
Nvidia Tesla V100 GPU.
NVIDIA_TESLA_V100 = 3; -
NVIDIA_TESLA_P4
Nvidia Tesla P4 GPU.
NVIDIA_TESLA_P4 = 4; -
NVIDIA_TESLA_T4
Nvidia Tesla T4 GPU.
NVIDIA_TESLA_T4 = 5; -
NVIDIA_TESLA_A100
Nvidia Tesla A100 GPU.
NVIDIA_TESLA_A100 = 8; -
TPU_V2
TPU v2.
TPU_V2 = 6; -
TPU_V3
TPU v3.
TPU_V3 = 7; -
UNRECOGNIZED
-
-
Field Details
-
ACCELERATOR_TYPE_UNSPECIFIED_VALUE
public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUEUnspecified accelerator type, which means no accelerator.
ACCELERATOR_TYPE_UNSPECIFIED = 0;- See Also:
-
NVIDIA_TESLA_K80_VALUE
public static final int NVIDIA_TESLA_K80_VALUENvidia Tesla K80 GPU.
NVIDIA_TESLA_K80 = 1;- See Also:
-
NVIDIA_TESLA_P100_VALUE
public static final int NVIDIA_TESLA_P100_VALUENvidia Tesla P100 GPU.
NVIDIA_TESLA_P100 = 2;- See Also:
-
NVIDIA_TESLA_V100_VALUE
public static final int NVIDIA_TESLA_V100_VALUENvidia Tesla V100 GPU.
NVIDIA_TESLA_V100 = 3;- See Also:
-
NVIDIA_TESLA_P4_VALUE
public static final int NVIDIA_TESLA_P4_VALUENvidia Tesla P4 GPU.
NVIDIA_TESLA_P4 = 4;- See Also:
-
NVIDIA_TESLA_T4_VALUE
public static final int NVIDIA_TESLA_T4_VALUENvidia Tesla T4 GPU.
NVIDIA_TESLA_T4 = 5;- See Also:
-
NVIDIA_TESLA_A100_VALUE
public static final int NVIDIA_TESLA_A100_VALUENvidia Tesla A100 GPU.
NVIDIA_TESLA_A100 = 8;- See Also:
-
TPU_V2_VALUE
public static final int TPU_V2_VALUETPU v2.
TPU_V2 = 6;- See Also:
-
TPU_V3_VALUE
public static final int TPU_V3_VALUETPU v3.
TPU_V3 = 7;- 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
-