Interface SnapshotSchedulePolicy.ScheduleOrBuilder (0.1.1)

public static interface SnapshotSchedulePolicy.ScheduleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCrontabSpec()

public abstract String getCrontabSpec()

A crontab-like specification that the schedule uses to take snapshots.

string crontab_spec = 1;

Returns
TypeDescription
String

The crontabSpec.

getCrontabSpecBytes()

public abstract ByteString getCrontabSpecBytes()

A crontab-like specification that the schedule uses to take snapshots.

string crontab_spec = 1;

Returns
TypeDescription
ByteString

The bytes for crontabSpec.

getPrefix()

public abstract String getPrefix()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
TypeDescription
String

The prefix.

getPrefixBytes()

public abstract ByteString getPrefixBytes()

A list of snapshot names created in this schedule.

string prefix = 3;

Returns
TypeDescription
ByteString

The bytes for prefix.

getRetentionCount()

public abstract int getRetentionCount()

The maximum number of snapshots to retain in this schedule.

int32 retention_count = 2;

Returns
TypeDescription
int

The retentionCount.