Enum AcceleratorType

java.lang.Object
java.lang.Enum<AcceleratorType>
com.google.cloud.visionai.v1.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 Details

    • ACCELERATOR_TYPE_UNSPECIFIED

      public static final AcceleratorType ACCELERATOR_TYPE_UNSPECIFIED
       Unspecified accelerator type, which means no accelerator.
       
      ACCELERATOR_TYPE_UNSPECIFIED = 0;
    • NVIDIA_TESLA_K80

      public static final AcceleratorType NVIDIA_TESLA_K80
       Nvidia Tesla K80 GPU.
       
      NVIDIA_TESLA_K80 = 1;
    • NVIDIA_TESLA_P100

      public static final AcceleratorType NVIDIA_TESLA_P100
       Nvidia Tesla P100 GPU.
       
      NVIDIA_TESLA_P100 = 2;
    • NVIDIA_TESLA_V100

      public static final AcceleratorType NVIDIA_TESLA_V100
       Nvidia Tesla V100 GPU.
       
      NVIDIA_TESLA_V100 = 3;
    • NVIDIA_TESLA_P4

      public static final AcceleratorType NVIDIA_TESLA_P4
       Nvidia Tesla P4 GPU.
       
      NVIDIA_TESLA_P4 = 4;
    • NVIDIA_TESLA_T4

      public static final AcceleratorType NVIDIA_TESLA_T4
       Nvidia Tesla T4 GPU.
       
      NVIDIA_TESLA_T4 = 5;
    • NVIDIA_TESLA_A100

      public static final AcceleratorType NVIDIA_TESLA_A100
       Nvidia Tesla A100 GPU.
       
      NVIDIA_TESLA_A100 = 8;
    • TPU_V2

      public static final AcceleratorType TPU_V2
       TPU v2.
       
      TPU_V2 = 6;
    • TPU_V3

      public static final AcceleratorType TPU_V3
       TPU v3.
       
      TPU_V3 = 7;
    • UNRECOGNIZED

      public static final AcceleratorType UNRECOGNIZED
  • Field Details

    • ACCELERATOR_TYPE_UNSPECIFIED_VALUE

      public static final int ACCELERATOR_TYPE_UNSPECIFIED_VALUE
       Unspecified accelerator type, which means no accelerator.
       
      ACCELERATOR_TYPE_UNSPECIFIED = 0;
      See Also:
    • NVIDIA_TESLA_K80_VALUE

      public static final int NVIDIA_TESLA_K80_VALUE
       Nvidia Tesla K80 GPU.
       
      NVIDIA_TESLA_K80 = 1;
      See Also:
    • NVIDIA_TESLA_P100_VALUE

      public static final int NVIDIA_TESLA_P100_VALUE
       Nvidia Tesla P100 GPU.
       
      NVIDIA_TESLA_P100 = 2;
      See Also:
    • NVIDIA_TESLA_V100_VALUE

      public static final int NVIDIA_TESLA_V100_VALUE
       Nvidia Tesla V100 GPU.
       
      NVIDIA_TESLA_V100 = 3;
      See Also:
    • NVIDIA_TESLA_P4_VALUE

      public static final int NVIDIA_TESLA_P4_VALUE
       Nvidia Tesla P4 GPU.
       
      NVIDIA_TESLA_P4 = 4;
      See Also:
    • NVIDIA_TESLA_T4_VALUE

      public static final int NVIDIA_TESLA_T4_VALUE
       Nvidia Tesla T4 GPU.
       
      NVIDIA_TESLA_T4 = 5;
      See Also:
    • NVIDIA_TESLA_A100_VALUE

      public static final int NVIDIA_TESLA_A100_VALUE
       Nvidia Tesla A100 GPU.
       
      NVIDIA_TESLA_A100 = 8;
      See Also:
    • TPU_V2_VALUE

      public static final int TPU_V2_VALUE
       TPU v2.
       
      TPU_V2 = 6;
      See Also:
    • TPU_V3_VALUE

      public static final int TPU_V3_VALUE
       TPU v3.
       
      TPU_V3 = 7;
      See Also:
  • Method Details

    • values

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