public static final class UptimeCheckConfig.ContentMatcher extends com.google.protobuf.GeneratedMessageV3 implements UptimeCheckConfig.ContentMatcherOrBuilder
Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching.Protobuf type
google.monitoring.v3.UptimeCheckConfig.ContentMatcher| Modifier and Type | Class and Description |
|---|---|
static class |
UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase |
static class |
UptimeCheckConfig.ContentMatcher.Builder
Optional.
|
static class |
UptimeCheckConfig.ContentMatcher.ContentMatcherOption
Options to perform content matching.
|
static class |
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Information needed to perform a JSONPath content match.
|
static interface |
UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_FIELD_NUMBER |
static int |
JSON_PATH_MATCHER_FIELD_NUMBER |
static int |
MATCHER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static UptimeCheckConfig.ContentMatcher |
getDefaultInstance() |
UptimeCheckConfig.ContentMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<UptimeCheckConfig.ContentMatcher> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UptimeCheckConfig.ContentMatcher.Builder |
newBuilder() |
static UptimeCheckConfig.ContentMatcher.Builder |
newBuilder(UptimeCheckConfig.ContentMatcher prototype) |
UptimeCheckConfig.ContentMatcher.Builder |
newBuilderForType() |
protected UptimeCheckConfig.ContentMatcher.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UptimeCheckConfig.ContentMatcher |
parseDelimitedFrom(InputStream input) |
static UptimeCheckConfig.ContentMatcher |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(byte[] data) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(ByteBuffer data) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(com.google.protobuf.ByteString data) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(InputStream input) |
static UptimeCheckConfig.ContentMatcher |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UptimeCheckConfig.ContentMatcher> |
parser() |
UptimeCheckConfig.ContentMatcher.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONTENT_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
public static final int JSON_PATH_MATCHER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase getAdditionalMatcherInfoCase()
getAdditionalMatcherInfoCase in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;getContent in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;getContentBytes in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;
getMatcherValue in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;
getMatcher in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic boolean hasJsonPathMatcher()
Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH`
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
hasJsonPathMatcher in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;
getJsonPathMatcher in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic 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;
getJsonPathMatcherOrBuilder in interface UptimeCheckConfig.ContentMatcherOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UptimeCheckConfig.ContentMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(InputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UptimeCheckConfig.ContentMatcher parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig.ContentMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UptimeCheckConfig.ContentMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UptimeCheckConfig.ContentMatcher.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UptimeCheckConfig.ContentMatcher.Builder newBuilder()
public static UptimeCheckConfig.ContentMatcher.Builder newBuilder(UptimeCheckConfig.ContentMatcher prototype)
public UptimeCheckConfig.ContentMatcher.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UptimeCheckConfig.ContentMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UptimeCheckConfig.ContentMatcher getDefaultInstance()
public static com.google.protobuf.Parser<UptimeCheckConfig.ContentMatcher> parser()
public com.google.protobuf.Parser<UptimeCheckConfig.ContentMatcher> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UptimeCheckConfig.ContentMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.