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.GeneratedMessageV3.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.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 typegoogle.monitoring.v3.UptimeCheckConfig.ContentMatcher.JsonPathMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
build()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
buildPartial()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clear()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clearJsonMatcher()
The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clearJsonPath()
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
clone()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.JsonPathMatcherOption
getJsonMatcher()
The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)int
getJsonMatcherValue()
The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)String
getJsonPath()
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.com.google.protobuf.ByteString
getJsonPathBytes()
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
mergeFrom(UptimeCheckConfig.ContentMatcher.JsonPathMatcher other)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
mergeFrom(com.google.protobuf.Message other)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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`)UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setJsonMatcherValue(int value)
The type of JSONPath match that will be applied to the JSON output (`ContentMatcher.content`)UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setJsonPath(String value)
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setJsonPathBytes(com.google.protobuf.ByteString value)
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
clear
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
getDefaultInstanceForType
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
setField
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
clearField
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
clearOneof
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
setRepeatedField
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
addRepeatedField
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
mergeFrom
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
mergeFrom
public UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeFrom(UptimeCheckConfig.ContentMatcher.JsonPathMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
- Throws:
IOException
-
getJsonPath
public String getJsonPath()
JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
string json_path = 1;
- Specified by:
getJsonPath
in 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:
getJsonPathBytes
in interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder
- Returns:
- The bytes for jsonPath.
-
setJsonPath
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;
- Parameters:
value
- The jsonPath to set.- Returns:
- This builder for chaining.
-
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;
- 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:
getJsonMatcherValue
in interfaceUptimeCheckConfig.ContentMatcher.JsonPathMatcherOrBuilder
- Returns:
- The enum numeric value on the wire for jsonMatcher.
-
setJsonMatcherValue
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;
- Parameters:
value
- The enum numeric value on the wire for jsonMatcher to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getJsonMatcher
in 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
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
mergeUnknownFields
public final UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UptimeCheckConfig.ContentMatcher.JsonPathMatcher.Builder>
-
-