Interface VmImageOrBuilder (1.20.0)

public interface VmImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageCase()

public abstract VmImage.ImageCase getImageCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for imageFamily.

getImageName()

public abstract String getImageName()

Use VM image name to find the image.

string image_name = 2;

Returns
TypeDescription
String

The imageName.

getImageNameBytes()

public abstract ByteString getImageNameBytes()

Use VM image name to find the image.

string image_name = 2;

Returns
TypeDescription
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: {project_id}

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the imageName field is set.