Package com.google.cloud.notebooks.v1
Enum ExecutionTemplate.ScaleTier
- java.lang.Object
-
- java.lang.Enum<ExecutionTemplate.ScaleTier>
-
- com.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ExecutionTemplate.ScaleTier>
- Enclosing class:
- ExecutionTemplate
public static enum ExecutionTemplate.ScaleTier extends Enum<ExecutionTemplate.ScaleTier> implements com.google.protobuf.ProtocolMessageEnum
Required. Specifies the machine types, the number of replicas for workers and parameter servers.
Protobuf enumgoogle.cloud.notebooks.v1.ExecutionTemplate.ScaleTier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASIC
A single worker instance.BASIC_GPU
A single worker instance with a K80 GPU.BASIC_TPU
A single worker instance with a Cloud TPU.CUSTOM
The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification.PREMIUM_1
A large number of workers with many parameter servers.SCALE_TIER_UNSPECIFIED
Unspecified Scale Tier.STANDARD_1
Many workers and a few parameter servers.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BASIC_GPU_VALUE
A single worker instance with a K80 GPU.static int
BASIC_TPU_VALUE
A single worker instance with a Cloud TPU.static int
BASIC_VALUE
A single worker instance.static int
CUSTOM_VALUE
The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification.static int
PREMIUM_1_VALUE
A large number of workers with many parameter servers.static int
SCALE_TIER_UNSPECIFIED_VALUE
Unspecified Scale Tier.static int
STANDARD_1_VALUE
Many workers and a few parameter servers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExecutionTemplate.ScaleTier
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ExecutionTemplate.ScaleTier>
internalGetValueMap()
static ExecutionTemplate.ScaleTier
valueOf(int value)
Deprecated.static ExecutionTemplate.ScaleTier
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ExecutionTemplate.ScaleTier
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecutionTemplate.ScaleTier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALE_TIER_UNSPECIFIED
public static final ExecutionTemplate.ScaleTier SCALE_TIER_UNSPECIFIED
Unspecified Scale Tier.
SCALE_TIER_UNSPECIFIED = 0;
-
BASIC
public static final ExecutionTemplate.ScaleTier BASIC
A single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
BASIC = 1;
-
STANDARD_1
public static final ExecutionTemplate.ScaleTier STANDARD_1
Many workers and a few parameter servers.
STANDARD_1 = 2;
-
PREMIUM_1
public static final ExecutionTemplate.ScaleTier PREMIUM_1
A large number of workers with many parameter servers.
PREMIUM_1 = 3;
-
BASIC_GPU
public static final ExecutionTemplate.ScaleTier BASIC_GPU
A single worker instance with a K80 GPU.
BASIC_GPU = 4;
-
BASIC_TPU
public static final ExecutionTemplate.ScaleTier BASIC_TPU
A single worker instance with a Cloud TPU.
BASIC_TPU = 5;
-
CUSTOM
public static final ExecutionTemplate.ScaleTier CUSTOM
The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You _must_ set `ExecutionTemplate.masterType` to specify the type of machine to use for your master node. This is the only required setting.
CUSTOM = 6;
-
UNRECOGNIZED
public static final ExecutionTemplate.ScaleTier UNRECOGNIZED
-
-
Field Detail
-
SCALE_TIER_UNSPECIFIED_VALUE
public static final int SCALE_TIER_UNSPECIFIED_VALUE
Unspecified Scale Tier.
SCALE_TIER_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
BASIC_VALUE
public static final int BASIC_VALUE
A single worker instance. This tier is suitable for learning how to use Cloud ML, and for experimenting with new models using small datasets.
BASIC = 1;
- See Also:
- Constant Field Values
-
STANDARD_1_VALUE
public static final int STANDARD_1_VALUE
Many workers and a few parameter servers.
STANDARD_1 = 2;
- See Also:
- Constant Field Values
-
PREMIUM_1_VALUE
public static final int PREMIUM_1_VALUE
A large number of workers with many parameter servers.
PREMIUM_1 = 3;
- See Also:
- Constant Field Values
-
BASIC_GPU_VALUE
public static final int BASIC_GPU_VALUE
A single worker instance with a K80 GPU.
BASIC_GPU = 4;
- See Also:
- Constant Field Values
-
BASIC_TPU_VALUE
public static final int BASIC_TPU_VALUE
A single worker instance with a Cloud TPU.
BASIC_TPU = 5;
- See Also:
- Constant Field Values
-
CUSTOM_VALUE
public static final int CUSTOM_VALUE
The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use this tier, set values to configure your processing cluster according to these guidelines: * You _must_ set `ExecutionTemplate.masterType` to specify the type of machine to use for your master node. This is the only required setting.
CUSTOM = 6;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ExecutionTemplate.ScaleTier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExecutionTemplate.ScaleTier c : ExecutionTemplate.ScaleTier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionTemplate.ScaleTier 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ExecutionTemplate.ScaleTier 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 nameNullPointerException
- if the argument is null
-
forNumber
public static ExecutionTemplate.ScaleTier 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<ExecutionTemplate.ScaleTier> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ExecutionTemplate.ScaleTier 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
-
-