Class Matcher.MatcherTree

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.github.xds.type.matcher.v3.Matcher.MatcherTree
All Implemented Interfaces:
Matcher.MatcherTreeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Matcher

public static final class Matcher.MatcherTree extends com.google.protobuf.GeneratedMessage implements Matcher.MatcherTreeOrBuilder
Protobuf type xds.type.matcher.v3.Matcher.MatcherTree
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • treeTypeCase_

      private int treeTypeCase_
    • treeType_

      private Object treeType_
    • INPUT_FIELD_NUMBER

      public static final int INPUT_FIELD_NUMBER
      See Also:
    • input_

      private TypedExtensionConfig input_
    • EXACT_MATCH_MAP_FIELD_NUMBER

      public static final int EXACT_MATCH_MAP_FIELD_NUMBER
      See Also:
    • PREFIX_MATCH_MAP_FIELD_NUMBER

      public static final int PREFIX_MATCH_MAP_FIELD_NUMBER
      See Also:
    • CUSTOM_MATCH_FIELD_NUMBER

      public static final int CUSTOM_MATCH_FIELD_NUMBER
      See Also:
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final Matcher.MatcherTree DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<Matcher.MatcherTree> PARSER
  • Constructor Details

    • MatcherTree

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

      private MatcherTree()
  • Method Details

    • 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
    • getTreeTypeCase

      public Matcher.MatcherTree.TreeTypeCase getTreeTypeCase()
      Specified by:
      getTreeTypeCase in interface Matcher.MatcherTreeOrBuilder
    • hasInput

      public boolean hasInput()
       Protocol-specific specification of input field to match on.
       
      .xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      hasInput in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public TypedExtensionConfig getInput()
       Protocol-specific specification of input field to match on.
       
      .xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      getInput in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The input.
    • getInputOrBuilder

      public TypedExtensionConfigOrBuilder getInputOrBuilder()
       Protocol-specific specification of input field to match on.
       
      .xds.core.v3.TypedExtensionConfig input = 1 [(.validate.rules) = { ... }
      Specified by:
      getInputOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasExactMatchMap

      public boolean hasExactMatchMap()
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      hasExactMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the exactMatchMap field is set.
    • getExactMatchMap

      public Matcher.MatcherTree.MatchMap getExactMatchMap()
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      getExactMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The exactMatchMap.
    • getExactMatchMapOrBuilder

      public Matcher.MatcherTree.MatchMapOrBuilder getExactMatchMapOrBuilder()
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap exact_match_map = 2;
      Specified by:
      getExactMatchMapOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasPrefixMatchMap

      public boolean hasPrefixMatchMap()
       Longest matching prefix wins.
       
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      hasPrefixMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the prefixMatchMap field is set.
    • getPrefixMatchMap

      public Matcher.MatcherTree.MatchMap getPrefixMatchMap()
       Longest matching prefix wins.
       
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      getPrefixMatchMap in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The prefixMatchMap.
    • getPrefixMatchMapOrBuilder

      public Matcher.MatcherTree.MatchMapOrBuilder getPrefixMatchMapOrBuilder()
       Longest matching prefix wins.
       
      .xds.type.matcher.v3.Matcher.MatcherTree.MatchMap prefix_match_map = 3;
      Specified by:
      getPrefixMatchMapOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • hasCustomMatch

      public boolean hasCustomMatch()
       Extension for custom matching logic.
       
      .xds.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      hasCustomMatch in interface Matcher.MatcherTreeOrBuilder
      Returns:
      Whether the customMatch field is set.
    • getCustomMatch

      public TypedExtensionConfig getCustomMatch()
       Extension for custom matching logic.
       
      .xds.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      getCustomMatch in interface Matcher.MatcherTreeOrBuilder
      Returns:
      The customMatch.
    • getCustomMatchOrBuilder

      public TypedExtensionConfigOrBuilder getCustomMatchOrBuilder()
       Extension for custom matching logic.
       
      .xds.core.v3.TypedExtensionConfig custom_match = 4;
      Specified by:
      getCustomMatchOrBuilder in interface Matcher.MatcherTreeOrBuilder
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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.MatcherTree parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Matcher.MatcherTree 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.MatcherTree parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Matcher.MatcherTree parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Matcher.MatcherTree parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Matcher.MatcherTree parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Matcher.MatcherTree.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Matcher.MatcherTree.Builder newBuilder()
    • newBuilder

      public static Matcher.MatcherTree.Builder newBuilder(Matcher.MatcherTree prototype)
    • toBuilder

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

      protected Matcher.MatcherTree.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Matcher.MatcherTree getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Matcher.MatcherTree> parser()
    • getParserForType

      public com.google.protobuf.Parser<Matcher.MatcherTree> 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.MatcherTree getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder