Class ColabImage.Builder (3.69.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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