- 1.76.0 (latest)
 - 1.74.0
 - 1.73.0
 - 1.72.0
 - 1.71.0
 - 1.70.0
 - 1.68.0
 - 1.66.0
 - 1.65.0
 - 1.62.0
 - 1.61.0
 - 1.60.0
 - 1.58.0
 - 1.57.0
 - 1.56.0
 - 1.55.0
 - 1.54.0
 - 1.53.0
 - 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 SwitchRuntimeRequest.Builder extends GeneratedMessageV3.Builder<SwitchRuntimeRequest.Builder> implements SwitchRuntimeRequestOrBuilderRequest for switching a Managed Notebook Runtime.
 Protobuf type google.cloud.notebooks.v1.SwitchRuntimeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SwitchRuntimeRequest.BuilderImplements
SwitchRuntimeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SwitchRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
build()
public SwitchRuntimeRequest build()| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest | 
        |
buildPartial()
public SwitchRuntimeRequest buildPartial()| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest | 
        |
clear()
public SwitchRuntimeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
clearAcceleratorConfig()
public SwitchRuntimeRequest.Builder clearAcceleratorConfig()accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public SwitchRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
clearMachineType()
public SwitchRuntimeRequest.Builder clearMachineType()machine type.
 string machine_type = 2;
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
clearName()
public SwitchRuntimeRequest.Builder clearName() Required. Format:
 projects/{project_id}/locations/{location}/runtimes/{runtime_id}
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public SwitchRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
clearRequestId()
public SwitchRuntimeRequest.Builder clearRequestId()Idempotent request UUID.
 string request_id = 4;
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
clone()
public SwitchRuntimeRequest.Builder clone()| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
getAcceleratorConfig()
public RuntimeAcceleratorConfig getAcceleratorConfig()accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Returns | |
|---|---|
| Type | Description | 
RuntimeAcceleratorConfig | 
        The acceleratorConfig.  | 
      
getAcceleratorConfigBuilder()
public RuntimeAcceleratorConfig.Builder getAcceleratorConfigBuilder()accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Returns | |
|---|---|
| Type | Description | 
RuntimeAcceleratorConfig.Builder | 
        |
getAcceleratorConfigOrBuilder()
public RuntimeAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Returns | |
|---|---|
| Type | Description | 
RuntimeAcceleratorConfigOrBuilder | 
        |
getDefaultInstanceForType()
public SwitchRuntimeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getMachineType()
public String getMachineType()machine type.
 string machine_type = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The machineType.  | 
      
getMachineTypeBytes()
public ByteString getMachineTypeBytes()machine type.
 string machine_type = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for machineType.  | 
      
getName()
public String getName() Required. Format:
 projects/{project_id}/locations/{location}/runtimes/{runtime_id}
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes() Required. Format:
 projects/{project_id}/locations/{location}/runtimes/{runtime_id}
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getRequestId()
public String getRequestId()Idempotent request UUID.
 string request_id = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The requestId.  | 
      
getRequestIdBytes()
public ByteString getRequestIdBytes()Idempotent request UUID.
 string request_id = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for requestId.  | 
      
hasAcceleratorConfig()
public boolean hasAcceleratorConfig()accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the acceleratorConfig field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeAcceleratorConfig(RuntimeAcceleratorConfig value)
public SwitchRuntimeRequest.Builder mergeAcceleratorConfig(RuntimeAcceleratorConfig value)accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        RuntimeAcceleratorConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
mergeFrom(SwitchRuntimeRequest other)
public SwitchRuntimeRequest.Builder mergeFrom(SwitchRuntimeRequest other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        SwitchRuntimeRequest | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SwitchRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public SwitchRuntimeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SwitchRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
setAcceleratorConfig(RuntimeAcceleratorConfig value)
public SwitchRuntimeRequest.Builder setAcceleratorConfig(RuntimeAcceleratorConfig value)accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        RuntimeAcceleratorConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
setAcceleratorConfig(RuntimeAcceleratorConfig.Builder builderForValue)
public SwitchRuntimeRequest.Builder setAcceleratorConfig(RuntimeAcceleratorConfig.Builder builderForValue)accelerator config.
 .google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        RuntimeAcceleratorConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public SwitchRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
setMachineType(String value)
public SwitchRuntimeRequest.Builder setMachineType(String value)machine type.
 string machine_type = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe machineType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setMachineTypeBytes(ByteString value)
public SwitchRuntimeRequest.Builder setMachineTypeBytes(ByteString value)machine type.
 string machine_type = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for machineType to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public SwitchRuntimeRequest.Builder setName(String value) Required. Format:
 projects/{project_id}/locations/{location}/runtimes/{runtime_id}
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public SwitchRuntimeRequest.Builder setNameBytes(ByteString value) Required. Format:
 projects/{project_id}/locations/{location}/runtimes/{runtime_id}
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SwitchRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |
setRequestId(String value)
public SwitchRuntimeRequest.Builder setRequestId(String value)Idempotent request UUID.
 string request_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe requestId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setRequestIdBytes(ByteString value)
public SwitchRuntimeRequest.Builder setRequestIdBytes(ByteString value)Idempotent request UUID.
 string request_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for requestId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final SwitchRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
SwitchRuntimeRequest.Builder | 
        |