Package com.google.monitoring.v3
Interface UptimeCheckConfig.ContentMatcherOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UptimeCheckConfig.ContentMatcher
,UptimeCheckConfig.ContentMatcher.Builder
- Enclosing class:
- UptimeCheckConfig
public static interface UptimeCheckConfig.ContentMatcherOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase
getAdditionalMatcherInfoCase()
String
getContent()
String, regex or JSON content to match.com.google.protobuf.ByteString
getContentBytes()
String, regex or JSON content to match.UptimeCheckConfig.ContentMatcher.JsonPathMatcher
getJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder
getJsonPathMatcherOrBuilder()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`UptimeCheckConfig.ContentMatcher.ContentMatcherOption
getMatcher()
The type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.int
getMatcherValue()
The type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.boolean
hasJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContent
String getContent()
String, regex or JSON content to match. Maximum 1024 bytes. An empty `content` string indicates no content matching is to be performed.
string content = 1;
- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()
String, regex or JSON content to match. Maximum 1024 bytes. An empty `content` string indicates no content matching is to be performed.
string content = 1;
- Returns:
- The bytes for content.
-
getMatcherValue
int getMatcherValue()
The type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
- Returns:
- The enum numeric value on the wire for matcher.
-
getMatcher
UptimeCheckConfig.ContentMatcher.ContentMatcherOption getMatcher()
The type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.ContentMatcherOption matcher = 2;
- Returns:
- The matcher.
-
hasJsonPathMatcher
boolean hasJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
- Returns:
- Whether the jsonPathMatcher field is set.
-
getJsonPathMatcher
UptimeCheckConfig.ContentMatcher.JsonPathMatcher getJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
- Returns:
- The jsonPathMatcher.
-
getJsonPathMatcherOrBuilder
UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder getJsonPathMatcherOrBuilder()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
-
getAdditionalMatcherInfoCase
UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase getAdditionalMatcherInfoCase()
-
-