Class ComputeInstanceRestoreProperties (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicfinalclass ComputeInstanceRestorePropertiesextendsGeneratedMessageV3implementsComputeInstanceRestorePropertiesOrBuilderComputeInstanceRestoreProperties represents Compute Engine instance properties to be overridden during restore.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceRestoreProperties
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeInstanceRestorePropertiesImplements
ComputeInstanceRestorePropertiesOrBuilderInherited Members
Static Fields
ADVANCED_MACHINE_FEATURES_FIELD_NUMBER
publicstaticfinalintADVANCED_MACHINE_FEATURES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ALLOCATION_AFFINITY_FIELD_NUMBER
publicstaticfinalintALLOCATION_AFFINITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CAN_IP_FORWARD_FIELD_NUMBER
publicstaticfinalintCAN_IP_FORWARD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER
publicstaticfinalintCONFIDENTIAL_INSTANCE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DELETION_PROTECTION_FIELD_NUMBER
publicstaticfinalintDELETION_PROTECTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DESCRIPTION_FIELD_NUMBER
publicstaticfinalintDESCRIPTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISKS_FIELD_NUMBER
publicstaticfinalintDISKS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISPLAY_DEVICE_FIELD_NUMBER
publicstaticfinalintDISPLAY_DEVICE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GUEST_ACCELERATORS_FIELD_NUMBER
publicstaticfinalintGUEST_ACCELERATORS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HOSTNAME_FIELD_NUMBER
publicstaticfinalintHOSTNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INSTANCE_ENCRYPTION_KEY_FIELD_NUMBER
publicstaticfinalintINSTANCE_ENCRYPTION_KEY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
publicstaticfinalintKEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LABELS_FIELD_NUMBER
publicstaticfinalintLABELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MACHINE_TYPE_FIELD_NUMBER
publicstaticfinalintMACHINE_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
METADATA_FIELD_NUMBER
publicstaticfinalintMETADATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MIN_CPU_PLATFORM_FIELD_NUMBER
publicstaticfinalintMIN_CPU_PLATFORM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NETWORK_INTERFACES_FIELD_NUMBER
publicstaticfinalintNETWORK_INTERFACES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER
publicstaticfinalintNETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PARAMS_FIELD_NUMBER
publicstaticfinalintPARAMS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER
publicstaticfinalintPRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_POLICIES_FIELD_NUMBER
publicstaticfinalintRESOURCE_POLICIES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SCHEDULING_FIELD_NUMBER
publicstaticfinalintSCHEDULING_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SERVICE_ACCOUNTS_FIELD_NUMBER
publicstaticfinalintSERVICE_ACCOUNTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TAGS_FIELD_NUMBER
publicstaticfinalintTAGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
publicstaticComputeInstanceRestorePropertiesgetDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
publicstaticComputeInstanceRestoreProperties.BuildernewBuilder()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.Builder |
|
newBuilder(ComputeInstanceRestoreProperties prototype)
publicstaticComputeInstanceRestoreProperties.BuildernewBuilder(ComputeInstanceRestorePropertiesprototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ComputeInstanceRestoreProperties |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.Builder |
|
parseDelimitedFrom(InputStream input)
publicstaticComputeInstanceRestorePropertiesparseDelimitedFrom(InputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
publicstaticComputeInstanceRestorePropertiesparseFrom(byte[]data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
publicstaticComputeInstanceRestorePropertiesparseFrom(ByteStringdata)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
publicstaticComputeInstanceRestorePropertiesparseFrom(CodedInputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
publicstaticComputeInstanceRestorePropertiesparseFrom(InputStreaminput)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
publicstaticComputeInstanceRestorePropertiesparseFrom(ByteBufferdata)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceRestorePropertiesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
publicstaticParser<ComputeInstanceRestoreProperties>parser()| Returns | |
|---|---|
| Type | Description |
Parser<ComputeInstanceRestoreProperties> |
|
Methods
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
equals(Object obj)
publicbooleanequals(Objectobj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdvancedMachineFeatures()
publicAdvancedMachineFeaturesgetAdvancedMachineFeatures()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeatures |
The advancedMachineFeatures. |
getAdvancedMachineFeaturesOrBuilder()
publicAdvancedMachineFeaturesOrBuildergetAdvancedMachineFeaturesOrBuilder()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvancedMachineFeaturesOrBuilder |
|
getAllocationAffinity()
publicAllocationAffinitygetAllocationAffinity()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AllocationAffinity |
The allocationAffinity. |
getAllocationAffinityOrBuilder()
publicAllocationAffinityOrBuildergetAllocationAffinityOrBuilder()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AllocationAffinityOrBuilder |
|
getCanIpForward()
publicbooleangetCanIpForward()Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The canIpForward. |
getConfidentialInstanceConfig()
publicConfidentialInstanceConfiggetConfidentialInstanceConfig()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfig |
The confidentialInstanceConfig. |
getConfidentialInstanceConfigOrBuilder()
publicConfidentialInstanceConfigOrBuildergetConfidentialInstanceConfigOrBuilder()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ConfidentialInstanceConfigOrBuilder |
|
getDefaultInstanceForType()
publicComputeInstanceRestorePropertiesgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties |
|
getDeletionProtection()
publicbooleangetDeletionProtection()Optional. Whether the resource should be protected against deletion.
optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The deletionProtection. |
getDescription()
publicStringgetDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicByteStringgetDescriptionBytes()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDisks(int index)
publicAttachedDiskgetDisks(intindex)Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk |
|
getDisksCount()
publicintgetDisksCount()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getDisksList()
publicList<AttachedDisk>getDisksList()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AttachedDisk> |
|
getDisksOrBuilder(int index)
publicAttachedDiskOrBuildergetDisksOrBuilder(intindex)Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDiskOrBuilder |
|
getDisksOrBuilderList()
publicList<?extendsAttachedDiskOrBuilder>getDisksOrBuilderList()Optional. Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder> |
|
getDisplayDevice()
publicDisplayDevicegetDisplayDevice()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DisplayDevice |
The displayDevice. |
getDisplayDeviceOrBuilder()
publicDisplayDeviceOrBuildergetDisplayDeviceOrBuilder()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DisplayDeviceOrBuilder |
|
getGuestAccelerators(int index)
publicAcceleratorConfiggetGuestAccelerators(intindex)Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig |
|
getGuestAcceleratorsCount()
publicintgetGuestAcceleratorsCount()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestAcceleratorsList()
publicList<AcceleratorConfig>getGuestAcceleratorsList()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AcceleratorConfig> |
|
getGuestAcceleratorsOrBuilder(int index)
publicAcceleratorConfigOrBuildergetGuestAcceleratorsOrBuilder(intindex)Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfigOrBuilder |
|
getGuestAcceleratorsOrBuilderList()
publicList<?extendsAcceleratorConfigOrBuilder>getGuestAcceleratorsOrBuilderList()Optional. A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder> |
|
getHostname()
publicStringgetHostname()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The hostname. |
getHostnameBytes()
publicByteStringgetHostnameBytes()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hostname. |
getInstanceEncryptionKey()
publicCustomerEncryptionKeygetInstanceEncryptionKey()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKey |
The instanceEncryptionKey. |
getInstanceEncryptionKeyOrBuilder()
publicCustomerEncryptionKeyOrBuildergetInstanceEncryptionKeyOrBuilder()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerEncryptionKeyOrBuilder |
|
getKeyRevocationActionType()
publicKeyRevocationActionTypegetKeyRevocationActionType()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
KeyRevocationActionType |
The keyRevocationActionType. |
getKeyRevocationActionTypeValue()
publicintgetKeyRevocationActionTypeValue()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyRevocationActionType. |
getLabels() (deprecated)
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicintgetLabelsCount()Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
publicMap<String,String>getLabelsMap()Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)Optional. Labels to apply to this instance.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMachineType()
publicStringgetMachineType()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
publicByteStringgetMachineTypeBytes()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
getMetadata()
publicMetadatagetMetadata()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Metadata |
The metadata. |
getMetadataOrBuilder()
publicMetadataOrBuildergetMetadataOrBuilder()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MetadataOrBuilder |
|
getMinCpuPlatform()
publicStringgetMinCpuPlatform()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
publicByteStringgetMinCpuPlatformBytes()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getName()
publicStringgetName()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetworkInterfaces(int index)
publicNetworkInterfacegetNetworkInterfaces(intindex)Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterface |
|
getNetworkInterfacesCount()
publicintgetNetworkInterfacesCount()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getNetworkInterfacesList()
publicList<NetworkInterface>getNetworkInterfacesList()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<NetworkInterface> |
|
getNetworkInterfacesOrBuilder(int index)
publicNetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(intindex)Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterfaceOrBuilder |
|
getNetworkInterfacesOrBuilderList()
publicList<?extendsNetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()Optional. An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder> |
|
getNetworkPerformanceConfig()
publicNetworkPerformanceConfiggetNetworkPerformanceConfig()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NetworkPerformanceConfig |
The networkPerformanceConfig. |
getNetworkPerformanceConfigOrBuilder()
publicNetworkPerformanceConfigOrBuildergetNetworkPerformanceConfigOrBuilder()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
NetworkPerformanceConfigOrBuilder |
|
getParams()
publicInstanceParamsgetParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstanceParams |
The params. |
getParamsOrBuilder()
publicInstanceParamsOrBuildergetParamsOrBuilder()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
InstanceParamsOrBuilder |
|
getParserForType()
publicParser<ComputeInstanceRestoreProperties>getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ComputeInstanceRestoreProperties> |
|
getPrivateIpv6GoogleAccess()
publicComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccessgetPrivateIpv6GoogleAccess()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess |
The privateIpv6GoogleAccess. |
getPrivateIpv6GoogleAccessValue()
publicintgetPrivateIpv6GoogleAccessValue()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for privateIpv6GoogleAccess. |
getResourcePolicies(int index)
publicStringgetResourcePolicies(intindex)Optional. Resource policies applied to this instance.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resourcePolicies at the given index. |
getResourcePoliciesBytes(int index)
publicByteStringgetResourcePoliciesBytes(intindex)Optional. Resource policies applied to this instance.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resourcePolicies at the given index. |
getResourcePoliciesCount()
publicintgetResourcePoliciesCount()Optional. Resource policies applied to this instance.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of resourcePolicies. |
getResourcePoliciesList()
publicProtocolStringListgetResourcePoliciesList()Optional. Resource policies applied to this instance.
repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the resourcePolicies. |
getScheduling()
publicSchedulinggetScheduling()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Scheduling |
The scheduling. |
getSchedulingOrBuilder()
publicSchedulingOrBuildergetSchedulingOrBuilder()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SchedulingOrBuilder |
|
getSerializedSize()
publicintgetSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAccounts(int index)
publicServiceAccountgetServiceAccounts(intindex)Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccount |
|
getServiceAccountsCount()
publicintgetServiceAccountsCount()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAccountsList()
publicList<ServiceAccount>getServiceAccountsList()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ServiceAccount> |
|
getServiceAccountsOrBuilder(int index)
publicServiceAccountOrBuildergetServiceAccountsOrBuilder(intindex)Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountOrBuilder |
|
getServiceAccountsOrBuilderList()
publicList<?extendsServiceAccountOrBuilder>getServiceAccountsOrBuilderList()Optional. A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.
repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder> |
|
getTags()
publicTagsgetTags()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Tags |
The tags. |
getTagsOrBuilder()
publicTagsOrBuildergetTagsOrBuilder()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TagsOrBuilder |
|
hasAdvancedMachineFeatures()
publicbooleanhasAdvancedMachineFeatures()Optional. Controls for advanced machine-related behavior features.
optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the advancedMachineFeatures field is set. |
hasAllocationAffinity()
publicbooleanhasAllocationAffinity()Optional. Specifies the reservations that this instance can consume from.
optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the allocationAffinity field is set. |
hasCanIpForward()
publicbooleanhasCanIpForward()Optional. Allows this instance to send and receive packets with non-matching destination or source IPs.
optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the canIpForward field is set. |
hasConfidentialInstanceConfig()
publicbooleanhasConfidentialInstanceConfig()Optional. Controls Confidential compute options on the instance
optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the confidentialInstanceConfig field is set. |
hasDeletionProtection()
publicbooleanhasDeletionProtection()Optional. Whether the resource should be protected against deletion.
optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deletionProtection field is set. |
hasDescription()
publicbooleanhasDescription()Optional. An optional description of this resource. Provide this property when you create the resource.
optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasDisplayDevice()
publicbooleanhasDisplayDevice()Optional. Enables display device for the instance.
optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayDevice field is set. |
hasHostname()
publicbooleanhasHostname()Optional. Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hostname field is set. |
hasInstanceEncryptionKey()
publicbooleanhasInstanceEncryptionKey()Optional. Encrypts suspended data for an instance with a customer-managed encryption key.
optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceEncryptionKey field is set. |
hasKeyRevocationActionType()
publicbooleanhasKeyRevocationActionType()Optional. KeyRevocationActionType of the instance.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyRevocationActionType field is set. |
hasMachineType()
publicbooleanhasMachineType()Optional. Full or partial URL of the machine type resource to use for this instance.
optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineType field is set. |
hasMetadata()
publicbooleanhasMetadata()Optional. This includes custom metadata and predefined keys.
optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
hasMinCpuPlatform()
publicbooleanhasMinCpuPlatform()Optional. Minimum CPU platform to use for this instance.
optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minCpuPlatform field is set. |
hasName()
publicbooleanhasName()Required. Name of the compute instance.
optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasNetworkPerformanceConfig()
publicbooleanhasNetworkPerformanceConfig()Optional. Configure network performance such as egress bandwidth tier.
optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the networkPerformanceConfig field is set. |
hasParams()
publicbooleanhasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the params field is set. |
hasPrivateIpv6GoogleAccess()
publicbooleanhasPrivateIpv6GoogleAccess()Optional. The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the privateIpv6GoogleAccess field is set. |
hasScheduling()
publicbooleanhasScheduling()Optional. Sets the scheduling options for this instance.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduling field is set. |
hasTags()
publicbooleanhasTags()Optional. Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation.
optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tags field is set. |
hashCode()
publicinthashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
publicComputeInstanceRestoreProperties.BuildernewBuilderForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.Builder |
|
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedComputeInstanceRestoreProperties.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.Builder |
|
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)| Parameter | |
|---|---|
| Name | Description |
unused |
UnusedPrivateParameter |
| Returns | |
|---|---|
| Type | Description |
Object |
|
toBuilder()
publicComputeInstanceRestoreProperties.BuildertoBuilder()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceRestoreProperties.Builder |
|
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|