publicfinalclass ComputeInstanceBackupPropertiesextendsGeneratedMessageV3implementsComputeInstanceBackupPropertiesOrBuilder
ComputeInstanceBackupProperties represents Compute Engine instance backup
properties.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceBackupProperties
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CAN_IP_FORWARD_FIELD_NUMBER
publicstaticfinalintCAN_IP_FORWARD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DESCRIPTION_FIELD_NUMBER
publicstaticfinalintDESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISK_FIELD_NUMBER
publicstaticfinalintDISK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
GUEST_ACCELERATOR_FIELD_NUMBER
publicstaticfinalintGUEST_ACCELERATOR_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 |
publicstaticfinalintMETADATA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintMIN_CPU_PLATFORM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NETWORK_INTERFACE_FIELD_NUMBER
publicstaticfinalintNETWORK_INTERFACE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SCHEDULING_FIELD_NUMBER
publicstaticfinalintSCHEDULING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SERVICE_ACCOUNT_FIELD_NUMBER
publicstaticfinalintSERVICE_ACCOUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SOURCE_INSTANCE_FIELD_NUMBER
publicstaticfinalintSOURCE_INSTANCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintTAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticComputeInstanceBackupPropertiesgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticComputeInstanceBackupProperties.BuildernewBuilder()
newBuilder(ComputeInstanceBackupProperties prototype)
publicstaticComputeInstanceBackupProperties.BuildernewBuilder(ComputeInstanceBackupPropertiesprototype)
publicstaticComputeInstanceBackupPropertiesparseDelimitedFrom(InputStreaminput)
publicstaticComputeInstanceBackupPropertiesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticComputeInstanceBackupPropertiesparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceBackupPropertiesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticComputeInstanceBackupPropertiesparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceBackupPropertiesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticComputeInstanceBackupPropertiesparseFrom(CodedInputStreaminput)
publicstaticComputeInstanceBackupPropertiesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticComputeInstanceBackupPropertiesparseFrom(InputStreaminput)
publicstaticComputeInstanceBackupPropertiesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticComputeInstanceBackupPropertiesparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticComputeInstanceBackupPropertiesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<ComputeInstanceBackupProperties>parser()
Methods
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCanIpForward()
publicbooleangetCanIpForward()
Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Returns |
| Type |
Description |
boolean |
The canIpForward.
|
getDefaultInstanceForType()
publicComputeInstanceBackupPropertiesgetDefaultInstanceForType()
getDescription()
publicStringgetDescription()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
publicByteStringgetDescriptionBytes()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getDisk(int index)
publicAttachedDiskgetDisk(intindex)
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter |
| Name |
Description |
index |
int
|
getDiskCount()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns |
| Type |
Description |
int |
getDiskList()
publicList<AttachedDisk>getDiskList()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
getDiskOrBuilder(int index)
publicAttachedDiskOrBuildergetDiskOrBuilder(intindex)
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter |
| Name |
Description |
index |
int
|
getDiskOrBuilderList()
publicList<?extendsAttachedDiskOrBuilder>getDiskOrBuilderList()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder> |
getGuestAccelerator(int index)
publicAcceleratorConfiggetGuestAccelerator(intindex)
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter |
| Name |
Description |
index |
int
|
getGuestAcceleratorCount()
publicintgetGuestAcceleratorCount()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns |
| Type |
Description |
int |
getGuestAcceleratorList()
publicList<AcceleratorConfig>getGuestAcceleratorList()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
getGuestAcceleratorOrBuilder(int index)
publicAcceleratorConfigOrBuildergetGuestAcceleratorOrBuilder(intindex)
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter |
| Name |
Description |
index |
int
|
getGuestAcceleratorOrBuilderList()
publicList<?extendsAcceleratorConfigOrBuilder>getGuestAcceleratorOrBuilderList()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder> |
getKeyRevocationActionType()
publicKeyRevocationActionTypegetKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
getKeyRevocationActionTypeValue()
publicintgetKeyRevocationActionTypeValue()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for keyRevocationActionType.
|
getLabels() (deprecated)
publicMap<String,String>getLabels()
getLabelsCount()
publicintgetLabelsCount()
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Returns |
| Type |
Description |
int |
getLabelsMap()
publicMap<String,String>getLabelsMap()
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Returns |
| Type |
Description |
String |
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
getMachineType()
publicStringgetMachineType()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
| Returns |
| Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
publicByteStringgetMachineTypeBytes()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for machineType.
|
publicMetadatagetMetadata()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns |
| Type |
Description |
Metadata |
The metadata.
|
publicMetadataOrBuildergetMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
publicStringgetMinCpuPlatform()
Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns |
| Type |
Description |
String |
The minCpuPlatform.
|
publicByteStringgetMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns |
| Type |
Description |
ByteString |
The bytes for minCpuPlatform.
|
getNetworkInterface(int index)
publicNetworkInterfacegetNetworkInterface(intindex)
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter |
| Name |
Description |
index |
int
|
getNetworkInterfaceCount()
publicintgetNetworkInterfaceCount()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns |
| Type |
Description |
int |
getNetworkInterfaceList()
publicList<NetworkInterface>getNetworkInterfaceList()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
getNetworkInterfaceOrBuilder(int index)
publicNetworkInterfaceOrBuildergetNetworkInterfaceOrBuilder(intindex)
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter |
| Name |
Description |
index |
int
|
getNetworkInterfaceOrBuilderList()
publicList<?extendsNetworkInterfaceOrBuilder>getNetworkInterfaceOrBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder> |
getParserForType()
publicParser<ComputeInstanceBackupProperties>getParserForType()
Overrides
getScheduling()
publicSchedulinggetScheduling()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns |
| Type |
Description |
Scheduling |
The scheduling.
|
getSchedulingOrBuilder()
publicSchedulingOrBuildergetSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getServiceAccount(int index)
publicServiceAccountgetServiceAccount(intindex)
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter |
| Name |
Description |
index |
int
|
getServiceAccountCount()
publicintgetServiceAccountCount()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns |
| Type |
Description |
int |
getServiceAccountList()
publicList<ServiceAccount>getServiceAccountList()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
getServiceAccountOrBuilder(int index)
publicServiceAccountOrBuildergetServiceAccountOrBuilder(intindex)
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter |
| Name |
Description |
index |
int
|
getServiceAccountOrBuilderList()
publicList<?extendsServiceAccountOrBuilder>getServiceAccountOrBuilderList()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder> |
getSourceInstance()
publicStringgetSourceInstance()
| Returns |
| Type |
Description |
String |
The sourceInstance.
|
getSourceInstanceBytes()
publicByteStringgetSourceInstanceBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for sourceInstance.
|
A list of tags to apply to the instances that are created from these
properties. The tags identify valid sources or targets for network
firewalls. The setTags method can modify this list of tags. Each tag within
the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns |
| Type |
Description |
Tags |
The tags.
|
publicTagsOrBuildergetTagsOrBuilder()
A list of tags to apply to the instances that are created from these
properties. The tags identify valid sources or targets for network
firewalls. The setTags method can modify this list of tags. Each tag within
the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
hasCanIpForward()
publicbooleanhasCanIpForward()
Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Returns |
| Type |
Description |
boolean |
Whether the canIpForward field is set.
|
hasDescription()
publicbooleanhasDescription()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
| Returns |
| Type |
Description |
boolean |
Whether the description field is set.
|
hasKeyRevocationActionType()
publicbooleanhasKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns |
| Type |
Description |
boolean |
Whether the keyRevocationActionType field is set.
|
hasMachineType()
publicbooleanhasMachineType()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
| Returns |
| Type |
Description |
boolean |
Whether the machineType field is set.
|
publicbooleanhasMetadata()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns |
| Type |
Description |
boolean |
Whether the metadata field is set.
|
publicbooleanhasMinCpuPlatform()
Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns |
| Type |
Description |
boolean |
Whether the minCpuPlatform field is set.
|
hasScheduling()
publicbooleanhasScheduling()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns |
| Type |
Description |
boolean |
Whether the scheduling field is set.
|
hasSourceInstance()
publicbooleanhasSourceInstance()
| Returns |
| Type |
Description |
boolean |
Whether the sourceInstance field is set.
|
A list of tags to apply to the instances that are created from these
properties. The tags identify valid sources or targets for network
firewalls. The setTags method can modify this list of tags. Each tag within
the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns |
| Type |
Description |
boolean |
Whether the tags field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicComputeInstanceBackupProperties.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedComputeInstanceBackupProperties.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicComputeInstanceBackupProperties.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides