Class StopRuntimeRequest (1.11.0)

public final class StopRuntimeRequest extends GeneratedMessageV3 implements StopRuntimeRequestOrBuilder

Request for stopping a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.StopRuntimeRequest

Static Fields

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 StopRuntimeRequest getDefaultInstance()
Returns
TypeDescription
StopRuntimeRequest

getDescriptor()

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

newBuilder()

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

newBuilder(StopRuntimeRequest prototype)

public static StopRuntimeRequest.Builder newBuilder(StopRuntimeRequest prototype)
Parameter
NameDescription
prototypeStopRuntimeRequest
Returns
TypeDescription
StopRuntimeRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StopRuntimeRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StopRuntimeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StopRuntimeRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StopRuntimeRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StopRuntimeRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StopRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StopRuntimeRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StopRuntimeRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StopRuntimeRequest> parser()
Returns
TypeDescription
Parser<StopRuntimeRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StopRuntimeRequest getDefaultInstanceForType()
Returns
TypeDescription
StopRuntimeRequest

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<StopRuntimeRequest> getParserForType()
Returns
TypeDescription
Parser<StopRuntimeRequest>
Overrides

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 2;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 2;

Returns
TypeDescription
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StopRuntimeRequest.Builder newBuilderForType()
Returns
TypeDescription
StopRuntimeRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StopRuntimeRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StopRuntimeRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StopRuntimeRequest.Builder toBuilder()
Returns
TypeDescription
StopRuntimeRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException