public static final class DnsFilterConfig.ClientContextConfig extends com.google.protobuf.GeneratedMessageV3 implements DnsFilterConfig.ClientContextConfigOrBuilder
This message contains the configuration for the DNS Filter operating in a client context. This message will contain the timeouts, retry, and forwarding configuration for Envoy to make DNS requests to other resolversProtobuf type
envoy.extensions.filters.udp.dns_filter.v4alpha.DnsFilterConfig.ClientContextConfig| Modifier and Type | Class and Description |
|---|---|
static class |
DnsFilterConfig.ClientContextConfig.Builder
This message contains the configuration for the DNS Filter operating
in a client context.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PENDING_LOOKUPS_FIELD_NUMBER |
static int |
RESOLVER_TIMEOUT_FIELD_NUMBER |
static int |
UPSTREAM_RESOLVERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DnsFilterConfig.ClientContextConfig |
getDefaultInstance() |
DnsFilterConfig.ClientContextConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getMaxPendingLookups()
Controls how many outstanding external lookup contexts the filter tracks.
|
com.google.protobuf.Parser<DnsFilterConfig.ClientContextConfig> |
getParserForType() |
com.google.protobuf.Duration |
getResolverTimeout()
Sets the maximum time we will wait for the upstream query to complete
We allow 5s for the upstream resolution to complete, so the minimum
value here is 1.
|
com.google.protobuf.DurationOrBuilder |
getResolverTimeoutOrBuilder()
Sets the maximum time we will wait for the upstream query to complete
We allow 5s for the upstream resolution to complete, so the minimum
value here is 1.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Address |
getUpstreamResolvers(int index)
A list of DNS servers to which we can forward queries.
|
int |
getUpstreamResolversCount()
A list of DNS servers to which we can forward queries.
|
List<Address> |
getUpstreamResolversList()
A list of DNS servers to which we can forward queries.
|
AddressOrBuilder |
getUpstreamResolversOrBuilder(int index)
A list of DNS servers to which we can forward queries.
|
List<? extends AddressOrBuilder> |
getUpstreamResolversOrBuilderList()
A list of DNS servers to which we can forward queries.
|
int |
hashCode() |
boolean |
hasResolverTimeout()
Sets the maximum time we will wait for the upstream query to complete
We allow 5s for the upstream resolution to complete, so the minimum
value here is 1.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DnsFilterConfig.ClientContextConfig.Builder |
newBuilder() |
static DnsFilterConfig.ClientContextConfig.Builder |
newBuilder(DnsFilterConfig.ClientContextConfig prototype) |
DnsFilterConfig.ClientContextConfig.Builder |
newBuilderForType() |
protected DnsFilterConfig.ClientContextConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DnsFilterConfig.ClientContextConfig |
parseDelimitedFrom(InputStream input) |
static DnsFilterConfig.ClientContextConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(byte[] data) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(ByteBuffer data) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(com.google.protobuf.ByteString data) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(InputStream input) |
static DnsFilterConfig.ClientContextConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DnsFilterConfig.ClientContextConfig> |
parser() |
DnsFilterConfig.ClientContextConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RESOLVER_TIMEOUT_FIELD_NUMBER
public static final int UPSTREAM_RESOLVERS_FIELD_NUMBER
public static final int MAX_PENDING_LOOKUPS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasResolverTimeout()
Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }hasResolverTimeout in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic com.google.protobuf.Duration getResolverTimeout()
Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }getResolverTimeout in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic com.google.protobuf.DurationOrBuilder getResolverTimeoutOrBuilder()
Sets the maximum time we will wait for the upstream query to complete We allow 5s for the upstream resolution to complete, so the minimum value here is 1. Note that the total latency for a failed query is the number of retries multiplied by the resolver_timeout.
.google.protobuf.Duration resolver_timeout = 1 [(.validate.rules) = { ... }getResolverTimeoutOrBuilder in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic List<Address> getUpstreamResolversList()
A list of DNS servers to which we can forward queries. If not specified, Envoy will use the ambient DNS resolvers in the system.
repeated .envoy.config.core.v4alpha.Address upstream_resolvers = 2;getUpstreamResolversList in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic List<? extends AddressOrBuilder> getUpstreamResolversOrBuilderList()
A list of DNS servers to which we can forward queries. If not specified, Envoy will use the ambient DNS resolvers in the system.
repeated .envoy.config.core.v4alpha.Address upstream_resolvers = 2;getUpstreamResolversOrBuilderList in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic int getUpstreamResolversCount()
A list of DNS servers to which we can forward queries. If not specified, Envoy will use the ambient DNS resolvers in the system.
repeated .envoy.config.core.v4alpha.Address upstream_resolvers = 2;getUpstreamResolversCount in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic Address getUpstreamResolvers(int index)
A list of DNS servers to which we can forward queries. If not specified, Envoy will use the ambient DNS resolvers in the system.
repeated .envoy.config.core.v4alpha.Address upstream_resolvers = 2;getUpstreamResolvers in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic AddressOrBuilder getUpstreamResolversOrBuilder(int index)
A list of DNS servers to which we can forward queries. If not specified, Envoy will use the ambient DNS resolvers in the system.
repeated .envoy.config.core.v4alpha.Address upstream_resolvers = 2;getUpstreamResolversOrBuilder in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic long getMaxPendingLookups()
Controls how many outstanding external lookup contexts the filter tracks. The context structure allows the filter to respond to every query even if the external resolution times out or is otherwise unsuccessful
uint64 max_pending_lookups = 3 [(.validate.rules) = { ... }getMaxPendingLookups in interface DnsFilterConfig.ClientContextConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DnsFilterConfig.ClientContextConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DnsFilterConfig.ClientContextConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DnsFilterConfig.ClientContextConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DnsFilterConfig.ClientContextConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DnsFilterConfig.ClientContextConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DnsFilterConfig.ClientContextConfig.Builder newBuilder()
public static DnsFilterConfig.ClientContextConfig.Builder newBuilder(DnsFilterConfig.ClientContextConfig prototype)
public DnsFilterConfig.ClientContextConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DnsFilterConfig.ClientContextConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DnsFilterConfig.ClientContextConfig getDefaultInstance()
public static com.google.protobuf.Parser<DnsFilterConfig.ClientContextConfig> parser()
public com.google.protobuf.Parser<DnsFilterConfig.ClientContextConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DnsFilterConfig.ClientContextConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.