Class ComputeInstanceBackupProperties (0.18.0)

publicfinalclass ComputeInstanceBackupPropertiesextendsGeneratedMessageV3implementsComputeInstanceBackupPropertiesOrBuilder

ComputeInstanceBackupProperties represents Compute Engine instance backup properties.

Protobuf type google.cloud.backupdr.v1.ComputeInstanceBackupProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > 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

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

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

TAGS_FIELD_NUMBER

publicstaticfinalintTAGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticComputeInstanceBackupPropertiesgetDefaultInstance()
Returns
Type Description
ComputeInstanceBackupProperties

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticComputeInstanceBackupProperties.BuildernewBuilder()
Returns
Type Description
ComputeInstanceBackupProperties.Builder

newBuilder(ComputeInstanceBackupProperties prototype)

publicstaticComputeInstanceBackupProperties.BuildernewBuilder(ComputeInstanceBackupPropertiesprototype)
Parameter
Name Description
prototype ComputeInstanceBackupProperties
Returns
Type Description
ComputeInstanceBackupProperties.Builder

parseDelimitedFrom(InputStream input)

publicstaticComputeInstanceBackupPropertiesparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticComputeInstanceBackupPropertiesparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticComputeInstanceBackupPropertiesparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticComputeInstanceBackupPropertiesparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticComputeInstanceBackupPropertiesparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticComputeInstanceBackupPropertiesparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticComputeInstanceBackupPropertiesparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeInstanceBackupProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ComputeInstanceBackupProperties>parser()
Returns
Type Description
Parser<ComputeInstanceBackupProperties>

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
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
ComputeInstanceBackupProperties

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
Returns
Type Description
AttachedDisk

getDiskCount()

publicintgetDiskCount()

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;

Returns
Type Description
List<AttachedDisk>

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
Returns
Type Description
AttachedDiskOrBuilder

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
Returns
Type Description
AcceleratorConfig

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;

Returns
Type Description
List<AcceleratorConfig>

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
Returns
Type Description
AcceleratorConfigOrBuilder

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;

Returns
Type Description
KeyRevocationActionType

The keyRevocationActionType.

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()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

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;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Labels to apply to instances that are created from these properties.

map<string, string> labels = 14;

Parameters
Name Description
key String
defaultValue String
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.

getMetadata()

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.

getMetadataOrBuilder()

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;

Returns
Type Description
MetadataOrBuilder

getMinCpuPlatform()

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.

getMinCpuPlatformBytes()

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
Returns
Type Description
NetworkInterface

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;

Returns
Type Description
List<NetworkInterface>

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
Returns
Type Description
NetworkInterfaceOrBuilder

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()
Returns
Type Description
Parser<ComputeInstanceBackupProperties>
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;

Returns
Type Description
SchedulingOrBuilder

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
Returns
Type Description
ServiceAccount

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;

Returns
Type Description
List<ServiceAccount>

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
Returns
Type Description
ServiceAccountOrBuilder

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()

The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance

optional string source_instance = 13;

Returns
Type Description
String

The sourceInstance.

getSourceInstanceBytes()

publicByteStringgetSourceInstanceBytes()

The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance

optional string source_instance = 13;

Returns
Type Description
ByteString

The bytes for sourceInstance.

getTags()

publicTagsgetTags()

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.

getTagsOrBuilder()

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;

Returns
Type Description
TagsOrBuilder

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.

hasMetadata()

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.

hasMinCpuPlatform()

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()

The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance

optional string source_instance = 13;

Returns
Type Description
boolean

Whether the sourceInstance field is set.

hasTags()

publicbooleanhasTags()

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()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicComputeInstanceBackupProperties.BuildernewBuilderForType()
Returns
Type Description
ComputeInstanceBackupProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedComputeInstanceBackupProperties.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComputeInstanceBackupProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicComputeInstanceBackupProperties.BuildertoBuilder()
Returns
Type Description
ComputeInstanceBackupProperties.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.