Class DnsTable.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
io.envoyproxy.envoy.data.dns.v2alpha.DnsTable.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DnsTableOrBuilder,Cloneable
- Enclosing class:
- DnsTable
public static final class DnsTable.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
implements DnsTableOrBuilder
This message contains the configuration for the DNS Filter if populated from the control planeProtobuf type
envoy.data.dns.v2alpha.DnsTable-
Method Summary
Modifier and TypeMethodDescriptionaddAllKnownSuffixes(Iterable<? extends StringMatcher> values) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addAllVirtualDomains(Iterable<? extends DnsTable.DnsVirtualDomain> values) Fully qualified domain names for which Envoy will respond to queriesaddKnownSuffixes(int index, StringMatcher value) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addKnownSuffixes(int index, StringMatcher.Builder builderForValue) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addKnownSuffixes(StringMatcher value) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addKnownSuffixes(StringMatcher.Builder builderForValue) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addKnownSuffixesBuilder(int index) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addVirtualDomains(int index, DnsTable.DnsVirtualDomain value) Fully qualified domain names for which Envoy will respond to queriesaddVirtualDomains(int index, DnsTable.DnsVirtualDomain.Builder builderForValue) Fully qualified domain names for which Envoy will respond to queriesFully qualified domain names for which Envoy will respond to queriesaddVirtualDomains(DnsTable.DnsVirtualDomain.Builder builderForValue) Fully qualified domain names for which Envoy will respond to queriesFully qualified domain names for which Envoy will respond to queriesaddVirtualDomainsBuilder(int index) Fully qualified domain names for which Envoy will respond to queriesbuild()clear()Control how many times envoy makes an attempt to forward a query to an external serverclearField(com.google.protobuf.Descriptors.FieldDescriptor field) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Fully qualified domain names for which Envoy will respond to queriesclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintControl how many times envoy makes an attempt to forward a query to an external servergetKnownSuffixes(int index) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.getKnownSuffixesBuilder(int index) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.intThis field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.getKnownSuffixesOrBuilder(int index) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.List<? extends StringMatcherOrBuilder>This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.getVirtualDomains(int index) Fully qualified domain names for which Envoy will respond to queriesgetVirtualDomainsBuilder(int index) Fully qualified domain names for which Envoy will respond to queriesFully qualified domain names for which Envoy will respond to queriesintFully qualified domain names for which Envoy will respond to queriesFully qualified domain names for which Envoy will respond to queriesgetVirtualDomainsOrBuilder(int index) Fully qualified domain names for which Envoy will respond to queriesList<? extends DnsTable.DnsVirtualDomainOrBuilder>Fully qualified domain names for which Envoy will respond to queriesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final DnsTable.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeKnownSuffixes(int index) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.removeVirtualDomains(int index) Fully qualified domain names for which Envoy will respond to queriessetExternalRetryCount(int value) Control how many times envoy makes an attempt to forward a query to an external serversetKnownSuffixes(int index, StringMatcher value) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.setKnownSuffixes(int index, StringMatcher.Builder builderForValue) This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final DnsTable.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVirtualDomains(int index, DnsTable.DnsVirtualDomain value) Fully qualified domain names for which Envoy will respond to queriessetVirtualDomains(int index, DnsTable.DnsVirtualDomain.Builder builderForValue) Fully qualified domain names for which Envoy will respond to queriesMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<DnsTable.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
setField
public DnsTable.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
setRepeatedField
public DnsTable.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
addRepeatedField
public DnsTable.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsTable.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
mergeFrom
public DnsTable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsTable.Builder>- Throws:
IOException
-
getExternalRetryCount
public int getExternalRetryCount()Control how many times envoy makes an attempt to forward a query to an external server
uint32 external_retry_count = 1;- Specified by:
getExternalRetryCountin interfaceDnsTableOrBuilder- Returns:
- The externalRetryCount.
-
setExternalRetryCount
Control how many times envoy makes an attempt to forward a query to an external server
uint32 external_retry_count = 1;- Parameters:
value- The externalRetryCount to set.- Returns:
- This builder for chaining.
-
clearExternalRetryCount
Control how many times envoy makes an attempt to forward a query to an external server
uint32 external_retry_count = 1;- Returns:
- This builder for chaining.
-
getVirtualDomainsList
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... }- Specified by:
getVirtualDomainsListin interfaceDnsTableOrBuilder
-
getVirtualDomainsCount
public int getVirtualDomainsCount()Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... }- Specified by:
getVirtualDomainsCountin interfaceDnsTableOrBuilder
-
getVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... }- Specified by:
getVirtualDomainsin interfaceDnsTableOrBuilder
-
setVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
setVirtualDomains
public DnsTable.Builder setVirtualDomains(int index, DnsTable.DnsVirtualDomain.Builder builderForValue) Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addVirtualDomains
public DnsTable.Builder addVirtualDomains(int index, DnsTable.DnsVirtualDomain.Builder builderForValue) Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addAllVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
clearVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
removeVirtualDomains
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
getVirtualDomainsBuilder
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
getVirtualDomainsOrBuilder
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... }- Specified by:
getVirtualDomainsOrBuilderin interfaceDnsTableOrBuilder
-
getVirtualDomainsOrBuilderList
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... }- Specified by:
getVirtualDomainsOrBuilderListin interfaceDnsTableOrBuilder
-
addVirtualDomainsBuilder
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
addVirtualDomainsBuilder
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
getVirtualDomainsBuilderList
Fully qualified domain names for which Envoy will respond to queries
repeated .envoy.data.dns.v2alpha.DnsTable.DnsVirtualDomain virtual_domains = 2 [(.validate.rules) = { ... } -
getKnownSuffixesList
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3;- Specified by:
getKnownSuffixesListin interfaceDnsTableOrBuilder
-
getKnownSuffixesCount
public int getKnownSuffixesCount()This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3;- Specified by:
getKnownSuffixesCountin interfaceDnsTableOrBuilder
-
getKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3;- Specified by:
getKnownSuffixesin interfaceDnsTableOrBuilder
-
setKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
setKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addAllKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
clearKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
removeKnownSuffixes
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
getKnownSuffixesBuilder
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
getKnownSuffixesOrBuilder
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3;- Specified by:
getKnownSuffixesOrBuilderin interfaceDnsTableOrBuilder
-
getKnownSuffixesOrBuilderList
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3;- Specified by:
getKnownSuffixesOrBuilderListin interfaceDnsTableOrBuilder
-
addKnownSuffixesBuilder
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
addKnownSuffixesBuilder
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
getKnownSuffixesBuilderList
This field serves to help Envoy determine whether it can authoritatively answer a query for a name matching a suffix in this list. If the query name does not match a suffix in this list, Envoy will forward the query to an upstream DNS server
repeated .envoy.type.matcher.StringMatcher known_suffixes = 3; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.Builder>
-