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
Modifier and TypeMethodDescriptionString, regex or JSON content to match.com.google.protobuf.ByteStringString, regex or JSON content to match.Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`The type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.intThe type of content matcher that will be applied to the server output, compared to the `content` string when the check is run.booleanMatcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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()
-