Interface ImageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Image, Image.Builder

@Generated public interface ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasArchitecture

      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;
      Returns:
      Whether the architecture field is set.
    • getArchitecture

      String getArchitecture()
       The architecture of the image. Valid values are
       ARM64 or X86_64.
       Check the Architecture enum for the list of possible values.
       
      optional string architecture = 302803283;
      Returns:
      The architecture.
    • getArchitectureBytes

      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;
      Returns:
      The bytes for architecture.
    • hasArchiveSizeBytes

      boolean hasArchiveSizeBytes()
       Size of the image tar.gz archive stored in Google Cloud
       Storage (in bytes).
       
      optional int64 archive_size_bytes = 381093450;
      Returns:
      Whether the archiveSizeBytes field is set.
    • getArchiveSizeBytes

      long getArchiveSizeBytes()
       Size of the image tar.gz archive stored in Google Cloud
       Storage (in bytes).
       
      optional int64 archive_size_bytes = 381093450;
      Returns:
      The archiveSizeBytes.
    • hasCreationTimestamp

      boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      The bytes for creationTimestamp.
    • hasDeprecated

      boolean hasDeprecated()
       Output only. The deprecation status associated with this image.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Returns:
      Whether the deprecated field is set.
    • getDeprecated

      DeprecationStatus getDeprecated()
       Output only. The deprecation status associated with this image.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
      Returns:
      The deprecated.
    • getDeprecatedOrBuilder

      DeprecationStatusOrBuilder getDeprecatedOrBuilder()
       Output only. The deprecation status associated with this image.
       
      optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;
    • hasDescription

      boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • hasDiskSizeGb

      boolean hasDiskSizeGb()
       Size of the image when restored onto a persistent disk (in GB).
       
      optional int64 disk_size_gb = 316263735;
      Returns:
      Whether the diskSizeGb field is set.
    • getDiskSizeGb

      long getDiskSizeGb()
       Size of the image when restored onto a persistent disk (in GB).
       
      optional int64 disk_size_gb = 316263735;
      Returns:
      The diskSizeGb.
    • hasEnableConfidentialCompute

      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;
      Returns:
      Whether the enableConfidentialCompute field is set.
    • getEnableConfidentialCompute

      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;
      Returns:
      The enableConfidentialCompute.
    • hasFamily

      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;
      Returns:
      Whether the family field is set.
    • getFamily

      String getFamily()
       The name of the image family to which this image belongs. The image
       family name can be from a publicly managed image family provided by
       Compute Engine, or from a custom image family you create. For example,centos-stream-9 is a publicly available image family.
       For more information, see Image
       family best practices.
      
       When creating disks, you can specify an image family instead of a specific
       image name. The image family always returns its latest image that is not
       deprecated. The name of the image family must comply with RFC1035.
       
      optional string family = 328751972;
      Returns:
      The family.
    • getFamilyBytes

      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;
      Returns:
      The bytes for family.
    • getGuestOsFeaturesList

      List<GuestOsFeature> getGuestOsFeaturesList()
       A list of features to enable on the guest operating system. Applicable
       only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
       
      repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
    • getGuestOsFeatures

      GuestOsFeature getGuestOsFeatures(int index)
       A list of features to enable on the guest operating system. Applicable
       only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
       
      repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
    • getGuestOsFeaturesCount

      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;
    • getGuestOsFeaturesOrBuilderList

      List<? extends GuestOsFeatureOrBuilder> getGuestOsFeaturesOrBuilderList()
       A list of features to enable on the guest operating system. Applicable
       only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
       
      repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
    • getGuestOsFeaturesOrBuilder

      GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index)
       A list of features to enable on the guest operating system. Applicable
       only for bootable images. To see a list of available options, see theguestOSfeatures[].type parameter.
       
      repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
    • hasId

      boolean hasId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. [Output Only] The unique identifier for the resource. This identifier is
       defined by the server.
       
      optional uint64 id = 3355;
      Returns:
      The id.
    • hasImageEncryptionKey

      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;
      Returns:
      Whether the imageEncryptionKey field is set.
    • getImageEncryptionKey

      CustomerEncryptionKey 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;
      Returns:
      The imageEncryptionKey.
    • getImageEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder 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;
    • hasKind

      boolean hasKind()
       Output only. [Output Only] Type of the resource. Always compute#image for
       images.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] Type of the resource. Always compute#image for
       images.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Always compute#image for
       images.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • hasLabelFingerprint

      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;
      Returns:
      Whether the labelFingerprint field is set.
    • getLabelFingerprint

      String getLabelFingerprint()
       A fingerprint for the labels being applied to this image, which is
       essentially a hash of the labels used for optimistic locking. The
       fingerprint is initially generated by Compute Engine and changes after
       every request to modify or update labels. You must always provide an
       up-to-date fingerprint hash in order to update or change labels,
       otherwise the request will fail with error412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve an image.
       
      optional string label_fingerprint = 178124825;
      Returns:
      The labelFingerprint.
    • getLabelFingerprintBytes

      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;
      Returns:
      The bytes for labelFingerprint.
    • getLabelsCount

      int getLabelsCount()
       Labels to apply to this image. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • containsLabels

      boolean containsLabels(String key)
       Labels to apply to this image. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels to apply to this image. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels to apply to this image. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels to apply to this image. These can be later modified by
       the setLabels method.
       
      map<string, string> labels = 500195327;
    • getLicenseCodesList

      List<Long> getLicenseCodesList()
       Integer license codes indicating which licenses are attached to this image.
       
      repeated int64 license_codes = 45482664;
      Returns:
      A list containing the licenseCodes.
    • getLicenseCodesCount

      int getLicenseCodesCount()
       Integer license codes indicating which licenses are attached to this image.
       
      repeated int64 license_codes = 45482664;
      Returns:
      The count of licenseCodes.
    • getLicenseCodes

      long getLicenseCodes(int index)
       Integer license codes indicating which licenses are attached to this image.
       
      repeated int64 license_codes = 45482664;
      Parameters:
      index - The index of the element to return.
      Returns:
      The licenseCodes at the given index.
    • getLicensesList

      List<String> getLicensesList()
       Any applicable license URI.
       
      repeated string licenses = 337642578;
      Returns:
      A list containing the licenses.
    • getLicensesCount

      int getLicensesCount()
       Any applicable license URI.
       
      repeated string licenses = 337642578;
      Returns:
      The count of licenses.
    • getLicenses

      String getLicenses(int index)
       Any applicable license URI.
       
      repeated string licenses = 337642578;
      Parameters:
      index - The index of the element to return.
      Returns:
      The licenses at the given index.
    • getLicensesBytes

      com.google.protobuf.ByteString getLicensesBytes(int index)
       Any applicable license URI.
       
      repeated string licenses = 337642578;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the licenses at the given index.
    • hasName

      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;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Name of the resource; provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply 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:
      The name.
    • getNameBytes

      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;
      Returns:
      The bytes for name.
    • hasParams

      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;
      Returns:
      Whether the params field is set.
    • getParams

      ImageParams 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;
      Returns:
      The params.
    • getParamsOrBuilder

      ImageParamsOrBuilder 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;
    • hasRawDisk

      boolean hasRawDisk()
       The parameters of the raw disk image.
       
      optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
      Returns:
      Whether the rawDisk field is set.
    • getRawDisk

      RawDisk getRawDisk()
       The parameters of the raw disk image.
       
      optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
      Returns:
      The rawDisk.
    • getRawDiskOrBuilder

      RawDiskOrBuilder getRawDiskOrBuilder()
       The parameters of the raw disk image.
       
      optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;
    • hasSatisfiesPzi

      boolean hasSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Returns:
      Whether the satisfiesPzi field is set.
    • getSatisfiesPzi

      boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      optional bool satisfies_pzi = 480964257;
      Returns:
      The satisfiesPzi.
    • hasSatisfiesPzs

      boolean hasSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      boolean getSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 480964267;
      Returns:
      The satisfiesPzs.
    • hasSelfLink

      boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The selfLink.
    • getSelfLinkBytes

      com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      The bytes for selfLink.
    • hasShieldedInstanceInitialState

      boolean hasShieldedInstanceInitialState()
       Set the secure boot keys of shielded instance.
       
      optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
      Returns:
      Whether the shieldedInstanceInitialState field is set.
    • getShieldedInstanceInitialState

      InitialStateConfig getShieldedInstanceInitialState()
       Set the secure boot keys of shielded instance.
       
      optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
      Returns:
      The shieldedInstanceInitialState.
    • getShieldedInstanceInitialStateOrBuilder

      InitialStateConfigOrBuilder getShieldedInstanceInitialStateOrBuilder()
       Set the secure boot keys of shielded instance.
       
      optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
    • hasSourceDisk

      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;
      Returns:
      Whether the sourceDisk field is set.
    • getSourceDisk

      String getSourceDisk()
       URL of the source disk used to create this image.
       For example, the following are valid values:
      
       - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
       - projects/project/zones/zone/disks/disk
       - zones/zone/disks/disk
      
      
      
       In order to create an image, you must provide the full or partial URL of
       one of the following:
      
       - The rawDisk.source URL
       - The sourceDisk URL
       - The sourceImage URL
       - The sourceSnapshot URL
       
      optional string source_disk = 451753793;
      Returns:
      The sourceDisk.
    • getSourceDiskBytes

      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;
      Returns:
      The bytes for sourceDisk.
    • hasSourceDiskEncryptionKey

      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;
      Returns:
      Whether the sourceDiskEncryptionKey field is set.
    • getSourceDiskEncryptionKey

      CustomerEncryptionKey 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;
      Returns:
      The sourceDiskEncryptionKey.
    • getSourceDiskEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder 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;
    • hasSourceDiskId

      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;
      Returns:
      Whether the sourceDiskId field is set.
    • getSourceDiskId

      String 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;
      Returns:
      The sourceDiskId.
    • getSourceDiskIdBytes

      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;
      Returns:
      The bytes for sourceDiskId.
    • hasSourceImage

      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;
      Returns:
      Whether the sourceImage field is set.
    • getSourceImage

      String getSourceImage()
       URL of the source image used to create this image.
       The following are valid formats for the URL:
      
       - https://www.googleapis.com/compute/v1/projects/project_id/global/
       images/image_name
       - projects/project_id/global/images/image_name
      
      
      
       In order to create an image, you must provide the full or partial URL of
       one of the following:
      
       - The rawDisk.source URL
       - The sourceDisk URL
       - The sourceImage URL
       - The sourceSnapshot URL
       
      optional string source_image = 50443319;
      Returns:
      The sourceImage.
    • getSourceImageBytes

      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;
      Returns:
      The bytes for sourceImage.
    • hasSourceImageEncryptionKey

      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;
      Returns:
      Whether the sourceImageEncryptionKey field is set.
    • getSourceImageEncryptionKey

      CustomerEncryptionKey getSourceImageEncryptionKey()
       The customer-supplied encryption key of the source image. Required if the
       source image is protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
      Returns:
      The sourceImageEncryptionKey.
    • getSourceImageEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder getSourceImageEncryptionKeyOrBuilder()
       The customer-supplied encryption key of the source image. Required if the
       source image is protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
    • hasSourceImageId

      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;
      Returns:
      Whether the sourceImageId field is set.
    • getSourceImageId

      String 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;
      Returns:
      The sourceImageId.
    • getSourceImageIdBytes

      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;
      Returns:
      The bytes for sourceImageId.
    • hasSourceSnapshot

      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;
      Returns:
      Whether the sourceSnapshot field is set.
    • getSourceSnapshot

      String getSourceSnapshot()
       URL of the source snapshot used to create this image.
       The following are valid formats for the URL:
      
       - https://www.googleapis.com/compute/v1/projects/project_id/global/
       snapshots/snapshot_name
       - projects/project_id/global/snapshots/snapshot_name
      
      
      
       In order to create an image, you must provide the full or partial URL of
       one of the following:
      
       - The rawDisk.source URL
       - The sourceDisk URL
       - The sourceImage URL
       - The sourceSnapshot URL
       
      optional string source_snapshot = 126061928;
      Returns:
      The sourceSnapshot.
    • getSourceSnapshotBytes

      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;
      Returns:
      The bytes for sourceSnapshot.
    • hasSourceSnapshotEncryptionKey

      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;
      Returns:
      Whether the sourceSnapshotEncryptionKey field is set.
    • getSourceSnapshotEncryptionKey

      CustomerEncryptionKey getSourceSnapshotEncryptionKey()
       The customer-supplied encryption key of the source snapshot. Required if
       the source snapshot is protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
      Returns:
      The sourceSnapshotEncryptionKey.
    • getSourceSnapshotEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder getSourceSnapshotEncryptionKeyOrBuilder()
       The customer-supplied encryption key of the source snapshot. Required if
       the source snapshot is protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
    • hasSourceSnapshotId

      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;
      Returns:
      Whether the sourceSnapshotId field is set.
    • getSourceSnapshotId

      String 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;
      Returns:
      The sourceSnapshotId.
    • getSourceSnapshotIdBytes

      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;
      Returns:
      The bytes for sourceSnapshotId.
    • hasSourceType

      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;
      Returns:
      Whether the sourceType field is set.
    • getSourceType

      String getSourceType()
       The type of the image used to create this disk. The
       default and only valid value is RAW.
       Check the SourceType enum for the list of possible values.
       
      optional string source_type = 452245726;
      Returns:
      The sourceType.
    • getSourceTypeBytes

      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;
      Returns:
      The bytes for sourceType.
    • hasStatus

      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;
      Returns:
      Whether the status field is set.
    • getStatus

      String 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;
      Returns:
      The status.
    • getStatusBytes

      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;
      Returns:
      The bytes for status.
    • getStorageLocationsList

      List<String> getStorageLocationsList()
       Cloud Storage bucket storage location of the image (regional or
       multi-regional).
       
      repeated string storage_locations = 328005274;
      Returns:
      A list containing the storageLocations.
    • getStorageLocationsCount

      int getStorageLocationsCount()
       Cloud Storage bucket storage location of the image (regional or
       multi-regional).
       
      repeated string storage_locations = 328005274;
      Returns:
      The count of storageLocations.
    • getStorageLocations

      String getStorageLocations(int index)
       Cloud Storage bucket storage location of the image (regional or
       multi-regional).
       
      repeated string storage_locations = 328005274;
      Parameters:
      index - The index of the element to return.
      Returns:
      The storageLocations at the given index.
    • getStorageLocationsBytes

      com.google.protobuf.ByteString getStorageLocationsBytes(int index)
       Cloud Storage bucket storage location of the image (regional or
       multi-regional).
       
      repeated string storage_locations = 328005274;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the storageLocations at the given index.