Class AlertPolicy.Condition.SqlCondition.Minutes.Builder (3.57.0)

public static final class AlertPolicy.Condition.SqlCondition.Minutes.Builder extends GeneratedMessageV3.Builder<AlertPolicy.Condition.SqlCondition.Minutes.Builder> implements AlertPolicy.Condition.SqlCondition.MinutesOrBuilder

Used to schedule the query to run every so many minutes.

Protobuf type google.monitoring.v3.AlertPolicy.Condition.SqlCondition.Minutes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

build()

public AlertPolicy.Condition.SqlCondition.Minutes build()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes

buildPartial()

public AlertPolicy.Condition.SqlCondition.Minutes buildPartial()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes

clear()

public AlertPolicy.Condition.SqlCondition.Minutes.Builder clear()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

clearPeriodicity()

public AlertPolicy.Condition.SqlCondition.Minutes.Builder clearPeriodicity()

Required. Number of minutes between runs. The interval must be greater than or equal to 5 minutes and less than or equal to 1440 minutes.

int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder

This builder for chaining.

clone()

public AlertPolicy.Condition.SqlCondition.Minutes.Builder clone()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

getDefaultInstanceForType()

public AlertPolicy.Condition.SqlCondition.Minutes getDefaultInstanceForType()
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPeriodicity()

public int getPeriodicity()

Required. Number of minutes between runs. The interval must be greater than or equal to 5 minutes and less than or equal to 1440 minutes.

int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The periodicity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlertPolicy.Condition.SqlCondition.Minutes other)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder mergeFrom(AlertPolicy.Condition.SqlCondition.Minutes other)
Parameter
Name Description
other AlertPolicy.Condition.SqlCondition.Minutes
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.Condition.SqlCondition.Minutes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

setPeriodicity(int value)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder setPeriodicity(int value)

Required. Number of minutes between runs. The interval must be greater than or equal to 5 minutes and less than or equal to 1440 minutes.

int32 periodicity = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The periodicity to set.

Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AlertPolicy.Condition.SqlCondition.Minutes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.Condition.SqlCondition.Minutes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.Condition.SqlCondition.Minutes.Builder
Overrides