Package com.google.cloud.compute.v1
Class Image.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
- com.google.cloud.compute.v1.Image.Builder
-
- All Implemented Interfaces:
ImageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Image
public static final class Image.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Image.Builder> implements ImageOrBuilder
Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images.
Protobuf typegoogle.cloud.compute.v1.Image
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Image.BuilderaddAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values)A list of features to enable on the guest operating system.Image.BuilderaddAllLicenseCodes(Iterable<? extends Long> values)Integer license codes indicating which licenses are attached to this image.Image.BuilderaddAllLicenses(Iterable<String> values)Any applicable license URI.Image.BuilderaddAllStorageLocations(Iterable<String> values)Cloud Storage bucket storage location of the image (regional or multi-regional).Image.BuilderaddGuestOsFeatures(int index, GuestOsFeature value)A list of features to enable on the guest operating system.Image.BuilderaddGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)A list of features to enable on the guest operating system.Image.BuilderaddGuestOsFeatures(GuestOsFeature value)A list of features to enable on the guest operating system.Image.BuilderaddGuestOsFeatures(GuestOsFeature.Builder builderForValue)A list of features to enable on the guest operating system.GuestOsFeature.BuilderaddGuestOsFeaturesBuilder()A list of features to enable on the guest operating system.GuestOsFeature.BuilderaddGuestOsFeaturesBuilder(int index)A list of features to enable on the guest operating system.Image.BuilderaddLicenseCodes(long value)Integer license codes indicating which licenses are attached to this image.Image.BuilderaddLicenses(String value)Any applicable license URI.Image.BuilderaddLicensesBytes(com.google.protobuf.ByteString value)Any applicable license URI.Image.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Image.BuilderaddStorageLocations(String value)Cloud Storage bucket storage location of the image (regional or multi-regional).Image.BuilderaddStorageLocationsBytes(com.google.protobuf.ByteString value)Cloud Storage bucket storage location of the image (regional or multi-regional).Imagebuild()ImagebuildPartial()Image.Builderclear()Image.BuilderclearArchitecture()The architecture of the image.Image.BuilderclearArchiveSizeBytes()Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).Image.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.Image.BuilderclearDeprecated()The deprecation status associated with this image.Image.BuilderclearDescription()An optional description of this resource.Image.BuilderclearDiskSizeGb()Size of the image when restored onto a persistent disk (in GB).Image.BuilderclearFamily()The name of the image family to which this image belongs.Image.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Image.BuilderclearGuestOsFeatures()A list of features to enable on the guest operating system.Image.BuilderclearId()[Output Only] The unique identifier for the resource.Image.BuilderclearImageEncryptionKey()Encrypts the image using a customer-supplied encryption key.Image.BuilderclearKind()[Output Only] Type of the resource.Image.BuilderclearLabelFingerprint()A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Image.BuilderclearLabels()Image.BuilderclearLicenseCodes()Integer license codes indicating which licenses are attached to this image.Image.BuilderclearLicenses()Any applicable license URI.Image.BuilderclearName()Name of the resource; provided by the client when the resource is created.Image.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Image.BuilderclearRawDisk()The parameters of the raw disk image.Image.BuilderclearSatisfiesPzs()[Output Only] Reserved for future use.Image.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.Image.BuilderclearShieldedInstanceInitialState()Set the secure boot keys of shielded instance.Image.BuilderclearSourceDisk()URL of the source disk used to create this image.Image.BuilderclearSourceDiskEncryptionKey()The customer-supplied encryption key of the source disk.Image.BuilderclearSourceDiskId()[Output Only] The ID value of the disk used to create this image.Image.BuilderclearSourceImage()URL of the source image used to create this image.Image.BuilderclearSourceImageEncryptionKey()The customer-supplied encryption key of the source image.Image.BuilderclearSourceImageId()[Output Only] The ID value of the image used to create this image.Image.BuilderclearSourceSnapshot()URL of the source snapshot used to create this image.Image.BuilderclearSourceSnapshotEncryptionKey()The customer-supplied encryption key of the source snapshot.Image.BuilderclearSourceSnapshotId()[Output Only] The ID value of the snapshot used to create this image.Image.BuilderclearSourceType()The type of the image used to create this disk.Image.BuilderclearStatus()[Output Only] The status of the image.Image.BuilderclearStorageLocations()Cloud Storage bucket storage location of the image (regional or multi-regional).Image.Builderclone()booleancontainsLabels(String key)Labels to apply to this image.StringgetArchitecture()The architecture of the image.com.google.protobuf.ByteStringgetArchitectureBytes()The architecture of the image.longgetArchiveSizeBytes()Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.ImagegetDefaultInstanceForType()DeprecationStatusgetDeprecated()The deprecation status associated with this image.DeprecationStatus.BuildergetDeprecatedBuilder()The deprecation status associated with this image.DeprecationStatusOrBuildergetDeprecatedOrBuilder()The deprecation status associated with this image.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()longgetDiskSizeGb()Size of the image when restored onto a persistent disk (in GB).StringgetFamily()The name of the image family to which this image belongs.com.google.protobuf.ByteStringgetFamilyBytes()The name of the image family to which this image belongs.GuestOsFeaturegetGuestOsFeatures(int index)A list of features to enable on the guest operating system.GuestOsFeature.BuildergetGuestOsFeaturesBuilder(int index)A list of features to enable on the guest operating system.List<GuestOsFeature.Builder>getGuestOsFeaturesBuilderList()A list of features to enable on the guest operating system.intgetGuestOsFeaturesCount()A list of features to enable on the guest operating system.List<GuestOsFeature>getGuestOsFeaturesList()A list of features to enable on the guest operating system.GuestOsFeatureOrBuildergetGuestOsFeaturesOrBuilder(int index)A list of features to enable on the guest operating system.List<? extends GuestOsFeatureOrBuilder>getGuestOsFeaturesOrBuilderList()A list of features to enable on the guest operating system.longgetId()[Output Only] The unique identifier for the resource.CustomerEncryptionKeygetImageEncryptionKey()Encrypts the image using a customer-supplied encryption key.CustomerEncryptionKey.BuildergetImageEncryptionKeyBuilder()Encrypts the image using a customer-supplied encryption key.CustomerEncryptionKeyOrBuildergetImageEncryptionKeyOrBuilder()Encrypts the image using a customer-supplied encryption key.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetLabelFingerprint()A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.com.google.protobuf.ByteStringgetLabelFingerprintBytes()A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels to apply to this image.Map<String,String>getLabelsMap()Labels to apply to this image.StringgetLabelsOrDefault(String key, String defaultValue)Labels to apply to this image.StringgetLabelsOrThrow(String key)Labels to apply to this image.longgetLicenseCodes(int index)Integer license codes indicating which licenses are attached to this image.intgetLicenseCodesCount()Integer license codes indicating which licenses are attached to this image.List<Long>getLicenseCodesList()Integer license codes indicating which licenses are attached to this image.StringgetLicenses(int index)Any applicable license URI.com.google.protobuf.ByteStringgetLicensesBytes(int index)Any applicable license URI.intgetLicensesCount()Any applicable license URI.com.google.protobuf.ProtocolStringListgetLicensesList()Any applicable license URI.Map<String,String>getMutableLabels()Deprecated.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.RawDiskgetRawDisk()The parameters of the raw disk image.RawDisk.BuildergetRawDiskBuilder()The parameters of the raw disk image.RawDiskOrBuildergetRawDiskOrBuilder()The parameters of the raw disk image.booleangetSatisfiesPzs()[Output Only] Reserved for future use.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.InitialStateConfiggetShieldedInstanceInitialState()Set the secure boot keys of shielded instance.InitialStateConfig.BuildergetShieldedInstanceInitialStateBuilder()Set the secure boot keys of shielded instance.InitialStateConfigOrBuildergetShieldedInstanceInitialStateOrBuilder()Set the secure boot keys of shielded instance.StringgetSourceDisk()URL of the source disk used to create this image.com.google.protobuf.ByteStringgetSourceDiskBytes()URL of the source disk used to create this image.CustomerEncryptionKeygetSourceDiskEncryptionKey()The customer-supplied encryption key of the source disk.CustomerEncryptionKey.BuildergetSourceDiskEncryptionKeyBuilder()The customer-supplied encryption key of the source disk.CustomerEncryptionKeyOrBuildergetSourceDiskEncryptionKeyOrBuilder()The customer-supplied encryption key of the source disk.StringgetSourceDiskId()[Output Only] The ID value of the disk used to create this image.com.google.protobuf.ByteStringgetSourceDiskIdBytes()[Output Only] The ID value of the disk used to create this image.StringgetSourceImage()URL of the source image used to create this image.com.google.protobuf.ByteStringgetSourceImageBytes()URL of the source image used to create this image.CustomerEncryptionKeygetSourceImageEncryptionKey()The customer-supplied encryption key of the source image.CustomerEncryptionKey.BuildergetSourceImageEncryptionKeyBuilder()The customer-supplied encryption key of the source image.CustomerEncryptionKeyOrBuildergetSourceImageEncryptionKeyOrBuilder()The customer-supplied encryption key of the source image.StringgetSourceImageId()[Output Only] The ID value of the image used to create this image.com.google.protobuf.ByteStringgetSourceImageIdBytes()[Output Only] The ID value of the image used to create this image.StringgetSourceSnapshot()URL of the source snapshot used to create this image.com.google.protobuf.ByteStringgetSourceSnapshotBytes()URL of the source snapshot used to create this image.CustomerEncryptionKeygetSourceSnapshotEncryptionKey()The customer-supplied encryption key of the source snapshot.CustomerEncryptionKey.BuildergetSourceSnapshotEncryptionKeyBuilder()The customer-supplied encryption key of the source snapshot.CustomerEncryptionKeyOrBuildergetSourceSnapshotEncryptionKeyOrBuilder()The customer-supplied encryption key of the source snapshot.StringgetSourceSnapshotId()[Output Only] The ID value of the snapshot used to create this image.com.google.protobuf.ByteStringgetSourceSnapshotIdBytes()[Output Only] The ID value of the snapshot used to create this image.StringgetSourceType()The type of the image used to create this disk.com.google.protobuf.ByteStringgetSourceTypeBytes()The type of the image used to create this disk.StringgetStatus()[Output Only] The status of the image.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of the image.StringgetStorageLocations(int index)Cloud Storage bucket storage location of the image (regional or multi-regional).com.google.protobuf.ByteStringgetStorageLocationsBytes(int index)Cloud Storage bucket storage location of the image (regional or multi-regional).intgetStorageLocationsCount()Cloud Storage bucket storage location of the image (regional or multi-regional).com.google.protobuf.ProtocolStringListgetStorageLocationsList()Cloud Storage bucket storage location of the image (regional or multi-regional).booleanhasArchitecture()The architecture of the image.booleanhasArchiveSizeBytes()Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDeprecated()The deprecation status associated with this image.booleanhasDescription()An optional description of this resource.booleanhasDiskSizeGb()Size of the image when restored onto a persistent disk (in GB).booleanhasFamily()The name of the image family to which this image belongs.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasImageEncryptionKey()Encrypts the image using a customer-supplied encryption key.booleanhasKind()[Output Only] Type of the resource.booleanhasLabelFingerprint()A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanhasRawDisk()The parameters of the raw disk image.booleanhasSatisfiesPzs()[Output Only] Reserved for future use.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasShieldedInstanceInitialState()Set the secure boot keys of shielded instance.booleanhasSourceDisk()URL of the source disk used to create this image.booleanhasSourceDiskEncryptionKey()The customer-supplied encryption key of the source disk.booleanhasSourceDiskId()[Output Only] The ID value of the disk used to create this image.booleanhasSourceImage()URL of the source image used to create this image.booleanhasSourceImageEncryptionKey()The customer-supplied encryption key of the source image.booleanhasSourceImageId()[Output Only] The ID value of the image used to create this image.booleanhasSourceSnapshot()URL of the source snapshot used to create this image.booleanhasSourceSnapshotEncryptionKey()The customer-supplied encryption key of the source snapshot.booleanhasSourceSnapshotId()[Output Only] The ID value of the snapshot used to create this image.booleanhasSourceType()The type of the image used to create this disk.booleanhasStatus()[Output Only] The status of the image.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Image.BuildermergeDeprecated(DeprecationStatus value)The deprecation status associated with this image.Image.BuildermergeFrom(Image other)Image.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Image.BuildermergeFrom(com.google.protobuf.Message other)Image.BuildermergeImageEncryptionKey(CustomerEncryptionKey value)Encrypts the image using a customer-supplied encryption key.Image.BuildermergeRawDisk(RawDisk value)The parameters of the raw disk image.Image.BuildermergeShieldedInstanceInitialState(InitialStateConfig value)Set the secure boot keys of shielded instance.Image.BuildermergeSourceDiskEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source disk.Image.BuildermergeSourceImageEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source image.Image.BuildermergeSourceSnapshotEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source snapshot.Image.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Image.BuilderputAllLabels(Map<String,String> values)Labels to apply to this image.Image.BuilderputLabels(String key, String value)Labels to apply to this image.Image.BuilderremoveGuestOsFeatures(int index)A list of features to enable on the guest operating system.Image.BuilderremoveLabels(String key)Labels to apply to this image.Image.BuildersetArchitecture(String value)The architecture of the image.Image.BuildersetArchitectureBytes(com.google.protobuf.ByteString value)The architecture of the image.Image.BuildersetArchiveSizeBytes(long value)Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).Image.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.Image.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.Image.BuildersetDeprecated(DeprecationStatus value)The deprecation status associated with this image.Image.BuildersetDeprecated(DeprecationStatus.Builder builderForValue)The deprecation status associated with this image.Image.BuildersetDescription(String value)An optional description of this resource.Image.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.Image.BuildersetDiskSizeGb(long value)Size of the image when restored onto a persistent disk (in GB).Image.BuildersetFamily(String value)The name of the image family to which this image belongs.Image.BuildersetFamilyBytes(com.google.protobuf.ByteString value)The name of the image family to which this image belongs.Image.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Image.BuildersetGuestOsFeatures(int index, GuestOsFeature value)A list of features to enable on the guest operating system.Image.BuildersetGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)A list of features to enable on the guest operating system.Image.BuildersetId(long value)[Output Only] The unique identifier for the resource.Image.BuildersetImageEncryptionKey(CustomerEncryptionKey value)Encrypts the image using a customer-supplied encryption key.Image.BuildersetImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)Encrypts the image using a customer-supplied encryption key.Image.BuildersetKind(String value)[Output Only] Type of the resource.Image.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.Image.BuildersetLabelFingerprint(String value)A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Image.BuildersetLabelFingerprintBytes(com.google.protobuf.ByteString value)A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Image.BuildersetLicenseCodes(int index, long value)Integer license codes indicating which licenses are attached to this image.Image.BuildersetLicenses(int index, String value)Any applicable license URI.Image.BuildersetName(String value)Name of the resource; provided by the client when the resource is created.Image.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource; provided by the client when the resource is created.Image.BuildersetRawDisk(RawDisk value)The parameters of the raw disk image.Image.BuildersetRawDisk(RawDisk.Builder builderForValue)The parameters of the raw disk image.Image.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Image.BuildersetSatisfiesPzs(boolean value)[Output Only] Reserved for future use.Image.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.Image.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.Image.BuildersetShieldedInstanceInitialState(InitialStateConfig value)Set the secure boot keys of shielded instance.Image.BuildersetShieldedInstanceInitialState(InitialStateConfig.Builder builderForValue)Set the secure boot keys of shielded instance.Image.BuildersetSourceDisk(String value)URL of the source disk used to create this image.Image.BuildersetSourceDiskBytes(com.google.protobuf.ByteString value)URL of the source disk used to create this image.Image.BuildersetSourceDiskEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source disk.Image.BuildersetSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)The customer-supplied encryption key of the source disk.Image.BuildersetSourceDiskId(String value)[Output Only] The ID value of the disk used to create this image.Image.BuildersetSourceDiskIdBytes(com.google.protobuf.ByteString value)[Output Only] The ID value of the disk used to create this image.Image.BuildersetSourceImage(String value)URL of the source image used to create this image.Image.BuildersetSourceImageBytes(com.google.protobuf.ByteString value)URL of the source image used to create this image.Image.BuildersetSourceImageEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source image.Image.BuildersetSourceImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)The customer-supplied encryption key of the source image.Image.BuildersetSourceImageId(String value)[Output Only] The ID value of the image used to create this image.Image.BuildersetSourceImageIdBytes(com.google.protobuf.ByteString value)[Output Only] The ID value of the image used to create this image.Image.BuildersetSourceSnapshot(String value)URL of the source snapshot used to create this image.Image.BuildersetSourceSnapshotBytes(com.google.protobuf.ByteString value)URL of the source snapshot used to create this image.Image.BuildersetSourceSnapshotEncryptionKey(CustomerEncryptionKey value)The customer-supplied encryption key of the source snapshot.Image.BuildersetSourceSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue)The customer-supplied encryption key of the source snapshot.Image.BuildersetSourceSnapshotId(String value)[Output Only] The ID value of the snapshot used to create this image.Image.BuildersetSourceSnapshotIdBytes(com.google.protobuf.ByteString value)[Output Only] The ID value of the snapshot used to create this image.Image.BuildersetSourceType(String value)The type of the image used to create this disk.Image.BuildersetSourceTypeBytes(com.google.protobuf.ByteString value)The type of the image used to create this disk.Image.BuildersetStatus(String value)[Output Only] The status of the image.Image.BuildersetStatusBytes(com.google.protobuf.ByteString value)[Output Only] The status of the image.Image.BuildersetStorageLocations(int index, String value)Cloud Storage bucket storage location of the image (regional or multi-regional).Image.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
clear
public Image.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<Image.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<Image.Builder>
-
getDefaultInstanceForType
public Image getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Image build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Image buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Image.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<Image.Builder>
-
setField
public Image.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<Image.Builder>
-
clearField
public Image.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
clearOneof
public Image.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
setRepeatedField
public Image.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<Image.Builder>
-
addRepeatedField
public Image.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<Image.Builder>
-
mergeFrom
public Image.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Image.Builder>
-
mergeFrom
public Image.Builder mergeFrom(Image other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
mergeFrom
public Image.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<Image.Builder>- Throws:
IOException
-
hasArchitecture
public boolean hasArchitecture()
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
hasArchitecturein interfaceImageOrBuilder- Returns:
- Whether the architecture field is set.
-
getArchitecture
public String getArchitecture()
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
getArchitecturein interfaceImageOrBuilder- Returns:
- The architecture.
-
getArchitectureBytes
public com.google.protobuf.ByteString getArchitectureBytes()
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
getArchitectureBytesin interfaceImageOrBuilder- Returns:
- The bytes for architecture.
-
setArchitecture
public Image.Builder setArchitecture(String value)
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Parameters:
value- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
public Image.Builder clearArchitecture()
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Returns:
- This builder for chaining.
-
setArchitectureBytes
public Image.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
The architecture of the image. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Parameters:
value- The bytes for architecture to set.- Returns:
- This builder for chaining.
-
hasArchiveSizeBytes
public boolean hasArchiveSizeBytes()
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
optional int64 archive_size_bytes = 381093450;- Specified by:
hasArchiveSizeBytesin interfaceImageOrBuilder- Returns:
- Whether the archiveSizeBytes field is set.
-
getArchiveSizeBytes
public long getArchiveSizeBytes()
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
optional int64 archive_size_bytes = 381093450;- Specified by:
getArchiveSizeBytesin interfaceImageOrBuilder- Returns:
- The archiveSizeBytes.
-
setArchiveSizeBytes
public Image.Builder setArchiveSizeBytes(long value)
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
optional int64 archive_size_bytes = 381093450;- Parameters:
value- The archiveSizeBytes to set.- Returns:
- This builder for chaining.
-
clearArchiveSizeBytes
public Image.Builder clearArchiveSizeBytes()
Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
optional int64 archive_size_bytes = 381093450;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceImageOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceImageOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceImageOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public Image.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public Image.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public Image.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
hasDeprecatedin interfaceImageOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public DeprecationStatus getDeprecated()
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
getDeprecatedin interfaceImageOrBuilder- Returns:
- The deprecated.
-
setDeprecated
public Image.Builder setDeprecated(DeprecationStatus value)
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
setDeprecated
public Image.Builder setDeprecated(DeprecationStatus.Builder builderForValue)
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
mergeDeprecated
public Image.Builder mergeDeprecated(DeprecationStatus value)
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
clearDeprecated
public Image.Builder clearDeprecated()
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedBuilder
public DeprecationStatus.Builder getDeprecatedBuilder()
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
-
getDeprecatedOrBuilder
public DeprecationStatusOrBuilder getDeprecatedOrBuilder()
The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
getDeprecatedOrBuilderin interfaceImageOrBuilder
-
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 interfaceImageOrBuilder- 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 interfaceImageOrBuilder- 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 interfaceImageOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Image.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 Image.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 Image.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.
-
hasDiskSizeGb
public boolean hasDiskSizeGb()
Size of the image when restored onto a persistent disk (in GB).
optional int64 disk_size_gb = 316263735;- Specified by:
hasDiskSizeGbin interfaceImageOrBuilder- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
public long getDiskSizeGb()
Size of the image when restored onto a persistent disk (in GB).
optional int64 disk_size_gb = 316263735;- Specified by:
getDiskSizeGbin interfaceImageOrBuilder- Returns:
- The diskSizeGb.
-
setDiskSizeGb
public Image.Builder setDiskSizeGb(long value)
Size of the image when restored onto a persistent disk (in GB).
optional int64 disk_size_gb = 316263735;- Parameters:
value- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
public Image.Builder clearDiskSizeGb()
Size of the image when restored onto a persistent disk (in GB).
optional int64 disk_size_gb = 316263735;- Returns:
- This builder for chaining.
-
hasFamily
public boolean hasFamily()
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Specified by:
hasFamilyin interfaceImageOrBuilder- Returns:
- Whether the family field is set.
-
getFamily
public String getFamily()
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Specified by:
getFamilyin interfaceImageOrBuilder- Returns:
- The family.
-
getFamilyBytes
public com.google.protobuf.ByteString getFamilyBytes()
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Specified by:
getFamilyBytesin interfaceImageOrBuilder- Returns:
- The bytes for family.
-
setFamily
public Image.Builder setFamily(String value)
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Parameters:
value- The family to set.- Returns:
- This builder for chaining.
-
clearFamily
public Image.Builder clearFamily()
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Returns:
- This builder for chaining.
-
setFamilyBytes
public Image.Builder setFamilyBytes(com.google.protobuf.ByteString value)
The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
optional string family = 328751972;- Parameters:
value- The bytes for family to set.- Returns:
- This builder for chaining.
-
getGuestOsFeaturesList
public List<GuestOsFeature> getGuestOsFeaturesList()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesListin interfaceImageOrBuilder
-
getGuestOsFeaturesCount
public int getGuestOsFeaturesCount()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesCountin interfaceImageOrBuilder
-
getGuestOsFeatures
public GuestOsFeature getGuestOsFeatures(int index)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesin interfaceImageOrBuilder
-
setGuestOsFeatures
public Image.Builder setGuestOsFeatures(int index, GuestOsFeature value)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
setGuestOsFeatures
public Image.Builder setGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addGuestOsFeatures
public Image.Builder addGuestOsFeatures(GuestOsFeature value)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addGuestOsFeatures
public Image.Builder addGuestOsFeatures(int index, GuestOsFeature value)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addGuestOsFeatures
public Image.Builder addGuestOsFeatures(GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addGuestOsFeatures
public Image.Builder addGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addAllGuestOsFeatures
public Image.Builder addAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
clearGuestOsFeatures
public Image.Builder clearGuestOsFeatures()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
removeGuestOsFeatures
public Image.Builder removeGuestOsFeatures(int index)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
getGuestOsFeaturesBuilder
public GuestOsFeature.Builder getGuestOsFeaturesBuilder(int index)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
getGuestOsFeaturesOrBuilder
public GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderin interfaceImageOrBuilder
-
getGuestOsFeaturesOrBuilderList
public List<? extends GuestOsFeatureOrBuilder> getGuestOsFeaturesOrBuilderList()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderListin interfaceImageOrBuilder
-
addGuestOsFeaturesBuilder
public GuestOsFeature.Builder addGuestOsFeaturesBuilder()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
addGuestOsFeaturesBuilder
public GuestOsFeature.Builder addGuestOsFeaturesBuilder(int index)
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
getGuestOsFeaturesBuilderList
public List<GuestOsFeature.Builder> getGuestOsFeaturesBuilderList()
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceImageOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceImageOrBuilder- Returns:
- The id.
-
setId
public Image.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Image.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasImageEncryptionKey
public boolean hasImageEncryptionKey()
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;- Specified by:
hasImageEncryptionKeyin interfaceImageOrBuilder- Returns:
- Whether the imageEncryptionKey field is set.
-
getImageEncryptionKey
public CustomerEncryptionKey getImageEncryptionKey()
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;- Specified by:
getImageEncryptionKeyin interfaceImageOrBuilder- Returns:
- The imageEncryptionKey.
-
setImageEncryptionKey
public Image.Builder setImageEncryptionKey(CustomerEncryptionKey value)
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
-
setImageEncryptionKey
public Image.Builder setImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
-
mergeImageEncryptionKey
public Image.Builder mergeImageEncryptionKey(CustomerEncryptionKey value)
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
-
clearImageEncryptionKey
public Image.Builder clearImageEncryptionKey()
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
-
getImageEncryptionKeyBuilder
public CustomerEncryptionKey.Builder getImageEncryptionKeyBuilder()
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
-
getImageEncryptionKeyOrBuilder
public CustomerEncryptionKeyOrBuilder getImageEncryptionKeyOrBuilder()
Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;- Specified by:
getImageEncryptionKeyOrBuilderin interfaceImageOrBuilder
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Specified by:
hasKindin interfaceImageOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Specified by:
getKindin interfaceImageOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceImageOrBuilder- Returns:
- The bytes for kind.
-
setKind
public Image.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Image.Builder clearKind()
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
public Image.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLabelFingerprint
public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Specified by:
hasLabelFingerprintin interfaceImageOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
public String getLabelFingerprint()
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintin interfaceImageOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintBytesin interfaceImageOrBuilder- Returns:
- The bytes for labelFingerprint.
-
setLabelFingerprint
public Image.Builder setLabelFingerprint(String value)
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Parameters:
value- The labelFingerprint to set.- Returns:
- This builder for chaining.
-
clearLabelFingerprint
public Image.Builder clearLabelFingerprint()
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Returns:
- This builder for chaining.
-
setLabelFingerprintBytes
public Image.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
optional string label_fingerprint = 178124825;- Parameters:
value- The bytes for labelFingerprint to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ImageOrBuilderLabels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceImageOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceImageOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceImageOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceImageOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceImageOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceImageOrBuilder
-
clearLabels
public Image.Builder clearLabels()
-
removeLabels
public Image.Builder removeLabels(String key)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Image.Builder putLabels(String key, String value)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;
-
putAllLabels
public Image.Builder putAllLabels(Map<String,String> values)
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;
-
getLicenseCodesList
public List<Long> getLicenseCodesList()
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesListin interfaceImageOrBuilder- Returns:
- A list containing the licenseCodes.
-
getLicenseCodesCount
public int getLicenseCodesCount()
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesCountin interfaceImageOrBuilder- Returns:
- The count of licenseCodes.
-
getLicenseCodes
public long getLicenseCodes(int index)
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesin interfaceImageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The licenseCodes at the given index.
-
setLicenseCodes
public Image.Builder setLicenseCodes(int index, long value)
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Parameters:
index- The index to set the value at.value- The licenseCodes to set.- Returns:
- This builder for chaining.
-
addLicenseCodes
public Image.Builder addLicenseCodes(long value)
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Parameters:
value- The licenseCodes to add.- Returns:
- This builder for chaining.
-
addAllLicenseCodes
public Image.Builder addAllLicenseCodes(Iterable<? extends Long> values)
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Parameters:
values- The licenseCodes to add.- Returns:
- This builder for chaining.
-
clearLicenseCodes
public Image.Builder clearLicenseCodes()
Integer license codes indicating which licenses are attached to this image.
repeated int64 license_codes = 45482664;- Returns:
- This builder for chaining.
-
getLicensesList
public com.google.protobuf.ProtocolStringList getLicensesList()
Any applicable license URI.
repeated string licenses = 337642578;- Specified by:
getLicensesListin interfaceImageOrBuilder- Returns:
- A list containing the licenses.
-
getLicensesCount
public int getLicensesCount()
Any applicable license URI.
repeated string licenses = 337642578;- Specified by:
getLicensesCountin interfaceImageOrBuilder- Returns:
- The count of licenses.
-
getLicenses
public String getLicenses(int index)
Any applicable license URI.
repeated string licenses = 337642578;- Specified by:
getLicensesin interfaceImageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The licenses at the given index.
-
getLicensesBytes
public com.google.protobuf.ByteString getLicensesBytes(int index)
Any applicable license URI.
repeated string licenses = 337642578;- Specified by:
getLicensesBytesin interfaceImageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the licenses at the given index.
-
setLicenses
public Image.Builder setLicenses(int index, String value)
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
index- The index to set the value at.value- The licenses to set.- Returns:
- This builder for chaining.
-
addLicenses
public Image.Builder addLicenses(String value)
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
value- The licenses to add.- Returns:
- This builder for chaining.
-
addAllLicenses
public Image.Builder addAllLicenses(Iterable<String> values)
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
values- The licenses to add.- Returns:
- This builder for chaining.
-
clearLicenses
public Image.Builder clearLicenses()
Any applicable license URI.
repeated string licenses = 337642578;- Returns:
- This builder for chaining.
-
addLicensesBytes
public Image.Builder addLicensesBytes(com.google.protobuf.ByteString value)
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
value- The bytes of the licenses to add.- Returns:
- This builder for chaining.
-
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 interfaceImageOrBuilder- 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 interfaceImageOrBuilder- 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 interfaceImageOrBuilder- Returns:
- The bytes for name.
-
setName
public Image.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 Image.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 Image.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.
-
hasRawDisk
public boolean hasRawDisk()
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;- Specified by:
hasRawDiskin interfaceImageOrBuilder- Returns:
- Whether the rawDisk field is set.
-
getRawDisk
public RawDisk getRawDisk()
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;- Specified by:
getRawDiskin interfaceImageOrBuilder- Returns:
- The rawDisk.
-
setRawDisk
public Image.Builder setRawDisk(RawDisk value)
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
-
setRawDisk
public Image.Builder setRawDisk(RawDisk.Builder builderForValue)
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
-
mergeRawDisk
public Image.Builder mergeRawDisk(RawDisk value)
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
-
clearRawDisk
public Image.Builder clearRawDisk()
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
-
getRawDiskBuilder
public RawDisk.Builder getRawDiskBuilder()
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
-
getRawDiskOrBuilder
public RawDiskOrBuilder getRawDiskOrBuilder()
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;- Specified by:
getRawDiskOrBuilderin interfaceImageOrBuilder
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceImageOrBuilder- 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 interfaceImageOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Image.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 Image.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceImageOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceImageOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceImageOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public Image.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public Image.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public Image.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasShieldedInstanceInitialState
public boolean hasShieldedInstanceInitialState()
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;- Specified by:
hasShieldedInstanceInitialStatein interfaceImageOrBuilder- Returns:
- Whether the shieldedInstanceInitialState field is set.
-
getShieldedInstanceInitialState
public InitialStateConfig getShieldedInstanceInitialState()
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;- Specified by:
getShieldedInstanceInitialStatein interfaceImageOrBuilder- Returns:
- The shieldedInstanceInitialState.
-
setShieldedInstanceInitialState
public Image.Builder setShieldedInstanceInitialState(InitialStateConfig value)
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
-
setShieldedInstanceInitialState
public Image.Builder setShieldedInstanceInitialState(InitialStateConfig.Builder builderForValue)
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
-
mergeShieldedInstanceInitialState
public Image.Builder mergeShieldedInstanceInitialState(InitialStateConfig value)
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
-
clearShieldedInstanceInitialState
public Image.Builder clearShieldedInstanceInitialState()
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
-
getShieldedInstanceInitialStateBuilder
public InitialStateConfig.Builder getShieldedInstanceInitialStateBuilder()
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
-
getShieldedInstanceInitialStateOrBuilder
public InitialStateConfigOrBuilder getShieldedInstanceInitialStateOrBuilder()
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;- Specified by:
getShieldedInstanceInitialStateOrBuilderin interfaceImageOrBuilder
-
hasSourceDisk
public boolean hasSourceDisk()
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Specified by:
hasSourceDiskin interfaceImageOrBuilder- Returns:
- Whether the sourceDisk field is set.
-
getSourceDisk
public String getSourceDisk()
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Specified by:
getSourceDiskin interfaceImageOrBuilder- Returns:
- The sourceDisk.
-
getSourceDiskBytes
public com.google.protobuf.ByteString getSourceDiskBytes()
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Specified by:
getSourceDiskBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceDisk.
-
setSourceDisk
public Image.Builder setSourceDisk(String value)
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Parameters:
value- The sourceDisk to set.- Returns:
- This builder for chaining.
-
clearSourceDisk
public Image.Builder clearSourceDisk()
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Returns:
- This builder for chaining.
-
setSourceDiskBytes
public Image.Builder setSourceDiskBytes(com.google.protobuf.ByteString value)
URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_disk = 451753793;- Parameters:
value- The bytes for sourceDisk to set.- Returns:
- This builder for chaining.
-
hasSourceDiskEncryptionKey
public boolean hasSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
hasSourceDiskEncryptionKeyin interfaceImageOrBuilder- Returns:
- Whether the sourceDiskEncryptionKey field is set.
-
getSourceDiskEncryptionKey
public CustomerEncryptionKey getSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
getSourceDiskEncryptionKeyin interfaceImageOrBuilder- Returns:
- The sourceDiskEncryptionKey.
-
setSourceDiskEncryptionKey
public Image.Builder setSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
-
setSourceDiskEncryptionKey
public Image.Builder setSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
-
mergeSourceDiskEncryptionKey
public Image.Builder mergeSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
-
clearSourceDiskEncryptionKey
public Image.Builder clearSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
-
getSourceDiskEncryptionKeyBuilder
public CustomerEncryptionKey.Builder getSourceDiskEncryptionKeyBuilder()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
-
getSourceDiskEncryptionKeyOrBuilder
public CustomerEncryptionKeyOrBuilder getSourceDiskEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
getSourceDiskEncryptionKeyOrBuilderin interfaceImageOrBuilder
-
hasSourceDiskId
public boolean hasSourceDiskId()
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Specified by:
hasSourceDiskIdin interfaceImageOrBuilder- Returns:
- Whether the sourceDiskId field is set.
-
getSourceDiskId
public String getSourceDiskId()
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Specified by:
getSourceDiskIdin interfaceImageOrBuilder- Returns:
- The sourceDiskId.
-
getSourceDiskIdBytes
public com.google.protobuf.ByteString getSourceDiskIdBytes()
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Specified by:
getSourceDiskIdBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceDiskId.
-
setSourceDiskId
public Image.Builder setSourceDiskId(String value)
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Parameters:
value- The sourceDiskId to set.- Returns:
- This builder for chaining.
-
clearSourceDiskId
public Image.Builder clearSourceDiskId()
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Returns:
- This builder for chaining.
-
setSourceDiskIdBytes
public Image.Builder setSourceDiskIdBytes(com.google.protobuf.ByteString value)
[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;- Parameters:
value- The bytes for sourceDiskId to set.- Returns:
- This builder for chaining.
-
hasSourceImage
public boolean hasSourceImage()
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Specified by:
hasSourceImagein interfaceImageOrBuilder- Returns:
- Whether the sourceImage field is set.
-
getSourceImage
public String getSourceImage()
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Specified by:
getSourceImagein interfaceImageOrBuilder- Returns:
- The sourceImage.
-
getSourceImageBytes
public com.google.protobuf.ByteString getSourceImageBytes()
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Specified by:
getSourceImageBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceImage.
-
setSourceImage
public Image.Builder setSourceImage(String value)
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Parameters:
value- The sourceImage to set.- Returns:
- This builder for chaining.
-
clearSourceImage
public Image.Builder clearSourceImage()
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Returns:
- This builder for chaining.
-
setSourceImageBytes
public Image.Builder setSourceImageBytes(com.google.protobuf.ByteString value)
URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_image = 50443319;- Parameters:
value- The bytes for sourceImage to set.- Returns:
- This builder for chaining.
-
hasSourceImageEncryptionKey
public boolean hasSourceImageEncryptionKey()
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;- Specified by:
hasSourceImageEncryptionKeyin interfaceImageOrBuilder- Returns:
- Whether the sourceImageEncryptionKey field is set.
-
getSourceImageEncryptionKey
public CustomerEncryptionKey getSourceImageEncryptionKey()
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;- Specified by:
getSourceImageEncryptionKeyin interfaceImageOrBuilder- Returns:
- The sourceImageEncryptionKey.
-
setSourceImageEncryptionKey
public Image.Builder setSourceImageEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
-
setSourceImageEncryptionKey
public Image.Builder setSourceImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
-
mergeSourceImageEncryptionKey
public Image.Builder mergeSourceImageEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
-
clearSourceImageEncryptionKey
public Image.Builder clearSourceImageEncryptionKey()
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
-
getSourceImageEncryptionKeyBuilder
public CustomerEncryptionKey.Builder getSourceImageEncryptionKeyBuilder()
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
-
getSourceImageEncryptionKeyOrBuilder
public CustomerEncryptionKeyOrBuilder getSourceImageEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;- Specified by:
getSourceImageEncryptionKeyOrBuilderin interfaceImageOrBuilder
-
hasSourceImageId
public boolean hasSourceImageId()
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Specified by:
hasSourceImageIdin interfaceImageOrBuilder- Returns:
- Whether the sourceImageId field is set.
-
getSourceImageId
public String getSourceImageId()
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Specified by:
getSourceImageIdin interfaceImageOrBuilder- Returns:
- The sourceImageId.
-
getSourceImageIdBytes
public com.google.protobuf.ByteString getSourceImageIdBytes()
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Specified by:
getSourceImageIdBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceImageId.
-
setSourceImageId
public Image.Builder setSourceImageId(String value)
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Parameters:
value- The sourceImageId to set.- Returns:
- This builder for chaining.
-
clearSourceImageId
public Image.Builder clearSourceImageId()
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Returns:
- This builder for chaining.
-
setSourceImageIdBytes
public Image.Builder setSourceImageIdBytes(com.google.protobuf.ByteString value)
[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
optional string source_image_id = 55328291;- Parameters:
value- The bytes for sourceImageId to set.- Returns:
- This builder for chaining.
-
hasSourceSnapshot
public boolean hasSourceSnapshot()
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Specified by:
hasSourceSnapshotin interfaceImageOrBuilder- Returns:
- Whether the sourceSnapshot field is set.
-
getSourceSnapshot
public String getSourceSnapshot()
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Specified by:
getSourceSnapshotin interfaceImageOrBuilder- Returns:
- The sourceSnapshot.
-
getSourceSnapshotBytes
public com.google.protobuf.ByteString getSourceSnapshotBytes()
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Specified by:
getSourceSnapshotBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceSnapshot.
-
setSourceSnapshot
public Image.Builder setSourceSnapshot(String value)
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Parameters:
value- The sourceSnapshot to set.- Returns:
- This builder for chaining.
-
clearSourceSnapshot
public Image.Builder clearSourceSnapshot()
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Returns:
- This builder for chaining.
-
setSourceSnapshotBytes
public Image.Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value)
URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
optional string source_snapshot = 126061928;- Parameters:
value- The bytes for sourceSnapshot to set.- Returns:
- This builder for chaining.
-
hasSourceSnapshotEncryptionKey
public boolean hasSourceSnapshotEncryptionKey()
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;- Specified by:
hasSourceSnapshotEncryptionKeyin interfaceImageOrBuilder- Returns:
- Whether the sourceSnapshotEncryptionKey field is set.
-
getSourceSnapshotEncryptionKey
public CustomerEncryptionKey getSourceSnapshotEncryptionKey()
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;- Specified by:
getSourceSnapshotEncryptionKeyin interfaceImageOrBuilder- Returns:
- The sourceSnapshotEncryptionKey.
-
setSourceSnapshotEncryptionKey
public Image.Builder setSourceSnapshotEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
-
setSourceSnapshotEncryptionKey
public Image.Builder setSourceSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
-
mergeSourceSnapshotEncryptionKey
public Image.Builder mergeSourceSnapshotEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
-
clearSourceSnapshotEncryptionKey
public Image.Builder clearSourceSnapshotEncryptionKey()
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
-
getSourceSnapshotEncryptionKeyBuilder
public CustomerEncryptionKey.Builder getSourceSnapshotEncryptionKeyBuilder()
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
-
getSourceSnapshotEncryptionKeyOrBuilder
public CustomerEncryptionKeyOrBuilder getSourceSnapshotEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;- Specified by:
getSourceSnapshotEncryptionKeyOrBuilderin interfaceImageOrBuilder
-
hasSourceSnapshotId
public boolean hasSourceSnapshotId()
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Specified by:
hasSourceSnapshotIdin interfaceImageOrBuilder- Returns:
- Whether the sourceSnapshotId field is set.
-
getSourceSnapshotId
public String getSourceSnapshotId()
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Specified by:
getSourceSnapshotIdin interfaceImageOrBuilder- Returns:
- The sourceSnapshotId.
-
getSourceSnapshotIdBytes
public com.google.protobuf.ByteString getSourceSnapshotIdBytes()
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Specified by:
getSourceSnapshotIdBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceSnapshotId.
-
setSourceSnapshotId
public Image.Builder setSourceSnapshotId(String value)
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Parameters:
value- The sourceSnapshotId to set.- Returns:
- This builder for chaining.
-
clearSourceSnapshotId
public Image.Builder clearSourceSnapshotId()
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Returns:
- This builder for chaining.
-
setSourceSnapshotIdBytes
public Image.Builder setSourceSnapshotIdBytes(com.google.protobuf.ByteString value)
[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
optional string source_snapshot_id = 98962258;- Parameters:
value- The bytes for sourceSnapshotId to set.- Returns:
- This builder for chaining.
-
hasSourceType
public boolean hasSourceType()
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Specified by:
hasSourceTypein interfaceImageOrBuilder- Returns:
- Whether the sourceType field is set.
-
getSourceType
public String getSourceType()
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Specified by:
getSourceTypein interfaceImageOrBuilder- Returns:
- The sourceType.
-
getSourceTypeBytes
public com.google.protobuf.ByteString getSourceTypeBytes()
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Specified by:
getSourceTypeBytesin interfaceImageOrBuilder- Returns:
- The bytes for sourceType.
-
setSourceType
public Image.Builder setSourceType(String value)
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Parameters:
value- The sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
public Image.Builder clearSourceType()
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Returns:
- This builder for chaining.
-
setSourceTypeBytes
public Image.Builder setSourceTypeBytes(com.google.protobuf.ByteString value)
The type of the image used to create this disk. The default and only valid value is RAW. Check the SourceType enum for the list of possible values.
optional string source_type = 452245726;- Parameters:
value- The bytes for sourceType to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceImageOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceImageOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceImageOrBuilder- Returns:
- The bytes for status.
-
setStatus
public Image.Builder setStatus(String value)
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. 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 Image.Builder clearStatus()
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
public Image.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. 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()
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsListin interfaceImageOrBuilder- Returns:
- A list containing the storageLocations.
-
getStorageLocationsCount
public int getStorageLocationsCount()
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsCountin interfaceImageOrBuilder- Returns:
- The count of storageLocations.
-
getStorageLocations
public String getStorageLocations(int index)
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsin interfaceImageOrBuilder- 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)
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsBytesin interfaceImageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storageLocations at the given index.
-
setStorageLocations
public Image.Builder setStorageLocations(int index, String value)
Cloud Storage bucket storage location of the image (regional or multi-regional).
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 Image.Builder addStorageLocations(String value)
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
value- The storageLocations to add.- Returns:
- This builder for chaining.
-
addAllStorageLocations
public Image.Builder addAllStorageLocations(Iterable<String> values)
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
values- The storageLocations to add.- Returns:
- This builder for chaining.
-
clearStorageLocations
public Image.Builder clearStorageLocations()
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Returns:
- This builder for chaining.
-
addStorageLocationsBytes
public Image.Builder addStorageLocationsBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
value- The bytes of the storageLocations to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Image.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
mergeUnknownFields
public final Image.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Image.Builder>
-
-