Package com.google.cloud.gkebackup.v1
Class BackupPlanBinding.BackupPlanDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails
- All Implemented Interfaces:
BackupPlanBinding.BackupPlanDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BackupPlanBinding
public static final class BackupPlanBinding.BackupPlanDetails
extends com.google.protobuf.GeneratedMessage
implements BackupPlanBinding.BackupPlanDetailsOrBuilder
Contains metadata about the backup plan/backup.Protobuf type
google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBackupConfigDetails defines the configuration of Backups created via this BackupPlan.static interfacestatic final classContains metadata about the backup plan/backup.static final classRetentionPolicyDetails defines a Backup retention policy for a BackupPlan.static interfacestatic enumStateNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.static final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.Parser<BackupPlanBinding.BackupPlanDetails>intOutput only.Output only.Output only.intOutput only.intgetState()Output only.intOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BackupPlanBinding.BackupPlanDetails prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BackupPlanBinding.BackupPlanDetails>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PROTECTED_POD_COUNT_FIELD_NUMBER
public static final int PROTECTED_POD_COUNT_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_TIME_FIELD_NUMBER- See Also:
-
NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER
public static final int NEXT_SCHEDULED_BACKUP_TIME_FIELD_NUMBER- See Also:
-
RPO_RISK_LEVEL_FIELD_NUMBER
public static final int RPO_RISK_LEVEL_FIELD_NUMBER- See Also:
-
LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER
public static final int LAST_SUCCESSFUL_BACKUP_FIELD_NUMBER- See Also:
-
BACKUP_CONFIG_DETAILS_FIELD_NUMBER
public static final int BACKUP_CONFIG_DETAILS_FIELD_NUMBER- See Also:
-
RETENTION_POLICY_DETAILS_FIELD_NUMBER
public static final int RETENTION_POLICY_DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
getProtectedPodCountin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The protectedPodCount.
-
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];- Specified by:
getStateValuein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. State of the BackupPlan.
.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The state.
-
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];- Specified by:
hasLastSuccessfulBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the lastSuccessfulBackupTime field is set.
-
getLastSuccessfulBackupTime
public com.google.protobuf.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];- Specified by:
getLastSuccessfulBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The lastSuccessfulBackupTime.
-
getLastSuccessfulBackupTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getLastSuccessfulBackupTimeOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
hasNextScheduledBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the nextScheduledBackupTime field is set.
-
getNextScheduledBackupTime
public com.google.protobuf.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];- Specified by:
getNextScheduledBackupTimein interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The nextScheduledBackupTime.
-
getNextScheduledBackupTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getNextScheduledBackupTimeOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
getRpoRiskLevelin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The rpoRiskLevel.
-
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];- Specified by:
getLastSuccessfulBackupin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The lastSuccessfulBackup.
-
getLastSuccessfulBackupBytes
public com.google.protobuf.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];- Specified by:
getLastSuccessfulBackupBytesin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The bytes for lastSuccessfulBackup.
-
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];- Specified by:
hasBackupConfigDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the backupConfigDetails field is set.
-
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];- Specified by:
getBackupConfigDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The backupConfigDetails.
-
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];- Specified by:
getBackupConfigDetailsOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
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];- Specified by:
hasRetentionPolicyDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- Whether the retentionPolicyDetails field is set.
-
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];- Specified by:
getRetentionPolicyDetailsin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder- Returns:
- The retentionPolicyDetails.
-
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];- Specified by:
getRetentionPolicyDetailsOrBuilderin interfaceBackupPlanBinding.BackupPlanDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BackupPlanBinding.BackupPlanDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static BackupPlanBinding.BackupPlanDetails.Builder newBuilder(BackupPlanBinding.BackupPlanDetails prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-