Class CreateRuntimeRequest.Builder (1.4.0)

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

Request for creating a Managed Notebook Runtime.

Protobuf type google.cloud.notebooks.v1.CreateRuntimeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateRuntimeRequest build()
Returns
TypeDescription
CreateRuntimeRequest

buildPartial()

public CreateRuntimeRequest buildPartial()
Returns
TypeDescription
CreateRuntimeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateRuntimeRequest.Builder clearParent()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
CreateRuntimeRequest.Builder

This builder for chaining.

clearRequestId()

public CreateRuntimeRequest.Builder clearRequestId()

Idempotent request UUID.

string request_id = 4;

Returns
TypeDescription
CreateRuntimeRequest.Builder

This builder for chaining.

clearRuntime()

public CreateRuntimeRequest.Builder clearRuntime()

Required. The Runtime to be created.

.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateRuntimeRequest.Builder

clearRuntimeId()

public CreateRuntimeRequest.Builder clearRuntimeId()

Required. User-defined unique ID of this Runtime.

string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateRuntimeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateRuntimeRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRuntimeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Format: parent=projects/{project_id}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Idempotent request UUID.

string request_id = 4;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Idempotent request UUID.

string request_id = 4;

Returns
TypeDescription
ByteString

The bytes for requestId.

getRuntime()

public Runtime getRuntime()

Required. The Runtime to be created.

.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Runtime

The runtime.

getRuntimeBuilder()

public Runtime.Builder getRuntimeBuilder()

Required. The Runtime to be created.

.google.cloud.notebooks.v1.Runtime runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Runtime.Builder

getRuntimeId()

public String getRuntimeId()

Required. User-defined unique ID of this Runtime.

string runtime_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns