Package com.google.cloud.notebooks.v1
Interface UpdateRuntimeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateRuntimeRequest
,UpdateRuntimeRequest.Builder
public interface UpdateRuntimeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRequestId()
Idempotent request UUID.com.google.protobuf.ByteString
getRequestIdBytes()
Idempotent request UUID.Runtime
getRuntime()
Required.RuntimeOrBuilder
getRuntimeOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
Required.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Required.boolean
hasRuntime()
Required.boolean
hasUpdateMask()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRuntime
boolean hasRuntime()
Required. The Runtime to be updated.
.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the runtime field is set.
-
getRuntime
Runtime getRuntime()
Required. The Runtime to be updated.
.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The runtime.
-
getRuntimeOrBuilder
RuntimeOrBuilder getRuntimeOrBuilder()
Required. The Runtime to be updated.
.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
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:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.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:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.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];
-
getRequestId
String getRequestId()
Idempotent request UUID.
string request_id = 3;
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 3;
- Returns:
- The bytes for requestId.
-
-