Optional. Period between RDB snapshots. Snapshots will be attempted every
period starting from the provided snapshot start time. For example, a start
time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
18:45, and 00:45 the next day, and so on. If not provided,
TWENTY_FOUR_HOURS will be used as default.
Optional. Period between RDB snapshots. Snapshots will be attempted every
period starting from the provided snapshot start time. For example, a start
time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing
until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,
18:45, and 00:45 the next day, and so on. If not provided,
TWENTY_FOUR_HOURS will be used as default.
The enum numeric value on the wire for rdbSnapshotPeriod.
getRdbSnapshotStartTime()
publicabstractTimestampgetRdbSnapshotStartTime()
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
Optional. Date and time that the first snapshot was/will be attempted, and
to which future snapshots will be aligned. If not provided, the current
time will be used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface PersistenceConfigOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.redis.v1.PersistenceConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.redis.v1.PersistenceConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.redis.v1.PersistenceConfigOrBuilder) \n\n public interface PersistenceConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getPersistenceMode()\n\n public abstract PersistenceConfig.PersistenceMode getPersistenceMode()\n\nOptional. Controls whether Persistence features are enabled.\nIf not provided, the existing value will be used.\n\n`.google.events.cloud.redis.v1.PersistenceConfig.PersistenceMode persistence_mode = 1;\n`\n\n### getPersistenceModeValue()\n\n public abstract int getPersistenceModeValue()\n\nOptional. Controls whether Persistence features are enabled.\nIf not provided, the existing value will be used.\n\n`.google.events.cloud.redis.v1.PersistenceConfig.PersistenceMode persistence_mode = 1;\n`\n\n### getRdbNextSnapshotTime()\n\n public abstract Timestamp getRdbNextSnapshotTime()\n\nOutput only. The next time that a snapshot attempt is scheduled to occur.\n\n`.google.protobuf.Timestamp rdb_next_snapshot_time = 4;`\n\n### getRdbNextSnapshotTimeOrBuilder()\n\n public abstract TimestampOrBuilder getRdbNextSnapshotTimeOrBuilder()\n\nOutput only. The next time that a snapshot attempt is scheduled to occur.\n\n`.google.protobuf.Timestamp rdb_next_snapshot_time = 4;`\n\n### getRdbSnapshotPeriod()\n\n public abstract PersistenceConfig.SnapshotPeriod getRdbSnapshotPeriod()\n\nOptional. Period between RDB snapshots. Snapshots will be attempted every\nperiod starting from the provided snapshot start time. For example, a start\ntime of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing\nuntil 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,\n18:45, and 00:45 the next day, and so on. If not provided,\nTWENTY_FOUR_HOURS will be used as default.\n\n`.google.events.cloud.redis.v1.PersistenceConfig.SnapshotPeriod rdb_snapshot_period = 2;\n`\n\n### getRdbSnapshotPeriodValue()\n\n public abstract int getRdbSnapshotPeriodValue()\n\nOptional. Period between RDB snapshots. Snapshots will be attempted every\nperiod starting from the provided snapshot start time. For example, a start\ntime of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing\nuntil 01/01/2033, and then trigger snapshots every day at 06:45, 12:45,\n18:45, and 00:45 the next day, and so on. If not provided,\nTWENTY_FOUR_HOURS will be used as default.\n\n`.google.events.cloud.redis.v1.PersistenceConfig.SnapshotPeriod rdb_snapshot_period = 2;\n`\n\n### getRdbSnapshotStartTime()\n\n public abstract Timestamp getRdbSnapshotStartTime()\n\nOptional. Date and time that the first snapshot was/will be attempted, and\nto which future snapshots will be aligned. If not provided, the current\ntime will be used.\n\n`.google.protobuf.Timestamp rdb_snapshot_start_time = 5;`\n\n### getRdbSnapshotStartTimeOrBuilder()\n\n public abstract TimestampOrBuilder getRdbSnapshotStartTimeOrBuilder()\n\nOptional. Date and time that the first snapshot was/will be attempted, and\nto which future snapshots will be aligned. If not provided, the current\ntime will be used.\n\n`.google.protobuf.Timestamp rdb_snapshot_start_time = 5;`\n\n### hasRdbNextSnapshotTime()\n\n public abstract boolean hasRdbNextSnapshotTime()\n\nOutput only. The next time that a snapshot attempt is scheduled to occur.\n\n`.google.protobuf.Timestamp rdb_next_snapshot_time = 4;`\n\n### hasRdbSnapshotStartTime()\n\n public abstract boolean hasRdbSnapshotStartTime()\n\nOptional. Date and time that the first snapshot was/will be attempted, and\nto which future snapshots will be aligned. If not provided, the current\ntime will be used.\n\n`.google.protobuf.Timestamp rdb_snapshot_start_time = 5;`"]]