Class ContinuousBackupInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.alloydb.v1beta.ContinuousBackupInfo
All Implemented Interfaces:
ContinuousBackupInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessage implements ContinuousBackupInfoOrBuilder
 ContinuousBackupInfo describes the continuous backup properties of a
 cluster.
 
Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupInfo
See Also:
  • Field Details

    • ENCRYPTION_INFO_FIELD_NUMBER

      public static final int ENCRYPTION_INFO_FIELD_NUMBER
      See Also:
    • ENABLED_TIME_FIELD_NUMBER

      public static final int ENABLED_TIME_FIELD_NUMBER
      See Also:
    • SCHEDULE_FIELD_NUMBER

      public static final int SCHEDULE_FIELD_NUMBER
      See Also:
    • EARLIEST_RESTORABLE_TIME_FIELD_NUMBER

      public static final int EARLIEST_RESTORABLE_TIME_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasEncryptionInfo

      public boolean hasEncryptionInfo()
       Output only. The encryption information for the WALs and backups required
       for ContinuousBackup.
       
      .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEncryptionInfo in interface ContinuousBackupInfoOrBuilder
      Returns:
      Whether the encryptionInfo field is set.
    • getEncryptionInfo

      public EncryptionInfo getEncryptionInfo()
       Output only. The encryption information for the WALs and backups required
       for ContinuousBackup.
       
      .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEncryptionInfo in interface ContinuousBackupInfoOrBuilder
      Returns:
      The encryptionInfo.
    • getEncryptionInfoOrBuilder

      public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
       Output only. The encryption information for the WALs and backups required
       for ContinuousBackup.
       
      .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEncryptionInfoOrBuilder in interface ContinuousBackupInfoOrBuilder
    • hasEnabledTime

      public boolean hasEnabledTime()
       Output only. When ContinuousBackup was most recently enabled. Set to null
       if ContinuousBackup is not enabled.
       
      .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEnabledTime in interface ContinuousBackupInfoOrBuilder
      Returns:
      Whether the enabledTime field is set.
    • getEnabledTime

      public com.google.protobuf.Timestamp getEnabledTime()
       Output only. When ContinuousBackup was most recently enabled. Set to null
       if ContinuousBackup is not enabled.
       
      .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEnabledTime in interface ContinuousBackupInfoOrBuilder
      Returns:
      The enabledTime.
    • getEnabledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder()
       Output only. When ContinuousBackup was most recently enabled. Set to null
       if ContinuousBackup is not enabled.
       
      .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEnabledTimeOrBuilder in interface ContinuousBackupInfoOrBuilder
    • getScheduleList

      public List<DayOfWeek> getScheduleList()
       Output only. Days of the week on which a continuous backup is taken.
       
      repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleList in interface ContinuousBackupInfoOrBuilder
      Returns:
      A list containing the schedule.
    • getScheduleCount

      public int getScheduleCount()
       Output only. Days of the week on which a continuous backup is taken.
       
      repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleCount in interface ContinuousBackupInfoOrBuilder
      Returns:
      The count of schedule.
    • getSchedule

      public DayOfWeek getSchedule(int index)
       Output only. Days of the week on which a continuous backup is taken.
       
      repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSchedule in interface ContinuousBackupInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The schedule at the given index.
    • getScheduleValueList

      public List<Integer> getScheduleValueList()
       Output only. Days of the week on which a continuous backup is taken.
       
      repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleValueList in interface ContinuousBackupInfoOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for schedule.
    • getScheduleValue

      public int getScheduleValue(int index)
       Output only. Days of the week on which a continuous backup is taken.
       
      repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getScheduleValue in interface ContinuousBackupInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of schedule at the given index.
    • hasEarliestRestorableTime

      public boolean hasEarliestRestorableTime()
       Output only. The earliest restorable time that can be restored to. If
       continuous backups and recovery was recently enabled, the earliest
       restorable time is the creation time of the earliest eligible backup within
       this cluster's continuous backup recovery window. After a cluster has had
       continuous backups enabled for the duration of its recovery window, the
       earliest restorable time becomes "now minus the recovery window". For
       example, assuming a point in time recovery is attempted at 04/16/2025
       3:23:00PM with a 14d recovery window, the earliest restorable time would be
       04/02/2025 3:23:00PM. This field is only visible if the
       CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
       
      .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEarliestRestorableTime in interface ContinuousBackupInfoOrBuilder
      Returns:
      Whether the earliestRestorableTime field is set.
    • getEarliestRestorableTime

      public com.google.protobuf.Timestamp getEarliestRestorableTime()
       Output only. The earliest restorable time that can be restored to. If
       continuous backups and recovery was recently enabled, the earliest
       restorable time is the creation time of the earliest eligible backup within
       this cluster's continuous backup recovery window. After a cluster has had
       continuous backups enabled for the duration of its recovery window, the
       earliest restorable time becomes "now minus the recovery window". For
       example, assuming a point in time recovery is attempted at 04/16/2025
       3:23:00PM with a 14d recovery window, the earliest restorable time would be
       04/02/2025 3:23:00PM. This field is only visible if the
       CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
       
      .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEarliestRestorableTime in interface ContinuousBackupInfoOrBuilder
      Returns:
      The earliestRestorableTime.
    • getEarliestRestorableTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder()
       Output only. The earliest restorable time that can be restored to. If
       continuous backups and recovery was recently enabled, the earliest
       restorable time is the creation time of the earliest eligible backup within
       this cluster's continuous backup recovery window. After a cluster has had
       continuous backups enabled for the duration of its recovery window, the
       earliest restorable time becomes "now minus the recovery window". For
       example, assuming a point in time recovery is attempted at 04/16/2025
       3:23:00PM with a 14d recovery window, the earliest restorable time would be
       04/02/2025 3:23:00PM. This field is only visible if the
       CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
       
      .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEarliestRestorableTimeOrBuilder in interface ContinuousBackupInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ContinuousBackupInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContinuousBackupInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContinuousBackupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ContinuousBackupInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ContinuousBackupInfo.Builder newBuilder()
    • newBuilder

      public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
    • toBuilder

      public ContinuousBackupInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ContinuousBackupInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ContinuousBackupInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ContinuousBackupInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ContinuousBackupInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ContinuousBackupInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder