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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackupConfigInfo.Builder newBuilder()
newBuilder(BackupConfigInfo prototype)
public static BackupConfigInfo.Builder newBuilder(BackupConfigInfo prototype)
public static BackupConfigInfo parseDelimitedFrom(InputStream input)
public static BackupConfigInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackupConfigInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackupConfigInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigInfo parseFrom(CodedInputStream input)
public static BackupConfigInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupConfigInfo parseFrom(InputStream input)
public static BackupConfigInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackupConfigInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackupConfigInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
getBackupApplianceBackupConfigOrBuilder()
public BackupApplianceBackupConfigOrBuilder getBackupApplianceBackupConfigOrBuilder()
Configuration for an application backed up by a Backup Appliance.
.google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;
getBackupConfigCase()
public BackupConfigInfo.BackupConfigCase getBackupConfigCase()
getDefaultInstanceForType()
public BackupConfigInfo getDefaultInstanceForType()
getGcpBackupConfig()
public GcpBackupConfig getGcpBackupConfig()
Configuration for a Google Cloud resource.
.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;
getGcpBackupConfigOrBuilder()
public GcpBackupConfigOrBuilder getGcpBackupConfigOrBuilder()
Configuration for a Google Cloud resource.
.google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;
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];
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];
getParserForType()
public Parser<BackupConfigInfo> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackupConfigInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupConfigInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BackupConfigInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides