Package com.google.cloud.compute.v1
Class MachineImage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.MachineImage
-
- All Implemented Interfaces:
MachineImageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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 typegoogle.cloud.compute.v1.MachineImage- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMachineImage.BuilderRepresents a machine image resource.static classMachineImage.Status[Output Only] The status of the machine image.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intGUEST_FLUSH_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINSTANCE_PROPERTIES_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intMACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSATISFIES_PZS_FIELD_NUMBERstatic intSAVED_DISKS_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBERstatic intSOURCE_INSTANCE_FIELD_NUMBERstatic intSOURCE_INSTANCE_PROPERTIES_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTORAGE_LOCATIONS_FIELD_NUMBERstatic intTOTAL_STORAGE_BYTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCreationTimestamp()[Output Only] The creation timestamp for this machine image in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] The creation timestamp for this machine image in RFC3339 text format.static MachineImagegetDefaultInstance()MachineImagegetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetGuestFlush()[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.longgetId()[Output Only] A unique identifier for this machine image.InstancePropertiesgetInstanceProperties()[Output Only] Properties of source instanceInstancePropertiesOrBuildergetInstancePropertiesOrBuilder()[Output Only] Properties of source instanceStringgetKind()[Output Only] The resource type, which is always compute#machineImage for machine image.com.google.protobuf.ByteStringgetKindBytes()[Output Only] The resource type, which is always compute#machineImage for machine image.CustomerEncryptionKeygetMachineImageEncryptionKey()Encrypts the machine image using a customer-supplied encryption key.CustomerEncryptionKeyOrBuildergetMachineImageEncryptionKeyOrBuilder()Encrypts the machine image using a customer-supplied encryption key.StringgetName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringgetNameBytes()Name of the resource; provided by the client when the resource is created.com.google.protobuf.Parser<MachineImage>getParserForType()booleangetSatisfiesPzs()[Output Only] Reserved for future use.SavedDiskgetSavedDisks(int index)An array of Machine Image specific properties for disks attached to the source instanceintgetSavedDisksCount()An array of Machine Image specific properties for disks attached to the source instanceList<SavedDisk>getSavedDisksList()An array of Machine Image specific properties for disks attached to the source instanceSavedDiskOrBuildergetSavedDisksOrBuilder(int index)An array of Machine Image specific properties for disks attached to the source instanceList<? extends SavedDiskOrBuilder>getSavedDisksOrBuilderList()An array of Machine Image specific properties for disks attached to the source instanceStringgetSelfLink()[Output Only] The URL for this machine image.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] The URL for this machine image.intgetSerializedSize()SourceDiskEncryptionKeygetSourceDiskEncryptionKeys(int index)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.intgetSourceDiskEncryptionKeysCount()[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.SourceDiskEncryptionKeyOrBuildergetSourceDiskEncryptionKeysOrBuilder(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.StringgetSourceInstance()The source instance used to create the machine image.com.google.protobuf.ByteStringgetSourceInstanceBytes()The source instance used to create the machine image.SourceInstancePropertiesgetSourceInstanceProperties()[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.SourceInstancePropertiesOrBuildergetSourceInstancePropertiesOrBuilder()[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.StringgetStatus()[Output Only] The status of the machine image.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of the machine image.StringgetStorageLocations(int index)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.com.google.protobuf.ByteStringgetStorageLocationsBytes(int index)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.intgetStorageLocationsCount()The regional or multi-regional Cloud Storage bucket location where the machine image is stored.com.google.protobuf.ProtocolStringListgetStorageLocationsList()The regional or multi-regional Cloud Storage bucket location where the machine image is stored.longgetTotalStorageBytes()[Output Only] Total size of the storage used by the machine image.booleanhasCreationTimestamp()[Output Only] The creation timestamp for this machine image in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasGuestFlush()[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.inthashCode()booleanhasId()[Output Only] A unique identifier for this machine image.booleanhasInstanceProperties()[Output Only] Properties of source instancebooleanhasKind()[Output Only] The resource type, which is always compute#machineImage for machine image.booleanhasMachineImageEncryptionKey()Encrypts the machine image using a customer-supplied encryption key.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanhasSatisfiesPzs()[Output Only] Reserved for future use.booleanhasSelfLink()[Output Only] The URL for this machine image.booleanhasSourceInstance()The source instance used to create the machine image.booleanhasSourceInstanceProperties()[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.booleanhasStatus()[Output Only] The status of the machine image.booleanhasTotalStorageBytes()[Output Only] Total size of the storage used by the machine image.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MachineImage.BuildernewBuilder()static MachineImage.BuildernewBuilder(MachineImage prototype)MachineImage.BuildernewBuilderForType()protected MachineImage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MachineImageparseDelimitedFrom(InputStream input)static MachineImageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineImageparseFrom(byte[] data)static MachineImageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineImageparseFrom(com.google.protobuf.ByteString data)static MachineImageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineImageparseFrom(com.google.protobuf.CodedInputStream input)static MachineImageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineImageparseFrom(InputStream input)static MachineImageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MachineImageparseFrom(ByteBuffer data)static MachineImageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MachineImage>parser()MachineImage.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GUEST_FLUSH_FIELD_NUMBER
public static final int GUEST_FLUSH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_PROPERTIES_FIELD_NUMBER
public static final int INSTANCE_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER
public static final int MACHINE_IMAGE_ENCRYPTION_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAVED_DISKS_FIELD_NUMBER
public static final int SAVED_DISKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER
public static final int SOURCE_DISK_ENCRYPTION_KEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_INSTANCE_FIELD_NUMBER
public static final int SOURCE_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER
public static final int SOURCE_INSTANCE_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STORAGE_LOCATIONS_FIELD_NUMBER
public static final int STORAGE_LOCATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_STORAGE_BYTES_FIELD_NUMBER
public static final int TOTAL_STORAGE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceMachineImageOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceMachineImageOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceMachineImageOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceMachineImageOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for description.
-
hasGuestFlush
public 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;- Specified by:
hasGuestFlushin interfaceMachineImageOrBuilder- Returns:
- Whether the guestFlush field is set.
-
getGuestFlush
public 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;- Specified by:
getGuestFlushin interfaceMachineImageOrBuilder- Returns:
- The guestFlush.
-
hasId
public boolean hasId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceMachineImageOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceMachineImageOrBuilder- Returns:
- The id.
-
hasInstanceProperties
public boolean hasInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
hasInstancePropertiesin interfaceMachineImageOrBuilder- Returns:
- Whether the instanceProperties field is set.
-
getInstanceProperties
public InstanceProperties getInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesin interfaceMachineImageOrBuilder- Returns:
- The instanceProperties.
-
getInstancePropertiesOrBuilder
public InstancePropertiesOrBuilder getInstancePropertiesOrBuilder()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;- Specified by:
getInstancePropertiesOrBuilderin interfaceMachineImageOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;- Specified by:
hasKindin interfaceMachineImageOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;- Specified by:
getKindin interfaceMachineImageOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for kind.
-
hasMachineImageEncryptionKey
public 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;- Specified by:
hasMachineImageEncryptionKeyin interfaceMachineImageOrBuilder- Returns:
- Whether the machineImageEncryptionKey field is set.
-
getMachineImageEncryptionKey
public 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;- Specified by:
getMachineImageEncryptionKeyin interfaceMachineImageOrBuilder- Returns:
- The machineImageEncryptionKey.
-
getMachineImageEncryptionKeyOrBuilder
public 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;- Specified by:
getMachineImageEncryptionKeyOrBuilderin interfaceMachineImageOrBuilder
-
hasName
public 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;- Specified by:
hasNamein interfaceMachineImageOrBuilder- Returns:
- Whether the name field is set.
-
getName
public 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;- Specified by:
getNamein interfaceMachineImageOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for name.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceMachineImageOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
getSatisfiesPzsin interfaceMachineImageOrBuilder- Returns:
- The satisfiesPzs.
-
getSavedDisksList
public 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;- Specified by:
getSavedDisksListin interfaceMachineImageOrBuilder
-
getSavedDisksOrBuilderList
public 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;- Specified by:
getSavedDisksOrBuilderListin interfaceMachineImageOrBuilder
-
getSavedDisksCount
public 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;- Specified by:
getSavedDisksCountin interfaceMachineImageOrBuilder
-
getSavedDisks
public 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;- Specified by:
getSavedDisksin interfaceMachineImageOrBuilder
-
getSavedDisksOrBuilder
public 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;- Specified by:
getSavedDisksOrBuilderin interfaceMachineImageOrBuilder
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceMachineImageOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceMachineImageOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for selfLink.
-
getSourceDiskEncryptionKeysList
public 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;- Specified by:
getSourceDiskEncryptionKeysListin interfaceMachineImageOrBuilder
-
getSourceDiskEncryptionKeysOrBuilderList
public 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;- Specified by:
getSourceDiskEncryptionKeysOrBuilderListin interfaceMachineImageOrBuilder
-
getSourceDiskEncryptionKeysCount
public 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;- Specified by:
getSourceDiskEncryptionKeysCountin interfaceMachineImageOrBuilder
-
getSourceDiskEncryptionKeys
public 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;- Specified by:
getSourceDiskEncryptionKeysin interfaceMachineImageOrBuilder
-
getSourceDiskEncryptionKeysOrBuilder
public 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;- Specified by:
getSourceDiskEncryptionKeysOrBuilderin interfaceMachineImageOrBuilder
-
hasSourceInstance
public 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;- Specified by:
hasSourceInstancein interfaceMachineImageOrBuilder- Returns:
- Whether the sourceInstance field is set.
-
getSourceInstance
public 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;- Specified by:
getSourceInstancein interfaceMachineImageOrBuilder- Returns:
- The sourceInstance.
-
getSourceInstanceBytes
public 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;- Specified by:
getSourceInstanceBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for sourceInstance.
-
hasSourceInstanceProperties
public 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;- Specified by:
hasSourceInstancePropertiesin interfaceMachineImageOrBuilder- Returns:
- Whether the sourceInstanceProperties field is set.
-
getSourceInstanceProperties
public 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;- Specified by:
getSourceInstancePropertiesin interfaceMachineImageOrBuilder- Returns:
- The sourceInstanceProperties.
-
getSourceInstancePropertiesOrBuilder
public 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;- Specified by:
getSourceInstancePropertiesOrBuilderin interfaceMachineImageOrBuilder
-
hasStatus
public 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;- Specified by:
hasStatusin interfaceMachineImageOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public 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;- Specified by:
getStatusin interfaceMachineImageOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfaceMachineImageOrBuilder- Returns:
- The bytes for status.
-
getStorageLocationsList
public 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;- Specified by:
getStorageLocationsListin interfaceMachineImageOrBuilder- Returns:
- A list containing the storageLocations.
-
getStorageLocationsCount
public int getStorageLocationsCount()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsCountin interfaceMachineImageOrBuilder- Returns:
- The count of storageLocations.
-
getStorageLocations
public String getStorageLocations(int index)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsin interfaceMachineImageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The storageLocations at the given index.
-
getStorageLocationsBytes
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;- Specified by:
getStorageLocationsBytesin interfaceMachineImageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storageLocations at the given index.
-
hasTotalStorageBytes
public boolean hasTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;- Specified by:
hasTotalStorageBytesin interfaceMachineImageOrBuilder- Returns:
- Whether the totalStorageBytes field is set.
-
getTotalStorageBytes
public long getTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;- Specified by:
getTotalStorageBytesin interfaceMachineImageOrBuilder- Returns:
- The totalStorageBytes.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MachineImage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MachineImage parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineImage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MachineImage parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MachineImage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineImage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MachineImage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MachineImage.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MachineImage.Builder newBuilder()
-
newBuilder
public static MachineImage.Builder newBuilder(MachineImage prototype)
-
toBuilder
public MachineImage.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MachineImage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MachineImage getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MachineImage> parser()
-
getParserForType
public com.google.protobuf.Parser<MachineImage> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MachineImage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-