Class StartNotebookRuntimeRequest.Builder (3.84.0)

public static final class StartNotebookRuntimeRequest.Builder extends GeneratedMessage.Builder<StartNotebookRuntimeRequest.Builder> implements StartNotebookRuntimeRequestOrBuilder

Request message for NotebookService.StartNotebookRuntime.

Protobuf type google.cloud.aiplatform.v1beta1.StartNotebookRuntimeRequest

Static Methods

getDescriptor()

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

Methods

build()

public StartNotebookRuntimeRequest build()
Returns
Type Description
StartNotebookRuntimeRequest

buildPartial()

public StartNotebookRuntimeRequest buildPartial()
Returns
Type Description
StartNotebookRuntimeRequest

clear()

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

clearName()

public StartNotebookRuntimeRequest.Builder clearName()

Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.

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

Returns
Type Description
StartNotebookRuntimeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartNotebookRuntimeRequest getDefaultInstanceForType()
Returns
Type Description
StartNotebookRuntimeRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartNotebookRuntimeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public StartNotebookRuntimeRequest.Builder setName(String value)

Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartNotebookRuntimeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartNotebookRuntimeRequest.Builder setNameBytes(ByteString value)

Required. The name of the NotebookRuntime resource to be started. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StartNotebookRuntimeRequest.Builder

This builder for chaining.