- 3.84.0 (latest)
- 3.83.0
- 3.81.0
- 3.79.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class UptimeCheckConfig.ContentMatcher.Builder extends GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.Builder> implements UptimeCheckConfig.ContentMatcherOrBuilderOptional. 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UptimeCheckConfig.ContentMatcher.BuilderImplements
UptimeCheckConfig.ContentMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UptimeCheckConfig.ContentMatcher build()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher |
|
buildPartial()
public UptimeCheckConfig.ContentMatcher buildPartial()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher |
|
clear()
public UptimeCheckConfig.ContentMatcher.Builder clear()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
clearAdditionalMatcherInfo()
public UptimeCheckConfig.ContentMatcher.Builder clearAdditionalMatcherInfo()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
clearContent()
public UptimeCheckConfig.ContentMatcher.Builder clearContent() 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 |
UptimeCheckConfig.ContentMatcher.Builder |
This builder for chaining. |
clearJsonPathMatcher()
public UptimeCheckConfig.ContentMatcher.Builder clearJsonPathMatcher() 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.Builder |
|
clearMatcher()
public UptimeCheckConfig.ContentMatcher.Builder clearMatcher() 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.Builder |
This builder for chaining. |
getAdditionalMatcherInfoCase()
public UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase getAdditionalMatcherInfoCase()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.AdditionalMatcherInfoCase |
|
getContent()
public 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 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. |
getDefaultInstanceForType()
public UptimeCheckConfig.ContentMatcher getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJsonPathMatcher()
public 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. |
getJsonPathMatcherBuilder()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder getJsonPathMatcherBuilder() 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.Builder |
|
getJsonPathMatcherOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UptimeCheckConfig.ContentMatcher other)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(UptimeCheckConfig.ContentMatcher other)| Parameter | |
|---|---|
| Name | Description |
other |
UptimeCheckConfig.ContentMatcher |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
mergeJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher value)
public UptimeCheckConfig.ContentMatcher.Builder mergeJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher value) Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
UptimeCheckConfig.ContentMatcher.JsonPathMatcher |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
setContent(String value)
public UptimeCheckConfig.ContentMatcher.Builder setContent(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
This builder for chaining. |
setContentBytes(ByteString value)
public UptimeCheckConfig.ContentMatcher.Builder setContentBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for content to set. |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
This builder for chaining. |
setJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher value)
public UptimeCheckConfig.ContentMatcher.Builder setJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher value) Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
UptimeCheckConfig.ContentMatcher.JsonPathMatcher |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
setJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder builderForValue)
public UptimeCheckConfig.ContentMatcher.Builder setJsonPathMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder builderForValue) Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher json_path_matcher = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
|
setMatcher(UptimeCheckConfig.ContentMatcher.ContentMatcherOption value)
public UptimeCheckConfig.ContentMatcher.Builder setMatcher(UptimeCheckConfig.ContentMatcher.ContentMatcherOption value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
UptimeCheckConfig.ContentMatcher.ContentMatcherOptionThe matcher to set. |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
This builder for chaining. |
setMatcherValue(int value)
public UptimeCheckConfig.ContentMatcher.Builder setMatcherValue(int value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for matcher to set. |
| Returns | |
|---|---|
| Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
This builder for chaining. |