Class 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, java.io.Serializable
    Enclosing class:
    Matcher.MatcherList

    public static final class Matcher.MatcherList.Predicate
    extends com.google.protobuf.GeneratedMessage
    implements Matcher.MatcherList.PredicateOrBuilder
     Predicate to determine if a match is successful.
     
    Protobuf type xds.type.matcher.v3.Matcher.MatcherList.Predicate
    See Also:
    Serialized Form
    • Field Detail

      • matchTypeCase_

        private int matchTypeCase_
      • matchType_

        private java.lang.Object matchType_
      • 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
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • Predicate

        private Predicate​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • Predicate

        private Predicate()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasSinglePredicate

        public boolean hasSinglePredicate()
         A single predicate to evaluate.
         
        .xds.type.matcher.v3.Matcher.MatcherList.Predicate.SinglePredicate single_predicate = 1;
        Specified by:
        hasSinglePredicate in interface Matcher.MatcherList.PredicateOrBuilder
        Returns:
        Whether the singlePredicate field is set.
      • 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:
        hasOrMatcher in interface Matcher.MatcherList.PredicateOrBuilder
        Returns:
        Whether the orMatcher field is set.
      • 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:
        hasAndMatcher in interface Matcher.MatcherList.PredicateOrBuilder
        Returns:
        Whether the andMatcher field is set.
      • hasNotMatcher

        public boolean hasNotMatcher()
         The invert of a predicate
         
        .xds.type.matcher.v3.Matcher.MatcherList.Predicate not_matcher = 4;
        Specified by:
        hasNotMatcher in interface Matcher.MatcherList.PredicateOrBuilder
        Returns:
        Whether the notMatcher field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Matcher.MatcherList.Predicate parseFrom​(java.nio.ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Matcher.MatcherList.Predicate parseFrom​(java.nio.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​(java.io.InputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Matcher.MatcherList.Predicate parseFrom​(java.io.InputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Matcher.MatcherList.Predicate parseDelimitedFrom​(java.io.InputStream input)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Matcher.MatcherList.Predicate parseDelimitedFrom​(java.io.InputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Matcher.MatcherList.Predicate parseFrom​(com.google.protobuf.CodedInputStream input)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Matcher.MatcherList.Predicate parseFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Matcher.MatcherList.Predicate.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Matcher.MatcherList.Predicate.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Matcher.MatcherList.Predicate.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<Matcher.MatcherList.Predicate> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public Matcher.MatcherList.Predicate getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder