Class SwitchRuntimeRequest (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SwitchRuntimeRequest getDefaultInstance()
Returns
TypeDescription
SwitchRuntimeRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SwitchRuntimeRequest.Builder newBuilder()
Returns
TypeDescription
SwitchRuntimeRequest.Builder

newBuilder(SwitchRuntimeRequest prototype)

public static SwitchRuntimeRequest.Builder newBuilder(SwitchRuntimeRequest prototype)
Parameter
NameDescription
prototypeSwitchRuntimeRequest
Returns
TypeDescription
SwitchRuntimeRequest.Builder

parseDelimitedFrom(InputStream input)

public static SwitchRuntimeRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SwitchRuntimeRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SwitchRuntimeRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SwitchRuntimeRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SwitchRuntimeRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SwitchRuntimeRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SwitchRuntimeRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SwitchRuntimeRequest
Exceptions
TypeDescription
IOException