Interface VmImageOrBuilder (1.44.0)

public interface VmImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageCase()

public abstract VmImage.ImageCase getImageCase()
Returns
Type Description
VmImage.ImageCase

getImageFamily()

public abstract 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
Type Description
String

The imageFamily.

getImageFamilyBytes()

public abstract 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
Type Description
ByteString

The bytes for imageFamily.

getImageName()

public abstract String getImageName()

Use VM image name to find the image.

string image_name = 2;

Returns
Type Description
String

The imageName.

getImageNameBytes()

public abstract ByteString getImageNameBytes()

Use VM image name to find the image.

string image_name = 2;

Returns
Type Description
ByteString

The bytes for imageName.

getProject()

public abstract 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
Type Description
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

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
Type Description
ByteString

The bytes for project.

hasImageFamily()

public abstract boolean hasImageFamily()

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

string image_family = 3;

Returns
Type Description
boolean

Whether the imageFamily field is set.

hasImageName()

public abstract boolean hasImageName()

Use VM image name to find the image.

string image_name = 2;

Returns
Type Description
boolean

Whether the imageName field is set.