public final class MachineImage extends com.google.protobuf.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| Modifier and Type | Class and Description |
|---|---|
static class |
MachineImage.Builder
Represents a machine image resource.
|
static class |
MachineImage.Status
[Output Only] The status of the machine image.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
GUEST_FLUSH_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INSTANCE_PROPERTIES_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SATISFIES_PZS_FIELD_NUMBER |
static int |
SAVED_DISKS_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER |
static int |
SOURCE_INSTANCE_FIELD_NUMBER |
static int |
SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
STORAGE_LOCATIONS_FIELD_NUMBER |
static int |
TOTAL_STORAGE_BYTES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
static MachineImage |
getDefaultInstance() |
MachineImage |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getGuestFlush()
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
|
long |
getId()
[Output Only] A unique identifier for this machine image.
|
InstanceProperties |
getInstanceProperties()
[Output Only] Properties of source instance
|
InstancePropertiesOrBuilder |
getInstancePropertiesOrBuilder()
[Output Only] Properties of source instance
|
String |
getKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
CustomerEncryptionKey |
getMachineImageEncryptionKey()
Encrypts the machine image using a customer-supplied encryption key.
|
CustomerEncryptionKeyOrBuilder |
getMachineImageEncryptionKeyOrBuilder()
Encrypts the machine image using a customer-supplied encryption key.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource; provided by the client when the resource is created.
|
com.google.protobuf.Parser<MachineImage> |
getParserForType() |
boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
SavedDisk |
getSavedDisks(int index)
An array of Machine Image specific properties for disks attached to the source instance
|
int |
getSavedDisksCount()
An array of Machine Image specific properties for disks attached to the source instance
|
List<SavedDisk> |
getSavedDisksList()
An array of Machine Image specific properties for disks attached to the source instance
|
SavedDiskOrBuilder |
getSavedDisksOrBuilder(int index)
An array of Machine Image specific properties for disks attached to the source instance
|
List<? extends SavedDiskOrBuilder> |
getSavedDisksOrBuilderList()
An array of Machine Image specific properties for disks attached to the source instance
|
String |
getSelfLink()
[Output Only] The URL for this machine image.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] The URL for this machine image.
|
int |
getSerializedSize() |
SourceDiskEncryptionKey |
getSourceDiskEncryptionKeys(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
int |
getSourceDiskEncryptionKeysCount()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
List<SourceDiskEncryptionKey> |
getSourceDiskEncryptionKeysList()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
SourceDiskEncryptionKeyOrBuilder |
getSourceDiskEncryptionKeysOrBuilder(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
List<? extends SourceDiskEncryptionKeyOrBuilder> |
getSourceDiskEncryptionKeysOrBuilderList()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
String |
getSourceInstance()
The source instance used to create the machine image.
|
com.google.protobuf.ByteString |
getSourceInstanceBytes()
The source instance used to create the machine image.
|
SourceInstanceProperties |
getSourceInstanceProperties()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
SourceInstancePropertiesOrBuilder |
getSourceInstancePropertiesOrBuilder()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
String |
getStatus()
[Output Only] The status of the machine image.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the machine image.
|
String |
getStorageLocations(int index)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
com.google.protobuf.ByteString |
getStorageLocationsBytes(int index)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
int |
getStorageLocationsCount()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
com.google.protobuf.ProtocolStringList |
getStorageLocationsList()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
long |
getTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasGuestFlush()
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] A unique identifier for this machine image.
|
boolean |
hasInstanceProperties()
[Output Only] Properties of source instance
|
boolean |
hasKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
boolean |
hasMachineImageEncryptionKey()
Encrypts the machine image using a customer-supplied encryption key.
|
boolean |
hasName()
Name of the resource; provided by the client when the resource is created.
|
boolean |
hasSatisfiesPzs()
[Output Only] Reserved for future use.
|
boolean |
hasSelfLink()
[Output Only] The URL for this machine image.
|
boolean |
hasSourceInstance()
The source instance used to create the machine image.
|
boolean |
hasSourceInstanceProperties()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
boolean |
hasStatus()
[Output Only] The status of the machine image.
|
boolean |
hasTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MachineImage.Builder |
newBuilder() |
static MachineImage.Builder |
newBuilder(MachineImage prototype) |
MachineImage.Builder |
newBuilderForType() |
protected MachineImage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MachineImage |
parseDelimitedFrom(InputStream input) |
static MachineImage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MachineImage |
parseFrom(byte[] data) |
static MachineImage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MachineImage |
parseFrom(ByteBuffer data) |
static MachineImage |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MachineImage |
parseFrom(com.google.protobuf.ByteString data) |
static MachineImage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MachineImage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MachineImage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MachineImage |
parseFrom(InputStream input) |
static MachineImage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MachineImage> |
parser() |
MachineImage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int GUEST_FLUSH_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INSTANCE_PROPERTIES_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
public static final int SAVED_DISKS_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER
public static final int SOURCE_INSTANCE_FIELD_NUMBER
public static final int SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STORAGE_LOCATIONS_FIELD_NUMBER
public static final int TOTAL_STORAGE_BYTES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface MachineImageOrBuilderpublic String getCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface MachineImageOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface MachineImageOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface MachineImageOrBuilderpublic boolean hasGuestFlush()
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;hasGuestFlush in interface MachineImageOrBuilderpublic boolean getGuestFlush()
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;getGuestFlush in interface MachineImageOrBuilderpublic boolean hasId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;hasId in interface MachineImageOrBuilderpublic long getId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;getId in interface MachineImageOrBuilderpublic boolean hasInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
hasInstanceProperties in interface MachineImageOrBuilderpublic InstanceProperties getInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
getInstanceProperties in interface MachineImageOrBuilderpublic InstancePropertiesOrBuilder getInstancePropertiesOrBuilder()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
getInstancePropertiesOrBuilder in interface MachineImageOrBuilderpublic boolean hasKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;hasKind in interface MachineImageOrBuilderpublic String getKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;getKind in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;getKindBytes in interface MachineImageOrBuilderpublic boolean hasMachineImageEncryptionKey()
Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey machine_image_encryption_key = 528089087;
hasMachineImageEncryptionKey in interface MachineImageOrBuilderpublic CustomerEncryptionKey getMachineImageEncryptionKey()
Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey machine_image_encryption_key = 528089087;
getMachineImageEncryptionKey in interface MachineImageOrBuilderpublic CustomerEncryptionKeyOrBuilder getMachineImageEncryptionKeyOrBuilder()
Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey machine_image_encryption_key = 528089087;
getMachineImageEncryptionKeyOrBuilder in interface MachineImageOrBuilderpublic boolean hasName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface MachineImageOrBuilderpublic String getName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface MachineImageOrBuilderpublic boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;hasSatisfiesPzs in interface MachineImageOrBuilderpublic boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;getSatisfiesPzs in interface MachineImageOrBuilderpublic List<SavedDisk> getSavedDisksList()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;getSavedDisksList in interface MachineImageOrBuilderpublic List<? extends SavedDiskOrBuilder> getSavedDisksOrBuilderList()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;getSavedDisksOrBuilderList in interface MachineImageOrBuilderpublic int getSavedDisksCount()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;getSavedDisksCount in interface MachineImageOrBuilderpublic SavedDisk getSavedDisks(int index)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;getSavedDisks in interface MachineImageOrBuilderpublic SavedDiskOrBuilder getSavedDisksOrBuilder(int index)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;getSavedDisksOrBuilder in interface MachineImageOrBuilderpublic boolean hasSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;hasSelfLink in interface MachineImageOrBuilderpublic String getSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;getSelfLink in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;getSelfLinkBytes in interface MachineImageOrBuilderpublic List<SourceDiskEncryptionKey> getSourceDiskEncryptionKeysList()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;
getSourceDiskEncryptionKeysList in interface MachineImageOrBuilderpublic List<? extends SourceDiskEncryptionKeyOrBuilder> getSourceDiskEncryptionKeysOrBuilderList()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;
getSourceDiskEncryptionKeysOrBuilderList in interface MachineImageOrBuilderpublic int getSourceDiskEncryptionKeysCount()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;
getSourceDiskEncryptionKeysCount in interface MachineImageOrBuilderpublic SourceDiskEncryptionKey getSourceDiskEncryptionKeys(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;
getSourceDiskEncryptionKeys in interface MachineImageOrBuilderpublic SourceDiskEncryptionKeyOrBuilder getSourceDiskEncryptionKeysOrBuilder(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.
repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;
getSourceDiskEncryptionKeysOrBuilder in interface MachineImageOrBuilderpublic boolean hasSourceInstance()
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;hasSourceInstance in interface MachineImageOrBuilderpublic String getSourceInstance()
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;getSourceInstance in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getSourceInstanceBytes()
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
optional string source_instance = 396315705;getSourceInstanceBytes in interface MachineImageOrBuilderpublic boolean hasSourceInstanceProperties()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field.
optional .google.cloud.compute.v1.SourceInstanceProperties source_instance_properties = 475195641;
hasSourceInstanceProperties in interface MachineImageOrBuilderpublic SourceInstanceProperties getSourceInstanceProperties()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field.
optional .google.cloud.compute.v1.SourceInstanceProperties source_instance_properties = 475195641;
getSourceInstanceProperties in interface MachineImageOrBuilderpublic SourceInstancePropertiesOrBuilder getSourceInstancePropertiesOrBuilder()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field.
optional .google.cloud.compute.v1.SourceInstanceProperties source_instance_properties = 475195641;
getSourceInstancePropertiesOrBuilder in interface MachineImageOrBuilderpublic boolean hasStatus()
[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface MachineImageOrBuilderpublic String getStatus()
[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface MachineImageOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface MachineImageOrBuilderpublic com.google.protobuf.ProtocolStringList getStorageLocationsList()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;getStorageLocationsList in interface MachineImageOrBuilderpublic int getStorageLocationsCount()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;getStorageLocationsCount in interface MachineImageOrBuilderpublic String getStorageLocations(int index)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;getStorageLocations in interface MachineImageOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getStorageLocationsBytes(int index)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;getStorageLocationsBytes in interface MachineImageOrBuilderindex - The index of the value to return.public boolean hasTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;hasTotalStorageBytes in interface MachineImageOrBuilderpublic long getTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;getTotalStorageBytes in interface MachineImageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MachineImage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MachineImage parseFrom(InputStream input) throws IOException
IOExceptionpublic static MachineImage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MachineImage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MachineImage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MachineImage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MachineImage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MachineImage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MachineImage.Builder newBuilder()
public static MachineImage.Builder newBuilder(MachineImage prototype)
public MachineImage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MachineImage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MachineImage getDefaultInstance()
public static com.google.protobuf.Parser<MachineImage> parser()
public com.google.protobuf.Parser<MachineImage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MachineImage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.