public final class RuntimeSoftwareConfig extends GeneratedMessageV3 implements RuntimeSoftwareConfigOrBuilder
Specifies the selection and configuration of software inside the runtime.
The properties to set on runtime.
Properties keys are specified in key:value
format, for example:
idle_shutdown: true
idle_shutdown_timeout: 180
enable_health_monitoring: true
Protobuf type google.cloud.notebooks.v1.RuntimeSoftwareConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CUSTOM_GPU_DRIVER_PATH_FIELD_NUMBER
public static final int CUSTOM_GPU_DRIVER_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISABLE_TERMINAL_FIELD_NUMBER
public static final int DISABLE_TERMINAL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_HEALTH_MONITORING_FIELD_NUMBER
public static final int ENABLE_HEALTH_MONITORING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IDLE_SHUTDOWN_FIELD_NUMBER
public static final int IDLE_SHUTDOWN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IDLE_SHUTDOWN_TIMEOUT_FIELD_NUMBER
public static final int IDLE_SHUTDOWN_TIMEOUT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INSTALL_GPU_DRIVER_FIELD_NUMBER
public static final int INSTALL_GPU_DRIVER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KERNELS_FIELD_NUMBER
public static final int KERNELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NOTEBOOK_UPGRADE_SCHEDULE_FIELD_NUMBER
public static final int NOTEBOOK_UPGRADE_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POST_STARTUP_SCRIPT_BEHAVIOR_FIELD_NUMBER
public static final int POST_STARTUP_SCRIPT_BEHAVIOR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
POST_STARTUP_SCRIPT_FIELD_NUMBER
public static final int POST_STARTUP_SCRIPT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPGRADEABLE_FIELD_NUMBER
public static final int UPGRADEABLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static RuntimeSoftwareConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RuntimeSoftwareConfig.Builder newBuilder()
newBuilder(RuntimeSoftwareConfig prototype)
public static RuntimeSoftwareConfig.Builder newBuilder(RuntimeSoftwareConfig prototype)
public static RuntimeSoftwareConfig parseDelimitedFrom(InputStream input)
public static RuntimeSoftwareConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RuntimeSoftwareConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeSoftwareConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RuntimeSoftwareConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeSoftwareConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeSoftwareConfig parseFrom(CodedInputStream input)
public static RuntimeSoftwareConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeSoftwareConfig parseFrom(InputStream input)
public static RuntimeSoftwareConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RuntimeSoftwareConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RuntimeSoftwareConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RuntimeSoftwareConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCustomGpuDriverPath()
public String getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.
If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 6;
Returns |
---|
Type | Description |
String | The customGpuDriverPath.
|
getCustomGpuDriverPathBytes()
public ByteString getCustomGpuDriverPathBytes()
Specify a custom Cloud Storage path where the GPU driver is stored.
If not specified, we'll automatically choose from official GPU drivers.
string custom_gpu_driver_path = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for customGpuDriverPath.
|
getDefaultInstanceForType()
public RuntimeSoftwareConfig getDefaultInstanceForType()
getDisableTerminal()
public boolean getDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not.
Default: False
optional bool disable_terminal = 11;
Returns |
---|
Type | Description |
boolean | The disableTerminal.
|
getEnableHealthMonitoring()
public boolean getEnableHealthMonitoring()
Verifies core internal services are running.
Default: True
optional bool enable_health_monitoring = 2;
Returns |
---|
Type | Description |
boolean | The enableHealthMonitoring.
|
getIdleShutdown()
public boolean getIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.
Default: True
optional bool idle_shutdown = 3;
Returns |
---|
Type | Description |
boolean | The idleShutdown.
|
getIdleShutdownTimeout()
public int getIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime. Default: 180 minutes
int32 idle_shutdown_timeout = 4;
Returns |
---|
Type | Description |
int | The idleShutdownTimeout.
|
getInstallGpuDriver()
public boolean getInstallGpuDriver()
Install Nvidia Driver automatically.
Default: True
bool install_gpu_driver = 5;
Returns |
---|
Type | Description |
boolean | The installGpuDriver.
|
getKernels(int index)
public ContainerImage getKernels(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage kernels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getKernelsCount()
public int getKernelsCount()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage kernels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | |
getKernelsList()
public List<ContainerImage> getKernelsList()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage kernels = 8 [(.google.api.field_behavior) = OPTIONAL];
getKernelsOrBuilder(int index)
public ContainerImageOrBuilder getKernelsOrBuilder(int index)
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage kernels = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
|
getKernelsOrBuilderList()
public List<? extends ContainerImageOrBuilder> getKernelsOrBuilderList()
Optional. Use a list of container images to use as Kernels in the notebook instance.
repeated .google.cloud.notebooks.v1.ContainerImage kernels = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.notebooks.v1.ContainerImageOrBuilder> | |
getNotebookUpgradeSchedule()
public String getNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Returns |
---|
Type | Description |
String | The notebookUpgradeSchedule.
|
getNotebookUpgradeScheduleBytes()
public ByteString getNotebookUpgradeScheduleBytes()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the cron format.
string notebook_upgrade_schedule = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for notebookUpgradeSchedule.
|
getParserForType()
public Parser<RuntimeSoftwareConfig> getParserForType()
Overrides
getPostStartupScript()
public String getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance
fully boots up. The path must be a URL or
Cloud Storage path (gs://path-to-file/file-name
).
string post_startup_script = 7;
Returns |
---|
Type | Description |
String | The postStartupScript.
|
getPostStartupScriptBehavior()
public RuntimeSoftwareConfig.PostStartupScriptBehavior getPostStartupScriptBehavior()
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
getPostStartupScriptBehaviorValue()
public int getPostStartupScriptBehaviorValue()
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for postStartupScriptBehavior.
|
getPostStartupScriptBytes()
public ByteString getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance
fully boots up. The path must be a URL or
Cloud Storage path (gs://path-to-file/file-name
).
string post_startup_script = 7;
Returns |
---|
Type | Description |
ByteString | The bytes for postStartupScript.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpgradeable()
public boolean getUpgradeable()
Output only. Bool indicating whether an newer image is available in an image family.
optional bool upgradeable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | The upgradeable.
|
getVersion()
public String getVersion()
Output only. version of boot image such as M100, from release label of the image.
optional string version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Output only. version of boot image such as M100, from release label of the image.
optional string version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for version.
|
hasDisableTerminal()
public boolean hasDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not.
Default: False
optional bool disable_terminal = 11;
Returns |
---|
Type | Description |
boolean | Whether the disableTerminal field is set.
|
hasEnableHealthMonitoring()
public boolean hasEnableHealthMonitoring()
Verifies core internal services are running.
Default: True
optional bool enable_health_monitoring = 2;
Returns |
---|
Type | Description |
boolean | Whether the enableHealthMonitoring field is set.
|
hasIdleShutdown()
public boolean hasIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.
Default: True
optional bool idle_shutdown = 3;
Returns |
---|
Type | Description |
boolean | Whether the idleShutdown field is set.
|
hasUpgradeable()
public boolean hasUpgradeable()
Output only. Bool indicating whether an newer image is available in an image family.
optional bool upgradeable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the upgradeable field is set.
|
hasVersion()
public boolean hasVersion()
Output only. version of boot image such as M100, from release label of the image.
optional string version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the version field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RuntimeSoftwareConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RuntimeSoftwareConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public RuntimeSoftwareConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides