Class NotebookExecutionJob.DirectNotebookSource.Builder (3.84.0)

public static final class NotebookExecutionJob.DirectNotebookSource.Builder extends GeneratedMessage.Builder<NotebookExecutionJob.DirectNotebookSource.Builder> implements NotebookExecutionJob.DirectNotebookSourceOrBuilder

The content of the input notebook in ipynb format.

Protobuf type google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DirectNotebookSource

Static Methods

getDescriptor()

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

Methods

build()

public NotebookExecutionJob.DirectNotebookSource build()
Returns
Type Description
NotebookExecutionJob.DirectNotebookSource

buildPartial()

public NotebookExecutionJob.DirectNotebookSource buildPartial()
Returns
Type Description
NotebookExecutionJob.DirectNotebookSource

clear()

public NotebookExecutionJob.DirectNotebookSource.Builder clear()
Returns
Type Description
NotebookExecutionJob.DirectNotebookSource.Builder
Overrides

clearContent()

public NotebookExecutionJob.DirectNotebookSource.Builder clearContent()

The base64-encoded contents of the input notebook file.

bytes content = 1;

Returns
Type Description
NotebookExecutionJob.DirectNotebookSource.Builder

This builder for chaining.

getContent()

public ByteString getContent()

The base64-encoded contents of the input notebook file.

bytes content = 1;

Returns
Type Description
ByteString

The content.

getDefaultInstanceForType()

public NotebookExecutionJob.DirectNotebookSource getDefaultInstanceForType()
Returns
Type Description
NotebookExecutionJob.DirectNotebookSource

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookExecutionJob.DirectNotebookSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContent(ByteString value)

public NotebookExecutionJob.DirectNotebookSource.Builder setContent(ByteString value)

The base64-encoded contents of the input notebook file.

bytes content = 1;

Parameter
Name Description
value ByteString

The content to set.

Returns
Type Description
NotebookExecutionJob.DirectNotebookSource.Builder

This builder for chaining.