java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.network.generic_proxy.matcher.v3.RequestMatcher
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RequestMatcherOrBuilder, Serializable

public final class RequestMatcher extends com.google.protobuf.GeneratedMessageV3 implements RequestMatcherOrBuilder
 Custom matcher to match on the generic downstream request. This is used to match
 multiple fields of the downstream request and avoid complex combinations of
 HostMatchInput, PathMatchInput, MethodMatchInput and PropertyMatchInput.
 
Protobuf type envoy.extensions.filters.network.generic_proxy.matcher.v3.RequestMatcher
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Custom matcher to match on the generic downstream request.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional host pattern to match on.
    Optional host pattern to match on.
    Optional method pattern to match on.
    Optional method pattern to match on.
    com.google.protobuf.Parser<RequestMatcher>
     
    Optional path pattern to match on.
    Optional path pattern to match on.
    getProperties(int index)
    Optional arbitrary properties to match on.
    int
    Optional arbitrary properties to match on.
    Optional arbitrary properties to match on.
    Optional arbitrary properties to match on.
    Optional arbitrary properties to match on.
    int
     
    int
     
    boolean
    Optional host pattern to match on.
    boolean
    Optional method pattern to match on.
    boolean
    Optional path pattern to match on.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<RequestMatcher>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasHost

      public boolean hasHost()
       Optional host pattern to match on. If not specified, any host will match.
       
      .envoy.type.matcher.v3.StringMatcher host = 1;
      Specified by:
      hasHost in interface RequestMatcherOrBuilder
      Returns:
      Whether the host field is set.
    • getHost

      public StringMatcher getHost()
       Optional host pattern to match on. If not specified, any host will match.
       
      .envoy.type.matcher.v3.StringMatcher host = 1;
      Specified by:
      getHost in interface RequestMatcherOrBuilder
      Returns:
      The host.
    • getHostOrBuilder

      public StringMatcherOrBuilder getHostOrBuilder()
       Optional host pattern to match on. If not specified, any host will match.
       
      .envoy.type.matcher.v3.StringMatcher host = 1;
      Specified by:
      getHostOrBuilder in interface RequestMatcherOrBuilder
    • hasPath

      public boolean hasPath()
       Optional path pattern to match on. If not specified, any path will match.
       
      .envoy.type.matcher.v3.StringMatcher path = 2;
      Specified by:
      hasPath in interface RequestMatcherOrBuilder
      Returns:
      Whether the path field is set.
    • getPath

      public StringMatcher getPath()
       Optional path pattern to match on. If not specified, any path will match.
       
      .envoy.type.matcher.v3.StringMatcher path = 2;
      Specified by:
      getPath in interface RequestMatcherOrBuilder
      Returns:
      The path.
    • getPathOrBuilder

      public StringMatcherOrBuilder getPathOrBuilder()
       Optional path pattern to match on. If not specified, any path will match.
       
      .envoy.type.matcher.v3.StringMatcher path = 2;
      Specified by:
      getPathOrBuilder in interface RequestMatcherOrBuilder
    • hasMethod

      public boolean hasMethod()
       Optional method pattern to match on. If not specified, any method will match.
       
      .envoy.type.matcher.v3.StringMatcher method = 3;
      Specified by:
      hasMethod in interface RequestMatcherOrBuilder
      Returns:
      Whether the method field is set.
    • getMethod

      public StringMatcher getMethod()
       Optional method pattern to match on. If not specified, any method will match.
       
      .envoy.type.matcher.v3.StringMatcher method = 3;
      Specified by:
      getMethod in interface RequestMatcherOrBuilder
      Returns:
      The method.
    • getMethodOrBuilder

      public StringMatcherOrBuilder getMethodOrBuilder()
       Optional method pattern to match on. If not specified, any method will match.
       
      .envoy.type.matcher.v3.StringMatcher method = 3;
      Specified by:
      getMethodOrBuilder in interface RequestMatcherOrBuilder
    • getPropertiesList

      public List<KeyValueMatchEntry> getPropertiesList()
       Optional arbitrary properties to match on. If not specified, any properties
       will match. The key is the property name and the value is the property value
       to match on.
       
      repeated .envoy.extensions.filters.network.generic_proxy.matcher.v3.KeyValueMatchEntry properties = 4;
      Specified by:
      getPropertiesList in interface RequestMatcherOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends KeyValueMatchEntryOrBuilder> getPropertiesOrBuilderList()
       Optional arbitrary properties to match on. If not specified, any properties
       will match. The key is the property name and the value is the property value
       to match on.
       
      repeated .envoy.extensions.filters.network.generic_proxy.matcher.v3.KeyValueMatchEntry properties = 4;
      Specified by:
      getPropertiesOrBuilderList in interface RequestMatcherOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
       Optional arbitrary properties to match on. If not specified, any properties
       will match. The key is the property name and the value is the property value
       to match on.
       
      repeated .envoy.extensions.filters.network.generic_proxy.matcher.v3.KeyValueMatchEntry properties = 4;
      Specified by:
      getPropertiesCount in interface RequestMatcherOrBuilder
    • getProperties

      public KeyValueMatchEntry getProperties(int index)
       Optional arbitrary properties to match on. If not specified, any properties
       will match. The key is the property name and the value is the property value
       to match on.
       
      repeated .envoy.extensions.filters.network.generic_proxy.matcher.v3.KeyValueMatchEntry properties = 4;
      Specified by:
      getProperties in interface RequestMatcherOrBuilder
    • getPropertiesOrBuilder

      public KeyValueMatchEntryOrBuilder getPropertiesOrBuilder(int index)
       Optional arbitrary properties to match on. If not specified, any properties
       will match. The key is the property name and the value is the property value
       to match on.
       
      repeated .envoy.extensions.filters.network.generic_proxy.matcher.v3.KeyValueMatchEntry properties = 4;
      Specified by:
      getPropertiesOrBuilder in interface RequestMatcherOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 RequestMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static RequestMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RequestMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static RequestMatcher parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RequestMatcher parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static RequestMatcher.Builder newBuilder()
    • newBuilder

      public static RequestMatcher.Builder newBuilder(RequestMatcher prototype)
    • toBuilder

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

      protected RequestMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static RequestMatcher getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RequestMatcher> 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.GeneratedMessageV3
    • getDefaultInstanceForType

      public RequestMatcher getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder