public static final class UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder extends GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder> implements UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder
Information needed to perform a JSONPath content match.
Used for ContentMatcherOption::MATCHES_JSON_PATH
and
ContentMatcherOption::NOT_MATCHES_JSON_PATH
.
Protobuf type google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher build()
buildPartial()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher buildPartial()
clear()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJsonMatcher()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearJsonMatcher()
The type of JSONPath match that will be applied to the JSON output
(ContentMatcher.content
)
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption json_matcher = 2;
clearJsonPath()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearJsonPath()
JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
string json_path = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clone()
Overrides
getDefaultInstanceForType()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getJsonMatcher()
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption getJsonMatcher()
The type of JSONPath match that will be applied to the JSON output
(ContentMatcher.content
)
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption json_matcher = 2;
getJsonMatcherValue()
public int getJsonMatcherValue()
The type of JSONPath match that will be applied to the JSON output
(ContentMatcher.content
)
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption json_matcher = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for jsonMatcher.
|
getJsonPath()
public String getJsonPath()
JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
string json_path = 1;
Returns |
---|
Type | Description |
String | The jsonPath.
|
getJsonPathBytes()
public ByteString getJsonPathBytes()
JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
string json_path = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for jsonPath.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UptimeCheckConfig.ContentMatcher.JsonPathMatcher other)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(UptimeCheckConfig.ContentMatcher.JsonPathMatcher other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setJsonMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setJsonMatcher(UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption value)
The type of JSONPath match that will be applied to the JSON output
(ContentMatcher.content
)
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption json_matcher = 2;
setJsonMatcherValue(int value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setJsonMatcherValue(int value)
The type of JSONPath match that will be applied to the JSON output
(ContentMatcher.content
)
.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption json_matcher = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for jsonMatcher to set.
|
setJsonPath(String value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setJsonPath(String value)
JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
string json_path = 1;
Parameter |
---|
Name | Description |
value | String
The jsonPath to set.
|
setJsonPathBytes(ByteString value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setJsonPathBytes(ByteString value)
JSONPath within the response output pointing to the expected
ContentMatcher::content
to match against.
string json_path = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for jsonPath to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides