Package com.google.monitoring.v3
Class AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
com.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
- All Implemented Interfaces:
AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AlertPolicy.AlertStrategy.NotificationRateLimit
public static final class AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
implements AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder
Control over the rate of notifications sent to this alerting policy's notification channels.Protobuf type
google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Not more than one notification per `period`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationNot more than one notification per `period`.com.google.protobuf.Duration.BuilderNot more than one notification per `period`.com.google.protobuf.DurationOrBuilderNot more than one notification per `period`.booleanNot more than one notification per `period`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePeriod(com.google.protobuf.Duration value) Not more than one notification per `period`.setPeriod(com.google.protobuf.Duration value) Not more than one notification per `period`.setPeriod(com.google.protobuf.Duration.Builder builderForValue) Not more than one notification per `period`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.NotificationRateLimit.Builder>- Throws:
IOException
-
hasPeriod
public boolean hasPeriod()Not more than one notification per `period`.
.google.protobuf.Duration period = 1;- Specified by:
hasPeriodin interfaceAlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder- Returns:
- Whether the period field is set.
-
getPeriod
public com.google.protobuf.Duration getPeriod()Not more than one notification per `period`.
.google.protobuf.Duration period = 1;- Specified by:
getPeriodin interfaceAlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder- Returns:
- The period.
-
setPeriod
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setPeriod(com.google.protobuf.Duration value) Not more than one notification per `period`.
.google.protobuf.Duration period = 1; -
setPeriod
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) Not more than one notification per `period`.
.google.protobuf.Duration period = 1; -
mergePeriod
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder mergePeriod(com.google.protobuf.Duration value) Not more than one notification per `period`.
.google.protobuf.Duration period = 1; -
clearPeriod
Not more than one notification per `period`.
.google.protobuf.Duration period = 1; -
getPeriodBuilder
public com.google.protobuf.Duration.Builder getPeriodBuilder()Not more than one notification per `period`.
.google.protobuf.Duration period = 1; -
getPeriodOrBuilder
public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder()Not more than one notification per `period`.
.google.protobuf.Duration period = 1;- Specified by:
getPeriodOrBuilderin interfaceAlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder
-