Package com.google.monitoring.v3
Interface AlertPolicy.Condition.SqlCondition.HourlyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlertPolicy.Condition.SqlCondition.Hourly,AlertPolicy.Condition.SqlCondition.Hourly.Builder
- Enclosing class:
- AlertPolicy.Condition.SqlCondition
public static interface AlertPolicy.Condition.SqlCondition.HourlyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.intRequired.booleanOptional.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
-
getPeriodicity
int getPeriodicity()Required. The number of hours between runs. Must be greater than or equal to 1 hour and less than or equal to 48 hours.
int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The periodicity.
-
hasMinuteOffset
boolean hasMinuteOffset()Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.
optional int32 minute_offset = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the minuteOffset field is set.
-
getMinuteOffset
int getMinuteOffset()Optional. The number of minutes after the hour (in UTC) to run the query. Must be greater than or equal to 0 minutes and less than or equal to 59 minutes. If left unspecified, then an arbitrary offset is used.
optional int32 minute_offset = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The minuteOffset.
-