Class AlertPolicy.AlertStrategy.NotificationRateLimit.Builder (3.54.0)

public static final class AlertPolicy.AlertStrategy.NotificationRateLimit.Builder extends GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder> implements AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder

Control over the rate of notifications sent to this alert policy's notification channels.

Protobuf type google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

build()

public AlertPolicy.AlertStrategy.NotificationRateLimit build()
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit

buildPartial()

public AlertPolicy.AlertStrategy.NotificationRateLimit buildPartial()
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit

clear()

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clear()
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

clearPeriod()

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearPeriod()

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

clone()

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clone()
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

getDefaultInstanceForType()

public AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType()
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit

getDescriptorForType()

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

getPeriod()

public Duration getPeriod()

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Returns
Type Description
Duration

The period.

getPeriodBuilder()

public Duration.Builder getPeriodBuilder()

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Returns
Type Description
Builder

getPeriodOrBuilder()

public DurationOrBuilder getPeriodOrBuilder()

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Returns
Type Description
DurationOrBuilder

hasPeriod()

public boolean hasPeriod()

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Returns
Type Description
boolean

Whether the period field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)
Parameter
Name Description
other AlertPolicy.AlertStrategy.NotificationRateLimit
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

mergePeriod(Duration value)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergePeriod(Duration value)

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides

setPeriod(Duration value)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setPeriod(Duration value)

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

setPeriod(Duration.Builder builderForValue)

public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setPeriod(Duration.Builder builderForValue)

Not more than one notification per period.

.google.protobuf.Duration period = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
Overrides