Class UptimeCheckConfig.ContentMatcher.JsonPathMatcher (3.35.0)

public static final class UptimeCheckConfig.ContentMatcher.JsonPathMatcher extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UptimeCheckConfig.ContentMatcher.JsonPathMatcher

Static Fields

JSON_MATCHER_FIELD_NUMBER

public static final int JSON_MATCHER_FIELD_NUMBER
Field Value
TypeDescription
int

JSON_PATH_FIELD_NUMBER

public static final int JSON_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher getDefaultInstance()
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder newBuilder()
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder

newBuilder(UptimeCheckConfig.ContentMatcher.JsonPathMatcher prototype)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder newBuilder(UptimeCheckConfig.ContentMatcher.JsonPathMatcher prototype)
Parameter
NameDescription
prototypeUptimeCheckConfig.ContentMatcher.JsonPathMatcher
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder

parseDelimitedFrom(InputStream input)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UptimeCheckConfig.ContentMatcher.JsonPathMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UptimeCheckConfig.ContentMatcher.JsonPathMatcher> parser()
Returns
TypeDescription
Parser<JsonPathMatcher>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UptimeCheckConfig.ContentMatcher.JsonPathMatcher getDefaultInstanceForType()
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher

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;

Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption

The jsonMatcher.

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for jsonPath.

getParserForType()

public Parser<UptimeCheckConfig.ContentMatcher.JsonPathMatcher> getParserForType()
Returns
TypeDescription
Parser<JsonPathMatcher>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder newBuilderForType()
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder toBuilder()
Returns
TypeDescription
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException