Class CreateNotebookExecutionJobRequest.Builder (3.56.0)

public static final class CreateNotebookExecutionJobRequest.Builder extends GeneratedMessageV3.Builder<CreateNotebookExecutionJobRequest.Builder> implements CreateNotebookExecutionJobRequestOrBuilder

Request message for [NotebookService.CreateNotebookExecutionJob]

Protobuf type google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateNotebookExecutionJobRequest build()
Returns
Type Description
CreateNotebookExecutionJobRequest

buildPartial()

public CreateNotebookExecutionJobRequest buildPartial()
Returns
Type Description
CreateNotebookExecutionJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotebookExecutionJob()

public CreateNotebookExecutionJobRequest.Builder clearNotebookExecutionJob()

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

clearNotebookExecutionJobId()

public CreateNotebookExecutionJobRequest.Builder clearNotebookExecutionJobId()

Optional. User specified ID for the NotebookExecutionJob.

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

Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateNotebookExecutionJobRequest.Builder clearParent()

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

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

Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateNotebookExecutionJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateNotebookExecutionJobRequest

getDescriptorForType()

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

getNotebookExecutionJob()

public NotebookExecutionJob getNotebookExecutionJob()

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookExecutionJob

The notebookExecutionJob.

getNotebookExecutionJobBuilder()

public NotebookExecutionJob.Builder getNotebookExecutionJobBuilder()

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookExecutionJob.Builder

getNotebookExecutionJobId()

public String getNotebookExecutionJobId()

Optional. User specified ID for the NotebookExecutionJob.

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

Returns
Type Description
String

The notebookExecutionJobId.

getNotebookExecutionJobIdBytes()

public ByteString getNotebookExecutionJobIdBytes()

Optional. User specified ID for the NotebookExecutionJob.

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

Returns
Type Description
ByteString

The bytes for notebookExecutionJobId.

getNotebookExecutionJobOrBuilder()

public NotebookExecutionJobOrBuilder getNotebookExecutionJobOrBuilder()

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotebookExecutionJobOrBuilder

getParent()

public String getParent()

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

hasNotebookExecutionJob()

public boolean hasNotebookExecutionJob()

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notebookExecutionJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateNotebookExecutionJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotebookExecutionJob(NotebookExecutionJob value)

public CreateNotebookExecutionJobRequest.Builder mergeNotebookExecutionJob(NotebookExecutionJob value)

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookExecutionJob
Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotebookExecutionJob(NotebookExecutionJob value)

public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJob(NotebookExecutionJob value)

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotebookExecutionJob
Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

setNotebookExecutionJob(NotebookExecutionJob.Builder builderForValue)

public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJob(NotebookExecutionJob.Builder builderForValue)

Required. The NotebookExecutionJob to create.

.google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotebookExecutionJob.Builder
Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

setNotebookExecutionJobId(String value)

public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJobId(String value)

Optional. User specified ID for the NotebookExecutionJob.

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

Parameter
Name Description
value String

The notebookExecutionJobId to set.

Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

This builder for chaining.

setNotebookExecutionJobIdBytes(ByteString value)

public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJobIdBytes(ByteString value)

Optional. User specified ID for the NotebookExecutionJob.

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

Parameter
Name Description
value ByteString

The bytes for notebookExecutionJobId to set.

Returns
Type Description
CreateNotebookExecutionJobRequest.Builder

This builder for chaining.

setParent(String value)

public CreateNotebookExecutionJobRequest.Builder setParent(String value)

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

This builder for chaining.

setParentBytes(ByteString value)

public CreateNotebookExecutionJobRequest.Builder setParentBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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