Interface ComputeInstanceRestorePropertiesOrBuilder (0.11.0)

public interface ComputeInstanceRestorePropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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 abstract 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.

getAdvancedMachineFeaturesOrBuilder()

public abstract 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 abstract 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.

getAllocationAffinityOrBuilder()

public abstract 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 abstract 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 abstract 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.

getConfidentialInstanceConfigOrBuilder()

public abstract 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

getDeletionProtection()

public abstract 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 abstract 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 abstract 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.

getDisks(int index)

public abstract 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

getDisksCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getDisplayDeviceOrBuilder()

public abstract 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 abstract 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

getGuestAcceleratorsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getInstanceEncryptionKeyOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getMetadataOrBuilder()

public abstract 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 abstract 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 abstract 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.

getName()

public abstract 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 abstract 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 abstract 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

getNetworkInterfacesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getNetworkPerformanceConfigOrBuilder()

public abstract 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 abstract 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.

getParamsOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract List<String> getResourcePoliciesList()

Optional. Resource policies applied to this instance.

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

Returns
Type Description
List<String>

A list containing the resourcePolicies.

getScheduling()

public abstract 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.

getSchedulingOrBuilder()

public abstract 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 abstract 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

getServiceAccountsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getTagsOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.