Class 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 type google.cloud.notebooks.v1.RuntimeSoftwareConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • clear

        public RuntimeSoftwareConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • getDefaultInstanceForType

        public RuntimeSoftwareConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RuntimeSoftwareConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RuntimeSoftwareConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RuntimeSoftwareConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • clearField

        public RuntimeSoftwareConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • clearOneof

        public RuntimeSoftwareConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • addRepeatedField

        public RuntimeSoftwareConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
      • 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 interface RuntimeSoftwareConfigOrBuilder
      • 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 interface RuntimeSoftwareConfigOrBuilder
      • 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 interface RuntimeSoftwareConfigOrBuilder
      • 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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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.
      • 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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface RuntimeSoftwareConfigOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>
      • mergeUnknownFields

        public final RuntimeSoftwareConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RuntimeSoftwareConfig.Builder>