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.GeneratedMessage.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.GeneratedMessage.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 type
google.cloud.compute.v1.Image-
Method Summary
Modifier and TypeMethodDescriptionaddAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values) A list of features to enable on the guest operating system.addAllLicenseCodes(Iterable<? extends Long> values) Integer license codes indicating which licenses are attached to this image.addAllLicenses(Iterable<String> values) Any applicable license URI.addAllStorageLocations(Iterable<String> values) Cloud Storage bucket storage location of the image (regional or multi-regional).addGuestOsFeatures(int index, GuestOsFeature value) A list of features to enable on the guest operating system.addGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.addGuestOsFeatures(GuestOsFeature value) A list of features to enable on the guest operating system.addGuestOsFeatures(GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.A list of features to enable on the guest operating system.addGuestOsFeaturesBuilder(int index) A list of features to enable on the guest operating system.addLicenseCodes(long value) Integer license codes indicating which licenses are attached to this image.addLicenses(String value) Any applicable license URI.addLicensesBytes(com.google.protobuf.ByteString value) Any applicable license URI.addStorageLocations(String value) Cloud Storage bucket storage location of the image (regional or multi-regional).addStorageLocationsBytes(com.google.protobuf.ByteString value) Cloud Storage bucket storage location of the image (regional or multi-regional).build()clear()The architecture of the image.Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).Output only.Output only.An optional description of this resource.Size of the image when restored onto a persistent disk (in GB).Output only.The name of the image family to which this image belongs.A list of features to enable on the guest operating system.clearId()Output only.Encrypts the image using acustomer-supplied encryption key.Output only.A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Integer license codes indicating which licenses are attached to this image.Any applicable license URI.Name of the resource; provided by the client when the resource is created.Input only.The parameters of the raw disk image.Output only.Output only.Output only.Set the secure boot keys of shielded instance.URL of the source disk used to create this image.Thecustomer-supplied encryption key of the source disk.Output only.URL of the source image used to create this image.The customer-supplied encryption key of the source image.Output only.URL of the source snapshot used to create this image.The customer-supplied encryption key of the source snapshot.Output only.The type of the image used to create this disk.Output only.Cloud Storage bucket storage location of the image (regional or multi-regional).booleancontainsLabels(String key) Labels to apply to this image.The architecture of the image.com.google.protobuf.ByteStringThe architecture of the image.longSize of the image tar.gz archive stored in Google Cloud Storage (in bytes).Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongSize of the image when restored onto a persistent disk (in GB).booleanOutput only.The name of the image family to which this image belongs.com.google.protobuf.ByteStringThe name of the image family to which this image belongs.getGuestOsFeatures(int index) A list of features to enable on the guest operating system.getGuestOsFeaturesBuilder(int index) A list of features to enable on the guest operating system.A list of features to enable on the guest operating system.intA list of features to enable on the guest operating system.A list of features to enable on the guest operating system.getGuestOsFeaturesOrBuilder(int index) A list of features to enable on the guest operating system.List<? extends GuestOsFeatureOrBuilder>A list of features to enable on the guest operating system.longgetId()Output only.Encrypts the image using acustomer-supplied encryption key.Encrypts the image using acustomer-supplied encryption key.Encrypts the image using acustomer-supplied encryption key.getKind()Output only.com.google.protobuf.ByteStringOutput only.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.ByteStringA fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking.Deprecated.intLabels to apply to this image.Labels to apply to this image.getLabelsOrDefault(String key, String defaultValue) Labels to apply to this image.getLabelsOrThrow(String key) Labels to apply to this image.longgetLicenseCodes(int index) Integer license codes indicating which licenses are attached to this image.intInteger license codes indicating which licenses are attached to this image.Integer license codes indicating which licenses are attached to this image.getLicenses(int index) Any applicable license URI.com.google.protobuf.ByteStringgetLicensesBytes(int index) Any applicable license URI.intAny applicable license URI.com.google.protobuf.ProtocolStringListAny applicable license URI.Deprecated.getName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringName of the resource; provided by the client when the resource is created.Input only.Input only.Input only.The parameters of the raw disk image.The parameters of the raw disk image.The parameters of the raw disk image.booleanOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Set the secure boot keys of shielded instance.Set the secure boot keys of shielded instance.Set the secure boot keys of shielded instance.URL of the source disk used to create this image.com.google.protobuf.ByteStringURL of the source disk used to create this image.Thecustomer-supplied encryption key of the source disk.Thecustomer-supplied encryption key of the source disk.Thecustomer-supplied encryption key of the source disk.Output only.com.google.protobuf.ByteStringOutput only.URL of the source image used to create this image.com.google.protobuf.ByteStringURL of the source image used to create this image.The customer-supplied encryption key of the source image.The customer-supplied encryption key of the source image.The customer-supplied encryption key of the source image.Output only.com.google.protobuf.ByteStringOutput only.URL of the source snapshot used to create this image.com.google.protobuf.ByteStringURL of the source snapshot used to create this image.The customer-supplied encryption key of the source snapshot.The customer-supplied encryption key of the source snapshot.The customer-supplied encryption key of the source snapshot.Output only.com.google.protobuf.ByteStringOutput only.The type of the image used to create this disk.com.google.protobuf.ByteStringThe type of the image used to create this disk.Output only.com.google.protobuf.ByteStringOutput only.getStorageLocations(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).intCloud Storage bucket storage location of the image (regional or multi-regional).com.google.protobuf.ProtocolStringListCloud Storage bucket storage location of the image (regional or multi-regional).booleanThe architecture of the image.booleanSize of the image tar.gz archive stored in Google Cloud Storage (in bytes).booleanOutput only.booleanOutput only.booleanAn optional description of this resource.booleanSize of the image when restored onto a persistent disk (in GB).booleanOutput only.booleanThe name of the image family to which this image belongs.booleanhasId()Output only.booleanEncrypts the image using acustomer-supplied encryption key.booleanhasKind()Output only.booleanA 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.booleanInput only.booleanThe parameters of the raw disk image.booleanOutput only.booleanOutput only.booleanOutput only.booleanSet the secure boot keys of shielded instance.booleanURL of the source disk used to create this image.booleanThecustomer-supplied encryption key of the source disk.booleanOutput only.booleanURL of the source image used to create this image.booleanThe customer-supplied encryption key of the source image.booleanOutput only.booleanURL of the source snapshot used to create this image.booleanThe customer-supplied encryption key of the source snapshot.booleanOutput only.booleanThe type of the image used to create this disk.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeDeprecated(DeprecationStatus value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Encrypts the image using acustomer-supplied encryption key.mergeParams(ImageParams value) Input only.mergeRawDisk(RawDisk value) The parameters of the raw disk image.Set the secure boot keys of shielded instance.Thecustomer-supplied encryption key of the source disk.The customer-supplied encryption key of the source image.The customer-supplied encryption key of the source snapshot.putAllLabels(Map<String, String> values) Labels to apply to this image.Labels to apply to this image.removeGuestOsFeatures(int index) A list of features to enable on the guest operating system.removeLabels(String key) Labels to apply to this image.setArchitecture(String value) The architecture of the image.setArchitectureBytes(com.google.protobuf.ByteString value) The architecture of the image.setArchiveSizeBytes(long value) Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDeprecated(DeprecationStatus value) Output only.setDeprecated(DeprecationStatus.Builder builderForValue) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setDiskSizeGb(long value) Size of the image when restored onto a persistent disk (in GB).setEnableConfidentialCompute(boolean value) Output only.The name of the image family to which this image belongs.setFamilyBytes(com.google.protobuf.ByteString value) The name of the image family to which this image belongs.setGuestOsFeatures(int index, GuestOsFeature value) A list of features to enable on the guest operating system.setGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.setId(long value) Output only.Encrypts the image using acustomer-supplied encryption key.setImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Encrypts the image using acustomer-supplied encryption key.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.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.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.setLicenseCodes(int index, long value) Integer license codes indicating which licenses are attached to this image.setLicenses(int index, String value) Any applicable license URI.Name of the resource; provided by the client when the resource is created.setNameBytes(com.google.protobuf.ByteString value) Name of the resource; provided by the client when the resource is created.setParams(ImageParams value) Input only.setParams(ImageParams.Builder builderForValue) Input only.setRawDisk(RawDisk value) The parameters of the raw disk image.setRawDisk(RawDisk.Builder builderForValue) The parameters of the raw disk image.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Set the secure boot keys of shielded instance.setShieldedInstanceInitialState(InitialStateConfig.Builder builderForValue) Set the secure boot keys of shielded instance.setSourceDisk(String value) URL of the source disk used to create this image.setSourceDiskBytes(com.google.protobuf.ByteString value) URL of the source disk used to create this image.Thecustomer-supplied encryption key of the source disk.setSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Thecustomer-supplied encryption key of the source disk.setSourceDiskId(String value) Output only.setSourceDiskIdBytes(com.google.protobuf.ByteString value) Output only.setSourceImage(String value) URL of the source image used to create this image.setSourceImageBytes(com.google.protobuf.ByteString value) URL of the source image used to create this image.The customer-supplied encryption key of the source image.setSourceImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) The customer-supplied encryption key of the source image.setSourceImageId(String value) Output only.setSourceImageIdBytes(com.google.protobuf.ByteString value) Output only.setSourceSnapshot(String value) URL of the source snapshot used to create this image.setSourceSnapshotBytes(com.google.protobuf.ByteString value) URL of the source snapshot used to create this image.The customer-supplied encryption key of the source snapshot.setSourceSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue) The customer-supplied encryption key of the source snapshot.setSourceSnapshotId(String value) Output only.setSourceSnapshotIdBytes(com.google.protobuf.ByteString value) Output only.setSourceType(String value) The type of the image used to create this disk.setSourceTypeBytes(com.google.protobuf.ByteString value) The type of the image used to create this disk.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.setStorageLocations(int index, String value) Cloud Storage bucket storage location of the image (regional or multi-regional).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Image.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Image.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Image.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Image.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Image.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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
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
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
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
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. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceImageOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceImageOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceImageOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()Output only. 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
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;- Specified by:
getDeprecatedin interfaceImageOrBuilder- Returns:
- The deprecated.
-
setDeprecated
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; -
setDeprecated
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; -
mergeDeprecated
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; -
clearDeprecated
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; -
getDeprecatedBuilder
Output only. The deprecation status associated with this image.
optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995; -
getDeprecatedOrBuilder
Output only. 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
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
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
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
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
Size of the image when restored onto a persistent disk (in GB).
optional int64 disk_size_gb = 316263735;- Returns:
- This builder for chaining.
-
hasEnableConfidentialCompute
public boolean hasEnableConfidentialCompute()Output only. Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Specified by:
hasEnableConfidentialComputein interfaceImageOrBuilder- Returns:
- Whether the enableConfidentialCompute field is set.
-
getEnableConfidentialCompute
public boolean getEnableConfidentialCompute()Output only. Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Specified by:
getEnableConfidentialComputein interfaceImageOrBuilder- Returns:
- The enableConfidentialCompute.
-
setEnableConfidentialCompute
Output only. Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Parameters:
value- The enableConfidentialCompute to set.- Returns:
- This builder for chaining.
-
clearEnableConfidentialCompute
Output only. Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- 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
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
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
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
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
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesCountin interfaceImageOrBuilder
-
getGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesin interfaceImageOrBuilder
-
setGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
setGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addAllGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
removeGuestOsFeatures
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
getGuestOsFeaturesBuilder
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
getGuestOsFeaturesOrBuilder
A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderin interfaceImageOrBuilder
-
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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderListin interfaceImageOrBuilder
-
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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
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 theguestOSfeatures[].type parameter.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
hasId
public boolean hasId()Output only. [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. [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
Output only. [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
Output only. [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 acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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
Encrypts the image using acustomer-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. [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
Output only. [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. [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
Output only. [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
Output only. [Output Only] Type of the resource. Always compute#image for images.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [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 error412 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
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 error412 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 error412 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
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 error412 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
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 error412 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
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 error412 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
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.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceImageOrBuilder
-
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
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
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
-
removeLabels
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
putAllLabels
Labels to apply to this image. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
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
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
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
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
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
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
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
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
value- The licenses to add.- Returns:
- This builder for chaining.
-
addAllLicenses
Any applicable license URI.
repeated string licenses = 337642578;- Parameters:
values- The licenses to add.- Returns:
- This builder for chaining.
-
clearLicenses
Any applicable license URI.
repeated string licenses = 337642578;- Returns:
- This builder for chaining.
-
addLicensesBytes
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 withRFC1035. 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
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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 withRFC1035. 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
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862;- Specified by:
hasParamsin interfaceImageOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862;- Specified by:
getParamsin interfaceImageOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.ImageParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceImageOrBuilder
-
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
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;- Specified by:
getRawDiskin interfaceImageOrBuilder- Returns:
- The rawDisk.
-
setRawDisk
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556; -
setRawDisk
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556; -
mergeRawDisk
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556; -
clearRawDisk
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556; -
getRawDiskBuilder
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556; -
getRawDiskOrBuilder
The parameters of the raw disk image.
optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;- Specified by:
getRawDiskOrBuilderin interfaceImageOrBuilder
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
hasSatisfiesPziin interfaceImageOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
getSatisfiesPziin interfaceImageOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- This builder for chaining.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. [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. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
getSatisfiesPzsin interfaceImageOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [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
Output only. [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. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceImageOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [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
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [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
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
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867; -
setShieldedInstanceInitialState
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867; -
mergeShieldedInstanceInitialState
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867; -
clearShieldedInstanceInitialState
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867; -
getShieldedInstanceInitialStateBuilder
Set the secure boot keys of shielded instance.
optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867; -
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
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
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
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
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()Thecustomer-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
Thecustomer-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
Thecustomer-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
Thecustomer-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
Thecustomer-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
Thecustomer-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
Thecustomer-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
Thecustomer-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. [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
Output only. [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. [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
Output only. [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
Output only. [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
Output only. [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
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
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
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
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
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
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
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
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
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
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
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. [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
Output only. [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. [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
Output only. [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
Output only. [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
Output only. [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
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
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
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
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
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
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
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
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
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
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
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. [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
Output only. [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. [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
Output only. [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
Output only. [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
Output only. [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
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
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
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
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. [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, orREADY. 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
Output only. [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, orREADY. 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. [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, orREADY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceImageOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. [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, orREADY. 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
Output only. [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, orREADY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. [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, orREADY. 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
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
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
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
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
Cloud Storage bucket storage location of the image (regional or multi-regional).
repeated string storage_locations = 328005274;- Returns:
- This builder for chaining.
-
addStorageLocationsBytes
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.
-