Class RuntimeSoftwareConfig.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class RuntimeSoftwareConfig.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllKernels(Iterable<? extends ContainerImage> values)

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];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.notebooks.v1.ContainerImage>
Returns
TypeDescription
RuntimeSoftwareConfig.Builder

addKernels(ContainerImage value)

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];

Parameter
NameDescription
valueContainerImage
Returns
TypeDescription
RuntimeSoftwareConfig.Builder

addKernels(ContainerImage.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueContainerImage.Builder
Returns
TypeDescription
RuntimeSoftwareConfig.Builder

addKernels(int index, ContainerImage value)

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];

Parameters
NameDescription
indexint
valueContainerImage
Returns
TypeDescription
RuntimeSoftwareConfig.Builder

addKernels(int index, ContainerImage.Builder builderForValue)

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];

Parameters
NameDescription
indexint
builderForValueContainerImage.Builder
Returns
TypeDescription
RuntimeSoftwareConfig.Builder

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];

Returns
TypeDescription
ContainerImage.Builder

addKernelsBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
ContainerImage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeSoftwareConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeSoftwareConfig.Builder
Overrides

build()

public RuntimeSoftwareConfig build()
Returns
TypeDescription
RuntimeSoftwareConfig

buildPartial()

public RuntimeSoftwareConfig buildPartial()
Returns
TypeDescription
RuntimeSoftwareConfig

clear()

public RuntimeSoftwareConfig.Builder clear()
Returns
TypeDescription
RuntimeSoftwareConfig.Builder
Overrides

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
TypeDescription
RuntimeSoftwareConfig.Builder

This builder for chaining.

clearEnableHealthMonitoring()

public RuntimeSoftwareConfig.Builder clearEnableHealthMonitoring()

Verifies core internal services are running. Default: True

optional bool enable_health_monitoring = 2;

Returns
TypeDescription
RuntimeSoftwareConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RuntimeSoftwareConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription