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