Interface VmImageOrBuilder (1.44.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
Type Description
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
Type Description
ByteString

The bytes for family.

getImageCase()

public abstract VmImage.ImageCase getImageCase()
Returns
Type Description
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
Type Description
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
Type Description
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
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: {project_id}

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the name field is set.