- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateRuntimeRequest.BuilderImplements
UpdateRuntimeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
build()
public UpdateRuntimeRequest build()
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest |
buildPartial()
public UpdateRuntimeRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest |
clear()
public UpdateRuntimeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
clearRequestId()
public UpdateRuntimeRequest.Builder clearRequestId()
Idempotent request UUID.
string request_id = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
clone()
public UpdateRuntimeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
getDefaultInstanceForType()
public UpdateRuntimeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRequestId()
public String getRequestId()
Idempotent request UUID.
string request_id = 3;
Returns | |
---|---|
Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
FieldMaskOrBuilder |
hasRuntime()
public boolean hasRuntime()
Required. The Runtime to be updated.
.google.cloud.notebooks.v1.Runtime runtime = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpdateRuntimeRequest other)
public UpdateRuntimeRequest.Builder mergeFrom(UpdateRuntimeRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateRuntimeRequest |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateRuntimeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
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 | |
---|---|
Name | Description |
value |
Runtime |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
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 | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
setRequestId(String value)
public UpdateRuntimeRequest.Builder setRequestId(String value)
Idempotent request UUID.
string request_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateRuntimeRequest.Builder setRequestIdBytes(ByteString value)
Idempotent request UUID.
string request_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Runtime |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Runtime.Builder |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |
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 | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateRuntimeRequest.Builder |