Interface VmImageOrBuilder (1.25.0)

public interface VmImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFamily()

public abstract String getFamily()

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

string family = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The family.

getFamilyBytes()

public abstract ByteString getFamilyBytes()

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

string family = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for family.

getImageCase()

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

getName()

public abstract String getName()

Optional. Use VM image name to find the image.

string name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Optional. Use VM image name to find the image.

string name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for name.

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.

hasFamily()

public abstract boolean hasFamily()

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

string family = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the family field is set.

hasName()

public abstract boolean hasName()

Optional. Use VM image name to find the image.

string name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the name field is set.