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.BuilderaddAllKernels(Iterable<? extends ContainerImage> values)Optional.RuntimeSoftwareConfig.BuilderaddKernels(int index, ContainerImage value)Optional.RuntimeSoftwareConfig.BuilderaddKernels(int index, ContainerImage.Builder builderForValue)Optional.RuntimeSoftwareConfig.BuilderaddKernels(ContainerImage value)Optional.RuntimeSoftwareConfig.BuilderaddKernels(ContainerImage.Builder builderForValue)Optional.ContainerImage.BuilderaddKernelsBuilder()Optional.ContainerImage.BuilderaddKernelsBuilder(int index)Optional.RuntimeSoftwareConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RuntimeSoftwareConfigbuild()RuntimeSoftwareConfigbuildPartial()RuntimeSoftwareConfig.Builderclear()RuntimeSoftwareConfig.BuilderclearCustomGpuDriverPath()Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.BuilderclearDisableTerminal()Bool indicating whether JupyterLab terminal will be available or not.RuntimeSoftwareConfig.BuilderclearEnableHealthMonitoring()Verifies core internal services are running.RuntimeSoftwareConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RuntimeSoftwareConfig.BuilderclearIdleShutdown()Runtime will automatically shutdown after idle_shutdown_time.RuntimeSoftwareConfig.BuilderclearIdleShutdownTimeout()Time in minutes to wait before shutting down runtime.RuntimeSoftwareConfig.BuilderclearInstallGpuDriver()Install Nvidia Driver automatically.RuntimeSoftwareConfig.BuilderclearKernels()Optional.RuntimeSoftwareConfig.BuilderclearNotebookUpgradeSchedule()Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RuntimeSoftwareConfig.BuilderclearPostStartupScript()Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.BuilderclearPostStartupScriptBehavior()Behavior for the post startup script.RuntimeSoftwareConfig.BuilderclearUpgradeable()Output only.RuntimeSoftwareConfig.BuilderclearVersion()Output only.RuntimeSoftwareConfig.Builderclone()StringgetCustomGpuDriverPath()Specify a custom Cloud Storage path where the GPU driver is stored.com.google.protobuf.ByteStringgetCustomGpuDriverPathBytes()Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableTerminal()Bool indicating whether JupyterLab terminal will be available or not.booleangetEnableHealthMonitoring()Verifies core internal services are running.booleangetIdleShutdown()Runtime will automatically shutdown after idle_shutdown_time.intgetIdleShutdownTimeout()Time in minutes to wait before shutting down runtime.booleangetInstallGpuDriver()Install Nvidia Driver automatically.ContainerImagegetKernels(int index)Optional.ContainerImage.BuildergetKernelsBuilder(int index)Optional.List<ContainerImage.Builder>getKernelsBuilderList()Optional.intgetKernelsCount()Optional.List<ContainerImage>getKernelsList()Optional.ContainerImageOrBuildergetKernelsOrBuilder(int index)Optional.List<? extends ContainerImageOrBuilder>getKernelsOrBuilderList()Optional.StringgetNotebookUpgradeSchedule()Cron expression in UTC timezone, used to schedule instance auto upgrade.com.google.protobuf.ByteStringgetNotebookUpgradeScheduleBytes()Cron expression in UTC timezone, used to schedule instance auto upgrade.StringgetPostStartupScript()Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.PostStartupScriptBehaviorgetPostStartupScriptBehavior()Behavior for the post startup script.intgetPostStartupScriptBehaviorValue()Behavior for the post startup script.com.google.protobuf.ByteStringgetPostStartupScriptBytes()Path to a Bash script that automatically runs after a notebook instance fully boots up.booleangetUpgradeable()Output only.StringgetVersion()Output only.com.google.protobuf.ByteStringgetVersionBytes()Output only.booleanhasDisableTerminal()Bool indicating whether JupyterLab terminal will be available or not.booleanhasEnableHealthMonitoring()Verifies core internal services are running.booleanhasIdleShutdown()Runtime will automatically shutdown after idle_shutdown_time.booleanhasUpgradeable()Output only.booleanhasVersion()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RuntimeSoftwareConfig.BuildermergeFrom(RuntimeSoftwareConfig other)RuntimeSoftwareConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RuntimeSoftwareConfig.BuildermergeFrom(com.google.protobuf.Message other)RuntimeSoftwareConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RuntimeSoftwareConfig.BuilderremoveKernels(int index)Optional.RuntimeSoftwareConfig.BuildersetCustomGpuDriverPath(String value)Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.BuildersetCustomGpuDriverPathBytes(com.google.protobuf.ByteString value)Specify a custom Cloud Storage path where the GPU driver is stored.RuntimeSoftwareConfig.BuildersetDisableTerminal(boolean value)Bool indicating whether JupyterLab terminal will be available or not.RuntimeSoftwareConfig.BuildersetEnableHealthMonitoring(boolean value)Verifies core internal services are running.RuntimeSoftwareConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RuntimeSoftwareConfig.BuildersetIdleShutdown(boolean value)Runtime will automatically shutdown after idle_shutdown_time.RuntimeSoftwareConfig.BuildersetIdleShutdownTimeout(int value)Time in minutes to wait before shutting down runtime.RuntimeSoftwareConfig.BuildersetInstallGpuDriver(boolean value)Install Nvidia Driver automatically.RuntimeSoftwareConfig.BuildersetKernels(int index, ContainerImage value)Optional.RuntimeSoftwareConfig.BuildersetKernels(int index, ContainerImage.Builder builderForValue)Optional.RuntimeSoftwareConfig.BuildersetNotebookUpgradeSchedule(String value)Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.BuildersetNotebookUpgradeScheduleBytes(com.google.protobuf.ByteString value)Cron expression in UTC timezone, used to schedule instance auto upgrade.RuntimeSoftwareConfig.BuildersetPostStartupScript(String value)Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.BuildersetPostStartupScriptBehavior(RuntimeSoftwareConfig.PostStartupScriptBehavior value)Behavior for the post startup script.RuntimeSoftwareConfig.BuildersetPostStartupScriptBehaviorValue(int value)Behavior for the post startup script.RuntimeSoftwareConfig.BuildersetPostStartupScriptBytes(com.google.protobuf.ByteString value)Path to a Bash script that automatically runs after a notebook instance fully boots up.RuntimeSoftwareConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RuntimeSoftwareConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RuntimeSoftwareConfig.BuildersetUpgradeable(boolean value)Output only.RuntimeSoftwareConfig.BuildersetVersion(String value)Output only.RuntimeSoftwareConfig.BuildersetVersionBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clear
public RuntimeSoftwareConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
getDefaultInstanceForType
public RuntimeSoftwareConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RuntimeSoftwareConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RuntimeSoftwareConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RuntimeSoftwareConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
setField
public RuntimeSoftwareConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clearField
public RuntimeSoftwareConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
clearOneof
public RuntimeSoftwareConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
setRepeatedField
public RuntimeSoftwareConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
addRepeatedField
public RuntimeSoftwareConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
mergeFrom
public RuntimeSoftwareConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeSoftwareConfig.Builder>
-
mergeFrom
public RuntimeSoftwareConfig.Builder mergeFrom(RuntimeSoftwareConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNotebookUpgradeSchedulein 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:
getNotebookUpgradeScheduleBytesin 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:
hasEnableHealthMonitoringin 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:
getEnableHealthMonitoringin 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:
hasIdleShutdownin 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:
getIdleShutdownin 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:
getIdleShutdownTimeoutin 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:
getInstallGpuDriverin 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:
getCustomGpuDriverPathin 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:
getCustomGpuDriverPathBytesin 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:
getPostStartupScriptin 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:
getPostStartupScriptBytesin 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:
getKernelsListin 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:
getKernelsCountin 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:
getKernelsin 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:
getKernelsOrBuilderin 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:
getKernelsOrBuilderListin 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:
hasUpgradeablein 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:
getUpgradeablein 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:
getPostStartupScriptBehaviorValuein 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:
getPostStartupScriptBehaviorin 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:
hasDisableTerminalin 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:
getDisableTerminalin 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:
hasVersionin 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:
getVersionin 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:
getVersionBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
mergeUnknownFields
public final RuntimeSoftwareConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
-
-