Interface ResourcePolicyHourlyCycleOrBuilder (1.25.0)

public interface ResourcePolicyHourlyCycleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract String getDuration()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
String

The duration.

getDurationBytes()

public abstract ByteString getDurationBytes()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
ByteString

The bytes for duration.

getHoursInCycle()

public abstract int getHoursInCycle()

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

optional int32 hours_in_cycle = 526763132;

Returns
TypeDescription
int

The hoursInCycle.

getStartTime()

public abstract String getStartTime()

Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

optional string start_time = 37467274;

Returns
TypeDescription
String

The startTime.

getStartTimeBytes()

public abstract ByteString getStartTimeBytes()

Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

optional string start_time = 37467274;

Returns
TypeDescription
ByteString

The bytes for startTime.

hasDuration()

public abstract boolean hasDuration()

[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

optional string duration = 155471252;

Returns
TypeDescription
boolean

Whether the duration field is set.

hasHoursInCycle()

public abstract boolean hasHoursInCycle()

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

optional int32 hours_in_cycle = 526763132;

Returns
TypeDescription
boolean

Whether the hoursInCycle field is set.

hasStartTime()

public abstract boolean hasStartTime()

Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

optional string start_time = 37467274;

Returns
TypeDescription
boolean

Whether the startTime field is set.