Package com.google.cloud.compute.v1
Interface ResourcePolicyDailyCycleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicyDailyCycle,ResourcePolicyDailyCycle.Builder
@Generated
public interface ResourcePolicyDailyCycleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintDefines a schedule with units measured in days.Output only.com.google.protobuf.ByteStringOutput only.Start time of the window.com.google.protobuf.ByteStringStart time of the window.booleanDefines a schedule with units measured in days.booleanOutput only.booleanStart time of the window.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
-
hasDaysInCycle
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:
- Whether the daysInCycle field is set.
-
getDaysInCycle
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:
- The daysInCycle.
-
hasDuration
boolean hasDuration()Output only. [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;- Returns:
- Whether the duration field is set.
-
getDuration
String getDuration()Output only. [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;- Returns:
- The duration.
-
getDurationBytes
com.google.protobuf.ByteString getDurationBytes()Output only. [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
optional string duration = 155471252;- Returns:
- The bytes for duration.
-
hasStartTime
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:
- Whether the startTime field is set.
-
getStartTime
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:
- The startTime.
-
getStartTimeBytes
com.google.protobuf.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:
- The bytes for startTime.
-