Class BackupConfigInfo (0.15.0)

publicfinalclass BackupConfigInfoextendsGeneratedMessageV3implementsBackupConfigInfoOrBuilder

BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.

Protobuf type google.cloud.backupdr.v1.BackupConfigInfo

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_CONFIG_FIELD_NUMBER

publicstaticfinalintBACKUP_APPLIANCE_BACKUP_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCP_BACKUP_CONFIG_FIELD_NUMBER

publicstaticfinalintGCP_BACKUP_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_ERROR_FIELD_NUMBER

publicstaticfinalintLAST_BACKUP_ERROR_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_STATE_FIELD_NUMBER

publicstaticfinalintLAST_BACKUP_STATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER

publicstaticfinalintLAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBackupConfigInfogetDefaultInstance()
Returns
Type Description
BackupConfigInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBackupConfigInfo.BuildernewBuilder()
Returns
Type Description
BackupConfigInfo.Builder

newBuilder(BackupConfigInfo prototype)

publicstaticBackupConfigInfo.BuildernewBuilder(BackupConfigInfoprototype)
Parameter
Name Description
prototype BackupConfigInfo
Returns
Type Description
BackupConfigInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupConfigInfoparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

publicstaticBackupConfigInfoparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

publicstaticBackupConfigInfoparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticBackupConfigInfoparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

publicstaticBackupConfigInfoparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

publicstaticBackupConfigInfoparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupApplianceBackupConfig()

publicBackupApplianceBackupConfiggetBackupApplianceBackupConfig()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupApplianceBackupConfig

The backupApplianceBackupConfig.

getBackupApplianceBackupConfigOrBuilder()

publicBackupApplianceBackupConfigOrBuildergetBackupApplianceBackupConfigOrBuilder()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
BackupApplianceBackupConfigOrBuilder

getBackupConfigCase()

publicBackupConfigInfo.BackupConfigCasegetBackupConfigCase()
Returns
Type Description
BackupConfigInfo.BackupConfigCase

getDefaultInstanceForType()

publicBackupConfigInfogetDefaultInstanceForType()
Returns
Type Description
BackupConfigInfo

getGcpBackupConfig()

publicGcpBackupConfiggetGcpBackupConfig()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
GcpBackupConfig

The gcpBackupConfig.

getGcpBackupConfigOrBuilder()

publicGcpBackupConfigOrBuildergetGcpBackupConfigOrBuilder()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
GcpBackupConfigOrBuilder

getLastBackupError()

publicStatusgetLastBackupError()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The lastBackupError.

getLastBackupErrorOrBuilder()

publicStatusOrBuildergetLastBackupErrorOrBuilder()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getLastBackupState()

publicBackupConfigInfo.LastBackupStategetLastBackupState()

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigInfo.LastBackupState

The lastBackupState.

getLastBackupStateValue()

publicintgetLastBackupStateValue()

Output only. The status of the last backup to this BackupVault

.google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lastBackupState.

getLastSuccessfulBackupConsistencyTime()

publicTimestampgetLastSuccessfulBackupConsistencyTime()

Output only. If the last backup were successful, this field has the consistency date.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastSuccessfulBackupConsistencyTime.

getLastSuccessfulBackupConsistencyTimeOrBuilder()

publicTimestampOrBuildergetLastSuccessfulBackupConsistencyTimeOrBuilder()

Output only. If the last backup were successful, this field has the consistency date.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasBackupApplianceBackupConfig()

publicbooleanhasBackupApplianceBackupConfig()

Configuration for an application backed up by a Backup Appliance.

.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;

Returns
Type Description
boolean

Whether the backupApplianceBackupConfig field is set.

hasGcpBackupConfig()

publicbooleanhasGcpBackupConfig()

Configuration for a Google Cloud resource.

.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;

Returns
Type Description
boolean

Whether the gcpBackupConfig field is set.

hasLastBackupError()

publicbooleanhasLastBackupError()

Output only. If the last backup failed, this field has the error message.

.google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastBackupError field is set.

hasLastSuccessfulBackupConsistencyTime()

publicbooleanhasLastSuccessfulBackupConsistencyTime()

Output only. If the last backup were successful, this field has the consistency date.

.google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastSuccessfulBackupConsistencyTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBackupConfigInfo.BuildernewBuilderForType()
Returns
Type Description
BackupConfigInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackupConfigInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupConfigInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicBackupConfigInfo.BuildertoBuilder()
Returns
Type Description
BackupConfigInfo.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.