Class ComputeInstanceRestoreProperties.Builder (0.19.0)

publicstaticfinalclass ComputeInstanceRestoreProperties.BuilderextendsGeneratedMessageV3.Builder<ComputeInstanceRestoreProperties.Builder>implementsComputeInstanceRestorePropertiesOrBuilder

ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.

Protobuf type google.cloud.backupdr.v1.ComputeInstanceRestoreProperties

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDisks(Iterable<? extends AttachedDisk> values)

publicComputeInstanceRestoreProperties.BuilderaddAllDisks(Iterable<?extendsAttachedDisk>values)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.AttachedDisk>
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)

publicComputeInstanceRestoreProperties.BuilderaddAllGuestAccelerators(Iterable<?extendsAcceleratorConfig>values)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.AcceleratorConfig>
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)

publicComputeInstanceRestoreProperties.BuilderaddAllNetworkInterfaces(Iterable<?extendsNetworkInterface>values)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.NetworkInterface>
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addAllResourcePolicies(Iterable<String> values)

publicComputeInstanceRestoreProperties.BuilderaddAllResourcePolicies(Iterable<String>values)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The resourcePolicies to add.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

addAllServiceAccounts(Iterable<? extends ServiceAccount> values)

publicComputeInstanceRestoreProperties.BuilderaddAllServiceAccounts(Iterable<?extendsServiceAccount>values)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.ServiceAccount>
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addDisks(AttachedDisk value)

publicComputeInstanceRestoreProperties.BuilderaddDisks(AttachedDiskvalue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedDisk
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addDisks(AttachedDisk.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddDisks(AttachedDisk.BuilderbuilderForValue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedDisk.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addDisks(int index, AttachedDisk value)

publicComputeInstanceRestoreProperties.BuilderaddDisks(intindex,AttachedDiskvalue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedDisk
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addDisks(int index, AttachedDisk.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddDisks(intindex,AttachedDisk.BuilderbuilderForValue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedDisk.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addDisksBuilder()

publicAttachedDisk.BuilderaddDisksBuilder()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedDisk.Builder

addDisksBuilder(int index)

publicAttachedDisk.BuilderaddDisksBuilder(intindex)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedDisk.Builder

addGuestAccelerators(AcceleratorConfig value)

publicComputeInstanceRestoreProperties.BuilderaddGuestAccelerators(AcceleratorConfigvalue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AcceleratorConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addGuestAccelerators(AcceleratorConfig.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddGuestAccelerators(AcceleratorConfig.BuilderbuilderForValue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AcceleratorConfig.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addGuestAccelerators(int index, AcceleratorConfig value)

publicComputeInstanceRestoreProperties.BuilderaddGuestAccelerators(intindex,AcceleratorConfigvalue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AcceleratorConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddGuestAccelerators(intindex,AcceleratorConfig.BuilderbuilderForValue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addGuestAcceleratorsBuilder()

publicAcceleratorConfig.BuilderaddGuestAcceleratorsBuilder()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AcceleratorConfig.Builder

addGuestAcceleratorsBuilder(int index)

publicAcceleratorConfig.BuilderaddGuestAcceleratorsBuilder(intindex)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig.Builder

addNetworkInterfaces(NetworkInterface value)

publicComputeInstanceRestoreProperties.BuilderaddNetworkInterfaces(NetworkInterfacevalue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NetworkInterface
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addNetworkInterfaces(NetworkInterface.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddNetworkInterfaces(NetworkInterface.BuilderbuilderForValue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NetworkInterface.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addNetworkInterfaces(int index, NetworkInterface value)

publicComputeInstanceRestoreProperties.BuilderaddNetworkInterfaces(intindex,NetworkInterfacevalue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NetworkInterface
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddNetworkInterfaces(intindex,NetworkInterface.BuilderbuilderForValue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NetworkInterface.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addNetworkInterfacesBuilder()

publicNetworkInterface.BuilderaddNetworkInterfacesBuilder()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkInterface.Builder

addNetworkInterfacesBuilder(int index)

publicNetworkInterface.BuilderaddNetworkInterfacesBuilder(intindex)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NetworkInterface.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicComputeInstanceRestoreProperties.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

addResourcePolicies(String value)

publicComputeInstanceRestoreProperties.BuilderaddResourcePolicies(Stringvalue)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The resourcePolicies to add.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

addResourcePoliciesBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuilderaddResourcePoliciesBytes(ByteStringvalue)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the resourcePolicies to add.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

addServiceAccounts(ServiceAccount value)

publicComputeInstanceRestoreProperties.BuilderaddServiceAccounts(ServiceAccountvalue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ServiceAccount
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addServiceAccounts(ServiceAccount.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddServiceAccounts(ServiceAccount.BuilderbuilderForValue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ServiceAccount.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addServiceAccounts(int index, ServiceAccount value)

publicComputeInstanceRestoreProperties.BuilderaddServiceAccounts(intindex,ServiceAccountvalue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ServiceAccount
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addServiceAccounts(int index, ServiceAccount.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuilderaddServiceAccounts(intindex,ServiceAccount.BuilderbuilderForValue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ServiceAccount.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

addServiceAccountsBuilder()

publicServiceAccount.BuilderaddServiceAccountsBuilder()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ServiceAccount.Builder

addServiceAccountsBuilder(int index)

publicServiceAccount.BuilderaddServiceAccountsBuilder(intindex)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ServiceAccount.Builder

build()

publicComputeInstanceRestorePropertiesbuild()
Returns
Type Description
ComputeInstanceRestoreProperties

buildPartial()

publicComputeInstanceRestorePropertiesbuildPartial()
Returns
Type Description
ComputeInstanceRestoreProperties

clear()

publicComputeInstanceRestoreProperties.Builderclear()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

clearAdvancedMachineFeatures()

publicComputeInstanceRestoreProperties.BuilderclearAdvancedMachineFeatures()

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearAllocationAffinity()

publicComputeInstanceRestoreProperties.BuilderclearAllocationAffinity()

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearCanIpForward()

publicComputeInstanceRestoreProperties.BuilderclearCanIpForward()

Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearConfidentialInstanceConfig()

publicComputeInstanceRestoreProperties.BuilderclearConfidentialInstanceConfig()

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearDeletionProtection()

publicComputeInstanceRestoreProperties.BuilderclearDeletionProtection()

Optional. Whether the resource should be protected against deletion.

optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearDescription()

publicComputeInstanceRestoreProperties.BuilderclearDescription()

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearDisks()

publicComputeInstanceRestoreProperties.BuilderclearDisks()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearDisplayDevice()

publicComputeInstanceRestoreProperties.BuilderclearDisplayDevice()

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearField(Descriptors.FieldDescriptor field)

publicComputeInstanceRestoreProperties.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

clearGuestAccelerators()

publicComputeInstanceRestoreProperties.BuilderclearGuestAccelerators()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearHostname()

publicComputeInstanceRestoreProperties.BuilderclearHostname()

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearInstanceEncryptionKey()

publicComputeInstanceRestoreProperties.BuilderclearInstanceEncryptionKey()

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearKeyRevocationActionType()

publicComputeInstanceRestoreProperties.BuilderclearKeyRevocationActionType()

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearLabels()

publicComputeInstanceRestoreProperties.BuilderclearLabels()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearMachineType()

publicComputeInstanceRestoreProperties.BuilderclearMachineType()

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearMetadata()

publicComputeInstanceRestoreProperties.BuilderclearMetadata()

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearMinCpuPlatform()

publicComputeInstanceRestoreProperties.BuilderclearMinCpuPlatform()

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearName()

publicComputeInstanceRestoreProperties.BuilderclearName()

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearNetworkInterfaces()

publicComputeInstanceRestoreProperties.BuilderclearNetworkInterfaces()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearNetworkPerformanceConfig()

publicComputeInstanceRestoreProperties.BuilderclearNetworkPerformanceConfig()

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicComputeInstanceRestoreProperties.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

clearParams()

publicComputeInstanceRestoreProperties.BuilderclearParams()

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearPrivateIpv6GoogleAccess()

publicComputeInstanceRestoreProperties.BuilderclearPrivateIpv6GoogleAccess()

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearResourcePolicies()

publicComputeInstanceRestoreProperties.BuilderclearResourcePolicies()

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

clearScheduling()

publicComputeInstanceRestoreProperties.BuilderclearScheduling()

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearServiceAccounts()

publicComputeInstanceRestoreProperties.BuilderclearServiceAccounts()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clearTags()

publicComputeInstanceRestoreProperties.BuilderclearTags()

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

clone()

publicComputeInstanceRestoreProperties.Builderclone()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdvancedMachineFeatures()

publicAdvancedMachineFeaturesgetAdvancedMachineFeatures()

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdvancedMachineFeatures

The advancedMachineFeatures.

getAdvancedMachineFeaturesBuilder()

publicAdvancedMachineFeatures.BuildergetAdvancedMachineFeaturesBuilder()

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdvancedMachineFeatures.Builder

getAdvancedMachineFeaturesOrBuilder()

publicAdvancedMachineFeaturesOrBuildergetAdvancedMachineFeaturesOrBuilder()

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdvancedMachineFeaturesOrBuilder

getAllocationAffinity()

publicAllocationAffinitygetAllocationAffinity()

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllocationAffinity

The allocationAffinity.

getAllocationAffinityBuilder()

publicAllocationAffinity.BuildergetAllocationAffinityBuilder()

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllocationAffinity.Builder

getAllocationAffinityOrBuilder()

publicAllocationAffinityOrBuildergetAllocationAffinityOrBuilder()

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AllocationAffinityOrBuilder

getCanIpForward()

publicbooleangetCanIpForward()

Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The canIpForward.

getConfidentialInstanceConfig()

publicConfidentialInstanceConfiggetConfidentialInstanceConfig()

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfidentialInstanceConfig

The confidentialInstanceConfig.

getConfidentialInstanceConfigBuilder()

publicConfidentialInstanceConfig.BuildergetConfidentialInstanceConfigBuilder()

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfidentialInstanceConfig.Builder

getConfidentialInstanceConfigOrBuilder()

publicConfidentialInstanceConfigOrBuildergetConfidentialInstanceConfigOrBuilder()

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfidentialInstanceConfigOrBuilder

getDefaultInstanceForType()

publicComputeInstanceRestorePropertiesgetDefaultInstanceForType()
Returns
Type Description
ComputeInstanceRestoreProperties

getDeletionProtection()

publicbooleangetDeletionProtection()

Optional. Whether the resource should be protected against deletion.

optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The deletionProtection.

getDescription()

publicStringgetDescription()

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisks(int index)

publicAttachedDiskgetDisks(intindex)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedDisk

getDisksBuilder(int index)

publicAttachedDisk.BuildergetDisksBuilder(intindex)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedDisk.Builder

getDisksBuilderList()

publicList<AttachedDisk.Builder>getDisksBuilderList()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDisksCount()

publicintgetDisksCount()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDisksList()

publicList<AttachedDisk>getDisksList()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AttachedDisk>

getDisksOrBuilder(int index)

publicAttachedDiskOrBuildergetDisksOrBuilder(intindex)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedDiskOrBuilder

getDisksOrBuilderList()

publicList<?extendsAttachedDiskOrBuilder>getDisksOrBuilderList()

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder>

getDisplayDevice()

publicDisplayDevicegetDisplayDevice()

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DisplayDevice

The displayDevice.

getDisplayDeviceBuilder()

publicDisplayDevice.BuildergetDisplayDeviceBuilder()

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DisplayDevice.Builder

getDisplayDeviceOrBuilder()

publicDisplayDeviceOrBuildergetDisplayDeviceOrBuilder()

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DisplayDeviceOrBuilder

getGuestAccelerators(int index)

publicAcceleratorConfiggetGuestAccelerators(intindex)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig

getGuestAcceleratorsBuilder(int index)

publicAcceleratorConfig.BuildergetGuestAcceleratorsBuilder(intindex)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfig.Builder

getGuestAcceleratorsBuilderList()

publicList<AcceleratorConfig.Builder>getGuestAcceleratorsBuilderList()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getGuestAcceleratorsCount()

publicintgetGuestAcceleratorsCount()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGuestAcceleratorsList()

publicList<AcceleratorConfig>getGuestAcceleratorsList()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AcceleratorConfig>

getGuestAcceleratorsOrBuilder(int index)

publicAcceleratorConfigOrBuildergetGuestAcceleratorsOrBuilder(intindex)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getGuestAcceleratorsOrBuilderList()

publicList<?extendsAcceleratorConfigOrBuilder>getGuestAcceleratorsOrBuilderList()

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder>

getHostname()

publicStringgetHostname()

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The hostname.

getHostnameBytes()

publicByteStringgetHostnameBytes()

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for hostname.

getInstanceEncryptionKey()

publicCustomerEncryptionKeygetInstanceEncryptionKey()

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKey

The instanceEncryptionKey.

getInstanceEncryptionKeyBuilder()

publicCustomerEncryptionKey.BuildergetInstanceEncryptionKeyBuilder()

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKey.Builder

getInstanceEncryptionKeyOrBuilder()

publicCustomerEncryptionKeyOrBuildergetInstanceEncryptionKeyOrBuilder()

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerEncryptionKeyOrBuilder

getKeyRevocationActionType()

publicKeyRevocationActionTypegetKeyRevocationActionType()

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KeyRevocationActionType

The keyRevocationActionType.

getKeyRevocationActionTypeValue()

publicintgetKeyRevocationActionTypeValue()

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for keyRevocationActionType.

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMachineType()

publicStringgetMachineType()

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

publicByteStringgetMachineTypeBytes()

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for machineType.

getMetadata()

publicMetadatagetMetadata()

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Metadata

The metadata.

getMetadataBuilder()

publicMetadata.BuildergetMetadataBuilder()

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Metadata.Builder

getMetadataOrBuilder()

publicMetadataOrBuildergetMetadataOrBuilder()

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MetadataOrBuilder

getMinCpuPlatform()

publicStringgetMinCpuPlatform()

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The minCpuPlatform.

getMinCpuPlatformBytes()

publicByteStringgetMinCpuPlatformBytes()

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for minCpuPlatform.

getMutableLabels() (deprecated)

publicMap<String,String>getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

publicStringgetName()

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getNetworkInterfaces(int index)

publicNetworkInterfacegetNetworkInterfaces(intindex)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NetworkInterface

getNetworkInterfacesBuilder(int index)

publicNetworkInterface.BuildergetNetworkInterfacesBuilder(intindex)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NetworkInterface.Builder

getNetworkInterfacesBuilderList()

publicList<NetworkInterface.Builder>getNetworkInterfacesBuilderList()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getNetworkInterfacesCount()

publicintgetNetworkInterfacesCount()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNetworkInterfacesList()

publicList<NetworkInterface>getNetworkInterfacesList()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

publicNetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(intindex)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

publicList<?extendsNetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder>

getNetworkPerformanceConfig()

publicNetworkPerformanceConfiggetNetworkPerformanceConfig()

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkPerformanceConfig

The networkPerformanceConfig.

getNetworkPerformanceConfigBuilder()

publicNetworkPerformanceConfig.BuildergetNetworkPerformanceConfigBuilder()

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkPerformanceConfig.Builder

getNetworkPerformanceConfigOrBuilder()

publicNetworkPerformanceConfigOrBuildergetNetworkPerformanceConfigOrBuilder()

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkPerformanceConfigOrBuilder

getParams()

publicInstanceParamsgetParams()

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
InstanceParams

The params.

getParamsBuilder()

publicInstanceParams.BuildergetParamsBuilder()

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
InstanceParams.Builder

getParamsOrBuilder()

publicInstanceParamsOrBuildergetParamsOrBuilder()

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
InstanceParamsOrBuilder

getPrivateIpv6GoogleAccess()

publicComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccessgetPrivateIpv6GoogleAccess()

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess

The privateIpv6GoogleAccess.

getPrivateIpv6GoogleAccessValue()

publicintgetPrivateIpv6GoogleAccessValue()

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for privateIpv6GoogleAccess.

getResourcePolicies(int index)

publicStringgetResourcePolicies(intindex)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resourcePolicies at the given index.

getResourcePoliciesBytes(int index)

publicByteStringgetResourcePoliciesBytes(intindex)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the resourcePolicies at the given index.

getResourcePoliciesCount()

publicintgetResourcePoliciesCount()

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of resourcePolicies.

getResourcePoliciesList()

publicProtocolStringListgetResourcePoliciesList()

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the resourcePolicies.

getScheduling()

publicSchedulinggetScheduling()

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Scheduling

The scheduling.

getSchedulingBuilder()

publicScheduling.BuildergetSchedulingBuilder()

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Scheduling.Builder

getSchedulingOrBuilder()

publicSchedulingOrBuildergetSchedulingOrBuilder()

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchedulingOrBuilder

getServiceAccounts(int index)

publicServiceAccountgetServiceAccounts(intindex)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ServiceAccount

getServiceAccountsBuilder(int index)

publicServiceAccount.BuildergetServiceAccountsBuilder(intindex)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ServiceAccount.Builder

getServiceAccountsBuilderList()

publicList<ServiceAccount.Builder>getServiceAccountsBuilderList()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getServiceAccountsCount()

publicintgetServiceAccountsCount()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getServiceAccountsList()

publicList<ServiceAccount>getServiceAccountsList()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ServiceAccount>

getServiceAccountsOrBuilder(int index)

publicServiceAccountOrBuildergetServiceAccountsOrBuilder(intindex)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ServiceAccountOrBuilder

getServiceAccountsOrBuilderList()

publicList<?extendsServiceAccountOrBuilder>getServiceAccountsOrBuilderList()

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder>

getTags()

publicTagsgetTags()

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tags

The tags.

getTagsBuilder()

publicTags.BuildergetTagsBuilder()

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tags.Builder

getTagsOrBuilder()

publicTagsOrBuildergetTagsOrBuilder()

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TagsOrBuilder

hasAdvancedMachineFeatures()

publicbooleanhasAdvancedMachineFeatures()

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the advancedMachineFeatures field is set.

hasAllocationAffinity()

publicbooleanhasAllocationAffinity()

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allocationAffinity field is set.

hasCanIpForward()

publicbooleanhasCanIpForward()

Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the canIpForward field is set.

hasConfidentialInstanceConfig()

publicbooleanhasConfidentialInstanceConfig()

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the confidentialInstanceConfig field is set.

hasDeletionProtection()

publicbooleanhasDeletionProtection()

Optional. Whether the resource should be protected against deletion.

optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the deletionProtection field is set.

hasDescription()

publicbooleanhasDescription()

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the description field is set.

hasDisplayDevice()

publicbooleanhasDisplayDevice()

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the displayDevice field is set.

hasHostname()

publicbooleanhasHostname()

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the hostname field is set.

hasInstanceEncryptionKey()

publicbooleanhasInstanceEncryptionKey()

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the instanceEncryptionKey field is set.

hasKeyRevocationActionType()

publicbooleanhasKeyRevocationActionType()

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the keyRevocationActionType field is set.

hasMachineType()

publicbooleanhasMachineType()

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the machineType field is set.

hasMetadata()

publicbooleanhasMetadata()

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metadata field is set.

hasMinCpuPlatform()

publicbooleanhasMinCpuPlatform()

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minCpuPlatform field is set.

hasName()

publicbooleanhasName()

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the name field is set.

hasNetworkPerformanceConfig()

publicbooleanhasNetworkPerformanceConfig()

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the networkPerformanceConfig field is set.

hasParams()

publicbooleanhasParams()

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the params field is set.

hasPrivateIpv6GoogleAccess()

publicbooleanhasPrivateIpv6GoogleAccess()

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the privateIpv6GoogleAccess field is set.

hasScheduling()

publicbooleanhasScheduling()

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scheduling field is set.

hasTags()

publicbooleanhasTags()

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the tags field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)

publicComputeInstanceRestoreProperties.BuildermergeAdvancedMachineFeatures(AdvancedMachineFeaturesvalue)

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdvancedMachineFeatures
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeAllocationAffinity(AllocationAffinity value)

publicComputeInstanceRestoreProperties.BuildermergeAllocationAffinity(AllocationAffinityvalue)

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AllocationAffinity
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)

publicComputeInstanceRestoreProperties.BuildermergeConfidentialInstanceConfig(ConfidentialInstanceConfigvalue)

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConfidentialInstanceConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeDisplayDevice(DisplayDevice value)

publicComputeInstanceRestoreProperties.BuildermergeDisplayDevice(DisplayDevicevalue)

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DisplayDevice
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeFrom(ComputeInstanceRestoreProperties other)

publicComputeInstanceRestoreProperties.BuildermergeFrom(ComputeInstanceRestorePropertiesother)
Parameter
Name Description
other ComputeInstanceRestoreProperties
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicComputeInstanceRestoreProperties.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicComputeInstanceRestoreProperties.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

mergeInstanceEncryptionKey(CustomerEncryptionKey value)

publicComputeInstanceRestoreProperties.BuildermergeInstanceEncryptionKey(CustomerEncryptionKeyvalue)

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomerEncryptionKey
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeMetadata(Metadata value)

publicComputeInstanceRestoreProperties.BuildermergeMetadata(Metadatavalue)

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Metadata
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)

publicComputeInstanceRestoreProperties.BuildermergeNetworkPerformanceConfig(NetworkPerformanceConfigvalue)

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NetworkPerformanceConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeParams(InstanceParams value)

publicComputeInstanceRestoreProperties.BuildermergeParams(InstanceParamsvalue)

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value InstanceParams
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeScheduling(Scheduling value)

publicComputeInstanceRestoreProperties.BuildermergeScheduling(Schedulingvalue)

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Scheduling
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeTags(Tags value)

publicComputeInstanceRestoreProperties.BuildermergeTags(Tagsvalue)

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tags
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalComputeInstanceRestoreProperties.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

putAllLabels(Map<String,String> values)

publicComputeInstanceRestoreProperties.BuilderputAllLabels(Map<String,String>values)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

putLabels(String key, String value)

publicComputeInstanceRestoreProperties.BuilderputLabels(Stringkey,Stringvalue)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

removeDisks(int index)

publicComputeInstanceRestoreProperties.BuilderremoveDisks(intindex)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

removeGuestAccelerators(int index)

publicComputeInstanceRestoreProperties.BuilderremoveGuestAccelerators(intindex)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

removeLabels(String key)

publicComputeInstanceRestoreProperties.BuilderremoveLabels(Stringkey)

Optional. Labels to apply to this instance.

map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

removeNetworkInterfaces(int index)

publicComputeInstanceRestoreProperties.BuilderremoveNetworkInterfaces(intindex)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

removeServiceAccounts(int index)

publicComputeInstanceRestoreProperties.BuilderremoveServiceAccounts(intindex)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setAdvancedMachineFeatures(AdvancedMachineFeatures value)

publicComputeInstanceRestoreProperties.BuildersetAdvancedMachineFeatures(AdvancedMachineFeaturesvalue)

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdvancedMachineFeatures
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetAdvancedMachineFeatures(AdvancedMachineFeatures.BuilderbuilderForValue)

Optional. Controls for advanced machine-related behavior features.

optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AdvancedMachineFeatures.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setAllocationAffinity(AllocationAffinity value)

publicComputeInstanceRestoreProperties.BuildersetAllocationAffinity(AllocationAffinityvalue)

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AllocationAffinity
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setAllocationAffinity(AllocationAffinity.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetAllocationAffinity(AllocationAffinity.BuilderbuilderForValue)

Optional. Specifies the reservations that this instance can consume from.

optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AllocationAffinity.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setCanIpForward(boolean value)

publicComputeInstanceRestoreProperties.BuildersetCanIpForward(booleanvalue)

Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.

optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The canIpForward to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setConfidentialInstanceConfig(ConfidentialInstanceConfig value)

publicComputeInstanceRestoreProperties.BuildersetConfidentialInstanceConfig(ConfidentialInstanceConfigvalue)

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ConfidentialInstanceConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetConfidentialInstanceConfig(ConfidentialInstanceConfig.BuilderbuilderForValue)

Optional. Controls Confidential compute options on the instance

optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ConfidentialInstanceConfig.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setDeletionProtection(boolean value)

publicComputeInstanceRestoreProperties.BuildersetDeletionProtection(booleanvalue)

Optional. Whether the resource should be protected against deletion.

optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The deletionProtection to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setDescription(String value)

publicComputeInstanceRestoreProperties.BuildersetDescription(Stringvalue)

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuildersetDescriptionBytes(ByteStringvalue)

Optional. An optional description of this resource. Provide this property when you create the resource.

optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setDisks(int index, AttachedDisk value)

publicComputeInstanceRestoreProperties.BuildersetDisks(intindex,AttachedDiskvalue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AttachedDisk
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setDisks(int index, AttachedDisk.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetDisks(intindex,AttachedDisk.BuilderbuilderForValue)

Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.

repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AttachedDisk.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setDisplayDevice(DisplayDevice value)

publicComputeInstanceRestoreProperties.BuildersetDisplayDevice(DisplayDevicevalue)

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DisplayDevice
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setDisplayDevice(DisplayDevice.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetDisplayDevice(DisplayDevice.BuilderbuilderForValue)

Optional. Enables display device for the instance.

optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DisplayDevice.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicComputeInstanceRestoreProperties.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

setGuestAccelerators(int index, AcceleratorConfig value)

publicComputeInstanceRestoreProperties.BuildersetGuestAccelerators(intindex,AcceleratorConfigvalue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AcceleratorConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetGuestAccelerators(intindex,AcceleratorConfig.BuilderbuilderForValue)

Optional. A list of the type and count of accelerator cards attached to the instance.

repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AcceleratorConfig.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setHostname(String value)

publicComputeInstanceRestoreProperties.BuildersetHostname(Stringvalue)

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuildersetHostnameBytes(ByteStringvalue)

Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setInstanceEncryptionKey(CustomerEncryptionKey value)

publicComputeInstanceRestoreProperties.BuildersetInstanceEncryptionKey(CustomerEncryptionKeyvalue)

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomerEncryptionKey
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setInstanceEncryptionKey(CustomerEncryptionKey.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetInstanceEncryptionKey(CustomerEncryptionKey.BuilderbuilderForValue)

Optional. Encrypts suspended data for an instance with a customer-managed encryption key.

optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CustomerEncryptionKey.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setKeyRevocationActionType(KeyRevocationActionType value)

publicComputeInstanceRestoreProperties.BuildersetKeyRevocationActionType(KeyRevocationActionTypevalue)

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value KeyRevocationActionType

The keyRevocationActionType to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setKeyRevocationActionTypeValue(int value)

publicComputeInstanceRestoreProperties.BuildersetKeyRevocationActionTypeValue(intvalue)

Optional. KeyRevocationActionType of the instance.

optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for keyRevocationActionType to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setMachineType(String value)

publicComputeInstanceRestoreProperties.BuildersetMachineType(Stringvalue)

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The machineType to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setMachineTypeBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuildersetMachineTypeBytes(ByteStringvalue)

Optional. Full or partial URL of the machine type resource to use for this instance.

optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for machineType to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setMetadata(Metadata value)

publicComputeInstanceRestoreProperties.BuildersetMetadata(Metadatavalue)

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Metadata
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setMetadata(Metadata.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetMetadata(Metadata.BuilderbuilderForValue)

Optional. This includes custom metadata and predefined keys.

optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Metadata.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setMinCpuPlatform(String value)

publicComputeInstanceRestoreProperties.BuildersetMinCpuPlatform(Stringvalue)

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The minCpuPlatform to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setMinCpuPlatformBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuildersetMinCpuPlatformBytes(ByteStringvalue)

Optional. Minimum CPU platform to use for this instance.

optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for minCpuPlatform to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setName(String value)

publicComputeInstanceRestoreProperties.BuildersetName(Stringvalue)

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicComputeInstanceRestoreProperties.BuildersetNameBytes(ByteStringvalue)

Required. Name of the compute instance.

optional string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setNetworkInterfaces(int index, NetworkInterface value)

publicComputeInstanceRestoreProperties.BuildersetNetworkInterfaces(intindex,NetworkInterfacevalue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value NetworkInterface
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetNetworkInterfaces(intindex,NetworkInterface.BuilderbuilderForValue)

Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue NetworkInterface.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setNetworkPerformanceConfig(NetworkPerformanceConfig value)

publicComputeInstanceRestoreProperties.BuildersetNetworkPerformanceConfig(NetworkPerformanceConfigvalue)

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value NetworkPerformanceConfig
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetNetworkPerformanceConfig(NetworkPerformanceConfig.BuilderbuilderForValue)

Optional. Configure network performance such as egress bandwidth tier.

optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue NetworkPerformanceConfig.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setParams(InstanceParams value)

publicComputeInstanceRestoreProperties.BuildersetParams(InstanceParamsvalue)

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value InstanceParams
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setParams(InstanceParams.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetParams(InstanceParams.BuilderbuilderForValue)

Input only. Additional params passed with the request, but not persisted as part of resource payload.

optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
builderForValue InstanceParams.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setPrivateIpv6GoogleAccess(ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess value)

publicComputeInstanceRestoreProperties.BuildersetPrivateIpv6GoogleAccess(ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccessvalue)

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess

The privateIpv6GoogleAccess to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setPrivateIpv6GoogleAccessValue(int value)

publicComputeInstanceRestoreProperties.BuildersetPrivateIpv6GoogleAccessValue(intvalue)

Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for privateIpv6GoogleAccess to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicComputeInstanceRestoreProperties.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

setResourcePolicies(int index, String value)

publicComputeInstanceRestoreProperties.BuildersetResourcePolicies(intindex,Stringvalue)

Optional. Resource policies applied to this instance.

repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The resourcePolicies to set.

Returns
Type Description
ComputeInstanceRestoreProperties.Builder

This builder for chaining.

setScheduling(Scheduling value)

publicComputeInstanceRestoreProperties.BuildersetScheduling(Schedulingvalue)

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Scheduling
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setScheduling(Scheduling.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetScheduling(Scheduling.BuilderbuilderForValue)

Optional. Sets the scheduling options for this instance.

optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Scheduling.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setServiceAccounts(int index, ServiceAccount value)

publicComputeInstanceRestoreProperties.BuildersetServiceAccounts(intindex,ServiceAccountvalue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value ServiceAccount
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setServiceAccounts(int index, ServiceAccount.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetServiceAccounts(intindex,ServiceAccount.BuilderbuilderForValue)

Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.

repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue ServiceAccount.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setTags(Tags value)

publicComputeInstanceRestoreProperties.BuildersetTags(Tagsvalue)

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tags
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setTags(Tags.Builder builderForValue)

publicComputeInstanceRestoreProperties.BuildersetTags(Tags.BuilderbuilderForValue)

Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.

optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Tags.Builder
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalComputeInstanceRestoreProperties.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.