Class BackupPlanBinding.BackupPlanDetails (0.61.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackupPlanBinding.BackupPlanDetails

Static Fields

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

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()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails

getDescriptor()

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

newBuilder()

public static BackupPlanBinding.BackupPlanDetails.Builder newBuilder()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.Builder

newBuilder(BackupPlanBinding.BackupPlanDetails prototype)

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

parseDelimitedFrom(InputStream input)

public static BackupPlanBinding.BackupPlanDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackupPlanBinding.BackupPlanDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BackupPlanBinding.BackupPlanDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BackupPlanBinding.BackupPlanDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackupPlanBinding.BackupPlanDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BackupPlanBinding.BackupPlanDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackupPlanBinding.BackupPlanDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BackupPlanBinding.BackupPlanDetails> parser()
Returns
Type Description
Parser<BackupPlanDetails>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BackupPlanBinding.BackupPlanDetails getDefaultInstanceForType()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails

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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<BackupPlanBinding.BackupPlanDetails> getParserForType()
Returns
Type Description
Parser<BackupPlanDetails>
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.

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];

Returns
Type Description
BackupPlanBinding.BackupPlanDetails.State

The state.

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.

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.

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 BackupPlanBinding.BackupPlanDetails.Builder newBuilderForType()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BackupPlanBinding.BackupPlanDetails.Builder toBuilder()
Returns
Type Description
BackupPlanBinding.BackupPlanDetails.Builder

writeTo(CodedOutputStream output)

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