Package com.google.cloud.compute.v1
Class MachineImage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
- com.google.cloud.compute.v1.MachineImage.Builder
-
- All Implemented Interfaces:
MachineImageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MachineImage
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 typegoogle.cloud.compute.v1.MachineImage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineImage.BuilderaddAllSavedDisks(Iterable<? extends SavedDisk> values)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderaddAllSourceDiskEncryptionKeys(Iterable<? extends SourceDiskEncryptionKey> values)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderaddAllStorageLocations(Iterable<String> values)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.MachineImage.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MachineImage.BuilderaddSavedDisks(int index, SavedDisk value)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderaddSavedDisks(int index, SavedDisk.Builder builderForValue)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderaddSavedDisks(SavedDisk value)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderaddSavedDisks(SavedDisk.Builder builderForValue)An array of Machine Image specific properties for disks attached to the source instanceSavedDisk.BuilderaddSavedDisksBuilder()An array of Machine Image specific properties for disks attached to the source instanceSavedDisk.BuilderaddSavedDisksBuilder(int index)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderaddSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey value)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderaddSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey.Builder builderForValue)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderaddSourceDiskEncryptionKeys(SourceDiskEncryptionKey value)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderaddSourceDiskEncryptionKeys(SourceDiskEncryptionKey.Builder builderForValue)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.SourceDiskEncryptionKey.BuilderaddSourceDiskEncryptionKeysBuilder()[Input Only] The customer-supplied encryption key of the disks attached to the source instance.SourceDiskEncryptionKey.BuilderaddSourceDiskEncryptionKeysBuilder(int index)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderaddStorageLocations(String value)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.MachineImage.BuilderaddStorageLocationsBytes(com.google.protobuf.ByteString value)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.MachineImagebuild()MachineImagebuildPartial()MachineImage.Builderclear()MachineImage.BuilderclearCreationTimestamp()[Output Only] The creation timestamp for this machine image in RFC3339 text format.MachineImage.BuilderclearDescription()An optional description of this resource.MachineImage.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MachineImage.BuilderclearGuestFlush()[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.MachineImage.BuilderclearId()[Output Only] A unique identifier for this machine image.MachineImage.BuilderclearInstanceProperties()[Output Only] Properties of source instanceMachineImage.BuilderclearKind()[Output Only] The resource type, which is always compute#machineImage for machine image.MachineImage.BuilderclearMachineImageEncryptionKey()Encrypts the machine image using a customer-supplied encryption key.MachineImage.BuilderclearName()Name of the resource; provided by the client when the resource is created.MachineImage.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MachineImage.BuilderclearSatisfiesPzs()[Output Only] Reserved for future use.MachineImage.BuilderclearSavedDisks()An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderclearSelfLink()[Output Only] The URL for this machine image.MachineImage.BuilderclearSourceDiskEncryptionKeys()[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuilderclearSourceInstance()The source instance used to create the machine image.MachineImage.BuilderclearSourceInstanceProperties()[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.MachineImage.BuilderclearStatus()[Output Only] The status of the machine image.MachineImage.BuilderclearStorageLocations()The regional or multi-regional Cloud Storage bucket location where the machine image is stored.MachineImage.BuilderclearTotalStorageBytes()[Output Only] Total size of the storage used by the machine image.MachineImage.Builderclone()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.MachineImagegetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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 instanceInstanceProperties.BuildergetInstancePropertiesBuilder()[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.CustomerEncryptionKey.BuildergetMachineImageEncryptionKeyBuilder()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.booleangetSatisfiesPzs()[Output Only] Reserved for future use.SavedDiskgetSavedDisks(int index)An array of Machine Image specific properties for disks attached to the source instanceSavedDisk.BuildergetSavedDisksBuilder(int index)An array of Machine Image specific properties for disks attached to the source instanceList<SavedDisk.Builder>getSavedDisksBuilderList()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.SourceDiskEncryptionKeygetSourceDiskEncryptionKeys(int index)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.SourceDiskEncryptionKey.BuildergetSourceDiskEncryptionKeysBuilder(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.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.SourceInstanceProperties.BuildergetSourceInstancePropertiesBuilder()[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.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()MachineImage.BuildermergeFrom(MachineImage other)MachineImage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MachineImage.BuildermergeFrom(com.google.protobuf.Message other)MachineImage.BuildermergeInstanceProperties(InstanceProperties value)[Output Only] Properties of source instanceMachineImage.BuildermergeMachineImageEncryptionKey(CustomerEncryptionKey value)Encrypts the machine image using a customer-supplied encryption key.MachineImage.BuildermergeSourceInstanceProperties(SourceInstanceProperties value)[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.MachineImage.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MachineImage.BuilderremoveSavedDisks(int index)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuilderremoveSourceDiskEncryptionKeys(int index)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuildersetCreationTimestamp(String value)[Output Only] The creation timestamp for this machine image in RFC3339 text format.MachineImage.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] The creation timestamp for this machine image in RFC3339 text format.MachineImage.BuildersetDescription(String value)An optional description of this resource.MachineImage.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.MachineImage.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MachineImage.BuildersetGuestFlush(boolean value)[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.MachineImage.BuildersetId(long value)[Output Only] A unique identifier for this machine image.MachineImage.BuildersetInstanceProperties(InstanceProperties value)[Output Only] Properties of source instanceMachineImage.BuildersetInstanceProperties(InstanceProperties.Builder builderForValue)[Output Only] Properties of source instanceMachineImage.BuildersetKind(String value)[Output Only] The resource type, which is always compute#machineImage for machine image.MachineImage.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] The resource type, which is always compute#machineImage for machine image.MachineImage.BuildersetMachineImageEncryptionKey(CustomerEncryptionKey value)Encrypts the machine image using a customer-supplied encryption key.MachineImage.BuildersetMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)Encrypts the machine image using a customer-supplied encryption key.MachineImage.BuildersetName(String value)Name of the resource; provided by the client when the resource is created.MachineImage.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource; provided by the client when the resource is created.MachineImage.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MachineImage.BuildersetSatisfiesPzs(boolean value)[Output Only] Reserved for future use.MachineImage.BuildersetSavedDisks(int index, SavedDisk value)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuildersetSavedDisks(int index, SavedDisk.Builder builderForValue)An array of Machine Image specific properties for disks attached to the source instanceMachineImage.BuildersetSelfLink(String value)[Output Only] The URL for this machine image.MachineImage.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] The URL for this machine image.MachineImage.BuildersetSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey value)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuildersetSourceDiskEncryptionKeys(int index, SourceDiskEncryptionKey.Builder builderForValue)[Input Only] The customer-supplied encryption key of the disks attached to the source instance.MachineImage.BuildersetSourceInstance(String value)The source instance used to create the machine image.MachineImage.BuildersetSourceInstanceBytes(com.google.protobuf.ByteString value)The source instance used to create the machine image.MachineImage.BuildersetSourceInstanceProperties(SourceInstanceProperties value)[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.MachineImage.BuildersetSourceInstanceProperties(SourceInstanceProperties.Builder builderForValue)[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties.MachineImage.BuildersetStatus(String value)[Output Only] The status of the machine image.MachineImage.BuildersetStatusBytes(com.google.protobuf.ByteString value)[Output Only] The status of the machine image.MachineImage.BuildersetStorageLocations(int index, String value)The regional or multi-regional Cloud Storage bucket location where the machine image is stored.MachineImage.BuildersetTotalStorageBytes(long value)[Output Only] Total size of the storage used by the machine image.MachineImage.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<MachineImage.Builder>
-
clear
public MachineImage.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
getDefaultInstanceForType
public MachineImage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MachineImage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MachineImage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MachineImage.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
setField
public MachineImage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
clearField
public MachineImage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
clearOneof
public MachineImage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
setRepeatedField
public MachineImage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
addRepeatedField
public MachineImage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
mergeFrom
public MachineImage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MachineImage.Builder>
-
mergeFrom
public MachineImage.Builder mergeFrom(MachineImage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
mergeFrom
public MachineImage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MachineImage.Builder>- Throws:
IOException
-
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.
-
setCreationTimestamp
public MachineImage.Builder setCreationTimestamp(String value)
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public MachineImage.Builder clearCreationTimestamp()
[Output Only] The creation timestamp for this machine image in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
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;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
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.
-
setDescription
public MachineImage.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public MachineImage.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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.
-
setGuestFlush
public 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;- Parameters:
value- The guestFlush to set.- Returns:
- This builder for chaining.
-
clearGuestFlush
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;- Returns:
- This builder for chaining.
-
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.
-
setId
public MachineImage.Builder setId(long value)
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public MachineImage.Builder clearId()
[Output Only] A unique identifier for this machine image. The server defines this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
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.
-
setInstanceProperties
public MachineImage.Builder setInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
-
setInstanceProperties
public MachineImage.Builder setInstanceProperties(InstanceProperties.Builder builderForValue)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
-
mergeInstanceProperties
public MachineImage.Builder mergeInstanceProperties(InstanceProperties value)
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
-
clearInstanceProperties
public MachineImage.Builder clearInstanceProperties()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
-
getInstancePropertiesBuilder
public InstanceProperties.Builder getInstancePropertiesBuilder()
[Output Only] Properties of source instance
optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;
-
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.
-
setKind
public MachineImage.Builder setKind(String value)
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public MachineImage.Builder clearKind()
[Output Only] The resource type, which is always compute#machineImage for machine image.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
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;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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.
-
setMachineImageEncryptionKey
public 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;
-
setMachineImageEncryptionKey
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;
-
mergeMachineImageEncryptionKey
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;
-
clearMachineImageEncryptionKey
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;
-
getMachineImageEncryptionKeyBuilder
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;
-
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.
-
setName
public 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setSatisfiesPzs
public MachineImage.Builder setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public MachineImage.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
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
-
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
-
setSavedDisks
public 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;
-
setSavedDisks
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;
-
addSavedDisks
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;
-
addSavedDisks
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;
-
addSavedDisks
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;
-
addSavedDisks
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;
-
addAllSavedDisks
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;
-
clearSavedDisks
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;
-
removeSavedDisks
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;
-
getSavedDisksBuilder
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;
-
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
-
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
-
addSavedDisksBuilder
public 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;
-
addSavedDisksBuilder
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;
-
getSavedDisksBuilderList
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;
-
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.
-
setSelfLink
public MachineImage.Builder setSelfLink(String value)
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public MachineImage.Builder clearSelfLink()
[Output Only] The URL for this machine image. The server defines this URL.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
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;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setSourceDiskEncryptionKeys
public 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;
-
setSourceDiskEncryptionKeys
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;
-
addSourceDiskEncryptionKeys
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;
-
addSourceDiskEncryptionKeys
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;
-
addSourceDiskEncryptionKeys
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;
-
addSourceDiskEncryptionKeys
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;
-
addAllSourceDiskEncryptionKeys
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;
-
clearSourceDiskEncryptionKeys
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;
-
removeSourceDiskEncryptionKeys
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;
-
getSourceDiskEncryptionKeysBuilder
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;
-
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
-
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
-
addSourceDiskEncryptionKeysBuilder
public 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;
-
addSourceDiskEncryptionKeysBuilder
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;
-
getSourceDiskEncryptionKeysBuilderList
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;
-
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.
-
setSourceInstance
public 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;- Parameters:
value- The sourceInstance to set.- Returns:
- This builder for chaining.
-
clearSourceInstance
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;- Returns:
- This builder for chaining.
-
setSourceInstanceBytes
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;- Parameters:
value- The bytes for sourceInstance to set.- Returns:
- This builder for chaining.
-
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.
-
setSourceInstanceProperties
public 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;
-
setSourceInstanceProperties
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;
-
mergeSourceInstanceProperties
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;
-
clearSourceInstanceProperties
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;
-
getSourceInstancePropertiesBuilder
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;
-
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.
-
setStatus
public 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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
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;- Returns:
- This builder for chaining.
-
setStatusBytes
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;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
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.
-
setStorageLocations
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;- Parameters:
index- The index to set the value at.value- The storageLocations to set.- Returns:
- This builder for chaining.
-
addStorageLocations
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;- Parameters:
value- The storageLocations to add.- Returns:
- This builder for chaining.
-
addAllStorageLocations
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;- Parameters:
values- The storageLocations to add.- Returns:
- This builder for chaining.
-
clearStorageLocations
public MachineImage.Builder clearStorageLocations()
The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
repeated string storage_locations = 328005274;- Returns:
- This builder for chaining.
-
addStorageLocationsBytes
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;- Parameters:
value- The bytes of the storageLocations to add.- Returns:
- This builder for chaining.
-
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.
-
setTotalStorageBytes
public MachineImage.Builder setTotalStorageBytes(long value)
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;- Parameters:
value- The totalStorageBytes to set.- Returns:
- This builder for chaining.
-
clearTotalStorageBytes
public MachineImage.Builder clearTotalStorageBytes()
[Output Only] Total size of the storage used by the machine image.
optional int64 total_storage_bytes = 81855468;- Returns:
- This builder for chaining.
-
setUnknownFields
public final MachineImage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
mergeUnknownFields
public final MachineImage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MachineImage.Builder>
-
-