Interface WeeklyScheduleOrBuilder (0.20.0)

public interface WeeklyScheduleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDay()

public abstract String getDay()

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

optional string day = 4;

Returns
TypeDescription
String

The day.

getDayBytes()

public abstract ByteString getDayBytes()

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

optional string day = 4;

Returns
TypeDescription
ByteString

The bytes for day.

getHour()

public abstract double getHour()

Set the hour to start the snapshot (0-23), defaults to midnight (0).

optional double hour = 3;

Returns
TypeDescription
double

The hour.

getMinute()

public abstract double getMinute()

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

optional double minute = 2;

Returns
TypeDescription
double

The minute.

getSnapshotsToKeep()

public abstract double getSnapshotsToKeep()

The maximum number of Snapshots to keep for the hourly schedule

optional double snapshots_to_keep = 1;

Returns
TypeDescription
double

The snapshotsToKeep.

hasDay()

public abstract boolean hasDay()

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

optional string day = 4;

Returns
TypeDescription
boolean

Whether the day field is set.

hasHour()

public abstract boolean hasHour()

Set the hour to start the snapshot (0-23), defaults to midnight (0).

optional double hour = 3;

Returns
TypeDescription
boolean

Whether the hour field is set.

hasMinute()

public abstract boolean hasMinute()

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

optional double minute = 2;

Returns
TypeDescription
boolean

Whether the minute field is set.

hasSnapshotsToKeep()

public abstract boolean hasSnapshotsToKeep()

The maximum number of Snapshots to keep for the hourly schedule

optional double snapshots_to_keep = 1;

Returns
TypeDescription
boolean

Whether the snapshotsToKeep field is set.