Package com.google.cloud.notebooks.v1
Enum RuntimeSoftwareConfig.PostStartupScriptBehavior
- java.lang.Object
-
- java.lang.Enum<RuntimeSoftwareConfig.PostStartupScriptBehavior>
-
- com.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RuntimeSoftwareConfig.PostStartupScriptBehavior>
- Enclosing class:
- RuntimeSoftwareConfig
public static enum RuntimeSoftwareConfig.PostStartupScriptBehavior extends Enum<RuntimeSoftwareConfig.PostStartupScriptBehavior> implements com.google.protobuf.ProtocolMessageEnum
Behavior for the post startup script.
Protobuf enumgoogle.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOWNLOAD_AND_RUN_EVERY_STARTDownloads and runs the provided post startup script at every start.POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIEDUnspecified post startup script behavior.RUN_EVERY_STARTRuns the post startup script provided during creation at every start.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDOWNLOAD_AND_RUN_EVERY_START_VALUEDownloads and runs the provided post startup script at every start.static intPOST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED_VALUEUnspecified post startup script behavior.static intRUN_EVERY_START_VALUERuns the post startup script provided during creation at every start.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RuntimeSoftwareConfig.PostStartupScriptBehaviorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RuntimeSoftwareConfig.PostStartupScriptBehavior>internalGetValueMap()static RuntimeSoftwareConfig.PostStartupScriptBehaviorvalueOf(int value)Deprecated.static RuntimeSoftwareConfig.PostStartupScriptBehaviorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RuntimeSoftwareConfig.PostStartupScriptBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static RuntimeSoftwareConfig.PostStartupScriptBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED
public static final RuntimeSoftwareConfig.PostStartupScriptBehavior POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED
Unspecified post startup script behavior. Will run only once at creation.
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0;
-
RUN_EVERY_START
public static final RuntimeSoftwareConfig.PostStartupScriptBehavior RUN_EVERY_START
Runs the post startup script provided during creation at every start.
RUN_EVERY_START = 1;
-
DOWNLOAD_AND_RUN_EVERY_START
public static final RuntimeSoftwareConfig.PostStartupScriptBehavior DOWNLOAD_AND_RUN_EVERY_START
Downloads and runs the provided post startup script at every start.
DOWNLOAD_AND_RUN_EVERY_START = 2;
-
UNRECOGNIZED
public static final RuntimeSoftwareConfig.PostStartupScriptBehavior UNRECOGNIZED
-
-
Field Detail
-
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED_VALUE
public static final int POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED_VALUE
Unspecified post startup script behavior. Will run only once at creation.
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
RUN_EVERY_START_VALUE
public static final int RUN_EVERY_START_VALUE
Runs the post startup script provided during creation at every start.
RUN_EVERY_START = 1;- See Also:
- Constant Field Values
-
DOWNLOAD_AND_RUN_EVERY_START_VALUE
public static final int DOWNLOAD_AND_RUN_EVERY_START_VALUE
Downloads and runs the provided post startup script at every start.
DOWNLOAD_AND_RUN_EVERY_START = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RuntimeSoftwareConfig.PostStartupScriptBehavior[] 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 (RuntimeSoftwareConfig.PostStartupScriptBehavior c : RuntimeSoftwareConfig.PostStartupScriptBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuntimeSoftwareConfig.PostStartupScriptBehavior 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static RuntimeSoftwareConfig.PostStartupScriptBehavior 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 RuntimeSoftwareConfig.PostStartupScriptBehavior 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<RuntimeSoftwareConfig.PostStartupScriptBehavior> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RuntimeSoftwareConfig.PostStartupScriptBehavior 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
-
-