Package com.google.monitoring.v3
Class UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
com.google.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
- All Implemented Interfaces:
UptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UptimeCheckConfig.ContentMatcher.JsonPathMatcher
public static final class UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)intThe type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.com.google.protobuf.ByteStringJSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)setJsonMatcherValue(int value) The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)setJsonPath(String value) JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.setJsonPathBytes(com.google.protobuf.ByteString value) JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
mergeFrom
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>- Throws:
IOException
-
getJsonPath
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;- Specified by:
getJsonPathin interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder- Returns:
- The jsonPath.
-
getJsonPathBytes
public com.google.protobuf.ByteString getJsonPathBytes()JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;- Specified by:
getJsonPathBytesin interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder- Returns:
- The bytes for jsonPath.
-
setJsonPath
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;- Parameters:
value- The jsonPath to set.- Returns:
- This builder for chaining.
-
clearJsonPath
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;- Returns:
- This builder for chaining.
-
setJsonPathBytes
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setJsonPathBytes(com.google.protobuf.ByteString value) JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;- Parameters:
value- The bytes for jsonPath to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getJsonMatcherValuein interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder- Returns:
- The enum numeric value on the wire for jsonMatcher.
-
setJsonMatcherValue
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;- Parameters:
value- The enum numeric value on the wire for jsonMatcher to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getJsonMatcherin interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder- Returns:
- The jsonMatcher.
-
setJsonMatcher
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;- Parameters:
value- The jsonMatcher to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-