Interface UptimeCheckConfig.ContentMatcherOrBuilder (3.54.0)

public static interface UptimeCheckConfig.ContentMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdditionalMatcherInfoCase()

public abstract UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase getAdditionalMatcherInfoCase()
Returns
Type Description
UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase

getContent()

public abstract 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
Type Description
String

The content.

getContentBytes()

public abstract 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
Type Description
ByteString

The bytes for content.

getJsonPathMatcher()

public abstract 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
Type Description
UptimeCheckConfig.ContentMatcher.JsonPathMatcher

The jsonPathMatcher.

getJsonPathMatcherOrBuilder()

public abstract 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;

Returns
Type Description
UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder

getMatcher()

public abstract 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
Type Description
UptimeCheckConfig.ContentMatcher.ContentMatcherOption

The matcher.

getMatcherValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for matcher.

hasJsonPathMatcher()

public abstract boolean hasJsonPathMatcher()

Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH

.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;

Returns
Type Description
boolean

Whether the jsonPathMatcher field is set.