Class Backup (0.11.0)

publicfinalclass BackupextendsGeneratedMessageV3implementsBackupOrBuilder

Message describing a Backup object.

Protobuf type google.cloud.backupdr.v1.Backup

Implements

BackupOrBuilder

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

BACKUP_APPLIANCE_BACKUP_PROPERTIES_FIELD_NUMBER

publicstaticfinalintBACKUP_APPLIANCE_BACKUP_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_APPLIANCE_LOCKS_FIELD_NUMBER

publicstaticfinalintBACKUP_APPLIANCE_LOCKS_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_TYPE_FIELD_NUMBER

publicstaticfinalintBACKUP_TYPE_FIELD_NUMBER
Field Value
Type Description
int

COMPUTE_INSTANCE_BACKUP_PROPERTIES_FIELD_NUMBER

publicstaticfinalintCOMPUTE_INSTANCE_BACKUP_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

CONSISTENCY_TIME_FIELD_NUMBER

publicstaticfinalintCONSISTENCY_TIME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ENFORCED_RETENTION_END_TIME_FIELD_NUMBER

publicstaticfinalintENFORCED_RETENTION_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ETAG_FIELD_NUMBER

publicstaticfinalintETAG_FIELD_NUMBER
Field Value
Type Description
int

EXPIRE_TIME_FIELD_NUMBER

publicstaticfinalintEXPIRE_TIME_FIELD_NUMBER
Field Value
Type Description
int

GCP_BACKUP_PLAN_INFO_FIELD_NUMBER

publicstaticfinalintGCP_BACKUP_PLAN_INFO_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

publicstaticfinalintLABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_SIZE_BYTES_FIELD_NUMBER

publicstaticfinalintRESOURCE_SIZE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_LOCKS_FIELD_NUMBER

publicstaticfinalintSERVICE_LOCKS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

publicstaticfinalintSTATE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBackupgetDefaultInstance()
Returns
Type Description
Backup

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBackup.BuildernewBuilder()
Returns
Type Description
Backup.Builder

newBuilder(Backup prototype)

publicstaticBackup.BuildernewBuilder(Backupprototype)
Parameter
Name Description
prototype Backup
Returns
Type Description
Backup.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Backup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

publicstaticBackupparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Backup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

publicstaticBackupparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Backup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticBackupparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Backup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

publicstaticBackupparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Backup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

publicstaticBackupparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Backup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsLabels(String key)

publicbooleancontainsLabels(Stringkey)

Optional. Resource labels to represent user provided metadata. No labels currently defined.

map<string, string> labels = 5 [(.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
Overrides

getBackupApplianceBackupProperties()

publicBackupApplianceBackupPropertiesgetBackupApplianceBackupProperties()

Output only. Backup Appliance specific backup properties.

.google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupApplianceBackupProperties

The backupApplianceBackupProperties.

getBackupApplianceBackupPropertiesOrBuilder()

publicBackupApplianceBackupPropertiesOrBuildergetBackupApplianceBackupPropertiesOrBuilder()

Output only. Backup Appliance specific backup properties.

.google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupApplianceBackupPropertiesOrBuilder

getBackupApplianceLocks(int index)

publicBackupLockgetBackupApplianceLocks(intindex)

Optional. The list of BackupLocks taken by the accessor Backup Appliance.

repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BackupLock

getBackupApplianceLocksCount()

publicintgetBackupApplianceLocksCount()

Optional. The list of BackupLocks taken by the accessor Backup Appliance.

repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getBackupApplianceLocksList()

publicList<BackupLock>getBackupApplianceLocksList()

Optional. The list of BackupLocks taken by the accessor Backup Appliance.

repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<BackupLock>

getBackupApplianceLocksOrBuilder(int index)

publicBackupLockOrBuildergetBackupApplianceLocksOrBuilder(intindex)

Optional. The list of BackupLocks taken by the accessor Backup Appliance.

repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
BackupLockOrBuilder

getBackupApplianceLocksOrBuilderList()

publicList<?extendsBackupLockOrBuilder>getBackupApplianceLocksOrBuilderList()

Optional. The list of BackupLocks taken by the accessor Backup Appliance.

repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupLockOrBuilder>

getBackupPropertiesCase()

publicBackup.BackupPropertiesCasegetBackupPropertiesCase()
Returns
Type Description
Backup.BackupPropertiesCase

getBackupType()

publicBackup.BackupTypegetBackupType()

Output only. Type of the backup, unspecified, scheduled or ondemand.

.google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.BackupType

The backupType.

getBackupTypeValue()

publicintgetBackupTypeValue()

Output only. Type of the backup, unspecified, scheduled or ondemand.

.google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for backupType.

getComputeInstanceBackupProperties()

publicComputeInstanceBackupPropertiesgetComputeInstanceBackupProperties()

Output only. Compute Engine specific backup properties.

.google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeInstanceBackupProperties

The computeInstanceBackupProperties.

getComputeInstanceBackupPropertiesOrBuilder()

publicComputeInstanceBackupPropertiesOrBuildergetComputeInstanceBackupPropertiesOrBuilder()

Output only. Compute Engine specific backup properties.

.google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeInstanceBackupPropertiesOrBuilder

getConsistencyTime()

publicTimestampgetConsistencyTime()

Output only. The point in time when this backup was captured from the source.

optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The consistencyTime.

getConsistencyTimeOrBuilder()

publicTimestampOrBuildergetConsistencyTimeOrBuilder()

Output only. The point in time when this backup was captured from the source.

optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCreateTime()

publicTimestampgetCreateTime()

Output only. The time when the instance was created.

optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. The time when the instance was created.

optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicBackupgetDefaultInstanceForType()
Returns
Type Description
Backup

getDescription()

publicStringgetDescription()

Output only. The description of the Backup instance (2048 characters or less).

optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Output only. The description of the Backup instance (2048 characters or less).

optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getEnforcedRetentionEndTime()

publicTimestampgetEnforcedRetentionEndTime()

Optional. The backup can not be deleted before this time.

optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The enforcedRetentionEndTime.

getEnforcedRetentionEndTimeOrBuilder()

publicTimestampOrBuildergetEnforcedRetentionEndTimeOrBuilder()

Optional. The backup can not be deleted before this time.

optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getEtag()

publicStringgetEtag()

Optional. Server specified ETag to prevent updates from overwriting each other.

optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

publicByteStringgetEtagBytes()

Optional. Server specified ETag to prevent updates from overwriting each other.

optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getExpireTime()

publicTimestampgetExpireTime()

Optional. When this backup is automatically expired.

optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

publicTimestampOrBuildergetExpireTimeOrBuilder()

Optional. When this backup is automatically expired.

optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getGcpBackupPlanInfo()

publicBackup.GCPBackupPlanInfogetGcpBackupPlanInfo()

Output only. Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.GCPBackupPlanInfo

The gcpBackupPlanInfo.

getGcpBackupPlanInfoOrBuilder()

publicBackup.GCPBackupPlanInfoOrBuildergetGcpBackupPlanInfoOrBuilder()

Output only. Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.GCPBackupPlanInfoOrBuilder

getLabels() (deprecated)

publicMap<String,String>getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

publicintgetLabelsCount()

Optional. Resource labels to represent user provided metadata. No labels currently defined.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

publicMap<String,String>getLabelsMap()

Optional. Resource labels to represent user provided metadata. No labels currently defined.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)

Optional. Resource labels to represent user provided metadata. No labels currently defined.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

publicStringgetLabelsOrThrow(Stringkey)

Optional. Resource labels to represent user provided metadata. No labels currently defined.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

publicStringgetName()

Output only. Identifier. Name of the backup to create. It must have the format"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}". {backup} cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Output only. Identifier. Name of the backup to create. It must have the format"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}". {backup} cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<Backup>getParserForType()
Returns
Type Description
Parser<Backup>
Overrides

getPlanInfoCase()

publicBackup.PlanInfoCasegetPlanInfoCase()
Returns
Type Description
Backup.PlanInfoCase

getResourceSizeBytes()

publiclonggetResourceSizeBytes()

Output only. source resource size in bytes at the time of the backup.

int64 resource_size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The resourceSizeBytes.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceLocks(int index)

publicBackupLockgetServiceLocks(intindex)

Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.

repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupLock

getServiceLocksCount()

publicintgetServiceLocksCount()

Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.

repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getServiceLocksList()

publicList<BackupLock>getServiceLocksList()

Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.

repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<BackupLock>

getServiceLocksOrBuilder(int index)

publicBackupLockOrBuildergetServiceLocksOrBuilder(intindex)

Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.

repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
BackupLockOrBuilder

getServiceLocksOrBuilderList()

publicList<?extendsBackupLockOrBuilder>getServiceLocksOrBuilderList()

Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.

repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.BackupLockOrBuilder>

getState()

publicBackup.StategetState()

Output only. The Backup resource instance state.

.google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Backup.State

The state.

getStateValue()

publicintgetStateValue()

Output only. The Backup resource instance state.

.google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

publicTimestampgetUpdateTime()

Output only. The time when the instance was updated.

optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

Output only. The time when the instance was updated.

optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasBackupApplianceBackupProperties()

publicbooleanhasBackupApplianceBackupProperties()

Output only. Backup Appliance specific backup properties.

.google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the backupApplianceBackupProperties field is set.

hasComputeInstanceBackupProperties()

publicbooleanhasComputeInstanceBackupProperties()

Output only. Compute Engine specific backup properties.

.google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the computeInstanceBackupProperties field is set.

hasConsistencyTime()

publicbooleanhasConsistencyTime()

Output only. The point in time when this backup was captured from the source.

optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the consistencyTime field is set.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. The time when the instance was created.

optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDescription()

publicbooleanhasDescription()

Output only. The description of the Backup instance (2048 characters or less).

optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the description field is set.

hasEnforcedRetentionEndTime()

publicbooleanhasEnforcedRetentionEndTime()

Optional. The backup can not be deleted before this time.

optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enforcedRetentionEndTime field is set.

hasEtag()

publicbooleanhasEtag()

Optional. Server specified ETag to prevent updates from overwriting each other.

optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the etag field is set.

hasExpireTime()

publicbooleanhasExpireTime()

Optional. When this backup is automatically expired.

optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasGcpBackupPlanInfo()

publicbooleanhasGcpBackupPlanInfo()

Output only. Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gcpBackupPlanInfo field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

Output only. The time when the instance was updated.

optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime 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()

publicBackup.BuildernewBuilderForType()
Returns
Type Description
Backup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackup.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Backup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicBackup.BuildertoBuilder()
Returns
Type Description
Backup.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.