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
@Generated
public interface ResourcePolicyHourlyCycleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.intDefines a schedule with units measured in hours.Time within the window to start the operations.com.google.protobuf.ByteStringTime within the window to start the operations.booleanOutput only.booleanDefines a schedule with units measured in hours.booleanTime within the window to start the operations.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDuration
boolean hasDuration()Output only. [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. [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. [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.
-