public final class SwitchRuntimeRequest extends GeneratedMessageV3 implements SwitchRuntimeRequestOrBuilder
Request for switching a Managed Notebook Runtime.
Protobuf type google.cloud.notebooks.v1.SwitchRuntimeRequest
Static Fields
ACCELERATOR_CONFIG_FIELD_NUMBER
public static final int ACCELERATOR_CONFIG_FIELD_NUMBER
Field Value
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SwitchRuntimeRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SwitchRuntimeRequest.Builder newBuilder()
Returns
newBuilder(SwitchRuntimeRequest prototype)
public static SwitchRuntimeRequest.Builder newBuilder(SwitchRuntimeRequest prototype)
Parameter
Returns
public static SwitchRuntimeRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SwitchRuntimeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SwitchRuntimeRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SwitchRuntimeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SwitchRuntimeRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SwitchRuntimeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SwitchRuntimeRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SwitchRuntimeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SwitchRuntimeRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SwitchRuntimeRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SwitchRuntimeRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SwitchRuntimeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SwitchRuntimeRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAcceleratorConfig()
public RuntimeAcceleratorConfig getAcceleratorConfig()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
Returns
getAcceleratorConfigOrBuilder()
public RuntimeAcceleratorConfigOrBuilder getAcceleratorConfigOrBuilder()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
Returns
getDefaultInstanceForType()
public SwitchRuntimeRequest getDefaultInstanceForType()
Returns
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()
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
getParserForType()
public Parser<SwitchRuntimeRequest> getParserForType()
Returns
Overrides
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAcceleratorConfig()
public boolean hasAcceleratorConfig()
accelerator config.
.google.cloud.notebooks.v1.RuntimeAcceleratorConfig accelerator_config = 3;
Returns
Type | Description |
boolean | Whether the acceleratorConfig field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SwitchRuntimeRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SwitchRuntimeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SwitchRuntimeRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions