- 3.54.0 (latest)
- 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 GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UptimeCheckConfig.ContentMatcher.BuilderImplements
UptimeCheckConfig.ContentMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.ContentMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
build()
public UptimeCheckConfig.ContentMatcher build()
Type | Description |
UptimeCheckConfig.ContentMatcher |
buildPartial()
public UptimeCheckConfig.ContentMatcher buildPartial()
Type | Description |
UptimeCheckConfig.ContentMatcher |
clear()
public UptimeCheckConfig.ContentMatcher.Builder clear()
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
clearContent()
public UptimeCheckConfig.ContentMatcher.Builder clearContent()
String or regex content to match. Maximum 1024 bytes. An empty content
string indicates no content matching is to be performed.
string content = 1;
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UptimeCheckConfig.ContentMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UptimeCheckConfig.ContentMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
clone()
public UptimeCheckConfig.ContentMatcher.Builder clone()
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
getContent()
public 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;
Type | Description |
String | The content. |
getContentBytes()
public 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;
Type | Description |
ByteString | The bytes for content. |
getDefaultInstanceForType()
public UptimeCheckConfig.ContentMatcher getDefaultInstanceForType()
Type | Description |
UptimeCheckConfig.ContentMatcher |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
Type | Description |
int | The enum numeric value on the wire for matcher. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UptimeCheckConfig.ContentMatcher other)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(UptimeCheckConfig.ContentMatcher other)
Name | Description |
other | UptimeCheckConfig.ContentMatcher |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UptimeCheckConfig.ContentMatcher.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.ContentMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
setContent(String value)
public UptimeCheckConfig.ContentMatcher.Builder setContent(String value)
String or regex content to match. Maximum 1024 bytes. An empty content
string indicates no content matching is to be performed.
string content = 1;
Name | Description |
value | String The content to set. |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder | This builder for chaining. |
setContentBytes(ByteString value)
public UptimeCheckConfig.ContentMatcher.Builder setContentBytes(ByteString value)
String or regex content to match. Maximum 1024 bytes. An empty content
string indicates no content matching is to be performed.
string content = 1;
Name | Description |
value | ByteString The bytes for content to set. |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.ContentMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | UptimeCheckConfig.ContentMatcher.ContentMatcherOption The matcher to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for matcher to set. |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UptimeCheckConfig.ContentMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.ContentMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UptimeCheckConfig.ContentMatcher.Builder |