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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.AlertStrategy.NotificationRateLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlertPolicy.AlertStrategy.NotificationRateLimit build()
buildPartial()
public AlertPolicy.AlertStrategy.NotificationRateLimit buildPartial()
clear()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPeriod()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clearPeriod()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
clone()
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder clone()
Overrides
getDefaultInstanceForType()
public AlertPolicy.AlertStrategy.NotificationRateLimit getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getPeriodOrBuilder()
public DurationOrBuilder getPeriodOrBuilder()
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(AlertPolicy.AlertStrategy.NotificationRateLimit other)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePeriod(Duration value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergePeriod(Duration value)
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPeriod(Duration value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setPeriod(Duration value)
Not more than one notification per period
.
.google.protobuf.Duration period = 1;
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides