Class VmImage.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class VmImage.Builder extends GeneratedMessageV3.Builder<VmImage.Builder> implements VmImageOrBuilder

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.

Protobuf type google.cloud.notebooks.v1beta1.VmImage

Implements

VmImageOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VmImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VmImage.Builder
Overrides

build()

public VmImage build()
Returns
TypeDescription
VmImage

buildPartial()

public VmImage buildPartial()
Returns
TypeDescription
VmImage

clear()

public VmImage.Builder clear()
Returns
TypeDescription
VmImage.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VmImage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VmImage.Builder
Overrides

clearImage()

public VmImage.Builder clearImage()
Returns
TypeDescription
VmImage.Builder

clearImageFamily()

public VmImage.Builder clearImageFamily()

Use this VM image family to find the image; the newest image in this family will be used.

string image_family = 3;

Returns
TypeDescription
VmImage.Builder

This builder for chaining.

clearImageName()

public VmImage.Builder clearImageName()

Use VM image name to find the image.

string image_name = 2;

Returns
TypeDescription
VmImage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VmImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VmImage.Builder
Overrides

clearProject()

public VmImage.Builder clearProject()

Required. The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
VmImage.Builder

This builder for chaining.

clone()

public VmImage.Builder clone()
Returns
TypeDescription
VmImage.Builder
Overrides

getDefaultInstanceForType()

public VmImage getDefaultInstanceForType()
Returns
TypeDescription
VmImage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImageCase()

public VmImage.ImageCase getImageCase()
Returns
TypeDescription
VmImage.ImageCase

getImageFamily()

public String getImageFamily()

Use this VM image family to find the image; the newest image in this family will be used.

string image_family = 3;

Returns
TypeDescription
String

The imageFamily.

getImageFamilyBytes()

public ByteString getImageFamilyBytes()

Use this VM image family to find the image; the newest image in this family will be used.

string image_family = 3;

Returns
TypeDescription
ByteString

The bytes for imageFamily.

getImageName()

public String getImageName()

Use VM image name to find the image.

string image_name = 2;

Returns
TypeDescription
String

The imageName.

getImageNameBytes()

public ByteString getImageNameBytes()

Use VM image name to find the image.

string image_name = 2;

Returns
TypeDescription
ByteString

The bytes for imageName.

getProject()

public String getProject()

Required. The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()