Class NotebookExecutionJob.DirectNotebookSource.Builder (3.55.0)

public static final class NotebookExecutionJob.DirectNotebookSource.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NotebookExecutionJob.DirectNotebookSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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