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 RuntimeAcceleratorConfiggetAcceleratorConfig()accelerator config.RuntimeAcceleratorConfigOrBuildergetAcceleratorConfigOrBuilder()accelerator config.StringgetMachineType()machine type.com.google.protobuf.ByteStringgetMachineTypeBytes()machine type.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.StringgetRequestId()Idempotent request UUID.com.google.protobuf.ByteStringgetRequestIdBytes()Idempotent request UUID.booleanhasAcceleratorConfig()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.
-
-