Interface UptimeCheckConfig.ContentMatcherOrBuilder (3.29.0)

public static interface UptimeCheckConfig.ContentMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdditionalMatcherInfoCase()

public abstract UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase getAdditionalMatcherInfoCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the jsonPathMatcher field is set.