Package com.google.cloud.compute.v1
Interface ResourcePolicyHourlyCycleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyHourlyCycle
,ResourcePolicyHourlyCycle.Builder
public interface ResourcePolicyHourlyCycleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.com.google.protobuf.ByteString
getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.int
getHoursInCycle()
Defines a schedule with units measured in hours.String
getStartTime()
Time within the window to start the operations.com.google.protobuf.ByteString
getStartTimeBytes()
Time within the window to start the operations.boolean
hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.boolean
hasHoursInCycle()
Defines a schedule with units measured in hours.boolean
hasStartTime()
Time within the window to start the operations.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDuration
boolean hasDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;
- Returns:
- Whether the duration field is set.
-
getDuration
String getDuration()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;
- Returns:
- The duration.
-
getDurationBytes
com.google.protobuf.ByteString getDurationBytes()
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
optional string duration = 155471252;
- Returns:
- The bytes for duration.
-
hasHoursInCycle
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:
- Whether the hoursInCycle field is set.
-
getHoursInCycle
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:
- The hoursInCycle.
-
hasStartTime
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:
- Whether the startTime field is set.
-
getStartTime
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:
- The startTime.
-
getStartTimeBytes
com.google.protobuf.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:
- The bytes for startTime.
-
-