Class ColabImage.Builder (3.84.0)

public static final class ColabImage.Builder extends GeneratedMessage.Builder<ColabImage.Builder> implements ColabImageOrBuilder

Colab image of the runtime.

Protobuf type google.cloud.aiplatform.v1beta1.ColabImage

Implements

ColabImageOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public ColabImage build()
Returns
Type Description
ColabImage

buildPartial()

public ColabImage buildPartial()
Returns
Type Description
ColabImage

clear()

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

clearDescription()

public ColabImage.Builder clearDescription()

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ColabImage.Builder

This builder for chaining.

clearReleaseName()

public ColabImage.Builder clearReleaseName()

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.

string release_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ColabImage.Builder

This builder for chaining.

getDefaultInstanceForType()

public ColabImage getDefaultInstanceForType()
Returns
Type Description
ColabImage

getDescription()

public String getDescription()

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getReleaseName()

public String getReleaseName()

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.

string release_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The releaseName.

getReleaseNameBytes()

public ByteString getReleaseNameBytes()

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.

string release_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for releaseName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ColabImage other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDescription(String value)

public ColabImage.Builder setDescription(String value)

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ColabImage.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ColabImage.Builder setDescriptionBytes(ByteString value)

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ColabImage.Builder

This builder for chaining.

setReleaseName(String value)

public ColabImage.Builder setReleaseName(String value)

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.

string release_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The releaseName to set.

Returns
Type Description
ColabImage.Builder

This builder for chaining.

setReleaseNameBytes(ByteString value)

public ColabImage.Builder setReleaseNameBytes(ByteString value)

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.

string release_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for releaseName to set.

Returns
Type Description
ColabImage.Builder

This builder for chaining.