public static final class BackupPlanBinding.BackupPlanDetails extends GeneratedMessageV3 implements BackupPlanBinding.BackupPlanDetailsOrBuilder
Contains metadata about the backup plan/backup.
Protobuf type google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
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_CONFIG_DETAILS_FIELD_NUMBER
public static final int BACKUP_CONFIG_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER
public static final int NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROTECTED_POD_COUNT_FIELD_NUMBER
public static final int PROTECTED_POD_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RETENTION_POLICY_DETAILS_FIELD_NUMBER
public static final int RETENTION_POLICY_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RPO_RISK_LEVEL_FIELD_NUMBER
public static final int RPO_RISK_LEVEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BackupPlanBinding.BackupPlanDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackupPlanBinding.BackupPlanDetails.Builder newBuilder()
newBuilder(BackupPlanBinding.BackupPlanDetails prototype)
public static BackupPlanBinding.BackupPlanDetails.Builder newBuilder(BackupPlanBinding.BackupPlanDetails prototype)
public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input)
public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding.BackupPlanDetails parseFrom(CodedInputStream input)
public static BackupPlanBinding.BackupPlanDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input)
public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackupPlanBinding.BackupPlanDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackupConfigDetails()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetails getBackupConfigDetails()
Output only. Contains details about the BackupConfig of Backups created
via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBackupConfigDetailsOrBuilder()
public BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsOrBuilder getBackupConfigDetailsOrBuilder()
Output only. Contains details about the BackupConfig of Backups created
via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public BackupPlanBinding.BackupPlanDetails getDefaultInstanceForType()
getLastSuccessfulBackup()
public String getLastSuccessfulBackup()
Output only. The fully qualified name of the last successful Backup
created under this BackupPlan.
projects/*/locations/*/backupPlans/*/backups/*
string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The lastSuccessfulBackup.
|
getLastSuccessfulBackupBytes()
public ByteString getLastSuccessfulBackupBytes()
Output only. The fully qualified name of the last successful Backup
created under this BackupPlan.
projects/*/locations/*/backupPlans/*/backups/*
string last_successful_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for lastSuccessfulBackup.
|
getLastSuccessfulBackupTime()
public Timestamp getLastSuccessfulBackupTime()
Output only. Completion time of the last successful Backup. This is
sourced from a successful Backup's complete_time field.
.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The lastSuccessfulBackupTime.
|
getLastSuccessfulBackupTimeOrBuilder()
public TimestampOrBuilder getLastSuccessfulBackupTimeOrBuilder()
Output only. Completion time of the last successful Backup. This is
sourced from a successful Backup's complete_time field.
.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNextScheduledBackupTime()
public Timestamp getNextScheduledBackupTime()
Output only. Start time of next scheduled backup under this BackupPlan by
either cron_schedule or rpo config. This is sourced from BackupPlan.
.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The nextScheduledBackupTime.
|
getNextScheduledBackupTimeOrBuilder()
public TimestampOrBuilder getNextScheduledBackupTimeOrBuilder()
Output only. Start time of next scheduled backup under this BackupPlan by
either cron_schedule or rpo config. This is sourced from BackupPlan.
.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<BackupPlanBinding.BackupPlanDetails> getParserForType()
Overrides
getProtectedPodCount()
public int getProtectedPodCount()
Output only. The number of Kubernetes Pods backed up in the
last successful Backup created via this BackupPlan.
int32 protected_pod_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The protectedPodCount.
|
getRetentionPolicyDetails()
public BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails getRetentionPolicyDetails()
Output only. Contains details about the RetentionPolicy of Backups
created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRetentionPolicyDetailsOrBuilder()
public BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsOrBuilder getRetentionPolicyDetailsOrBuilder()
Output only. Contains details about the RetentionPolicy of Backups
created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRpoRiskLevel()
public int getRpoRiskLevel()
Output only. A number that represents the current risk level of this
BackupPlan from RPO perspective with 1 being no risk and 5 being highest
risk.
int32 rpo_risk_level = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The rpoRiskLevel.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public BackupPlanBinding.BackupPlanDetails.State getState()
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
hasBackupConfigDetails()
public boolean hasBackupConfigDetails()
Output only. Contains details about the BackupConfig of Backups created
via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails backup_config_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the backupConfigDetails field is set.
|
hasLastSuccessfulBackupTime()
public boolean hasLastSuccessfulBackupTime()
Output only. Completion time of the last successful Backup. This is
sourced from a successful Backup's complete_time field.
.google.protobuf.Timestamp last_successful_backup_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the lastSuccessfulBackupTime field is set.
|
hasNextScheduledBackupTime()
public boolean hasNextScheduledBackupTime()
Output only. Start time of next scheduled backup under this BackupPlan by
either cron_schedule or rpo config. This is sourced from BackupPlan.
.google.protobuf.Timestamp next_scheduled_backup_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the nextScheduledBackupTime field is set.
|
hasRetentionPolicyDetails()
public boolean hasRetentionPolicyDetails()
Output only. Contains details about the RetentionPolicy of Backups
created via this BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails retention_policy_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the retentionPolicyDetails field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BackupPlanBinding.BackupPlanDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides