Class ComputeInstanceRestoreProperties (0.14.0)

public final class ComputeInstanceRestoreProperties extends GeneratedMessageV3 implements ComputeInstanceRestorePropertiesOrBuilder

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

Protobuf type google.cloud.backupdr.v1.ComputeInstanceRestoreProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeInstanceRestoreProperties

Static Fields

ADVANCED_MACHINE_FEATURES_FIELD_NUMBER

public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

ALLOCATION_AFFINITY_FIELD_NUMBER

public static final int ALLOCATION_AFFINITY_FIELD_NUMBER
Field Value
Type Description
int

CAN_IP_FORWARD_FIELD_NUMBER

public static final int CAN_IP_FORWARD_FIELD_NUMBER
Field Value
Type Description
int

CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER

public static final int CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DELETION_PROTECTION_FIELD_NUMBER

public static final int DELETION_PROTECTION_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_DEVICE_FIELD_NUMBER

public static final int DISPLAY_DEVICE_FIELD_NUMBER
Field Value
Type Description
int

GUEST_ACCELERATORS_FIELD_NUMBER

public static final int GUEST_ACCELERATORS_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_ENCRYPTION_KEY_FIELD_NUMBER

public static final int INSTANCE_ENCRYPTION_KEY_FIELD_NUMBER
Field Value
Type Description
int

KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER

public static final int KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

MIN_CPU_PLATFORM_FIELD_NUMBER

public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_INTERFACES_FIELD_NUMBER

public static final int NETWORK_INTERFACES_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER

public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PARAMS_FIELD_NUMBER

public static final int PARAMS_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER

public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_POLICIES_FIELD_NUMBER

public static final int RESOURCE_POLICIES_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULING_FIELD_NUMBER

public static final int SCHEDULING_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNTS_FIELD_NUMBER

public static final int SERVICE_ACCOUNTS_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComputeInstanceRestoreProperties getDefaultInstance()
Returns
Type Description
ComputeInstanceRestoreProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ComputeInstanceRestoreProperties.Builder newBuilder()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

newBuilder(ComputeInstanceRestoreProperties prototype)

public static ComputeInstanceRestoreProperties.Builder newBuilder(ComputeInstanceRestoreProperties prototype)
Parameter
Name Description
prototype ComputeInstanceRestoreProperties
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

parseDelimitedFrom(InputStream input)

public static ComputeInstanceRestoreProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComputeInstanceRestoreProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComputeInstanceRestoreProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComputeInstanceRestoreProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComputeInstanceRestoreProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComputeInstanceRestoreProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComputeInstanceRestoreProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceRestoreProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComputeInstanceRestoreProperties> parser()
Returns
Type Description
Parser<ComputeInstanceRestoreProperties>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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.

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.

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

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.

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

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.

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.

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.

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

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.

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.

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

getParserForType()

public Parser<ComputeInstanceRestoreProperties> getParserForType()
Returns
Type Description
Parser<ComputeInstanceRestoreProperties>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComputeInstanceRestoreProperties.Builder newBuilderForType()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComputeInstanceRestoreProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComputeInstanceRestoreProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComputeInstanceRestoreProperties.Builder toBuilder()
Returns
Type Description
ComputeInstanceRestoreProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException