public static final class ComputeInstanceRestoreProperties.Builder extends GeneratedMessageV3.Builder<ComputeInstanceRestoreProperties.Builder> implements ComputeInstanceRestorePropertiesOrBuilder
ComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceRestoreProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeInstanceRestoreProperties.BuilderImplements
ComputeInstanceRestorePropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDisks(Iterable<? extends AttachedDisk> values)
public ComputeInstanceRestoreProperties.Builder addAllDisks(Iterable<? extends AttachedDisk> 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)
public ComputeInstanceRestoreProperties.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> 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)
public ComputeInstanceRestoreProperties.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> 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)
public ComputeInstanceRestoreProperties.Builder addAllResourcePolicies(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)
public ComputeInstanceRestoreProperties.Builder addAllServiceAccounts(Iterable<? extends ServiceAccount> 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)
public ComputeInstanceRestoreProperties.Builder addDisks(AttachedDisk value)
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)
public ComputeInstanceRestoreProperties.Builder addDisks(AttachedDisk.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder addDisks(int index, AttachedDisk value)
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)
public ComputeInstanceRestoreProperties.Builder addDisks(int index, AttachedDisk.Builder builderForValue)
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()
public AttachedDisk.Builder addDisksBuilder()
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)
public AttachedDisk.Builder addDisksBuilder(int index)
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)
public ComputeInstanceRestoreProperties.Builder addGuestAccelerators(AcceleratorConfig value)
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)
public ComputeInstanceRestoreProperties.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder addGuestAccelerators(int index, AcceleratorConfig value)
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)
public ComputeInstanceRestoreProperties.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
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()
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
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)
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
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)
public ComputeInstanceRestoreProperties.Builder addNetworkInterfaces(NetworkInterface value)
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)
public ComputeInstanceRestoreProperties.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder addNetworkInterfaces(int index, NetworkInterface value)
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)
public ComputeInstanceRestoreProperties.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
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()
public NetworkInterface.Builder addNetworkInterfacesBuilder()
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)
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
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)
public ComputeInstanceRestoreProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
addResourcePolicies(String value)
public ComputeInstanceRestoreProperties.Builder addResourcePolicies(String value)
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)
public ComputeInstanceRestoreProperties.Builder addResourcePoliciesBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder addServiceAccounts(ServiceAccount value)
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)
public ComputeInstanceRestoreProperties.Builder addServiceAccounts(ServiceAccount.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder addServiceAccounts(int index, ServiceAccount value)
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)
public ComputeInstanceRestoreProperties.Builder addServiceAccounts(int index, ServiceAccount.Builder builderForValue)
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()
public ServiceAccount.Builder addServiceAccountsBuilder()
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)
public ServiceAccount.Builder addServiceAccountsBuilder(int index)
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()
public ComputeInstanceRestoreProperties build()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties |
buildPartial()
public ComputeInstanceRestoreProperties buildPartial()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties |
clear()
public ComputeInstanceRestoreProperties.Builder clear()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
clearAdvancedMachineFeatures()
public ComputeInstanceRestoreProperties.Builder clearAdvancedMachineFeatures()
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()
public ComputeInstanceRestoreProperties.Builder clearAllocationAffinity()
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()
public ComputeInstanceRestoreProperties.Builder clearCanIpForward()
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()
public ComputeInstanceRestoreProperties.Builder clearConfidentialInstanceConfig()
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()
public ComputeInstanceRestoreProperties.Builder clearDeletionProtection()
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()
public ComputeInstanceRestoreProperties.Builder clearDescription()
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()
public ComputeInstanceRestoreProperties.Builder clearDisks()
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()
public ComputeInstanceRestoreProperties.Builder clearDisplayDevice()
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)
public ComputeInstanceRestoreProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
clearGuestAccelerators()
public ComputeInstanceRestoreProperties.Builder clearGuestAccelerators()
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()
public ComputeInstanceRestoreProperties.Builder clearHostname()
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()
public ComputeInstanceRestoreProperties.Builder clearInstanceEncryptionKey()
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()
public ComputeInstanceRestoreProperties.Builder clearKeyRevocationActionType()
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()
public ComputeInstanceRestoreProperties.Builder clearLabels()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
clearMachineType()
public ComputeInstanceRestoreProperties.Builder clearMachineType()
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()
public ComputeInstanceRestoreProperties.Builder clearMetadata()
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()
public ComputeInstanceRestoreProperties.Builder clearMinCpuPlatform()
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()
public ComputeInstanceRestoreProperties.Builder clearName()
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()
public ComputeInstanceRestoreProperties.Builder clearNetworkInterfaces()
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()
public ComputeInstanceRestoreProperties.Builder clearNetworkPerformanceConfig()
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)
public ComputeInstanceRestoreProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
clearParams()
public ComputeInstanceRestoreProperties.Builder clearParams()
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()
public ComputeInstanceRestoreProperties.Builder clearPrivateIpv6GoogleAccess()
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()
public ComputeInstanceRestoreProperties.Builder clearResourcePolicies()
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()
public ComputeInstanceRestoreProperties.Builder clearScheduling()
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()
public ComputeInstanceRestoreProperties.Builder clearServiceAccounts()
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()
public ComputeInstanceRestoreProperties.Builder clearTags()
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()
public ComputeInstanceRestoreProperties.Builder clone()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
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()
public AdvancedMachineFeatures getAdvancedMachineFeatures()
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()
public AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder()
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()
public AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()
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()
public AllocationAffinity getAllocationAffinity()
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()
public AllocationAffinity.Builder getAllocationAffinityBuilder()
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()
public AllocationAffinityOrBuilder getAllocationAffinityOrBuilder()
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()
public boolean getCanIpForward()
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()
public ConfidentialInstanceConfig getConfidentialInstanceConfig()
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()
public ConfidentialInstanceConfig.Builder getConfidentialInstanceConfigBuilder()
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()
public ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()
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()
public ComputeInstanceRestoreProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties |
getDeletionProtection()
public boolean getDeletionProtection()
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()
public String getDescription()
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()
public ByteString getDescriptionBytes()
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()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisks(int index)
public AttachedDisk getDisks(int index)
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)
public AttachedDisk.Builder getDisksBuilder(int index)
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()
public List<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()
public int getDisksCount()
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()
public List<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)
public AttachedDiskOrBuilder getDisksOrBuilder(int index)
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()
public List<? extends AttachedDiskOrBuilder> 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()
public DisplayDevice getDisplayDevice()
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()
public DisplayDevice.Builder getDisplayDeviceBuilder()
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()
public DisplayDeviceOrBuilder getDisplayDeviceOrBuilder()
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)
public AcceleratorConfig getGuestAccelerators(int index)
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)
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
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()
public List<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()
public int getGuestAcceleratorsCount()
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()
public List<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)
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
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()
public List<? extends AcceleratorConfigOrBuilder> 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()
public String getHostname()
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()
public ByteString getHostnameBytes()
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()
public CustomerEncryptionKey getInstanceEncryptionKey()
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()
public CustomerEncryptionKey.Builder getInstanceEncryptionKeyBuilder()
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()
public CustomerEncryptionKeyOrBuilder getInstanceEncryptionKeyOrBuilder()
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()
public KeyRevocationActionType getKeyRevocationActionType()
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()
public int getKeyRevocationActionTypeValue()
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)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<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)
public String getLabelsOrDefault(String key, String defaultValue)
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)
public String getLabelsOrThrow(String key)
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()
public String getMachineType()
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()
public ByteString getMachineTypeBytes()
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()
public Metadata getMetadata()
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()
public Metadata.Builder getMetadataBuilder()
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()
public MetadataOrBuilder getMetadataOrBuilder()
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()
public String getMinCpuPlatform()
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()
public ByteString getMinCpuPlatformBytes()
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)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
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)
public NetworkInterface getNetworkInterfaces(int index)
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)
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
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()
public List<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()
public int getNetworkInterfacesCount()
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()
public List<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)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
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()
public List<? extends NetworkInterfaceOrBuilder> 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()
public NetworkPerformanceConfig getNetworkPerformanceConfig()
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()
public NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder()
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()
public NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
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()
public InstanceParams getParams()
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()
public InstanceParams.Builder getParamsBuilder()
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()
public InstanceParamsOrBuilder getParamsOrBuilder()
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()
public ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess getPrivateIpv6GoogleAccess()
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()
public int getPrivateIpv6GoogleAccessValue()
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)
public String getResourcePolicies(int index)
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)
public ByteString getResourcePoliciesBytes(int index)
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()
public int getResourcePoliciesCount()
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()
public ProtocolStringList getResourcePoliciesList()
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()
public Scheduling getScheduling()
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()
public Scheduling.Builder getSchedulingBuilder()
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()
public SchedulingOrBuilder getSchedulingOrBuilder()
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)
public ServiceAccount getServiceAccounts(int index)
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)
public ServiceAccount.Builder getServiceAccountsBuilder(int index)
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()
public List<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()
public int getServiceAccountsCount()
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()
public List<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)
public ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index)
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()
public List<? extends ServiceAccountOrBuilder> 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()
public Tags getTags()
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()
public Tags.Builder getTagsBuilder()
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()
public TagsOrBuilder getTagsOrBuilder()
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()
public boolean hasAdvancedMachineFeatures()
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()
public boolean hasAllocationAffinity()
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()
public boolean hasCanIpForward()
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()
public boolean hasConfidentialInstanceConfig()
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()
public boolean hasDeletionProtection()
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()
public boolean hasDescription()
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()
public boolean hasDisplayDevice()
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()
public boolean hasHostname()
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()
public boolean hasInstanceEncryptionKey()
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()
public boolean hasKeyRevocationActionType()
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()
public boolean hasMachineType()
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()
public boolean hasMetadata()
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()
public boolean hasMinCpuPlatform()
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()
public boolean hasName()
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()
public boolean hasNetworkPerformanceConfig()
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()
public boolean hasParams()
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()
public boolean hasPrivateIpv6GoogleAccess()
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()
public boolean hasScheduling()
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()
public boolean hasTags()
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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
public ComputeInstanceRestoreProperties.Builder mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
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)
public ComputeInstanceRestoreProperties.Builder mergeAllocationAffinity(AllocationAffinity value)
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)
public ComputeInstanceRestoreProperties.Builder mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
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)
public ComputeInstanceRestoreProperties.Builder mergeDisplayDevice(DisplayDevice value)
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)
public ComputeInstanceRestoreProperties.Builder mergeFrom(ComputeInstanceRestoreProperties other)
Parameter | |
---|---|
Name | Description |
other |
ComputeInstanceRestoreProperties |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeInstanceRestoreProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeInstanceRestoreProperties.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
mergeInstanceEncryptionKey(CustomerEncryptionKey value)
public ComputeInstanceRestoreProperties.Builder mergeInstanceEncryptionKey(CustomerEncryptionKey value)
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)
public ComputeInstanceRestoreProperties.Builder mergeMetadata(Metadata value)
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)
public ComputeInstanceRestoreProperties.Builder mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)
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)
public ComputeInstanceRestoreProperties.Builder mergeParams(InstanceParams value)
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)
public ComputeInstanceRestoreProperties.Builder mergeScheduling(Scheduling value)
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)
public ComputeInstanceRestoreProperties.Builder mergeTags(Tags value)
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)
public final ComputeInstanceRestoreProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
putAllLabels(Map<String,String> values)
public ComputeInstanceRestoreProperties.Builder putAllLabels(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)
public ComputeInstanceRestoreProperties.Builder putLabels(String key, String value)
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)
public ComputeInstanceRestoreProperties.Builder removeDisks(int index)
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)
public ComputeInstanceRestoreProperties.Builder removeGuestAccelerators(int index)
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)
public ComputeInstanceRestoreProperties.Builder removeLabels(String key)
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)
public ComputeInstanceRestoreProperties.Builder removeNetworkInterfaces(int index)
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)
public ComputeInstanceRestoreProperties.Builder removeServiceAccounts(int index)
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)
public ComputeInstanceRestoreProperties.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures value)
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)
public ComputeInstanceRestoreProperties.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setAllocationAffinity(AllocationAffinity value)
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)
public ComputeInstanceRestoreProperties.Builder setAllocationAffinity(AllocationAffinity.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setCanIpForward(boolean value)
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)
public ComputeInstanceRestoreProperties.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
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)
public ComputeInstanceRestoreProperties.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setDeletionProtection(boolean value)
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)
public ComputeInstanceRestoreProperties.Builder setDescription(String value)
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)
public ComputeInstanceRestoreProperties.Builder setDescriptionBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder setDisks(int index, AttachedDisk value)
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)
public ComputeInstanceRestoreProperties.Builder setDisks(int index, AttachedDisk.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setDisplayDevice(DisplayDevice value)
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)
public ComputeInstanceRestoreProperties.Builder setDisplayDevice(DisplayDevice.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
setGuestAccelerators(int index, AcceleratorConfig value)
public ComputeInstanceRestoreProperties.Builder setGuestAccelerators(int index, AcceleratorConfig value)
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)
public ComputeInstanceRestoreProperties.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setHostname(String value)
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)
public ComputeInstanceRestoreProperties.Builder setHostnameBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder setInstanceEncryptionKey(CustomerEncryptionKey value)
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)
public ComputeInstanceRestoreProperties.Builder setInstanceEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setKeyRevocationActionType(KeyRevocationActionType value)
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)
public ComputeInstanceRestoreProperties.Builder setKeyRevocationActionTypeValue(int value)
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)
public ComputeInstanceRestoreProperties.Builder setMachineType(String value)
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)
public ComputeInstanceRestoreProperties.Builder setMachineTypeBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder setMetadata(Metadata value)
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)
public ComputeInstanceRestoreProperties.Builder setMetadata(Metadata.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setMinCpuPlatform(String value)
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)
public ComputeInstanceRestoreProperties.Builder setMinCpuPlatformBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder setName(String value)
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)
public ComputeInstanceRestoreProperties.Builder setNameBytes(ByteString value)
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)
public ComputeInstanceRestoreProperties.Builder setNetworkInterfaces(int index, NetworkInterface value)
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)
public ComputeInstanceRestoreProperties.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig value)
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)
public ComputeInstanceRestoreProperties.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setParams(InstanceParams value)
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)
public ComputeInstanceRestoreProperties.Builder setParams(InstanceParams.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setPrivateIpv6GoogleAccess(ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess value)
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)
public ComputeInstanceRestoreProperties.Builder setPrivateIpv6GoogleAccessValue(int value)
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)
public ComputeInstanceRestoreProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |
setResourcePolicies(int index, String value)
public ComputeInstanceRestoreProperties.Builder setResourcePolicies(int index, String value)
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)
public ComputeInstanceRestoreProperties.Builder setScheduling(Scheduling value)
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)
public ComputeInstanceRestoreProperties.Builder setScheduling(Scheduling.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setServiceAccounts(int index, ServiceAccount value)
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)
public ComputeInstanceRestoreProperties.Builder setServiceAccounts(int index, ServiceAccount.Builder builderForValue)
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)
public ComputeInstanceRestoreProperties.Builder setTags(Tags value)
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)
public ComputeInstanceRestoreProperties.Builder setTags(Tags.Builder builderForValue)
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)
public final ComputeInstanceRestoreProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeInstanceRestoreProperties.Builder |