Class MachineImage (1.88.0)

public final class MachineImage extends GeneratedMessageV3 implements MachineImageOrBuilder

Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.

Protobuf type google.cloud.compute.v1.MachineImage

Static Fields

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

GUEST_FLUSH_FIELD_NUMBER

public static final int GUEST_FLUSH_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_PROPERTIES_FIELD_NUMBER

public static final int INSTANCE_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LABEL_FINGERPRINT_FIELD_NUMBER

public static final int LABEL_FINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER

public static final int MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SATISFIES_PZI_FIELD_NUMBER

public static final int SATISFIES_PZI_FIELD_NUMBER
Field Value
Type Description
int

SATISFIES_PZS_FIELD_NUMBER

public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value
Type Description
int

SAVED_DISKS_FIELD_NUMBER

public static final int SAVED_DISKS_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER

public static final int SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_INSTANCE_FIELD_NUMBER

public static final int SOURCE_INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER

public static final int SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_LOCATIONS_FIELD_NUMBER

public static final int STORAGE_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_STORAGE_BYTES_FIELD_NUMBER

public static final int TOTAL_STORAGE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MachineImage getDefaultInstance()
Returns
Type Description
MachineImage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MachineImage.Builder newBuilder()
Returns
Type Description
MachineImage.Builder

newBuilder(MachineImage prototype)

public static MachineImage.Builder newBuilder(MachineImage prototype)
Parameter
Name Description
prototype MachineImage
Returns
Type Description
MachineImage.Builder

parseDelimitedFrom(InputStream input)

public static MachineImage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MachineImage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MachineImage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MachineImage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MachineImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MachineImage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MachineImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MachineImage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MachineImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MachineImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MachineImage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MachineImage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MachineImage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MachineImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MachineImage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MachineImage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
<
Returns
Type Description
MachineImage