Interface ResourcePolicyDailyCycleOrBuilder (1.51.0)

public interface ResourcePolicyDailyCycleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDaysInCycle()

public abstract int getDaysInCycle()

Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.

optional int32 days_in_cycle = 369790004;

Returns
TypeDescription
int

The daysInCycle.

getDuration()

public abstract String getDuration()

[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
String

The duration.

getDurationBytes()

public abstract ByteString getDurationBytes()

[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
ByteString

The bytes for duration.

getStartTime()

public abstract String getStartTime()

Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.

optional string start_time = 37467274;

Returns
TypeDescription
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.

optional string start_time = 37467274;

Returns
TypeDescription
ByteString

The bytes for startTime.

hasDaysInCycle()

public abstract boolean hasDaysInCycle()

Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.

optional int32 days_in_cycle = 369790004;

Returns
TypeDescription
boolean

Whether the daysInCycle field is set.

hasDuration()

public abstract boolean hasDuration()

[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
boolean

Whether the duration field is set.

hasStartTime()

public abstract boolean hasStartTime()

Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.

optional string start_time = 37467274;

Returns
TypeDescription
boolean

Whether the startTime field is set.