public static enum PostStartupScriptConfig.PostStartupScriptBehavior extends Enum<PostStartupScriptConfig.PostStartupScriptBehavior> implements com.google.protobuf.ProtocolMessageEnum
Represents a notebook runtime post startup script behavior.Protobuf enum
google.cloud.aiplatform.v1.PostStartupScriptConfig.PostStartupScriptBehavior| Enum Constant and Description |
|---|
DOWNLOAD_AND_RUN_EVERY_START
Download and run post startup script every time runtime is started.
|
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED
Unspecified post startup script behavior.
|
RUN_EVERY_START
Run post startup script after runtime is stopped.
|
RUN_ONCE
Run post startup script after runtime is started.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DOWNLOAD_AND_RUN_EVERY_START_VALUE
Download and run post startup script every time runtime is started.
|
static int |
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED_VALUE
Unspecified post startup script behavior.
|
static int |
RUN_EVERY_START_VALUE
Run post startup script after runtime is stopped.
|
static int |
RUN_ONCE_VALUE
Run post startup script after runtime is started.
|
| Modifier and Type | Method and Description |
|---|---|
static PostStartupScriptConfig.PostStartupScriptBehavior |
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<PostStartupScriptConfig.PostStartupScriptBehavior> |
internalGetValueMap() |
static PostStartupScriptConfig.PostStartupScriptBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PostStartupScriptConfig.PostStartupScriptBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PostStartupScriptConfig.PostStartupScriptBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostStartupScriptConfig.PostStartupScriptBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostStartupScriptConfig.PostStartupScriptBehavior POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED
Unspecified post startup script behavior.
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0;public static final PostStartupScriptConfig.PostStartupScriptBehavior RUN_ONCE
Run post startup script after runtime is started.
RUN_ONCE = 1;public static final PostStartupScriptConfig.PostStartupScriptBehavior RUN_EVERY_START
Run post startup script after runtime is stopped.
RUN_EVERY_START = 2;public static final PostStartupScriptConfig.PostStartupScriptBehavior DOWNLOAD_AND_RUN_EVERY_START
Download and run post startup script every time runtime is started.
DOWNLOAD_AND_RUN_EVERY_START = 3;public static final PostStartupScriptConfig.PostStartupScriptBehavior UNRECOGNIZED
public static final int POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED_VALUE
Unspecified post startup script behavior.
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0;public static final int RUN_ONCE_VALUE
Run post startup script after runtime is started.
RUN_ONCE = 1;public static final int RUN_EVERY_START_VALUE
Run post startup script after runtime is stopped.
RUN_EVERY_START = 2;public static final int DOWNLOAD_AND_RUN_EVERY_START_VALUE
Download and run post startup script every time runtime is started.
DOWNLOAD_AND_RUN_EVERY_START = 3;public static PostStartupScriptConfig.PostStartupScriptBehavior[] values()
for (PostStartupScriptConfig.PostStartupScriptBehavior c : PostStartupScriptConfig.PostStartupScriptBehavior.values()) System.out.println(c);
public static PostStartupScriptConfig.PostStartupScriptBehavior valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static PostStartupScriptConfig.PostStartupScriptBehavior valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PostStartupScriptConfig.PostStartupScriptBehavior forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PostStartupScriptConfig.PostStartupScriptBehavior> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PostStartupScriptConfig.PostStartupScriptBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.