Class ListenerFilter
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.listener.v3.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
[#next-free-field: 6]
Protobuf typeenvoy.config.listener.v3.ListenerFilter- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListenerFilter.Builder[#next-free-field: 6]static 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_DISCOVERY_FIELD_NUMBERstatic intFILTER_DISABLED_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTYPED_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ExtensionConfigSourcegetConfigDiscovery()Configuration source specifier for an extension configuration discovery service.ExtensionConfigSourceOrBuildergetConfigDiscoveryOrBuilder()Configuration source specifier for an extension configuration discovery service.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 configuration.com.google.protobuf.ByteStringgetNameBytes()The name of the filter configuration.com.google.protobuf.Parser<ListenerFilter>getParserForType()intgetSerializedSize()com.google.protobuf.AnygetTypedConfig()Filter specific configuration which depends on the filter being instantiated.com.google.protobuf.AnyOrBuildergetTypedConfigOrBuilder()Filter specific configuration which depends on the filter being instantiated.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasConfigDiscovery()Configuration source specifier for an extension configuration discovery service.booleanhasFilterDisabled()Optional match predicate used to disable the filter.inthashCode()booleanhasTypedConfig()Filter specific configuration which depends on the filter being instantiated.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, 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPED_CONFIG_FIELD_NUMBER
public static final int TYPED_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_DISCOVERY_FIELD_NUMBER
public static final int CONFIG_DISCOVERY_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 configuration.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceListenerFilterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the filter configuration.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceListenerFilterOrBuilder- Returns:
- The bytes for name.
-
hasTypedConfig
public boolean hasTypedConfig()
Filter specific configuration which depends on the filter being instantiated. See the supported filters for further documentation. [#extension-category: envoy.filters.listener,envoy.filters.udp_listener]
.google.protobuf.Any typed_config = 3;- Specified by:
hasTypedConfigin interfaceListenerFilterOrBuilder- Returns:
- Whether the typedConfig field is set.
-
getTypedConfig
public com.google.protobuf.Any getTypedConfig()
Filter specific configuration which depends on the filter being instantiated. See the supported filters for further documentation. [#extension-category: envoy.filters.listener,envoy.filters.udp_listener]
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigin interfaceListenerFilterOrBuilder- Returns:
- The typedConfig.
-
getTypedConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
Filter specific configuration which depends on the filter being instantiated. See the supported filters for further documentation. [#extension-category: envoy.filters.listener,envoy.filters.udp_listener]
.google.protobuf.Any typed_config = 3;- Specified by:
getTypedConfigOrBuilderin interfaceListenerFilterOrBuilder
-
hasConfigDiscovery
public boolean hasConfigDiscovery()
Configuration source specifier for an extension configuration discovery service. In case of a failure and without the default configuration, the listener closes the connections.
.envoy.config.core.v3.ExtensionConfigSource config_discovery = 5;- Specified by:
hasConfigDiscoveryin interfaceListenerFilterOrBuilder- Returns:
- Whether the configDiscovery field is set.
-
getConfigDiscovery
public ExtensionConfigSource getConfigDiscovery()
Configuration source specifier for an extension configuration discovery service. In case of a failure and without the default configuration, the listener closes the connections.
.envoy.config.core.v3.ExtensionConfigSource config_discovery = 5;- Specified by:
getConfigDiscoveryin interfaceListenerFilterOrBuilder- Returns:
- The configDiscovery.
-
getConfigDiscoveryOrBuilder
public ExtensionConfigSourceOrBuilder getConfigDiscoveryOrBuilder()
Configuration source specifier for an extension configuration discovery service. In case of a failure and without the default configuration, the listener closes the connections.
.envoy.config.core.v3.ExtensionConfigSource config_discovery = 5;- Specified by:
getConfigDiscoveryOrBuilderin 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_v3_api_msg_config.listener.v3.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate filter_disabled = 4;- Specified by:
hasFilterDisabledin interfaceListenerFilterOrBuilder- Returns:
- Whether the filterDisabled field is set.
-
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_v3_api_msg_config.listener.v3.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.config.listener.v3.ListenerFilterChainMatchPredicate filter_disabled = 4;- Specified by:
getFilterDisabledin interfaceListenerFilterOrBuilder- Returns:
- The filterDisabled.
-
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_v3_api_msg_config.listener.v3.ListenerFilterChainMatchPredicate>` for further examples.
.envoy.config.listener.v3.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
-
-