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
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackupConfigDetails.Builder newBuilder()
newBuilder(BackupConfigDetails prototype)
public static BackupConfigDetails.Builder newBuilder(BackupConfigDetails prototype)
public static BackupConfigDetails parseDelimitedFrom(InputStream input)
public static BackupConfigDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackupConfigDetails parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackupConfigDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigDetails parseFrom(CodedInputStream input)
public static BackupConfigDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupConfigDetails parseFrom(InputStream input)
public static BackupConfigDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackupConfigDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupConfigDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackupConfigDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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;
getBackupDrPlanConfigOrBuilder()
public BackupDrPlanConfigOrBuilder getBackupDrPlanConfigOrBuilder()
Google Cloud Backup and DR's Backup Plan specific data.
.google.cloud.backupdr.v1.BackupDrPlanConfig backup_dr_plan_config = 10;
getBackupDrTemplateConfig()
public BackupDrTemplateConfig getBackupDrTemplateConfig()
Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
getBackupDrTemplateConfigOrBuilder()
public BackupDrTemplateConfigOrBuilder getBackupDrTemplateConfigOrBuilder()
Google Cloud Backup and DR's Template specific data.
.google.cloud.backupdr.v1.BackupDrTemplateConfig backup_dr_template_config = 11;
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
|
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;
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
|
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()
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];
getParserForType()
public Parser<BackupConfigDetails> getParserForType()
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];
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];
getPlanSpecificConfigCase()
public BackupConfigDetails.PlanSpecificConfigCase getPlanSpecificConfigCase()
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];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackupConfigDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupConfigDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public BackupConfigDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides