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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public int getUserLabelsCount()
AlertPolicyOrBuilder
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;
getUserLabelsCount
in interface AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public 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 AlertPolicyOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AlertPolicy parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AlertPolicy parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AlertPolicy parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AlertPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AlertPolicy parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AlertPolicy parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AlertPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AlertPolicy.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AlertPolicy.Builder newBuilder()
public static AlertPolicy.Builder newBuilder(AlertPolicy prototype)
public AlertPolicy.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AlertPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AlertPolicy getDefaultInstance()
public static Parser<AlertPolicy> parser()
public Parser<AlertPolicy> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AlertPolicy getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder