Uses of Class
com.google.cloud.compute.v1.Instance.Builder
-
Uses of Instance.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return Instance.BuilderModifier and TypeMethodDescriptionInstance.Builder.addAllDisks(Iterable<? extends AttachedDisk> values) Array of disks associated with this instance.Instance.Builder.addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network configurations for this instance.Instance.Builder.addAllResourcePolicies(Iterable<String> values) Resource policies applied to this instance.Instance.Builder.addAllServiceAccounts(Iterable<? extends ServiceAccount> values) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.addDisks(int index, AttachedDisk value) Array of disks associated with this instance.Instance.Builder.addDisks(int index, AttachedDisk.Builder builderForValue) Array of disks associated with this instance.Instance.Builder.addDisks(AttachedDisk value) Array of disks associated with this instance.Instance.Builder.addDisks(AttachedDisk.Builder builderForValue) Array of disks associated with this instance.Instance.Builder.addGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.addGuestAccelerators(AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.InstancesScopedList.Builder.addInstancesBuilder()[Output Only] A list of instances contained in this scope.InstancesScopedList.Builder.addInstancesBuilder(int index) [Output Only] A list of instances contained in this scope.InstanceList.Builder.addItemsBuilder()A list of Instance resources.InstanceList.Builder.addItemsBuilder(int index) A list of Instance resources.Instance.Builder.addNetworkInterfaces(int index, NetworkInterface value) An array of network configurations for this instance.Instance.Builder.addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network configurations for this instance.Instance.Builder.addNetworkInterfaces(NetworkInterface value) An array of network configurations for this instance.Instance.Builder.addNetworkInterfaces(NetworkInterface.Builder builderForValue) An array of network configurations for this instance.Instance.Builder.addResourcePolicies(String value) Resource policies applied to this instance.Instance.Builder.addResourcePoliciesBytes(com.google.protobuf.ByteString value) Resource policies applied to this instance.Instance.Builder.addServiceAccounts(int index, ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.addServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.addServiceAccounts(ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.addServiceAccounts(ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.clear()Instance.Builder.clearAdvancedMachineFeatures()Controls for advanced machine-related behavior features.Instance.Builder.clearCanIpForward()Allows this instance to send and receive packets with non-matching destination or source IPs.Instance.Builder.clearConfidentialInstanceConfig()optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Instance.Builder.clearCpuPlatform()Output only.Instance.Builder.clearCreationTimestamp()Output only.Instance.Builder.clearDeletionProtection()Whether the resource should be protected against deletion.Instance.Builder.clearDescription()An optional description of this resource.Instance.Builder.clearDisks()Array of disks associated with this instance.Instance.Builder.clearDisplayDevice()Enables display device for the instance.Instance.Builder.clearFingerprint()Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.Instance.Builder.clearGuestAccelerators()A list of the type and count of accelerator cards attached to the instance.Instance.Builder.clearHostname()Specifies the hostname of the instance.Instance.Builder.clearId()Output only.Instance.Builder.clearInstanceEncryptionKey()Encrypts suspended data for an instance with acustomer-managed encryption key.Instance.Builder.clearKeyRevocationActionType()KeyRevocationActionType of the instance.Instance.Builder.clearKind()Output only.Instance.Builder.clearLabelFingerprint()A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.Instance.Builder.clearLabels()Instance.Builder.clearLastStartTimestamp()Output only.Instance.Builder.clearLastStopTimestamp()Output only.Instance.Builder.clearLastSuspendedTimestamp()Output only.Instance.Builder.clearMachineType()Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.Instance.Builder.clearMetadata()The metadata key/value pairs assigned to this instance.Instance.Builder.clearMinCpuPlatform()Specifies aminimum CPU platform for the VM instance.Instance.Builder.clearName()The name of the resource, provided by the client when initially creating the resource.Instance.Builder.clearNetworkInterfaces()An array of network configurations for this instance.Instance.Builder.clearNetworkPerformanceConfig()optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Instance.Builder.clearParams()Input only.Instance.Builder.clearPrivateIpv6GoogleAccess()The private IPv6 google access type for the VM.Instance.Builder.clearReservationAffinity()Specifies the reservations that this instance can consume from.Instance.Builder.clearResourcePolicies()Resource policies applied to this instance.Instance.Builder.clearResourceStatus()Output only.Instance.Builder.clearSatisfiesPzi()Output only.Instance.Builder.clearSatisfiesPzs()Output only.Instance.Builder.clearScheduling()Sets the scheduling options for this instance.Instance.Builder.clearSelfLink()Output only.Instance.Builder.clearServiceAccounts()A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.clearShieldedInstanceConfig()optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;Instance.Builder.clearShieldedInstanceIntegrityPolicy()optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Instance.Builder.clearSourceMachineImage()Source machine imageInstance.Builder.clearSourceMachineImageEncryptionKey()Source machine image encryption key when creating an instance from a machine image.Instance.Builder.clearStartRestricted()Output only.Instance.Builder.clearStatus()Output only.Instance.Builder.clearStatusMessage()Output only.Instance.Builder.clearTags()Tags to apply to this instance.Instance.Builder.clearWorkloadIdentityConfig()optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Instance.Builder.clearZone()Output only.InsertInstanceRequest.Builder.getInstanceResourceBuilder()The body resource for this requestUpdateInstanceRequest.Builder.getInstanceResourceBuilder()The body resource for this requestInstancesScopedList.Builder.getInstancesBuilder(int index) [Output Only] A list of instances contained in this scope.InstanceList.Builder.getItemsBuilder(int index) A list of Instance resources.Instance.Builder.mergeAdvancedMachineFeatures(AdvancedMachineFeatures value) Controls for advanced machine-related behavior features.Instance.Builder.mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value) optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Instance.Builder.mergeDisplayDevice(DisplayDevice value) Enables display device for the instance.Instance.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Instance.Builder.mergeFrom(com.google.protobuf.Message other) Instance.Builder.mergeInstanceEncryptionKey(CustomerEncryptionKey value) Encrypts suspended data for an instance with acustomer-managed encryption key.Instance.Builder.mergeMetadata(Metadata value) The metadata key/value pairs assigned to this instance.Instance.Builder.mergeNetworkPerformanceConfig(NetworkPerformanceConfig value) optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Instance.Builder.mergeParams(InstanceParams value) Input only.Instance.Builder.mergeReservationAffinity(ReservationAffinity value) Specifies the reservations that this instance can consume from.Instance.Builder.mergeResourceStatus(ResourceStatus value) Output only.Instance.Builder.mergeScheduling(Scheduling value) Sets the scheduling options for this instance.Instance.Builder.mergeShieldedInstanceConfig(ShieldedInstanceConfig value) optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;Instance.Builder.mergeShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value) optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Instance.Builder.mergeSourceMachineImageEncryptionKey(CustomerEncryptionKey value) Source machine image encryption key when creating an instance from a machine image.Tags to apply to this instance.Instance.Builder.mergeWorkloadIdentityConfig(WorkloadIdentityConfig value) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;static Instance.BuilderInstance.newBuilder()static Instance.BuilderInstance.newBuilder(Instance prototype) Instance.newBuilderForType()protected Instance.BuilderInstance.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Instance.Builder.putAllLabels(Map<String, String> values) Labels to apply to this instance.Labels to apply to this instance.Instance.Builder.removeDisks(int index) Array of disks associated with this instance.Instance.Builder.removeGuestAccelerators(int index) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.removeLabels(String key) Labels to apply to this instance.Instance.Builder.removeNetworkInterfaces(int index) An array of network configurations for this instance.Instance.Builder.removeServiceAccounts(int index) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.setAdvancedMachineFeatures(AdvancedMachineFeatures value) Controls for advanced machine-related behavior features.Instance.Builder.setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue) Controls for advanced machine-related behavior features.Instance.Builder.setCanIpForward(boolean value) Allows this instance to send and receive packets with non-matching destination or source IPs.Instance.Builder.setConfidentialInstanceConfig(ConfidentialInstanceConfig value) optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Instance.Builder.setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Instance.Builder.setCpuPlatform(String value) Output only.Instance.Builder.setCpuPlatformBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setCreationTimestamp(String value) Output only.Instance.Builder.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setDeletionProtection(boolean value) Whether the resource should be protected against deletion.Instance.Builder.setDescription(String value) An optional description of this resource.Instance.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Instance.Builder.setDisks(int index, AttachedDisk value) Array of disks associated with this instance.Instance.Builder.setDisks(int index, AttachedDisk.Builder builderForValue) Array of disks associated with this instance.Instance.Builder.setDisplayDevice(DisplayDevice value) Enables display device for the instance.Instance.Builder.setDisplayDevice(DisplayDevice.Builder builderForValue) Enables display device for the instance.Instance.Builder.setFingerprint(String value) Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.Instance.Builder.setFingerprintBytes(com.google.protobuf.ByteString value) Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.Instance.Builder.setGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.Instance.Builder.setHostname(String value) Specifies the hostname of the instance.Instance.Builder.setHostnameBytes(com.google.protobuf.ByteString value) Specifies the hostname of the instance.Instance.Builder.setId(long value) Output only.Instance.Builder.setInstanceEncryptionKey(CustomerEncryptionKey value) Encrypts suspended data for an instance with acustomer-managed encryption key.Instance.Builder.setInstanceEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Encrypts suspended data for an instance with acustomer-managed encryption key.Instance.Builder.setKeyRevocationActionType(String value) KeyRevocationActionType of the instance.Instance.Builder.setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) KeyRevocationActionType of the instance.Output only.Instance.Builder.setKindBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setLabelFingerprint(String value) A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.Instance.Builder.setLabelFingerprintBytes(com.google.protobuf.ByteString value) A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.Instance.Builder.setLastStartTimestamp(String value) Output only.Instance.Builder.setLastStartTimestampBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setLastStopTimestamp(String value) Output only.Instance.Builder.setLastStopTimestampBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setLastSuspendedTimestamp(String value) Output only.Instance.Builder.setLastSuspendedTimestampBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setMachineType(String value) Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.Instance.Builder.setMachineTypeBytes(com.google.protobuf.ByteString value) Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.Instance.Builder.setMetadata(Metadata value) The metadata key/value pairs assigned to this instance.Instance.Builder.setMetadata(Metadata.Builder builderForValue) The metadata key/value pairs assigned to this instance.Instance.Builder.setMinCpuPlatform(String value) Specifies aminimum CPU platform for the VM instance.Instance.Builder.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Specifies aminimum CPU platform for the VM instance.The name of the resource, provided by the client when initially creating the resource.Instance.Builder.setNameBytes(com.google.protobuf.ByteString value) The name of the resource, provided by the client when initially creating the resource.Instance.Builder.setNetworkInterfaces(int index, NetworkInterface value) An array of network configurations for this instance.Instance.Builder.setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network configurations for this instance.Instance.Builder.setNetworkPerformanceConfig(NetworkPerformanceConfig value) optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Instance.Builder.setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Instance.Builder.setParams(InstanceParams value) Input only.Instance.Builder.setParams(InstanceParams.Builder builderForValue) Input only.Instance.Builder.setPrivateIpv6GoogleAccess(String value) The private IPv6 google access type for the VM.Instance.Builder.setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value) The private IPv6 google access type for the VM.Instance.Builder.setReservationAffinity(ReservationAffinity value) Specifies the reservations that this instance can consume from.Instance.Builder.setReservationAffinity(ReservationAffinity.Builder builderForValue) Specifies the reservations that this instance can consume from.Instance.Builder.setResourcePolicies(int index, String value) Resource policies applied to this instance.Instance.Builder.setResourceStatus(ResourceStatus value) Output only.Instance.Builder.setResourceStatus(ResourceStatus.Builder builderForValue) Output only.Instance.Builder.setSatisfiesPzi(boolean value) Output only.Instance.Builder.setSatisfiesPzs(boolean value) Output only.Instance.Builder.setScheduling(Scheduling value) Sets the scheduling options for this instance.Instance.Builder.setScheduling(Scheduling.Builder builderForValue) Sets the scheduling options for this instance.Instance.Builder.setSelfLink(String value) Output only.Instance.Builder.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setServiceAccounts(int index, ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.setServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.Instance.Builder.setShieldedInstanceConfig(ShieldedInstanceConfig value) optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;Instance.Builder.setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;Instance.Builder.setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value) optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Instance.Builder.setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy.Builder builderForValue) optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Instance.Builder.setSourceMachineImage(String value) Source machine imageInstance.Builder.setSourceMachineImageBytes(com.google.protobuf.ByteString value) Source machine imageInstance.Builder.setSourceMachineImageEncryptionKey(CustomerEncryptionKey value) Source machine image encryption key when creating an instance from a machine image.Instance.Builder.setSourceMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Source machine image encryption key when creating an instance from a machine image.Instance.Builder.setStartRestricted(boolean value) Output only.Output only.Instance.Builder.setStatusBytes(com.google.protobuf.ByteString value) Output only.Instance.Builder.setStatusMessage(String value) Output only.Instance.Builder.setStatusMessageBytes(com.google.protobuf.ByteString value) Output only.Tags to apply to this instance.Instance.Builder.setTags(Tags.Builder builderForValue) Tags to apply to this instance.Instance.Builder.setWorkloadIdentityConfig(WorkloadIdentityConfig value) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Instance.Builder.setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Output only.Instance.Builder.setZoneBytes(com.google.protobuf.ByteString value) Output only.Instance.toBuilder()Methods in com.google.cloud.compute.v1 that return types with arguments of type Instance.BuilderModifier and TypeMethodDescriptionInstancesScopedList.Builder.getInstancesBuilderList()[Output Only] A list of instances contained in this scope.InstanceList.Builder.getItemsBuilderList()A list of Instance resources.Methods in com.google.cloud.compute.v1 with parameters of type Instance.BuilderModifier and TypeMethodDescriptionInstancesScopedList.Builder.addInstances(int index, Instance.Builder builderForValue) [Output Only] A list of instances contained in this scope.InstancesScopedList.Builder.addInstances(Instance.Builder builderForValue) [Output Only] A list of instances contained in this scope.InstanceList.Builder.addItems(int index, Instance.Builder builderForValue) A list of Instance resources.InstanceList.Builder.addItems(Instance.Builder builderForValue) A list of Instance resources.InsertInstanceRequest.Builder.setInstanceResource(Instance.Builder builderForValue) The body resource for this requestUpdateInstanceRequest.Builder.setInstanceResource(Instance.Builder builderForValue) The body resource for this requestInstancesScopedList.Builder.setInstances(int index, Instance.Builder builderForValue) [Output Only] A list of instances contained in this scope.InstanceList.Builder.setItems(int index, Instance.Builder builderForValue) A list of Instance resources.