Package com.github.xds.type.matcher.v3
Class Matcher.MatcherList.Predicate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.github.xds.type.matcher.v3.Matcher.MatcherList.Predicate
-
- All Implemented Interfaces:
Matcher.MatcherList.PredicateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Matcher.MatcherList
public static final class Matcher.MatcherList.Predicate extends com.google.protobuf.GeneratedMessageV3 implements Matcher.MatcherList.PredicateOrBuilder
Predicate to determine if a match is successful.
Protobuf typexds.type.matcher.v3.Matcher.MatcherList.Predicate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatcher.MatcherList.Predicate.BuilderPredicate to determine if a match is successful.static classMatcher.MatcherList.Predicate.MatchTypeCasestatic classMatcher.MatcherList.Predicate.PredicateListA list of two or more matchers.static interfaceMatcher.MatcherList.Predicate.PredicateListOrBuilderstatic classMatcher.MatcherList.Predicate.SinglePredicatePredicate for a single input field.static interfaceMatcher.MatcherList.Predicate.SinglePredicateOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAND_MATCHER_FIELD_NUMBERstatic intNOT_MATCHER_FIELD_NUMBERstatic intOR_MATCHER_FIELD_NUMBERstatic intSINGLE_PREDICATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Matcher.MatcherList.Predicate.PredicateListgetAndMatcher()A list of predicates to be AND-ed together.Matcher.MatcherList.Predicate.PredicateListOrBuildergetAndMatcherOrBuilder()A list of predicates to be AND-ed together.static Matcher.MatcherList.PredicategetDefaultInstance()Matcher.MatcherList.PredicategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Matcher.MatcherList.Predicate.MatchTypeCasegetMatchTypeCase()Matcher.MatcherList.PredicategetNotMatcher()The invert of a predicateMatcher.MatcherList.PredicateOrBuildergetNotMatcherOrBuilder()The invert of a predicateMatcher.MatcherList.Predicate.PredicateListgetOrMatcher()A list of predicates to be OR-ed together.Matcher.MatcherList.Predicate.PredicateListOrBuildergetOrMatcherOrBuilder()A list of predicates to be OR-ed together.com.google.protobuf.Parser<Matcher.MatcherList.Predicate>getParserForType()intgetSerializedSize()Matcher.MatcherList.Predicate.SinglePredicategetSinglePredicate()A single predicate to evaluate.Matcher.MatcherList.Predicate.SinglePredicateOrBuildergetSinglePredicateOrBuilder()A single predicate to evaluate.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAndMatcher()A list of predicates to be AND-ed together.inthashCode()booleanhasNotMatcher()The invert of a predicatebooleanhasOrMatcher()A list of predicates to be OR-ed together.booleanhasSinglePredicate()A single predicate to evaluate.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Matcher.MatcherList.Predicate.BuildernewBuilder()static Matcher.MatcherList.Predicate.BuildernewBuilder(Matcher.MatcherList.Predicate prototype)Matcher.MatcherList.Predicate.BuildernewBuilderForType()protected Matcher.MatcherList.Predicate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Matcher.MatcherList.PredicateparseDelimitedFrom(InputStream input)static Matcher.MatcherList.PredicateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Matcher.MatcherList.PredicateparseFrom(byte[] data)static Matcher.MatcherList.PredicateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Matcher.MatcherList.PredicateparseFrom(com.google.protobuf.ByteString data)static Matcher.MatcherList.PredicateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Matcher.MatcherList.PredicateparseFrom(com.google.protobuf.CodedInputStream input)static Matcher.MatcherList.PredicateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Matcher.MatcherList.PredicateparseFrom(InputStream input)static Matcher.MatcherList.PredicateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Matcher.MatcherList.PredicateparseFrom(ByteBuffer data)static Matcher.MatcherList.PredicateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Matcher.MatcherList.Predicate>parser()Matcher.MatcherList.Predicate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SINGLE_PREDICATE_FIELD_NUMBER
public static final int SINGLE_PREDICATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OR_MATCHER_FIELD_NUMBER
public static final int OR_MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AND_MATCHER_FIELD_NUMBER
public static final int AND_MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_MATCHER_FIELD_NUMBER
public static final int NOT_MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMatchTypeCase
public Matcher.MatcherList.Predicate.MatchTypeCase getMatchTypeCase()
- Specified by:
getMatchTypeCasein interfaceMatcher.MatcherList.PredicateOrBuilder
-
hasSinglePredicate
public boolean hasSinglePredicate()
A single predicate to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate single_predicate = 1;- Specified by:
hasSinglePredicatein interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- Whether the singlePredicate field is set.
-
getSinglePredicate
public Matcher.MatcherList.Predicate.SinglePredicate getSinglePredicate()
A single predicate to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate single_predicate = 1;- Specified by:
getSinglePredicatein interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- The singlePredicate.
-
getSinglePredicateOrBuilder
public Matcher.MatcherList.Predicate.SinglePredicateOrBuilder getSinglePredicateOrBuilder()
A single predicate to evaluate.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate single_predicate = 1;- Specified by:
getSinglePredicateOrBuilderin interfaceMatcher.MatcherList.PredicateOrBuilder
-
hasOrMatcher
public boolean hasOrMatcher()
A list of predicates to be OR-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList or_matcher = 2;- Specified by:
hasOrMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- Whether the orMatcher field is set.
-
getOrMatcher
public Matcher.MatcherList.Predicate.PredicateList getOrMatcher()
A list of predicates to be OR-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList or_matcher = 2;- Specified by:
getOrMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- The orMatcher.
-
getOrMatcherOrBuilder
public Matcher.MatcherList.Predicate.PredicateListOrBuilder getOrMatcherOrBuilder()
A list of predicates to be OR-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList or_matcher = 2;- Specified by:
getOrMatcherOrBuilderin interfaceMatcher.MatcherList.PredicateOrBuilder
-
hasAndMatcher
public boolean hasAndMatcher()
A list of predicates to be AND-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList and_matcher = 3;- Specified by:
hasAndMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- Whether the andMatcher field is set.
-
getAndMatcher
public Matcher.MatcherList.Predicate.PredicateList getAndMatcher()
A list of predicates to be AND-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList and_matcher = 3;- Specified by:
getAndMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- The andMatcher.
-
getAndMatcherOrBuilder
public Matcher.MatcherList.Predicate.PredicateListOrBuilder getAndMatcherOrBuilder()
A list of predicates to be AND-ed together.
.xds.type.matcher.v3.Matcher.MatcherList.Predicate.PredicateList and_matcher = 3;- Specified by:
getAndMatcherOrBuilderin interfaceMatcher.MatcherList.PredicateOrBuilder
-
hasNotMatcher
public boolean hasNotMatcher()
The invert of a predicate
.xds.type.matcher.v3.Matcher.MatcherList.Predicate not_matcher = 4;- Specified by:
hasNotMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- Whether the notMatcher field is set.
-
getNotMatcher
public Matcher.MatcherList.Predicate getNotMatcher()
The invert of a predicate
.xds.type.matcher.v3.Matcher.MatcherList.Predicate not_matcher = 4;- Specified by:
getNotMatcherin interfaceMatcher.MatcherList.PredicateOrBuilder- Returns:
- The notMatcher.
-
getNotMatcherOrBuilder
public Matcher.MatcherList.PredicateOrBuilder getNotMatcherOrBuilder()
The invert of a predicate
.xds.type.matcher.v3.Matcher.MatcherList.Predicate not_matcher = 4;- Specified by:
getNotMatcherOrBuilderin interfaceMatcher.MatcherList.PredicateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Matcher.MatcherList.Predicate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Matcher.MatcherList.Predicate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Matcher.MatcherList.Predicate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Matcher.MatcherList.Predicate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Matcher.MatcherList.Predicate.Builder newBuilder()
-
newBuilder
public static Matcher.MatcherList.Predicate.Builder newBuilder(Matcher.MatcherList.Predicate prototype)
-
toBuilder
public Matcher.MatcherList.Predicate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Matcher.MatcherList.Predicate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Matcher.MatcherList.Predicate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Matcher.MatcherList.Predicate> parser()
-
getParserForType
public com.google.protobuf.Parser<Matcher.MatcherList.Predicate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Matcher.MatcherList.Predicate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-