Class BackupConfigInfo (0.11.0)

public final class BackupConfigInfo extends GeneratedMessageV3 implements BackupConfigInfoOrBuilder

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

Static Fields

BACKUP_APPLIANCE_BACKUP_CONFIG_FIELD_NUMBER

public static final int BACKUP_APPLIANCE_BACKUP_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

GCP_BACKUP_CONFIG_FIELD_NUMBER

public static final int GCP_BACKUP_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_ERROR_FIELD_NUMBER

public static final int LAST_BACKUP_ERROR_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKUP_STATE_FIELD_NUMBER

public static final int LAST_BACKUP_STATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER

public static final int LAST_SUCCESSFUL_BACKUP_CONSISTENCY_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackupConfigInfo getDefaultInstance()
Returns
Type Description
BackupConfigInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackupConfigInfo.Builder newBuilder()
Returns
Type Description
BackupConfigInfo.Builder

newBuilder(BackupConfigInfo prototype)

public static BackupConfigInfo.Builder newBuilder(BackupConfigInfo prototype)
Parameter
Name Description
prototype BackupConfigInfo
Returns
Type Description
BackupConfigInfo.Builder

parseDelimitedFrom(InputStream input)

public static BackupConfigInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackupConfigInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackupConfigInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackupConfigInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackupConfigInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackupConfigInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackupConfigInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackupConfigInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackupConfigInfo> parser()
Returns
Type Description
Parser<BackupConfigInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupApplianceBackupConfig()

public BackupApplianceBackupConfig getBackupApplianceBackupConfig()

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

public BackupApplianceBackupConfigOrBuilder getBackupApplianceBackupConfigOrBuilder()

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

public BackupConfigInfo.BackupConfigCase getBackupConfigCase()
Returns
Type Description
BackupConfigInfo.BackupConfigCase

getDefaultInstanceForType()

public BackupConfigInfo getDefaultInstanceForType()
Returns
Type Description
BackupConfigInfo

getGcpBackupConfig()

public GcpBackupConfig getGcpBackupConfig()

Configuration for a Google Cloud resource.

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

Returns
Type Description
GcpBackupConfig

The gcpBackupConfig.

getGcpBackupConfigOrBuilder()

public GcpBackupConfigOrBuilder getGcpBackupConfigOrBuilder()

Configuration for a Google Cloud resource.

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

Returns
Type Description
GcpBackupConfigOrBuilder

getLastBackupError()

public Status getLastBackupError()

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

public StatusOrBuilder getLastBackupErrorOrBuilder()

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

public BackupConfigInfo.LastBackupState getLastBackupState()

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

public int getLastBackupStateValue()

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

public Timestamp getLastSuccessfulBackupConsistencyTime()

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

public TimestampOrBuilder getLastSuccessfulBackupConsistencyTimeOrBuilder()

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

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBackupApplianceBackupConfig()

public boolean hasBackupApplianceBackupConfig()

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

public boolean hasGcpBackupConfig()

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

public boolean hasLastBackupError()

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

public boolean hasLastSuccessfulBackupConsistencyTime()

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

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackupConfigInfo.Builder newBuilderForType()
Returns
Type Description
BackupConfigInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackupConfigInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackupConfigInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackupConfigInfo.Builder toBuilder()
Returns
Type Description
BackupConfigInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException