public static final class MachineImage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder> 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 | Method and Description |
|---|---|
MachineImage.Builder |
addAllSavedDisks(Iterable<? extends SavedDisk> values)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
addAllSourceDiskEncryptionKeys(Iterable<? extends SourceDiskEncryptionKey> values)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
addAllStorageLocations(Iterable<String> values)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
MachineImage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MachineImage.Builder |
addSavedDisks(int index,
SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
addSavedDisks(int index,
SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
addSavedDisks(SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
addSavedDisks(SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
|
SavedDisk.Builder |
addSavedDisksBuilder()
An array of Machine Image specific properties for disks attached to the source instance
|
SavedDisk.Builder |
addSavedDisksBuilder(int index)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
addSourceDiskEncryptionKeys(int index,
SourceDiskEncryptionKey.Builder builderForValue)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
addSourceDiskEncryptionKeys(int index,
SourceDiskEncryptionKey value)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
addSourceDiskEncryptionKeys(SourceDiskEncryptionKey.Builder builderForValue)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
addSourceDiskEncryptionKeys(SourceDiskEncryptionKey value)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
SourceDiskEncryptionKey.Builder |
addSourceDiskEncryptionKeysBuilder()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
SourceDiskEncryptionKey.Builder |
addSourceDiskEncryptionKeysBuilder(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
addStorageLocations(String value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
MachineImage.Builder |
addStorageLocationsBytes(com.google.protobuf.ByteString value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
MachineImage |
build() |
MachineImage |
buildPartial() |
MachineImage.Builder |
clear() |
MachineImage.Builder |
clearCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
MachineImage.Builder |
clearDescription()
An optional description of this resource.
|
MachineImage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MachineImage.Builder |
clearGuestFlush()
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
|
MachineImage.Builder |
clearId()
[Output Only] A unique identifier for this machine image.
|
MachineImage.Builder |
clearInstanceProperties()
[Output Only] Properties of source instance
|
MachineImage.Builder |
clearKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
MachineImage.Builder |
clearMachineImageEncryptionKey()
Encrypts the machine image using a customer-supplied encryption key.
|
MachineImage.Builder |
clearName()
Name of the resource; provided by the client when the resource is created.
|
MachineImage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MachineImage.Builder |
clearSatisfiesPzs()
[Output Only] Reserved for future use.
|
MachineImage.Builder |
clearSavedDisks()
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
clearSelfLink()
[Output Only] The URL for this machine image.
|
MachineImage.Builder |
clearSourceDiskEncryptionKeys()
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
clearSourceInstance()
The source instance used to create the machine image.
|
MachineImage.Builder |
clearSourceInstanceProperties()
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
MachineImage.Builder |
clearStatus()
[Output Only] The status of the machine image.
|
MachineImage.Builder |
clearStorageLocations()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
MachineImage.Builder |
clearTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
|
MachineImage.Builder |
clone() |
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.
|
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() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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
|
InstanceProperties.Builder |
getInstancePropertiesBuilder()
[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.
|
CustomerEncryptionKey.Builder |
getMachineImageEncryptionKeyBuilder()
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.
|
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
|
SavedDisk.Builder |
getSavedDisksBuilder(int index)
An array of Machine Image specific properties for disks attached to the source instance
|
List<SavedDisk.Builder> |
getSavedDisksBuilderList()
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.
|
SourceDiskEncryptionKey |
getSourceDiskEncryptionKeys(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
SourceDiskEncryptionKey.Builder |
getSourceDiskEncryptionKeysBuilder(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
List<SourceDiskEncryptionKey.Builder> |
getSourceDiskEncryptionKeysBuilderList()
[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.
|
SourceInstanceProperties.Builder |
getSourceInstancePropertiesBuilder()
[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.
|
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.
|
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() |
MachineImage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MachineImage.Builder |
mergeFrom(MachineImage other) |
MachineImage.Builder |
mergeFrom(com.google.protobuf.Message other) |
MachineImage.Builder |
mergeInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
|
MachineImage.Builder |
mergeMachineImageEncryptionKey(CustomerEncryptionKey value)
Encrypts the machine image using a customer-supplied encryption key.
|
MachineImage.Builder |
mergeSourceInstanceProperties(SourceInstanceProperties value)
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
MachineImage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MachineImage.Builder |
removeSavedDisks(int index)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
removeSourceDiskEncryptionKeys(int index)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
setCreationTimestamp(String value)
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
MachineImage.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
|
MachineImage.Builder |
setDescription(String value)
An optional description of this resource.
|
MachineImage.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
MachineImage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MachineImage.Builder |
setGuestFlush(boolean value)
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
|
MachineImage.Builder |
setId(long value)
[Output Only] A unique identifier for this machine image.
|
MachineImage.Builder |
setInstanceProperties(InstanceProperties.Builder builderForValue)
[Output Only] Properties of source instance
|
MachineImage.Builder |
setInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
|
MachineImage.Builder |
setKind(String value)
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
MachineImage.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The resource type, which is always compute#machineImage for machine image.
|
MachineImage.Builder |
setMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
Encrypts the machine image using a customer-supplied encryption key.
|
MachineImage.Builder |
setMachineImageEncryptionKey(CustomerEncryptionKey value)
Encrypts the machine image using a customer-supplied encryption key.
|
MachineImage.Builder |
setName(String value)
Name of the resource; provided by the client when the resource is created.
|
MachineImage.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource; provided by the client when the resource is created.
|
MachineImage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MachineImage.Builder |
setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
|
MachineImage.Builder |
setSavedDisks(int index,
SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
setSavedDisks(int index,
SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
|
MachineImage.Builder |
setSelfLink(String value)
[Output Only] The URL for this machine image.
|
MachineImage.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] The URL for this machine image.
|
MachineImage.Builder |
setSourceDiskEncryptionKeys(int index,
SourceDiskEncryptionKey.Builder builderForValue)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
setSourceDiskEncryptionKeys(int index,
SourceDiskEncryptionKey value)
[Input Only] The customer-supplied encryption key of the disks attached to the source instance.
|
MachineImage.Builder |
setSourceInstance(String value)
The source instance used to create the machine image.
|
MachineImage.Builder |
setSourceInstanceBytes(com.google.protobuf.ByteString value)
The source instance used to create the machine image.
|
MachineImage.Builder |
setSourceInstanceProperties(SourceInstanceProperties.Builder builderForValue)
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
MachineImage.Builder |
setSourceInstanceProperties(SourceInstanceProperties value)
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.
|
MachineImage.Builder |
setStatus(String value)
[Output Only] The status of the machine image.
|
MachineImage.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the machine image.
|
MachineImage.Builder |
setStorageLocations(int index,
String value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
|
MachineImage.Builder |
setTotalStorageBytes(long value)
[Output Only] Total size of the storage used by the machine image.
|
MachineImage.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MachineImage build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MachineImage buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MachineImage.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MachineImage.Builder>public MachineImage.Builder mergeFrom(MachineImage other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public MachineImage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MachineImage.Builder>IOExceptionpublic 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 MachineImage.Builder setCreationTimestamp(String value)
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public MachineImage.Builder clearCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;public MachineImage.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public 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 MachineImage.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public MachineImage.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public MachineImage.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.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;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 MachineImage.Builder setGuestFlush(boolean value)
[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;value - The guestFlush to set.public MachineImage.Builder clearGuestFlush()
[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;public 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 MachineImage.Builder setId(long value)
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;value - The id to set.public MachineImage.Builder clearId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;public 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 MachineImage.Builder setInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
public MachineImage.Builder setInstanceProperties(InstanceProperties.Builder builderForValue)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
public MachineImage.Builder mergeInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
public MachineImage.Builder clearInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
public InstanceProperties.Builder getInstancePropertiesBuilder()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
public 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 MachineImage.Builder setKind(String value)
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;value - The kind to set.public MachineImage.Builder clearKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;public MachineImage.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;value - The bytes for kind to set.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;
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 MachineImage.Builder setMachineImageEncryptionKey(CustomerEncryptionKey value)
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;
public MachineImage.Builder setMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
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;
public MachineImage.Builder mergeMachineImageEncryptionKey(CustomerEncryptionKey value)
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;
public MachineImage.Builder clearMachineImageEncryptionKey()
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;
public CustomerEncryptionKey.Builder getMachineImageEncryptionKeyBuilder()
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;
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;
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 MachineImage.Builder setName(String value)
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;value - The name to set.public MachineImage.Builder clearName()
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;public MachineImage.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public 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 MachineImage.Builder setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;value - The satisfiesPzs to set.public MachineImage.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;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;getSavedDisksList 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 MachineImage.Builder setSavedDisks(int index, SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder setSavedDisks(int index, SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder addSavedDisks(SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder addSavedDisks(int index, SavedDisk value)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder addSavedDisks(SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder addSavedDisks(int index, SavedDisk.Builder builderForValue)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder addAllSavedDisks(Iterable<? extends SavedDisk> values)
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder clearSavedDisks()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public MachineImage.Builder removeSavedDisks(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;public SavedDisk.Builder getSavedDisksBuilder(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;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;getSavedDisksOrBuilder 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 SavedDisk.Builder addSavedDisksBuilder()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public SavedDisk.Builder addSavedDisksBuilder(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;public List<SavedDisk.Builder> getSavedDisksBuilderList()
An array of Machine Image specific properties for disks attached to the source instance
repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;public 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 MachineImage.Builder setSelfLink(String value)
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;value - The selfLink to set.public MachineImage.Builder clearSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;public MachineImage.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;value - The bytes for selfLink to set.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;
getSourceDiskEncryptionKeysList 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 MachineImage.Builder setSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey value)
[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;
public MachineImage.Builder setSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey.Builder builderForValue)
[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;
public MachineImage.Builder addSourceDiskEncryptionKeys(SourceDiskEncryptionKey value)
[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;
public MachineImage.Builder addSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey value)
[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;
public MachineImage.Builder addSourceDiskEncryptionKeys(SourceDiskEncryptionKey.Builder builderForValue)
[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;
public MachineImage.Builder addSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey.Builder builderForValue)
[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;
public MachineImage.Builder addAllSourceDiskEncryptionKeys(Iterable<? extends SourceDiskEncryptionKey> values)
[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;
public MachineImage.Builder clearSourceDiskEncryptionKeys()
[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;
public MachineImage.Builder removeSourceDiskEncryptionKeys(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;
public SourceDiskEncryptionKey.Builder getSourceDiskEncryptionKeysBuilder(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;
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;
getSourceDiskEncryptionKeysOrBuilder 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 SourceDiskEncryptionKey.Builder addSourceDiskEncryptionKeysBuilder()
[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;
public SourceDiskEncryptionKey.Builder addSourceDiskEncryptionKeysBuilder(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;
public List<SourceDiskEncryptionKey.Builder> getSourceDiskEncryptionKeysBuilderList()
[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;
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;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 MachineImage.Builder setSourceInstance(String value)
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;value - The sourceInstance to set.public MachineImage.Builder clearSourceInstance()
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;public MachineImage.Builder setSourceInstanceBytes(com.google.protobuf.ByteString value)
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;value - The bytes for sourceInstance to set.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;
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 MachineImage.Builder setSourceInstanceProperties(SourceInstanceProperties value)
[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;
public MachineImage.Builder setSourceInstanceProperties(SourceInstanceProperties.Builder builderForValue)
[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;
public MachineImage.Builder mergeSourceInstanceProperties(SourceInstanceProperties value)
[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;
public MachineImage.Builder clearSourceInstanceProperties()
[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;
public SourceInstanceProperties.Builder getSourceInstancePropertiesBuilder()
[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;
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;
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 MachineImage.Builder setStatus(String value)
[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;value - The status to set.public MachineImage.Builder clearStatus()
[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;public MachineImage.Builder setStatusBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for status to set.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;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 MachineImage.Builder setStorageLocations(int index, String value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;index - The index to set the value at.value - The storageLocations to set.public MachineImage.Builder addStorageLocations(String value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;value - The storageLocations to add.public MachineImage.Builder addAllStorageLocations(Iterable<String> values)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;values - The storageLocations to add.public MachineImage.Builder clearStorageLocations()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;public MachineImage.Builder addStorageLocationsBytes(com.google.protobuf.ByteString value)
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;value - The bytes of the storageLocations to add.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 MachineImage.Builder setTotalStorageBytes(long value)
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;value - The totalStorageBytes to set.public MachineImage.Builder clearTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;public final MachineImage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>public final MachineImage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>Copyright © 2023 Google LLC. All rights reserved.