Class GetRuntimeRequest.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class GetRuntimeRequest.Builder extends GeneratedMessageV3.Builder<GetRuntimeRequest.Builder> implements GetRuntimeRequestOrBuilder

Request for getting a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.GetRuntimeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides

build()

public GetRuntimeRequest build()
Returns
TypeDescription
GetRuntimeRequest

buildPartial()

public GetRuntimeRequest buildPartial()
Returns
TypeDescription
GetRuntimeRequest

clear()

public GetRuntimeRequest.Builder clear()
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides

clearName()

public GetRuntimeRequest.Builder clearName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetRuntimeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides

clone()

public GetRuntimeRequest.Builder clone()
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides

getDefaultInstanceForType()

public GetRuntimeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRuntimeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRuntimeRequest other)

public GetRuntimeRequest.Builder mergeFrom(GetRuntimeRequest other)
Parameter
NameDescription
otherGetRuntimeRequest
Returns
TypeDescription
GetRuntimeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetRuntimeRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetRuntimeRequest.Builder
Overrides