Class NotebookExecutionJob.GcsNotebookSource.Builder (3.84.0)

public static final class NotebookExecutionJob.GcsNotebookSource.Builder extends GeneratedMessage.Builder<NotebookExecutionJob.GcsNotebookSource.Builder> implements NotebookExecutionJob.GcsNotebookSourceOrBuilder

The Cloud Storage uri for the input notebook.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearGeneration()

public NotebookExecutionJob.GcsNotebookSource.Builder clearGeneration()

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

string generation = 2;

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.

clearUri()

public NotebookExecutionJob.GcsNotebookSource.Builder clearUri()

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

string uri = 1;

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getGeneration()

public String getGeneration()

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

string generation = 2;

Returns
Type Description
String

The generation.

getGenerationBytes()

public ByteString getGenerationBytes()

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

string generation = 2;

Returns
Type Description
ByteString

The bytes for generation.

getUri()

public String getUri()

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookExecutionJob.GcsNotebookSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGeneration(String value)

public NotebookExecutionJob.GcsNotebookSource.Builder setGeneration(String value)

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

string generation = 2;

Parameter
Name Description
value String

The generation to set.

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.

setGenerationBytes(ByteString value)

public NotebookExecutionJob.GcsNotebookSource.Builder setGenerationBytes(ByteString value)

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

string generation = 2;

Parameter
Name Description
value ByteString

The bytes for generation to set.

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.

setUri(String value)

public NotebookExecutionJob.GcsNotebookSource.Builder setUri(String value)

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.

setUriBytes(ByteString value)

public NotebookExecutionJob.GcsNotebookSource.Builder setUriBytes(ByteString value)

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
NotebookExecutionJob.GcsNotebookSource.Builder

This builder for chaining.