Interface WeeklyScheduleOrBuilder (0.22.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the snapshotsToKeep field is set.