Enum 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 enum google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier
    • 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;
      • PREMIUM_1

        public static final ExecutionTemplate.ScaleTier PREMIUM_1
         A large number of workers with many parameter servers.
         
        PREMIUM_1 = 3;
      • 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;
    • 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 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 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 name
        NullPointerException - 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.
      • 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 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 name
        NullPointerException - if the argument is null