Interface CustomerEncryptionKeyProtectedDiskOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CustomerEncryptionKey getDiskEncryptionKey()
      Decrypts data associated with the disk with a customer-supplied encryption key.
      CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()
      Decrypts data associated with the disk with a customer-supplied encryption key.
      String getSource()
      Specifies a valid partial or full URL to an existing Persistent Disk resource.
      com.google.protobuf.ByteString getSourceBytes()
      Specifies a valid partial or full URL to an existing Persistent Disk resource.
      boolean hasDiskEncryptionKey()
      Decrypts data associated with the disk with a customer-supplied encryption key.
      boolean hasSource()
      Specifies a valid partial or full URL to an existing Persistent Disk resource.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasDiskEncryptionKey

        boolean hasDiskEncryptionKey()
         Decrypts data associated with the disk with a customer-supplied encryption key.
         
        optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
        Returns:
        Whether the diskEncryptionKey field is set.
      • getDiskEncryptionKey

        CustomerEncryptionKey getDiskEncryptionKey()
         Decrypts data associated with the disk with a customer-supplied encryption key.
         
        optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
        Returns:
        The diskEncryptionKey.
      • getDiskEncryptionKeyOrBuilder

        CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()
         Decrypts data associated with the disk with a customer-supplied encryption key.
         
        optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
      • hasSource

        boolean hasSource()
         Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: "source": "/compute/v1/projects/project_id/zones/zone/disks/ disk_name
         
        optional string source = 177235995;
        Returns:
        Whether the source field is set.
      • getSource

        String getSource()
         Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: "source": "/compute/v1/projects/project_id/zones/zone/disks/ disk_name
         
        optional string source = 177235995;
        Returns:
        The source.
      • getSourceBytes

        com.google.protobuf.ByteString getSourceBytes()
         Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: "source": "/compute/v1/projects/project_id/zones/zone/disks/ disk_name
         
        optional string source = 177235995;
        Returns:
        The bytes for source.