Class CreateNotebookRuntimeTemplateRequest.Builder (3.46.0)

public static final class CreateNotebookRuntimeTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateNotebookRuntimeTemplateRequest.Builder> implements CreateNotebookRuntimeTemplateRequestOrBuilder

Request message for NotebookService.CreateNotebookRuntimeTemplate.

Protobuf type google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateNotebookRuntimeTemplateRequest build()
Returns
Type Description
CreateNotebookRuntimeTemplateRequest

buildPartial()

public CreateNotebookRuntimeTemplateRequest buildPartial()
Returns
Type Description
CreateNotebookRuntimeTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotebookRuntimeTemplate()

public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplate()

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

clearNotebookRuntimeTemplateId()

public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplateId()

Optional. User specified ID for the notebook runtime template.

string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateNotebookRuntimeTemplateRequest.Builder clearParent()

Required. The resource name of the Location to create the NotebookRuntimeTemplate. Format: projects/{project}/locations/{location}

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

Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateNotebookRuntimeTemplateRequest getDefaultInstanceForType()
Returns
Type Description
CreateNotebookRuntimeTemplateRequest

getDescriptorForType()

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

getNotebookRuntimeTemplate()

public NotebookRuntimeTemplate getNotebookRuntimeTemplate()

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntimeTemplate

The notebookRuntimeTemplate.

getNotebookRuntimeTemplateBuilder()

public NotebookRuntimeTemplate.Builder getNotebookRuntimeTemplateBuilder()

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntimeTemplate.Builder

getNotebookRuntimeTemplateId()

public String getNotebookRuntimeTemplateId()

Optional. User specified ID for the notebook runtime template.

string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The notebookRuntimeTemplateId.

getNotebookRuntimeTemplateIdBytes()

public ByteString getNotebookRuntimeTemplateIdBytes()

Optional. User specified ID for the notebook runtime template.

string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for notebookRuntimeTemplateId.

getNotebookRuntimeTemplateOrBuilder()

public NotebookRuntimeTemplateOrBuilder getNotebookRuntimeTemplateOrBuilder()

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookRuntimeTemplateOrBuilder

getParent()

public String getParent()

Required. The resource name of the Location to create the NotebookRuntimeTemplate. 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 create the NotebookRuntimeTemplate. 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.

hasNotebookRuntimeTemplate()

public boolean hasNotebookRuntimeTemplate()

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notebookRuntimeTemplate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateNotebookRuntimeTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotebookRuntimeTemplate(NotebookRuntimeTemplate value)

public CreateNotebookRuntimeTemplateRequest.Builder mergeNotebookRuntimeTemplate(NotebookRuntimeTemplate value)

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookRuntimeTemplate
Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotebookRuntimeTemplate(NotebookRuntimeTemplate value)

public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate value)

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookRuntimeTemplate
Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

setNotebookRuntimeTemplate(NotebookRuntimeTemplate.Builder builderForValue)

public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate.Builder builderForValue)

Required. The NotebookRuntimeTemplate to create.

.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotebookRuntimeTemplate.Builder
Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

setNotebookRuntimeTemplateId(String value)

public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateId(String value)

Optional. User specified ID for the notebook runtime template.

string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The notebookRuntimeTemplateId to set.

Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

setNotebookRuntimeTemplateIdBytes(ByteString value)

public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateIdBytes(ByteString value)

Optional. User specified ID for the notebook runtime template.

string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for notebookRuntimeTemplateId to set.

Returns
Type Description
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

setParent(String value)

public CreateNotebookRuntimeTemplateRequest.Builder setParent(String value)

Required. The resource name of the Location to create the NotebookRuntimeTemplate. 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
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateNotebookRuntimeTemplateRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the Location to create the NotebookRuntimeTemplate. 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
CreateNotebookRuntimeTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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