public final class AlertPolicy extends GeneratedMessageV3 implements AlertPolicyOrBuilder
A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. For an overview of alert policies, see [Introduction to Alerting](/monitoring/alerts/).Protobuf type
google.monitoring.v3.AlertPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
AlertPolicy.Builder
A description of the conditions under which some aspect of your system is
considered to be "unhealthy" and the ways to notify people or services about
this state.
|
static class |
AlertPolicy.Condition
A condition is a true/false test that determines when an alerting policy
should open an incident.
|
static class |
AlertPolicy.ConditionCombinerType
Operators for combining conditions.
|
static interface |
AlertPolicy.ConditionOrBuilder |
static class |
AlertPolicy.Documentation
A content string and a MIME type that describes the content string's
format.
|
static interface |
AlertPolicy.DocumentationOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COMBINER_FIELD_NUMBER |
static int |
CONDITIONS_FIELD_NUMBER |
static int |
CREATION_RECORD_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
DOCUMENTATION_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
MUTATION_RECORD_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NOTIFICATION_CHANNELS_FIELD_NUMBER |
static int |
USER_LABELS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUserLabels(java.lang.String key)
User-supplied key/value data to be used for organizing and
identifying the `AlertPolicy` objects.
|
boolean |
equals(java.lang.Object obj) |
AlertPolicy.ConditionCombinerType |
getCombiner()
How to combine the results of multiple conditions
to determine if an incident should be opened.
|
int |
getCombinerValue()
How to combine the results of multiple conditions
to determine if an incident should be opened.
|
AlertPolicy.Condition |
getConditions(int index)
A list of conditions for the policy.
|
int |
getConditionsCount()
A list of conditions for the policy.
|
java.util.List<AlertPolicy.Condition> |
getConditionsList()
A list of conditions for the policy.
|
AlertPolicy.ConditionOrBuilder |
getConditionsOrBuilder(int index)
A list of conditions for the policy.
|
java.util.List<? extends AlertPolicy.ConditionOrBuilder> |
getConditionsOrBuilderList()
A list of conditions for the policy.
|
MutationRecord |
getCreationRecord()
A read-only record of the creation of the alerting policy.
|
MutationRecordOrBuilder |
getCreationRecordOrBuilder()
A read-only record of the creation of the alerting policy.
|
static AlertPolicy |
getDefaultInstance() |
AlertPolicy |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDisplayName()
A short name or phrase used to identify the policy in dashboards,
notifications, and incidents.
|
ByteString |
getDisplayNameBytes()
A short name or phrase used to identify the policy in dashboards,
notifications, and incidents.
|
AlertPolicy.Documentation |
getDocumentation()
Documentation that is included with notifications and incidents related to
this policy.
|
AlertPolicy.DocumentationOrBuilder |
getDocumentationOrBuilder()
Documentation that is included with notifications and incidents related to
this policy.
|
BoolValue |
getEnabled()
Whether or not the policy is enabled.
|
BoolValueOrBuilder |
getEnabledOrBuilder()
Whether or not the policy is enabled.
|
MutationRecord |
getMutationRecord()
A read-only record of the most recent change to the alerting policy.
|
MutationRecordOrBuilder |
getMutationRecordOrBuilder()
A read-only record of the most recent change to the alerting policy.
|
java.lang.String |
getName()
Required if the policy exists.
|
ByteString |
getNameBytes()
Required if the policy exists.
|
java.lang.String |
getNotificationChannels(int index)
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident.
|
ByteString |
getNotificationChannelsBytes(int index)
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident.
|
int |
getNotificationChannelsCount()
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident.
|
ProtocolStringList |
getNotificationChannelsList()
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident.
|
Parser<AlertPolicy> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
java.util.Map<java.lang.String,java.lang.String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
User-supplied key/value data to be used for organizing and
identifying the `AlertPolicy` objects.
|
java.util.Map<java.lang.String,java.lang.String> |
getUserLabelsMap()
User-supplied key/value data to be used for organizing and
identifying the `AlertPolicy` objects.
|
java.lang.String |
getUserLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
User-supplied key/value data to be used for organizing and
identifying the `AlertPolicy` objects.
|
java.lang.String |
getUserLabelsOrThrow(java.lang.String key)
User-supplied key/value data to be used for organizing and
identifying the `AlertPolicy` objects.
|
boolean |
hasCreationRecord()
A read-only record of the creation of the alerting policy.
|
boolean |
hasDocumentation()
Documentation that is included with notifications and incidents related to
this policy.
|
boolean |
hasEnabled()
Whether or not the policy is enabled.
|
int |
hashCode() |
boolean |
hasMutationRecord()
A read-only record of the most recent change to the alerting policy.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static AlertPolicy.Builder |
newBuilder() |
static AlertPolicy.Builder |
newBuilder(AlertPolicy prototype) |
AlertPolicy.Builder |
newBuilderForType() |
protected AlertPolicy.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AlertPolicy |
parseDelimitedFrom(java.io.InputStream input) |
static AlertPolicy |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AlertPolicy |
parseFrom(byte[] data) |
static AlertPolicy |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AlertPolicy |
parseFrom(java.nio.ByteBuffer data) |
static AlertPolicy |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AlertPolicy |
parseFrom(ByteString data) |
static AlertPolicy |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AlertPolicy |
parseFrom(CodedInputStream input) |
static AlertPolicy |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AlertPolicy |
parseFrom(java.io.InputStream input) |
static AlertPolicy |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AlertPolicy> |
parser() |
AlertPolicy.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
public static final int USER_LABELS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
public static final int COMBINER_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
public static final int NOTIFICATION_CHANNELS_FIELD_NUMBER
public static final int CREATION_RECORD_FIELD_NUMBER
public static final int MUTATION_RECORD_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
Required if the policy exists. The resource name for this policy. The
syntax is:
projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
`[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
is created. When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the alerting policy passed as
part of the request.
string name = 1;getName in interface AlertPolicyOrBuilderpublic ByteString getNameBytes()
Required if the policy exists. The resource name for this policy. The
syntax is:
projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
`[ALERT_POLICY_ID]` is assigned by Stackdriver Monitoring when the policy
is created. When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the alerting policy passed as
part of the request.
string name = 1;getNameBytes in interface AlertPolicyOrBuilderpublic java.lang.String getDisplayName()
A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters.
string display_name = 2;getDisplayName in interface AlertPolicyOrBuilderpublic ByteString getDisplayNameBytes()
A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters.
string display_name = 2;getDisplayNameBytes in interface AlertPolicyOrBuilderpublic boolean hasDocumentation()
Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation.
.google.monitoring.v3.AlertPolicy.Documentation documentation = 13;hasDocumentation in interface AlertPolicyOrBuilderpublic AlertPolicy.Documentation getDocumentation()
Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation.
.google.monitoring.v3.AlertPolicy.Documentation documentation = 13;getDocumentation in interface AlertPolicyOrBuilderpublic AlertPolicy.DocumentationOrBuilder getDocumentationOrBuilder()
Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation.
.google.monitoring.v3.AlertPolicy.Documentation documentation = 13;getDocumentationOrBuilder in interface AlertPolicyOrBuilderpublic int getUserLabelsCount()
AlertPolicyOrBuilderUser-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 16;getUserLabelsCount in interface AlertPolicyOrBuilderpublic boolean containsUserLabels(java.lang.String key)
User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 16;containsUserLabels in interface AlertPolicyOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface AlertPolicyOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getUserLabelsMap()
User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 16;getUserLabelsMap in interface AlertPolicyOrBuilderpublic java.lang.String getUserLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 16;getUserLabelsOrDefault in interface AlertPolicyOrBuilderpublic java.lang.String getUserLabelsOrThrow(java.lang.String key)
User-supplied key/value data to be used for organizing and identifying the `AlertPolicy` objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
map<string, string> user_labels = 16;getUserLabelsOrThrow in interface AlertPolicyOrBuilderpublic java.util.List<AlertPolicy.Condition> getConditionsList()
A list of conditions for the policy. The conditions are combined by AND or OR according to the `combiner` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;getConditionsList in interface AlertPolicyOrBuilderpublic java.util.List<? extends AlertPolicy.ConditionOrBuilder> getConditionsOrBuilderList()
A list of conditions for the policy. The conditions are combined by AND or OR according to the `combiner` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;getConditionsOrBuilderList in interface AlertPolicyOrBuilderpublic int getConditionsCount()
A list of conditions for the policy. The conditions are combined by AND or OR according to the `combiner` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;getConditionsCount in interface AlertPolicyOrBuilderpublic AlertPolicy.Condition getConditions(int index)
A list of conditions for the policy. The conditions are combined by AND or OR according to the `combiner` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;getConditions in interface AlertPolicyOrBuilderpublic AlertPolicy.ConditionOrBuilder getConditionsOrBuilder(int index)
A list of conditions for the policy. The conditions are combined by AND or OR according to the `combiner` field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions.
repeated .google.monitoring.v3.AlertPolicy.Condition conditions = 12;getConditionsOrBuilder in interface AlertPolicyOrBuilderpublic int getCombinerValue()
How to combine the results of multiple conditions to determine if an incident should be opened.
.google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;getCombinerValue in interface AlertPolicyOrBuilderpublic AlertPolicy.ConditionCombinerType getCombiner()
How to combine the results of multiple conditions to determine if an incident should be opened.
.google.monitoring.v3.AlertPolicy.ConditionCombinerType combiner = 6;getCombiner in interface AlertPolicyOrBuilderpublic boolean hasEnabled()
Whether or not the policy is enabled. On write, the default interpretation if unset is that the policy is enabled. On read, clients should not make any assumption about the state if it has not been populated. The field should always be populated on List and Get operations, unless a field projection has been specified that strips it out.
.google.protobuf.BoolValue enabled = 17;hasEnabled in interface AlertPolicyOrBuilderpublic BoolValue getEnabled()
Whether or not the policy is enabled. On write, the default interpretation if unset is that the policy is enabled. On read, clients should not make any assumption about the state if it has not been populated. The field should always be populated on List and Get operations, unless a field projection has been specified that strips it out.
.google.protobuf.BoolValue enabled = 17;getEnabled in interface AlertPolicyOrBuilderpublic BoolValueOrBuilder getEnabledOrBuilder()
Whether or not the policy is enabled. On write, the default interpretation if unset is that the policy is enabled. On read, clients should not make any assumption about the state if it has not been populated. The field should always be populated on List and Get operations, unless a field projection has been specified that strips it out.
.google.protobuf.BoolValue enabled = 17;getEnabledOrBuilder in interface AlertPolicyOrBuilderpublic ProtocolStringList getNotificationChannelsList()
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident. Each element of this array corresponds to
the `name` field in each of the
[`NotificationChannel`][google.monitoring.v3.NotificationChannel]
objects that are returned from the [`ListNotificationChannels`]
[google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
method. The syntax of the entries in this field is:
projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
repeated string notification_channels = 14;getNotificationChannelsList in interface AlertPolicyOrBuilderpublic int getNotificationChannelsCount()
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident. Each element of this array corresponds to
the `name` field in each of the
[`NotificationChannel`][google.monitoring.v3.NotificationChannel]
objects that are returned from the [`ListNotificationChannels`]
[google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
method. The syntax of the entries in this field is:
projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
repeated string notification_channels = 14;getNotificationChannelsCount in interface AlertPolicyOrBuilderpublic java.lang.String getNotificationChannels(int index)
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident. Each element of this array corresponds to
the `name` field in each of the
[`NotificationChannel`][google.monitoring.v3.NotificationChannel]
objects that are returned from the [`ListNotificationChannels`]
[google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
method. The syntax of the entries in this field is:
projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
repeated string notification_channels = 14;getNotificationChannels in interface AlertPolicyOrBuilderpublic ByteString getNotificationChannelsBytes(int index)
Identifies the notification channels to which notifications should be sent
when incidents are opened or closed or when new violations occur on
an already opened incident. Each element of this array corresponds to
the `name` field in each of the
[`NotificationChannel`][google.monitoring.v3.NotificationChannel]
objects that are returned from the [`ListNotificationChannels`]
[google.monitoring.v3.NotificationChannelService.ListNotificationChannels]
method. The syntax of the entries in this field is:
projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
repeated string notification_channels = 14;getNotificationChannelsBytes in interface AlertPolicyOrBuilderpublic boolean hasCreationRecord()
A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord creation_record = 10;hasCreationRecord in interface AlertPolicyOrBuilderpublic MutationRecord getCreationRecord()
A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord creation_record = 10;getCreationRecord in interface AlertPolicyOrBuilderpublic MutationRecordOrBuilder getCreationRecordOrBuilder()
A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord creation_record = 10;getCreationRecordOrBuilder in interface AlertPolicyOrBuilderpublic boolean hasMutationRecord()
A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord mutation_record = 11;hasMutationRecord in interface AlertPolicyOrBuilderpublic MutationRecord getMutationRecord()
A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord mutation_record = 11;getMutationRecord in interface AlertPolicyOrBuilderpublic MutationRecordOrBuilder getMutationRecordOrBuilder()
A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored.
.google.monitoring.v3.MutationRecord mutation_record = 11;getMutationRecordOrBuilder in interface AlertPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AlertPolicy parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AlertPolicy parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AlertPolicy parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AlertPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AlertPolicy parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AlertPolicy parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AlertPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AlertPolicy.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AlertPolicy.Builder newBuilder()
public static AlertPolicy.Builder newBuilder(AlertPolicy prototype)
public AlertPolicy.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AlertPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AlertPolicy getDefaultInstance()
public static Parser<AlertPolicy> parser()
public Parser<AlertPolicy> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AlertPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder