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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AlertPolicy.AlertStrategy.NotificationRateLimit build()
Returns
buildPartial()
public AlertPolicy.AlertStrategy.NotificationRateLimit buildPartial()
Returns
clear()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPeriod()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearPeriod()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
Returns
clone()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPeriod()
public Duration getPeriod()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
Returns
getPeriodBuilder()
public Duration.Builder getPeriodBuilder()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
Returns
getPeriodOrBuilder()
public DurationOrBuilder getPeriodOrBuilder()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)
Parameter
Returns
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides