public static enum UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption extends Enum<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption> implements com.google.protobuf.ProtocolMessageEnum
Options to perform JSONPath content matching.Protobuf enum
google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption| Enum Constant and Description |
|---|
EXACT_MATCH
Selects 'exact string' matching.
|
JSON_PATH_MATCHER_OPTION_UNSPECIFIED
No JSONPath matcher type specified (not valid).
|
REGEX_MATCH
Selects regular-expression matching.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXACT_MATCH_VALUE
Selects 'exact string' matching.
|
static int |
JSON_PATH_MATCHER_OPTION_UNSPECIFIED_VALUE
No JSONPath matcher type specified (not valid).
|
static int |
REGEX_MATCH_VALUE
Selects regular-expression matching.
|
public static final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption JSON_PATH_MATCHER_OPTION_UNSPECIFIED
No JSONPath matcher type specified (not valid).
JSON_PATH_MATCHER_OPTION_UNSPECIFIED = 0;public static final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption EXACT_MATCH
Selects 'exact string' matching. The match succeeds if the content at the `json_path` within the output is exactly the same as the `content` string.
EXACT_MATCH = 1;public static final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption REGEX_MATCH
Selects regular-expression matching. The match succeeds if the content at the `json_path` within the output matches the regular expression specified in the `content` string.
REGEX_MATCH = 2;public static final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption UNRECOGNIZED
public static final int JSON_PATH_MATCHER_OPTION_UNSPECIFIED_VALUE
No JSONPath matcher type specified (not valid).
JSON_PATH_MATCHER_OPTION_UNSPECIFIED = 0;public static final int EXACT_MATCH_VALUE
Selects 'exact string' matching. The match succeeds if the content at the `json_path` within the output is exactly the same as the `content` string.
EXACT_MATCH = 1;public static final int REGEX_MATCH_VALUE
Selects regular-expression matching. The match succeeds if the content at the `json_path` within the output matches the regular expression specified in the `content` string.
REGEX_MATCH = 2;public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption[] values()
for (UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption c : UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption.values()) System.out.println(c);
public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.