Class NotebookExecutionJob.GcsNotebookSource.Builder (3.52.0)

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

The Cloud Storage uri for the input notebook.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public NotebookExecutionJob.GcsNotebookSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public NotebookExecutionJob.GcsNotebookSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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.