Package com.google.cloud.notebooks.v1
Class RuntimeSoftwareConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
- com.google.cloud.notebooks.v1.RuntimeSoftwareConfig.Builder
-
- All Implemented Interfaces:
RuntimeSoftwareConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RuntimeSoftwareConfig
public static final class RuntimeSoftwareConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder> 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 typegoogle.cloud.notebooks.v1.RuntimeSoftwareConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeSoftwareConfig.Builder
addAllKernels(Iterable<? extends ContainerImage> values)
Optional.RuntimeSoftwareConfig.Builder
addKernels(int index, ContainerImage value)
Optional.RuntimeSoftwareConfig.Builder
addKernels(int index, ContainerImage.Builder builderForValue)
Optional.RuntimeSoftwareConfig.Builder
addKernels(ContainerImage value)
Optional.RuntimeSoftwareConfig.Builder
addKernels(ContainerImage.Builder builderForValue)
Optional.ContainerImage.Builder
addKernelsBuilder()
Optional.ContainerImage.Builder
addKernelsBuilder(int index)
Optional.RuntimeSoftwareConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RuntimeSoftwareConfig
build()
RuntimeSoftwareConfig
buildPartial()
RuntimeSoftwareConfig.Builder
clear()
RuntimeSoftwareConfig.Builder
clearCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.Builder
clearDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not.RuntimeSoftwareConfig.Builder
clearEnableHealthMonitoring()
Verifies core internal services are running.RuntimeSoftwareConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RuntimeSoftwareConfig.Builder
clearIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.RuntimeSoftwareConfig.Builder
clearIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime.RuntimeSoftwareConfig.Builder
clearInstallGpuDriver()
Install Nvidia Driver automatically.RuntimeSoftwareConfig.Builder
clearKernels()
Optional.RuntimeSoftwareConfig.Builder
clearNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RuntimeSoftwareConfig.Builder
clearPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.Builder
clearPostStartupScriptBehavior()
Behavior for the post startup script.RuntimeSoftwareConfig.Builder
clearUpgradeable()
Output only.RuntimeSoftwareConfig.Builder
clearVersion()
Output only.RuntimeSoftwareConfig.Builder
clone()
String
getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.com.google.protobuf.ByteString
getCustomGpuDriverPathBytes()
Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not.boolean
getEnableHealthMonitoring()
Verifies core internal services are running.boolean
getIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.int
getIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime.boolean
getInstallGpuDriver()
Install Nvidia Driver automatically.ContainerImage
getKernels(int index)
Optional.ContainerImage.Builder
getKernelsBuilder(int index)
Optional.List<ContainerImage.Builder>
getKernelsBuilderList()
Optional.int
getKernelsCount()
Optional.List<ContainerImage>
getKernelsList()
Optional.ContainerImageOrBuilder
getKernelsOrBuilder(int index)
Optional.List<? extends ContainerImageOrBuilder>
getKernelsOrBuilderList()
Optional.String
getNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.com.google.protobuf.ByteString
getNotebookUpgradeScheduleBytes()
Cron expression in UTC timezone, used to schedule instance auto upgrade.String
getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.PostStartupScriptBehavior
getPostStartupScriptBehavior()
Behavior for the post startup script.int
getPostStartupScriptBehaviorValue()
Behavior for the post startup script.com.google.protobuf.ByteString
getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance fully boots up.boolean
getUpgradeable()
Output only.String
getVersion()
Output only.com.google.protobuf.ByteString
getVersionBytes()
Output only.boolean
hasDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not.boolean
hasEnableHealthMonitoring()
Verifies core internal services are running.boolean
hasIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.boolean
hasUpgradeable()
Output only.boolean
hasVersion()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RuntimeSoftwareConfig.Builder
mergeFrom(RuntimeSoftwareConfig other)
RuntimeSoftwareConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RuntimeSoftwareConfig.Builder
mergeFrom(com.google.protobuf.Message other)
RuntimeSoftwareConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RuntimeSoftwareConfig.Builder
removeKernels(int index)
Optional.RuntimeSoftwareConfig.Builder
setCustomGpuDriverPath(String value)
Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.Builder
setCustomGpuDriverPathBytes(com.google.protobuf.ByteString value)
Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.Builder
setDisableTerminal(boolean value)
Bool indicating whether JupyterLab terminal will be available or not.RuntimeSoftwareConfig.Builder
setEnableHealthMonitoring(boolean value)
Verifies core internal services are running.RuntimeSoftwareConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RuntimeSoftwareConfig.Builder
setIdleShutdown(boolean value)
Runtime will automatically shutdown after idle_shutdown_time.RuntimeSoftwareConfig.Builder
setIdleShutdownTimeout(int value)
Time in minutes to wait before shutting down runtime.RuntimeSoftwareConfig.Builder
setInstallGpuDriver(boolean value)
Install Nvidia Driver automatically.RuntimeSoftwareConfig.Builder
setKernels(int index, ContainerImage value)
Optional.RuntimeSoftwareConfig.Builder
setKernels(int index, ContainerImage.Builder builderForValue)
Optional.RuntimeSoftwareConfig.Builder
setNotebookUpgradeSchedule(String value)
Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.Builder
setNotebookUpgradeScheduleBytes(com.google.protobuf.ByteString value)
Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.Builder
setPostStartupScript(String value)
Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.Builder
setPostStartupScriptBehavior(RuntimeSoftwareConfig.PostStartupScriptBehavior value)
Behavior for the post startup script.RuntimeSoftwareConfig.Builder
setPostStartupScriptBehaviorValue(int value)
Behavior for the post startup script.RuntimeSoftwareConfig.Builder
setPostStartupScriptBytes(com.google.protobuf.ByteString value)
Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RuntimeSoftwareConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RuntimeSoftwareConfig.Builder
setUpgradeable(boolean value)
Output only.RuntimeSoftwareConfig.Builder
setVersion(String value)
Output only.RuntimeSoftwareConfig.Builder
setVersionBytes(com.google.protobuf.ByteString value)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clear
public RuntimeSoftwareConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
getDefaultInstanceForType
public RuntimeSoftwareConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuntimeSoftwareConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuntimeSoftwareConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RuntimeSoftwareConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
setField
public RuntimeSoftwareConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clearField
public RuntimeSoftwareConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clearOneof
public RuntimeSoftwareConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
setRepeatedField
public RuntimeSoftwareConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
addRepeatedField
public RuntimeSoftwareConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
mergeFrom
public RuntimeSoftwareConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuntimeSoftwareConfig.Builder>
-
mergeFrom
public RuntimeSoftwareConfig.Builder mergeFrom(RuntimeSoftwareConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
mergeFrom
public RuntimeSoftwareConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RuntimeSoftwareConfig.Builder>
- Throws:
IOException
-
getNotebookUpgradeSchedule
public 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;
- Specified by:
getNotebookUpgradeSchedule
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The notebookUpgradeSchedule.
-
getNotebookUpgradeScheduleBytes
public com.google.protobuf.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;
- Specified by:
getNotebookUpgradeScheduleBytes
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The bytes for notebookUpgradeSchedule.
-
setNotebookUpgradeSchedule
public RuntimeSoftwareConfig.Builder setNotebookUpgradeSchedule(String value)
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;
- Parameters:
value
- The notebookUpgradeSchedule to set.- Returns:
- This builder for chaining.
-
clearNotebookUpgradeSchedule
public RuntimeSoftwareConfig.Builder clearNotebookUpgradeSchedule()
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:
- This builder for chaining.
-
setNotebookUpgradeScheduleBytes
public RuntimeSoftwareConfig.Builder setNotebookUpgradeScheduleBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for notebookUpgradeSchedule to set.- Returns:
- This builder for chaining.
-
hasEnableHealthMonitoring
public boolean hasEnableHealthMonitoring()
Verifies core internal services are running. Default: True
optional bool enable_health_monitoring = 2;
- Specified by:
hasEnableHealthMonitoring
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- Whether the enableHealthMonitoring field is set.
-
getEnableHealthMonitoring
public boolean getEnableHealthMonitoring()
Verifies core internal services are running. Default: True
optional bool enable_health_monitoring = 2;
- Specified by:
getEnableHealthMonitoring
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The enableHealthMonitoring.
-
setEnableHealthMonitoring
public RuntimeSoftwareConfig.Builder setEnableHealthMonitoring(boolean value)
Verifies core internal services are running. Default: True
optional bool enable_health_monitoring = 2;
- Parameters:
value
- The enableHealthMonitoring to set.- Returns:
- This builder for chaining.
-
clearEnableHealthMonitoring
public RuntimeSoftwareConfig.Builder clearEnableHealthMonitoring()
Verifies core internal services are running. Default: True
optional bool enable_health_monitoring = 2;
- Returns:
- This builder for chaining.
-
hasIdleShutdown
public boolean hasIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time. Default: True
optional bool idle_shutdown = 3;
- Specified by:
hasIdleShutdown
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- Whether the idleShutdown field is set.
-
getIdleShutdown
public boolean getIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time. Default: True
optional bool idle_shutdown = 3;
- Specified by:
getIdleShutdown
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The idleShutdown.
-
setIdleShutdown
public RuntimeSoftwareConfig.Builder setIdleShutdown(boolean value)
Runtime will automatically shutdown after idle_shutdown_time. Default: True
optional bool idle_shutdown = 3;
- Parameters:
value
- The idleShutdown to set.- Returns:
- This builder for chaining.
-
clearIdleShutdown
public RuntimeSoftwareConfig.Builder clearIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time. Default: True
optional bool idle_shutdown = 3;
- Returns:
- This builder for chaining.
-
getIdleShutdownTimeout
public int getIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime. Default: 180 minutes
int32 idle_shutdown_timeout = 4;
- Specified by:
getIdleShutdownTimeout
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The idleShutdownTimeout.
-
setIdleShutdownTimeout
public RuntimeSoftwareConfig.Builder setIdleShutdownTimeout(int value)
Time in minutes to wait before shutting down runtime. Default: 180 minutes
int32 idle_shutdown_timeout = 4;
- Parameters:
value
- The idleShutdownTimeout to set.- Returns:
- This builder for chaining.
-
clearIdleShutdownTimeout
public RuntimeSoftwareConfig.Builder clearIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime. Default: 180 minutes
int32 idle_shutdown_timeout = 4;
- Returns:
- This builder for chaining.
-
getInstallGpuDriver
public boolean getInstallGpuDriver()
Install Nvidia Driver automatically. Default: True
bool install_gpu_driver = 5;
- Specified by:
getInstallGpuDriver
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The installGpuDriver.
-
setInstallGpuDriver
public RuntimeSoftwareConfig.Builder setInstallGpuDriver(boolean value)
Install Nvidia Driver automatically. Default: True
bool install_gpu_driver = 5;
- Parameters:
value
- The installGpuDriver to set.- Returns:
- This builder for chaining.
-
clearInstallGpuDriver
public RuntimeSoftwareConfig.Builder clearInstallGpuDriver()
Install Nvidia Driver automatically. Default: True
bool install_gpu_driver = 5;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getCustomGpuDriverPath
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The customGpuDriverPath.
-
getCustomGpuDriverPathBytes
public com.google.protobuf.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;
- Specified by:
getCustomGpuDriverPathBytes
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The bytes for customGpuDriverPath.
-
setCustomGpuDriverPath
public RuntimeSoftwareConfig.Builder setCustomGpuDriverPath(String value)
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;
- Parameters:
value
- The customGpuDriverPath to set.- Returns:
- This builder for chaining.
-
clearCustomGpuDriverPath
public RuntimeSoftwareConfig.Builder clearCustomGpuDriverPath()
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:
- This builder for chaining.
-
setCustomGpuDriverPathBytes
public RuntimeSoftwareConfig.Builder setCustomGpuDriverPathBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for customGpuDriverPath to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getPostStartupScript
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The postStartupScript.
-
getPostStartupScriptBytes
public com.google.protobuf.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;
- Specified by:
getPostStartupScriptBytes
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The bytes for postStartupScript.
-
setPostStartupScript
public RuntimeSoftwareConfig.Builder setPostStartupScript(String value)
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;
- Parameters:
value
- The postStartupScript to set.- Returns:
- This builder for chaining.
-
clearPostStartupScript
public RuntimeSoftwareConfig.Builder clearPostStartupScript()
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:
- This builder for chaining.
-
setPostStartupScriptBytes
public RuntimeSoftwareConfig.Builder setPostStartupScriptBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for postStartupScript to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getKernelsList
in interfaceRuntimeSoftwareConfigOrBuilder
-
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];
- Specified by:
getKernelsCount
in interfaceRuntimeSoftwareConfigOrBuilder
-
getKernels
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];
- Specified by:
getKernels
in interfaceRuntimeSoftwareConfigOrBuilder
-
setKernels
public RuntimeSoftwareConfig.Builder setKernels(int index, ContainerImage value)
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];
-
setKernels
public RuntimeSoftwareConfig.Builder setKernels(int index, ContainerImage.Builder builderForValue)
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];
-
addKernels
public RuntimeSoftwareConfig.Builder addKernels(ContainerImage value)
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];
-
addKernels
public RuntimeSoftwareConfig.Builder addKernels(int index, ContainerImage value)
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];
-
addKernels
public RuntimeSoftwareConfig.Builder addKernels(ContainerImage.Builder builderForValue)
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];
-
addKernels
public RuntimeSoftwareConfig.Builder addKernels(int index, ContainerImage.Builder builderForValue)
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];
-
addAllKernels
public RuntimeSoftwareConfig.Builder addAllKernels(Iterable<? extends ContainerImage> values)
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];
-
clearKernels
public RuntimeSoftwareConfig.Builder clearKernels()
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];
-
removeKernels
public RuntimeSoftwareConfig.Builder removeKernels(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];
-
getKernelsBuilder
public ContainerImage.Builder getKernelsBuilder(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];
-
getKernelsOrBuilder
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];
- Specified by:
getKernelsOrBuilder
in interfaceRuntimeSoftwareConfigOrBuilder
-
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];
- Specified by:
getKernelsOrBuilderList
in interfaceRuntimeSoftwareConfigOrBuilder
-
addKernelsBuilder
public ContainerImage.Builder addKernelsBuilder()
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];
-
addKernelsBuilder
public ContainerImage.Builder addKernelsBuilder(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];
-
getKernelsBuilderList
public List<ContainerImage.Builder> getKernelsBuilderList()
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];
-
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];
- Specified by:
hasUpgradeable
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- Whether the upgradeable field is set.
-
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];
- Specified by:
getUpgradeable
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The upgradeable.
-
setUpgradeable
public RuntimeSoftwareConfig.Builder setUpgradeable(boolean value)
Output only. Bool indicating whether an newer image is available in an image family.
optional bool upgradeable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The upgradeable to set.- Returns:
- This builder for chaining.
-
clearUpgradeable
public RuntimeSoftwareConfig.Builder clearUpgradeable()
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:
- This builder for chaining.
-
getPostStartupScriptBehaviorValue
public int getPostStartupScriptBehaviorValue()
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
- Specified by:
getPostStartupScriptBehaviorValue
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The enum numeric value on the wire for postStartupScriptBehavior.
-
setPostStartupScriptBehaviorValue
public RuntimeSoftwareConfig.Builder setPostStartupScriptBehaviorValue(int value)
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
- Parameters:
value
- The enum numeric value on the wire for postStartupScriptBehavior to set.- Returns:
- This builder for chaining.
-
getPostStartupScriptBehavior
public RuntimeSoftwareConfig.PostStartupScriptBehavior getPostStartupScriptBehavior()
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
- Specified by:
getPostStartupScriptBehavior
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The postStartupScriptBehavior.
-
setPostStartupScriptBehavior
public RuntimeSoftwareConfig.Builder setPostStartupScriptBehavior(RuntimeSoftwareConfig.PostStartupScriptBehavior value)
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
- Parameters:
value
- The postStartupScriptBehavior to set.- Returns:
- This builder for chaining.
-
clearPostStartupScriptBehavior
public RuntimeSoftwareConfig.Builder clearPostStartupScriptBehavior()
Behavior for the post startup script.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior post_startup_script_behavior = 10;
- Returns:
- This builder for chaining.
-
hasDisableTerminal
public boolean hasDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not. Default: False
optional bool disable_terminal = 11;
- Specified by:
hasDisableTerminal
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- Whether the disableTerminal field is set.
-
getDisableTerminal
public boolean getDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not. Default: False
optional bool disable_terminal = 11;
- Specified by:
getDisableTerminal
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The disableTerminal.
-
setDisableTerminal
public RuntimeSoftwareConfig.Builder setDisableTerminal(boolean value)
Bool indicating whether JupyterLab terminal will be available or not. Default: False
optional bool disable_terminal = 11;
- Parameters:
value
- The disableTerminal to set.- Returns:
- This builder for chaining.
-
clearDisableTerminal
public RuntimeSoftwareConfig.Builder clearDisableTerminal()
Bool indicating whether JupyterLab terminal will be available or not. Default: False
optional bool disable_terminal = 11;
- Returns:
- This builder for chaining.
-
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];
- Specified by:
hasVersion
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- Whether the version field is set.
-
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];
- Specified by:
getVersion
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.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];
- Specified by:
getVersionBytes
in interfaceRuntimeSoftwareConfigOrBuilder
- Returns:
- The bytes for version.
-
setVersion
public RuntimeSoftwareConfig.Builder setVersion(String value)
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];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
public RuntimeSoftwareConfig.Builder clearVersion()
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:
- This builder for chaining.
-
setVersionBytes
public RuntimeSoftwareConfig.Builder setVersionBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RuntimeSoftwareConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
mergeUnknownFields
public final RuntimeSoftwareConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
-