Interface UptimeCheckConfig.ContentMatcherOrBuilder (3.3.6)

public static interface UptimeCheckConfig.ContentMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract String getContent()

String or regex 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 or regex 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.

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.