Uses of Class
com.google.cloud.compute.v1.Disk.Builder
-
Uses of Disk.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return Disk.BuilderModifier and TypeMethodDescriptionDisk.Builder.addAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values) A list of features to enable on the guest operating system.Disk.Builder.addAllLicenseCodes(Iterable<? extends Long> values) Integer license codes indicating which licenses are attached to this disk.Disk.Builder.addAllLicenses(Iterable<String> values) A list of publicly visible licenses.Disk.Builder.addAllReplicaZones(Iterable<String> values) URLs of the zones where the disk should be replicated to.Disk.Builder.addAllResourcePolicies(Iterable<String> values) Resource policies applied to this disk for automatic snapshot creations.Disk.Builder.addAllUsers(Iterable<String> values) Output only.DisksScopedList.Builder.addDisksBuilder()[Output Only] A list of disks contained in this scope.DisksScopedList.Builder.addDisksBuilder(int index) [Output Only] A list of disks contained in this scope.Disk.Builder.addGuestOsFeatures(int index, GuestOsFeature value) A list of features to enable on the guest operating system.Disk.Builder.addGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.Disk.Builder.addGuestOsFeatures(GuestOsFeature value) A list of features to enable on the guest operating system.Disk.Builder.addGuestOsFeatures(GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.DiskList.Builder.addItemsBuilder()A list of Disk resources.DiskList.Builder.addItemsBuilder(int index) A list of Disk resources.Disk.Builder.addLicenseCodes(long value) Integer license codes indicating which licenses are attached to this disk.Disk.Builder.addLicenses(String value) A list of publicly visible licenses.Disk.Builder.addLicensesBytes(com.google.protobuf.ByteString value) A list of publicly visible licenses.Disk.Builder.addReplicaZones(String value) URLs of the zones where the disk should be replicated to.Disk.Builder.addReplicaZonesBytes(com.google.protobuf.ByteString value) URLs of the zones where the disk should be replicated to.Disk.Builder.addResourcePolicies(String value) Resource policies applied to this disk for automatic snapshot creations.Disk.Builder.addResourcePoliciesBytes(com.google.protobuf.ByteString value) Resource policies applied to this disk for automatic snapshot creations.Output only.Disk.Builder.addUsersBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.clear()Disk.Builder.clearAccessMode()The access mode of the diskDisk.Builder.clearArchitecture()The architecture of the disk.Disk.Builder.clearAsyncPrimaryDisk()Disk asynchronously replicated into this disk.Disk.Builder.clearAsyncSecondaryDisks()Disk.Builder.clearCreationTimestamp()Output only.Disk.Builder.clearDescription()An optional description of this resource.Disk.Builder.clearDiskEncryptionKey()Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.Disk.Builder.clearEnableConfidentialCompute()Whether this disk is using confidential compute mode.Disk.Builder.clearGuestOsFeatures()A list of features to enable on the guest operating system.Disk.Builder.clearId()Output only.Disk.Builder.clearKind()Output only.Disk.Builder.clearLabelFingerprint()A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking.Disk.Builder.clearLabels()Disk.Builder.clearLastAttachTimestamp()Output only.Disk.Builder.clearLastDetachTimestamp()Output only.Disk.Builder.clearLicenseCodes()Integer license codes indicating which licenses are attached to this disk.Disk.Builder.clearLicenses()A list of publicly visible licenses.Disk.Builder.clearLocationHint()An opaque location hint used to place the disk close to other resources.Disk.Builder.clearName()Name of the resource.Disk.Builder.clearOptions()Internal use only.Disk.Builder.clearParams()Input only.Disk.Builder.clearPhysicalBlockSizeBytes()Physical block size of the persistent disk, in bytes.Disk.Builder.clearProvisionedIops()Indicates how many IOPS to provision for the disk.Disk.Builder.clearProvisionedThroughput()Indicates how much throughput to provision for the disk.Disk.Builder.clearRegion()Output only.Disk.Builder.clearReplicaZones()URLs of the zones where the disk should be replicated to.Disk.Builder.clearResourcePolicies()Resource policies applied to this disk for automatic snapshot creations.Disk.Builder.clearResourceStatus()Output only.Disk.Builder.clearSatisfiesPzi()Output only.Disk.Builder.clearSatisfiesPzs()Output only.Disk.Builder.clearSelfLink()Output only.Disk.Builder.clearSizeGb()Size, in GB, of the persistent disk.Disk.Builder.clearSourceConsistencyGroupPolicy()Output only.Disk.Builder.clearSourceConsistencyGroupPolicyId()Output only.Disk.Builder.clearSourceDisk()The source disk used to create this disk.Disk.Builder.clearSourceDiskId()Output only.Disk.Builder.clearSourceImage()The source image used to create this disk.Disk.Builder.clearSourceImageEncryptionKey()Thecustomer-supplied encryption key of the source image.Disk.Builder.clearSourceImageId()Output only.Disk.Builder.clearSourceInstantSnapshot()The source instant snapshot used to create this disk.Disk.Builder.clearSourceInstantSnapshotId()Output only.Disk.Builder.clearSourceSnapshot()The source snapshot used to create this disk.Disk.Builder.clearSourceSnapshotEncryptionKey()Thecustomer-supplied encryption key of the source snapshot.Disk.Builder.clearSourceSnapshotId()Output only.Disk.Builder.clearSourceStorageObject()The full Google Cloud Storage URI where the disk image is stored.Disk.Builder.clearStatus()Output only.Disk.Builder.clearStoragePool()The storage pool in which the new disk is created.Disk.Builder.clearType()URL of the disk type resource describing which disk type to use to create the disk.Disk.Builder.clearUsers()Output only.Disk.Builder.clearZone()Output only.InsertDiskRequest.Builder.getDiskResourceBuilder()The body resource for this requestInsertRegionDiskRequest.Builder.getDiskResourceBuilder()The body resource for this requestUpdateDiskRequest.Builder.getDiskResourceBuilder()The body resource for this requestUpdateRegionDiskRequest.Builder.getDiskResourceBuilder()The body resource for this requestDisksScopedList.Builder.getDisksBuilder(int index) [Output Only] A list of disks contained in this scope.DiskList.Builder.getItemsBuilder(int index) A list of Disk resources.Disk.Builder.mergeAsyncPrimaryDisk(DiskAsyncReplication value) Disk asynchronously replicated into this disk.Disk.Builder.mergeDiskEncryptionKey(CustomerEncryptionKey value) Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.Disk.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Disk.Builder.mergeFrom(com.google.protobuf.Message other) Disk.Builder.mergeParams(DiskParams value) Input only.Disk.Builder.mergeResourceStatus(DiskResourceStatus value) Output only.Disk.Builder.mergeSourceImageEncryptionKey(CustomerEncryptionKey value) Thecustomer-supplied encryption key of the source image.Disk.Builder.mergeSourceSnapshotEncryptionKey(CustomerEncryptionKey value) Thecustomer-supplied encryption key of the source snapshot.static Disk.BuilderDisk.newBuilder()static Disk.BuilderDisk.newBuilder(Disk prototype) Disk.newBuilderForType()protected Disk.BuilderDisk.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Disk.Builder.putAllAsyncSecondaryDisks(Map<String, DiskAsyncReplicationList> values) Output only.Disk.Builder.putAllLabels(Map<String, String> values) Labels to apply to this disk.Disk.Builder.putAsyncSecondaryDisks(String key, DiskAsyncReplicationList value) Output only.Labels to apply to this disk.Disk.Builder.removeAsyncSecondaryDisks(String key) Output only.Disk.Builder.removeGuestOsFeatures(int index) A list of features to enable on the guest operating system.Disk.Builder.removeLabels(String key) Labels to apply to this disk.Disk.Builder.setAccessMode(String value) The access mode of the diskDisk.Builder.setAccessModeBytes(com.google.protobuf.ByteString value) The access mode of the diskDisk.Builder.setArchitecture(String value) The architecture of the disk.Disk.Builder.setArchitectureBytes(com.google.protobuf.ByteString value) The architecture of the disk.Disk.Builder.setAsyncPrimaryDisk(DiskAsyncReplication value) Disk asynchronously replicated into this disk.Disk.Builder.setAsyncPrimaryDisk(DiskAsyncReplication.Builder builderForValue) Disk asynchronously replicated into this disk.Disk.Builder.setCreationTimestamp(String value) Output only.Disk.Builder.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setDescription(String value) An optional description of this resource.Disk.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Disk.Builder.setDiskEncryptionKey(CustomerEncryptionKey value) Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.Disk.Builder.setDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key.Disk.Builder.setEnableConfidentialCompute(boolean value) Whether this disk is using confidential compute mode.Disk.Builder.setGuestOsFeatures(int index, GuestOsFeature value) A list of features to enable on the guest operating system.Disk.Builder.setGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) A list of features to enable on the guest operating system.Disk.Builder.setId(long value) Output only.Output only.Disk.Builder.setKindBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setLabelFingerprint(String value) A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking.Disk.Builder.setLabelFingerprintBytes(com.google.protobuf.ByteString value) A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking.Disk.Builder.setLastAttachTimestamp(String value) Output only.Disk.Builder.setLastAttachTimestampBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setLastDetachTimestamp(String value) Output only.Disk.Builder.setLastDetachTimestampBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setLicenseCodes(int index, long value) Integer license codes indicating which licenses are attached to this disk.Disk.Builder.setLicenses(int index, String value) A list of publicly visible licenses.Disk.Builder.setLocationHint(String value) An opaque location hint used to place the disk close to other resources.Disk.Builder.setLocationHintBytes(com.google.protobuf.ByteString value) An opaque location hint used to place the disk close to other resources.Name of the resource.Disk.Builder.setNameBytes(com.google.protobuf.ByteString value) Name of the resource.Disk.Builder.setOptions(String value) Internal use only.Disk.Builder.setOptionsBytes(com.google.protobuf.ByteString value) Internal use only.Disk.Builder.setParams(DiskParams value) Input only.Disk.Builder.setParams(DiskParams.Builder builderForValue) Input only.Disk.Builder.setPhysicalBlockSizeBytes(long value) Physical block size of the persistent disk, in bytes.Disk.Builder.setProvisionedIops(long value) Indicates how many IOPS to provision for the disk.Disk.Builder.setProvisionedThroughput(long value) Indicates how much throughput to provision for the disk.Output only.Disk.Builder.setRegionBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setReplicaZones(int index, String value) URLs of the zones where the disk should be replicated to.Disk.Builder.setResourcePolicies(int index, String value) Resource policies applied to this disk for automatic snapshot creations.Disk.Builder.setResourceStatus(DiskResourceStatus value) Output only.Disk.Builder.setResourceStatus(DiskResourceStatus.Builder builderForValue) Output only.Disk.Builder.setSatisfiesPzi(boolean value) Output only.Disk.Builder.setSatisfiesPzs(boolean value) Output only.Disk.Builder.setSelfLink(String value) Output only.Disk.Builder.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSizeGb(long value) Size, in GB, of the persistent disk.Disk.Builder.setSourceConsistencyGroupPolicy(String value) Output only.Disk.Builder.setSourceConsistencyGroupPolicyBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceConsistencyGroupPolicyId(String value) Output only.Disk.Builder.setSourceConsistencyGroupPolicyIdBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceDisk(String value) The source disk used to create this disk.Disk.Builder.setSourceDiskBytes(com.google.protobuf.ByteString value) The source disk used to create this disk.Disk.Builder.setSourceDiskId(String value) Output only.Disk.Builder.setSourceDiskIdBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceImage(String value) The source image used to create this disk.Disk.Builder.setSourceImageBytes(com.google.protobuf.ByteString value) The source image used to create this disk.Disk.Builder.setSourceImageEncryptionKey(CustomerEncryptionKey value) Thecustomer-supplied encryption key of the source image.Disk.Builder.setSourceImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Thecustomer-supplied encryption key of the source image.Disk.Builder.setSourceImageId(String value) Output only.Disk.Builder.setSourceImageIdBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceInstantSnapshot(String value) The source instant snapshot used to create this disk.Disk.Builder.setSourceInstantSnapshotBytes(com.google.protobuf.ByteString value) The source instant snapshot used to create this disk.Disk.Builder.setSourceInstantSnapshotId(String value) Output only.Disk.Builder.setSourceInstantSnapshotIdBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceSnapshot(String value) The source snapshot used to create this disk.Disk.Builder.setSourceSnapshotBytes(com.google.protobuf.ByteString value) The source snapshot used to create this disk.Disk.Builder.setSourceSnapshotEncryptionKey(CustomerEncryptionKey value) Thecustomer-supplied encryption key of the source snapshot.Disk.Builder.setSourceSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Thecustomer-supplied encryption key of the source snapshot.Disk.Builder.setSourceSnapshotId(String value) Output only.Disk.Builder.setSourceSnapshotIdBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setSourceStorageObject(String value) The full Google Cloud Storage URI where the disk image is stored.Disk.Builder.setSourceStorageObjectBytes(com.google.protobuf.ByteString value) The full Google Cloud Storage URI where the disk image is stored.Output only.Disk.Builder.setStatusBytes(com.google.protobuf.ByteString value) Output only.Disk.Builder.setStoragePool(String value) The storage pool in which the new disk is created.Disk.Builder.setStoragePoolBytes(com.google.protobuf.ByteString value) The storage pool in which the new disk is created.URL of the disk type resource describing which disk type to use to create the disk.Disk.Builder.setTypeBytes(com.google.protobuf.ByteString value) URL of the disk type resource describing which disk type to use to create the disk.Output only.Output only.Disk.Builder.setZoneBytes(com.google.protobuf.ByteString value) Output only.Disk.toBuilder()Methods in com.google.cloud.compute.v1 that return types with arguments of type Disk.BuilderModifier and TypeMethodDescriptionDisksScopedList.Builder.getDisksBuilderList()[Output Only] A list of disks contained in this scope.DiskList.Builder.getItemsBuilderList()A list of Disk resources.Methods in com.google.cloud.compute.v1 with parameters of type Disk.BuilderModifier and TypeMethodDescriptionDisksScopedList.Builder.addDisks(int index, Disk.Builder builderForValue) [Output Only] A list of disks contained in this scope.DisksScopedList.Builder.addDisks(Disk.Builder builderForValue) [Output Only] A list of disks contained in this scope.DiskList.Builder.addItems(int index, Disk.Builder builderForValue) A list of Disk resources.DiskList.Builder.addItems(Disk.Builder builderForValue) A list of Disk resources.InsertDiskRequest.Builder.setDiskResource(Disk.Builder builderForValue) The body resource for this requestInsertRegionDiskRequest.Builder.setDiskResource(Disk.Builder builderForValue) The body resource for this requestUpdateDiskRequest.Builder.setDiskResource(Disk.Builder builderForValue) The body resource for this requestUpdateRegionDiskRequest.Builder.setDiskResource(Disk.Builder builderForValue) The body resource for this requestDisksScopedList.Builder.setDisks(int index, Disk.Builder builderForValue) [Output Only] A list of disks contained in this scope.DiskList.Builder.setItems(int index, Disk.Builder builderForValue) A list of Disk resources.