Class AssignNotebookRuntimeRequest.Builder (3.44.0)

public static final class AssignNotebookRuntimeRequest.Builder extends GeneratedMessageV3.Builder<AssignNotebookRuntimeRequest.Builder> implements AssignNotebookRuntimeRequestOrBuilder

Request message for NotebookService.AssignNotebookRuntime.

Protobuf type google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AssignNotebookRuntimeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

build()

public AssignNotebookRuntimeRequest build()
Returns
Type Description
AssignNotebookRuntimeRequest

buildPartial()

public AssignNotebookRuntimeRequest buildPartial()
Returns
Type Description
AssignNotebookRuntimeRequest

clear()

public AssignNotebookRuntimeRequest.Builder clear()
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AssignNotebookRuntimeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

clearNotebookRuntime()

public AssignNotebookRuntimeRequest.Builder clearNotebookRuntime()

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

clearNotebookRuntimeId()

public AssignNotebookRuntimeRequest.Builder clearNotebookRuntimeId()

Optional. User specified ID for the notebook runtime.

string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

clearNotebookRuntimeTemplate()

public AssignNotebookRuntimeRequest.Builder clearNotebookRuntimeTemplate()

Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).

string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AssignNotebookRuntimeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

clearParent()

public AssignNotebookRuntimeRequest.Builder clearParent()

Required. The resource name of the Location to get the NotebookRuntime assignment. Format: projects/{project}/locations/{location}

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

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

clone()

public AssignNotebookRuntimeRequest.Builder clone()
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

getDefaultInstanceForType()

public AssignNotebookRuntimeRequest getDefaultInstanceForType()
Returns
Type Description
AssignNotebookRuntimeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNotebookRuntime()

public NotebookRuntime getNotebookRuntime()

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntime

The notebookRuntime.

getNotebookRuntimeBuilder()

public NotebookRuntime.Builder getNotebookRuntimeBuilder()

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntime.Builder

getNotebookRuntimeId()

public String getNotebookRuntimeId()

Optional. User specified ID for the notebook runtime.

string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The notebookRuntimeId.

getNotebookRuntimeIdBytes()

public ByteString getNotebookRuntimeIdBytes()

Optional. User specified ID for the notebook runtime.

string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for notebookRuntimeId.

getNotebookRuntimeOrBuilder()

public NotebookRuntimeOrBuilder getNotebookRuntimeOrBuilder()

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntimeOrBuilder

getNotebookRuntimeTemplate()

public String getNotebookRuntimeTemplate()

Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).

string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The notebookRuntimeTemplate.

getNotebookRuntimeTemplateBytes()

public ByteString getNotebookRuntimeTemplateBytes()

Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).

string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for notebookRuntimeTemplate.

getParent()

public String getParent()

Required. The resource name of the Location to get the NotebookRuntime assignment. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location to get the NotebookRuntime assignment. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

hasNotebookRuntime()

public boolean hasNotebookRuntime()

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notebookRuntime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AssignNotebookRuntimeRequest other)

public AssignNotebookRuntimeRequest.Builder mergeFrom(AssignNotebookRuntimeRequest other)
Parameter
Name Description
other AssignNotebookRuntimeRequest
Returns
Type Description
AssignNotebookRuntimeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AssignNotebookRuntimeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AssignNotebookRuntimeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

mergeNotebookRuntime(NotebookRuntime value)

public AssignNotebookRuntimeRequest.Builder mergeNotebookRuntime(NotebookRuntime value)

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookRuntime
Returns
Type Description
AssignNotebookRuntimeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AssignNotebookRuntimeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AssignNotebookRuntimeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

setNotebookRuntime(NotebookRuntime value)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntime(NotebookRuntime value)

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookRuntime
Returns
Type Description
AssignNotebookRuntimeRequest.Builder

setNotebookRuntime(NotebookRuntime.Builder builderForValue)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntime(NotebookRuntime.Builder builderForValue)

Required. Provide runtime specific information (e.g. runtime owner, notebook id) used for NotebookRuntime assignment.

.google.cloud.aiplatform.v1beta1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotebookRuntime.Builder
Returns
Type Description
AssignNotebookRuntimeRequest.Builder

setNotebookRuntimeId(String value)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntimeId(String value)

Optional. User specified ID for the notebook runtime.

string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The notebookRuntimeId to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setNotebookRuntimeIdBytes(ByteString value)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntimeIdBytes(ByteString value)

Optional. User specified ID for the notebook runtime.

string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for notebookRuntimeId to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setNotebookRuntimeTemplate(String value)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntimeTemplate(String value)

Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).

string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The notebookRuntimeTemplate to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setNotebookRuntimeTemplateBytes(ByteString value)

public AssignNotebookRuntimeRequest.Builder setNotebookRuntimeTemplateBytes(ByteString value)

Required. The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be assigned (reuse or create a new one).

string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for notebookRuntimeTemplate to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setParent(String value)

public AssignNotebookRuntimeRequest.Builder setParent(String value)

Required. The resource name of the Location to get the NotebookRuntime assignment. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public AssignNotebookRuntimeRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to get the NotebookRuntime assignment. Format: projects/{project}/locations/{location}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
AssignNotebookRuntimeRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AssignNotebookRuntimeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AssignNotebookRuntimeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AssignNotebookRuntimeRequest.Builder
Overrides