Send feedback
Class AlertPolicy.Condition.SqlCondition.Hourly.Builder (3.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.57.0 keyboard_arrow_down
public static final class AlertPolicy . Condition . SqlCondition . Hourly . Builder extends GeneratedMessageV3 . Builder<AlertPolicy . Condition . SqlCondition . Hourly . Builder > implements AlertPolicy . Condition . SqlCondition . HourlyOrBuilder
Used to schedule the query to run every so many hours.
Protobuf type google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Hourly
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public AlertPolicy . Condition . SqlCondition . Hourly build ()
buildPartial()
public AlertPolicy . Condition . SqlCondition . Hourly buildPartial ()
clear()
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMinuteOffset()
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clearMinuteOffset ()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPeriodicity()
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clearPeriodicity ()
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];
clone()
public AlertPolicy . Condition . SqlCondition . Hourly . Builder clone ()
Overrides
getDefaultInstanceForType()
public AlertPolicy . Condition . SqlCondition . Hourly getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMinuteOffset()
public 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
Type
Description
int
The minuteOffset.
getPeriodicity()
public 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
Type
Description
int
The periodicity.
hasMinuteOffset()
public 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
Type
Description
boolean
Whether the minuteOffset field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(AlertPolicy.Condition.SqlCondition.Hourly other)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder mergeFrom ( AlertPolicy . Condition . SqlCondition . Hourly other )
public AlertPolicy . Condition . SqlCondition . Hourly . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy . Condition . SqlCondition . Hourly . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMinuteOffset(int value)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder setMinuteOffset ( int value )
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];
Parameter
Name
Description
value
int
The minuteOffset to set.
setPeriodicity(int value)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder setPeriodicity ( int value )
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];
Parameter
Name
Description
value
int
The periodicity to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertPolicy . Condition . SqlCondition . Hourly . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy . Condition . SqlCondition . Hourly . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]