# Interface RuntimeSoftwareConfigOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.RuntimeSoftwareConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.notebooks.v1.RuntimeSoftwareConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.notebooks.v1.RuntimeSoftwareConfigOrBuilder)

    public interface RuntimeSoftwareConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getCustomGpuDriverPath()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The customGpuDriverPath. |

### getCustomGpuDriverPathBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for customGpuDriverPath. |

### getDisableTerminal()

    public abstract boolean getDisableTerminal()

Bool indicating whether JupyterLab terminal will be available or not.
Default: False

`optional bool disable_terminal = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableTerminal. |

### getEnableHealthMonitoring()

    public abstract boolean getEnableHealthMonitoring()

Verifies core internal services are running.
Default: True

`optional bool enable_health_monitoring = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableHealthMonitoring. |

### getIdleShutdown()

    public abstract boolean getIdleShutdown()

Runtime will automatically shutdown after idle_shutdown_time.
Default: True

`optional bool idle_shutdown = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The idleShutdown. |

### getIdleShutdownTimeout()

    public abstract int getIdleShutdownTimeout()

Time in minutes to wait before shutting down runtime. Default: 180 minutes

`int32 idle_shutdown_timeout = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The idleShutdownTimeout. |

### getInstallGpuDriver()

    public abstract boolean getInstallGpuDriver()

Install Nvidia Driver automatically.
Default: True

`bool install_gpu_driver = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The installGpuDriver. |

### getKernels(int index)

    public abstract ContainerImage getKernels(int index)

Optional. Use a list of container images to use as Kernels in the notebook
instance.

`repeated .google.events.cloud.notebooks.v1.ContainerImage kernels = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.ContainerImage` |   |

### getKernelsCount()

    public abstract int getKernelsCount()

Optional. Use a list of container images to use as Kernels in the notebook
instance.

`repeated .google.events.cloud.notebooks.v1.ContainerImage kernels = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getKernelsList()

    public abstract List<ContainerImage> getKernelsList()

Optional. Use a list of container images to use as Kernels in the notebook
instance.

`repeated .google.events.cloud.notebooks.v1.ContainerImage kernels = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.ContainerImage>` |   |

### getKernelsOrBuilder(int index)

    public abstract ContainerImageOrBuilder getKernelsOrBuilder(int index)

Optional. Use a list of container images to use as Kernels in the notebook
instance.

`repeated .google.events.cloud.notebooks.v1.ContainerImage kernels = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.ContainerImageOrBuilder` |   |

### getKernelsOrBuilderList()

    public abstract List<? extends ContainerImageOrBuilder> getKernelsOrBuilderList()

Optional. Use a list of container images to use as Kernels in the notebook
instance.

`repeated .google.events.cloud.notebooks.v1.ContainerImage kernels = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.events.cloud.notebooks.v1.ContainerImageOrBuilder>` |   |

### getMixerDisabled()

    public abstract boolean getMixerDisabled()

Bool indicating whether mixer client should be disabled.
Default: False

`optional bool mixer_disabled = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The mixerDisabled. |

### getNotebookUpgradeSchedule()

    public abstract String getNotebookUpgradeSchedule()

Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).

`string notebook_upgrade_schedule = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The notebookUpgradeSchedule. |

### getNotebookUpgradeScheduleBytes()

    public abstract ByteString getNotebookUpgradeScheduleBytes()

Cron expression in UTC timezone, used to schedule instance auto upgrade.
Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).

`string notebook_upgrade_schedule = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for notebookUpgradeSchedule. |

### getPostStartupScript()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The postStartupScript. |

### getPostStartupScriptBehavior()

    public abstract RuntimeSoftwareConfig.PostStartupScriptBehavior getPostStartupScriptBehavior()

Behavior for the post startup script.

`
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior` | The postStartupScriptBehavior. |

### getPostStartupScriptBehaviorValue()

    public abstract int getPostStartupScriptBehaviorValue()

Behavior for the post startup script.

`
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for postStartupScriptBehavior. |

### getPostStartupScriptBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for postStartupScript. |

### getUpgradeable()

    public abstract boolean getUpgradeable()

Output only. Bool indicating whether an newer image is available in an
image family.

`optional bool upgradeable = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The upgradeable. |

### getVersion()

    public abstract String getVersion()

Output only. version of boot image such as M100, from release label of the
image.

`optional string version = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The version. |

### getVersionBytes()

    public abstract ByteString getVersionBytes()

Output only. version of boot image such as M100, from release label of the
image.

`optional string version = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for version. |

### hasDisableTerminal()

    public abstract boolean hasDisableTerminal()

Bool indicating whether JupyterLab terminal will be available or not.
Default: False

`optional bool disable_terminal = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the disableTerminal field is set. |

### hasEnableHealthMonitoring()

    public abstract boolean hasEnableHealthMonitoring()

Verifies core internal services are running.
Default: True

`optional bool enable_health_monitoring = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the enableHealthMonitoring field is set. |

### hasIdleShutdown()

    public abstract boolean hasIdleShutdown()

Runtime will automatically shutdown after idle_shutdown_time.
Default: True

`optional bool idle_shutdown = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the idleShutdown field is set. |

### hasMixerDisabled()

    public abstract boolean hasMixerDisabled()

Bool indicating whether mixer client should be disabled.
Default: False

`optional bool mixer_disabled = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the mixerDisabled field is set. |

### hasUpgradeable()

    public abstract boolean hasUpgradeable()

Output only. Bool indicating whether an newer image is available in an
image family.

`optional bool upgradeable = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the upgradeable field is set. |

### hasVersion()

    public abstract boolean hasVersion()

Output only. version of boot image such as M100, from release label of the
image.

`optional string version = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the version field is set. |