Class ListenerFilter
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.listener.ListenerFilter
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListenerFilterOrBuilder,Serializable
public final class ListenerFilter extends com.google.protobuf.GeneratedMessageV3 implements ListenerFilterOrBuilder
Protobuf typeenvoy.api.v2.listener.ListenerFilter- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerFilter.BuilderProtobuf typeenvoy.api.v2.listener.ListenerFilterstatic classListenerFilter.ConfigTypeCase-
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 intCONFIG_FIELD_NUMBERstatic intFILTER_DISABLED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTYPED_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.StructgetConfig()Deprecated.com.google.protobuf.StructOrBuildergetConfigOrBuilder()Deprecated.ListenerFilter.ConfigTypeCasegetConfigTypeCase()static ListenerFiltergetDefaultInstance()ListenerFiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ListenerFilterChainMatchPredicategetFilterDisabled()Optional match predicate used to disable the filter.ListenerFilterChainMatchPredicateOrBuildergetFilterDisabledOrBuilder()Optional match predicate used to disable the filter.StringgetName()The name of the filter to instantiate.com.google.protobuf.ByteStringgetNameBytes()The name of the filter to instantiate.com.google.protobuf.Parser<ListenerFilter>getParserForType()intgetSerializedSize()com.google.protobuf.AnygetTypedConfig().google.protobuf.Any typed_config = 3;com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder().google.protobuf.Any typed_config = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConfig()Deprecated.booleanhasFilterDisabled()Optional match predicate used to disable the filter.inthashCode()booleanhasTypedConfig().google.protobuf.Any typed_config = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ListenerFilter.BuildernewBuilder()static ListenerFilter.BuildernewBuilder(ListenerFilter prototype)ListenerFilter.BuildernewBuilderForType()protected ListenerFilter.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ListenerFilterparseDelimitedFrom(InputStream input)static ListenerFilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListenerFilterparseFrom(byte[] data)static ListenerFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListenerFilterparseFrom(com.google.protobuf.ByteString data)static ListenerFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListenerFilterparseFrom(com.google.protobuf.CodedInputStream input)static ListenerFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListenerFilterparseFrom(InputStream input)static ListenerFilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ListenerFilterparseFrom(ByteBuffer data)static ListenerFilterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ListenerFilter>parser()ListenerFilter.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, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPED_CONFIG_FIELD_NUMBER
public static final int TYPED_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_DISABLED_FIELD_NUMBER
public static final int FILTER_DISABLED_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
-
getConfigTypeCase
public ListenerFilter.ConfigTypeCase getConfigTypeCase()
- Specified by:
getConfigTypeCasein interfaceListenerFilterOrBuilder
-
getName
public String getName()
The name of the filter to instantiate. The name must match a :ref:`supported filter <config_listener_filters>`.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceListenerFilterOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the filter to instantiate. The name must match a :ref:`supported filter <config_listener_filters>`.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceListenerFilterOrBuilder
-
hasConfig
@Deprecated public boolean hasConfig()
Deprecated..google.protobuf.Struct config = 2 [deprecated = true];- Specified by:
hasConfigin interfaceListenerFilterOrBuilder
-
getConfig
@Deprecated public com.google.protobuf.Struct getConfig()
Deprecated..google.protobuf.Struct config = 2 [deprecated = true];- Specified by:
getConfigin interfaceListenerFilterOrBuilder
-
getConfigOrBuilder
@Deprecated public com.google.protobuf.StructOrBuilder getConfigOrBuilder()
Deprecated..google.protobuf.Struct config = 2 [deprecated = true];- Specified by:
getConfigOrBuilderin interfaceListenerFilterOrBuilder
-
hasTypedConfig
public boolean hasTypedConfig()
.google.protobuf.Any typed_config = 3;- Specified by:
hasTypedConfigin interfaceListenerFilterOrBuilder
-
getTypedConfig
public com.google.protobuf.Any getTypedConfig()
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigin interfaceListenerFilterOrBuilder
-
getTypedConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigOrBuilderin interfaceListenerFilterOrBuilder
-
hasFilterDisabled
public boolean hasFilterDisabled()
Optional match predicate used to disable the filter. The filter is enabled when this field is empty. See :ref:`ListenerFilterChainMatchPredicate <envoy_api_msg_listener.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.api.v2.listener.ListenerFilterChainMatchPredicate filter_disabled = 4;- Specified by:
hasFilterDisabledin interfaceListenerFilterOrBuilder
-
getFilterDisabled
public ListenerFilterChainMatchPredicate getFilterDisabled()
Optional match predicate used to disable the filter. The filter is enabled when this field is empty. See :ref:`ListenerFilterChainMatchPredicate <envoy_api_msg_listener.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.api.v2.listener.ListenerFilterChainMatchPredicate filter_disabled = 4;- Specified by:
getFilterDisabledin interfaceListenerFilterOrBuilder
-
getFilterDisabledOrBuilder
public ListenerFilterChainMatchPredicateOrBuilder getFilterDisabledOrBuilder()
Optional match predicate used to disable the filter. The filter is enabled when this field is empty. See :ref:`ListenerFilterChainMatchPredicate <envoy_api_msg_listener.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.api.v2.listener.ListenerFilterChainMatchPredicate filter_disabled = 4;- Specified by:
getFilterDisabledOrBuilderin interfaceListenerFilterOrBuilder
-
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 ListenerFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenerFilter parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ListenerFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ListenerFilter parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ListenerFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ListenerFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ListenerFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ListenerFilter.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ListenerFilter.Builder newBuilder()
-
newBuilder
public static ListenerFilter.Builder newBuilder(ListenerFilter prototype)
-
toBuilder
public ListenerFilter.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListenerFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ListenerFilter getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ListenerFilter> parser()
-
getParserForType
public com.google.protobuf.Parser<ListenerFilter> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ListenerFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-