Class BackupConfigDetails (0.41.0)

public final class BackupConfigDetails extends GeneratedMessageV3 implements BackupConfigDetailsOrBuilder

BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.

Protobuf type google.cloud.backupdr.v1.BackupConfigDetails

Static Fields

APPLICABLE_RESOURCE_FIELD_NUMBER

public static final int APPLICABLE_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_CONFIG_SOURCE_DISPLAY_NAME_FIELD_NUMBER

public static final int BACKUP_CONFIG_SOURCE_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_CONFIG_SOURCE_FIELD_NUMBER

public static final int BACKUP_CONFIG_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_DR_PLAN_CONFIG_FIELD_NUMBER

public static final int BACKUP_DR_PLAN_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_DR_TEMPLATE_CONFIG_FIELD_NUMBER

public static final int BACKUP_DR_TEMPLATE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_LOCATIONS_FIELD_NUMBER

public static final int BACKUP_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_VAULT_FIELD_NUMBER

public static final int BACKUP_VAULT_FIELD_NUMBER
Field Value
Type Description
int

LATEST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER

public static final int LATEST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
Field Value
Type Description
int

PITR_SETTINGS_FIELD_NUMBER

public static final int PITR_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackupConfigDetails getDefaultInstance()
Returns
Type Description
BackupConfigDetails

getDescriptor()

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

newBuilder()

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

newBuilder(BackupConfigDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApplicableResource()

public String getApplicableResource()

Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"

string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The applicableResource.

getApplicableResourceBytes()

public ByteString getApplicableResourceBytes()

Output only. The full resource name of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"

string applicable_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for applicableResource.

getBackupConfigSource()

public String getBackupConfigSource()

Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".

string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The backupConfigSource.

getBackupConfigSourceBytes()

public ByteString getBackupConfigSourceBytes()

Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".

string backup_config_source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for backupConfigSource.

getBackupConfigSourceDisplayName()

public String getBackupConfigSourceDisplayName()

Output only. The display name of the backup config source resource.

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

Returns
Type Description
String

The backupConfigSourceDisplayName.

getBackupConfigSourceDisplayNameBytes()

public ByteString getBackupConfigSourceDisplayNameBytes()

Output only. The display name of the backup config source resource.

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

Returns
Type Description
ByteString

The bytes for backupConfigSourceDisplayName.

getBackupDrPlanConfig()

public BackupDrPlanConfig getBackupDrPlanConfig()

Google Cloud Backup and DR's Backup Plan specific data.

.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;

Returns
Type Description
BackupDrPlanConfig

The backupDrPlanConfig.

getBackupDrPlanConfigOrBuilder()

public BackupDrPlanConfigOrBuilder getBackupDrPlanConfigOrBuilder()

Google Cloud Backup and DR's Backup Plan specific data.

.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;

Returns
Type Description
BackupDrPlanConfigOrBuilder

getBackupDrTemplateConfig()

public BackupDrTemplateConfig getBackupDrTemplateConfig()

Google Cloud Backup and DR's Template specific data.

.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;

Returns
Type Description
BackupDrTemplateConfig

The backupDrTemplateConfig.

getBackupDrTemplateConfigOrBuilder()

public BackupDrTemplateConfigOrBuilder getBackupDrTemplateConfigOrBuilder()

Google Cloud Backup and DR's Template specific data.

.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;

Returns
Type Description
BackupDrTemplateConfigOrBuilder

getBackupLocations(int index)

public BackupLocation getBackupLocations(int index)

The locations where the backups are to be stored.

repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;

Parameter
Name Description
index int
Returns
Type Description
BackupLocation

getBackupLocationsCount()

public int getBackupLocationsCount()

The locations where the backups are to be stored.

repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;

Returns
Type Description
int

getBackupLocationsList()

public List<BackupLocation> getBackupLocationsList()

The locations where the backups are to be stored.

repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;

Returns
Type Description
List<BackupLocation>

getBackupLocationsOrBuilder(int index)

public BackupLocationOrBuilder getBackupLocationsOrBuilder(int index)

The locations where the backups are to be stored.

repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;

Parameter
Name Description
index int
Returns
Type Description
BackupLocationOrBuilder

getBackupLocationsOrBuilderList()

public List<? extends BackupLocationOrBuilder> getBackupLocationsOrBuilderList()

The locations where the backups are to be stored.

repeated .google.cloud.backupdr.v1.BackupLocation backup_locations = 12;

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

getBackupVault()

public String getBackupVault()

Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"

string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The backupVault.

getBackupVaultBytes()

public ByteString getBackupVaultBytes()

Output only. The full resource name of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"

string backup_vault = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for backupVault.

getDefaultInstanceForType()

public BackupConfigDetails getDefaultInstanceForType()
Returns
Type Description
BackupConfigDetails

getLatestSuccessfulBackupTime()

public Timestamp getLatestSuccessfulBackupTime()

Output only. Timestamp of the latest successful backup created via this backup configuration.

.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The latestSuccessfulBackupTime.

getLatestSuccessfulBackupTimeOrBuilder()

public TimestampOrBuilder getLatestSuccessfulBackupTimeOrBuilder()

Output only. Timestamp of the latest successful backup created via this backup configuration.

.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getPitrSettings()

public PitrSettings getPitrSettings()

Output only. Point in time recovery settings of the backup configuration resource.

.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PitrSettings

The pitrSettings.

getPitrSettingsOrBuilder()

public PitrSettingsOrBuilder getPitrSettingsOrBuilder()

Output only. Point in time recovery settings of the backup configuration resource.

.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PitrSettingsOrBuilder

getPlanSpecificConfigCase()

public BackupConfigDetails.PlanSpecificConfigCase getPlanSpecificConfigCase()
Returns
Type Description
BackupConfigDetails.PlanSpecificConfigCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public BackupConfigDetails.State getState()

Output only. The state of the backup config resource.

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

Returns
Type Description
BackupConfigDetails.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the backup config resource.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public BackupConfigDetails.Type getType()

Output only. The type of the backup config resource.

.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigDetails.Type

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the backup config resource.

.google.cloud.backupdr.v1.BackupConfigDetails.Type type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasBackupDrPlanConfig()

public boolean hasBackupDrPlanConfig()

Google Cloud Backup and DR's Backup Plan specific data.

.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;

Returns
Type Description
boolean

Whether the backupDrPlanConfig field is set.

hasBackupDrTemplateConfig()

public boolean hasBackupDrTemplateConfig()

Google Cloud Backup and DR's Template specific data.

.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;

Returns
Type Description
boolean

Whether the backupDrTemplateConfig field is set.

hasLatestSuccessfulBackupTime()

public boolean hasLatestSuccessfulBackupTime()

Output only. Timestamp of the latest successful backup created via this backup configuration.

.google.protobuf.Timestamp latest_successful_backup_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the latestSuccessfulBackupTime field is set.

hasPitrSettings()

public boolean hasPitrSettings()

Output only. Point in time recovery settings of the backup configuration resource.

.google.cloud.backupdr.v1.PitrSettings pitr_settings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pitrSettings 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 BackupConfigDetails.Builder newBuilderForType()
Returns
Type Description
BackupConfigDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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