Class UpdateRuntimeRequest.Builder (1.15.0)

public static final class UpdateRuntimeRequest.Builder extends GeneratedMessageV3.Builder<UpdateRuntimeRequest.Builder> implements UpdateRuntimeRequestOrBuilder

Request for updating a Managed Notebook configuration.

Protobuf type google.cloud.notebooks.v1.UpdateRuntimeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRuntimeRequest build()
Returns
TypeDescription
UpdateRuntimeRequest

buildPartial()

public UpdateRuntimeRequest buildPartial()
Returns
TypeDescription
UpdateRuntimeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

clearRequestId()

public UpdateRuntimeRequest.Builder clearRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
UpdateRuntimeRequest.Builder

This builder for chaining.

clearRuntime()

public UpdateRuntimeRequest.Builder clearRuntime()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateRuntimeRequest.Builder

clearUpdateMask()

public UpdateRuntimeRequest.Builder clearUpdateMask()

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateRuntimeRequest.Builder

clone()

public UpdateRuntimeRequest.Builder clone()
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRuntimeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRuntimeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 3;

Returns
TypeDescription
ByteString

The bytes for requestId.

getRuntime()

public Runtime getRuntime()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Runtime

The runtime.

getRuntimeBuilder()

public Runtime.Builder getRuntimeBuilder()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Runtime.Builder

getRuntimeOrBuilder()

public RuntimeOrBuilder getRuntimeOrBuilder()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RuntimeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasRuntime()

public boolean hasRuntime()

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the runtime field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateRuntimeRequest other)

public UpdateRuntimeRequest.Builder mergeFrom(UpdateRuntimeRequest other)
Parameter
NameDescription
otherUpdateRuntimeRequest
Returns
TypeDescription
UpdateRuntimeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateRuntimeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

mergeRuntime(Runtime value)

public UpdateRuntimeRequest.Builder mergeRuntime(Runtime value)

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRuntime
Returns
TypeDescription
UpdateRuntimeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateRuntimeRequest.Builder mergeUpdateMask(FieldMask value)

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRuntimeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

setRequestId(String value)

public UpdateRuntimeRequest.Builder setRequestId(String value)

Idempotent request UUID.

string request_id = 3;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
UpdateRuntimeRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateRuntimeRequest.Builder setRequestIdBytes(ByteString value)

Idempotent request UUID.

string request_id = 3;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateRuntimeRequest.Builder

This builder for chaining.

setRuntime(Runtime value)

public UpdateRuntimeRequest.Builder setRuntime(Runtime value)

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRuntime
Returns
TypeDescription
UpdateRuntimeRequest.Builder

setRuntime(Runtime.Builder builderForValue)

public UpdateRuntimeRequest.Builder setRuntime(Runtime.Builder builderForValue)

Required. The Runtime to be updated.

.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueRuntime.Builder
Returns
TypeDescription
UpdateRuntimeRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRuntimeRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateRuntimeRequest.Builder setUpdateMask(FieldMask value)

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRuntimeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRuntimeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Specifies the path, relative to Runtime, of the field to update. For example, to change the software configuration kernels, the update_mask parameter would be specified as software_config.kernels, and the PATCH request body would specify the new value, as follows: { "software_config":{ "kernels": [{ 'repository': 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag': 'latest' }], } } Currently, only the following fields can be updated:

  • software_config.kernels
  • software_config.post_startup_script
  • software_config.custom_gpu_driver_path
  • software_config.idle_shutdown
  • software_config.idle_shutdown_timeout
  • software_config.disable_terminal

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRuntimeRequest.Builder