Package com.google.cloud.notebooks.v1
Interface SwitchRuntimeRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SwitchRuntimeRequest
,SwitchRuntimeRequest.Builder
public interface SwitchRuntimeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeAcceleratorConfig
getAcceleratorConfig()
accelerator config.RuntimeAcceleratorConfigOrBuilder
getAcceleratorConfigOrBuilder()
accelerator config.String
getMachineType()
machine type.com.google.protobuf.ByteString
getMachineTypeBytes()
machine type.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getRequestId()
Idempotent request UUID.com.google.protobuf.ByteString
getRequestIdBytes()
Idempotent request UUID.boolean
hasAcceleratorConfig()
accelerator config.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for name.
-
getMachineType
String getMachineType()
machine type.
string machine_type = 2;
- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()
machine type.
string machine_type = 2;
- Returns:
- The bytes for machineType.
-
hasAcceleratorConfig
boolean hasAcceleratorConfig()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
- Returns:
- Whether the acceleratorConfig field is set.
-
getAcceleratorConfig
RuntimeAcceleratorConfig getAcceleratorConfig()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
- Returns:
- The acceleratorConfig.
-
getAcceleratorConfigOrBuilder
RuntimeAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
-
getRequestId
String getRequestId()
Idempotent request UUID.
string request_id = 4;
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 4;
- Returns:
- The bytes for requestId.
-
-