Package io.envoyproxy.envoy.data.dns.v3
Interface DnsTable.DnsVirtualDomainOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DnsTable.DnsVirtualDomain,DnsTable.DnsVirtualDomain.Builder
- Enclosing class:
- DnsTable
public static interface DnsTable.DnsVirtualDomainOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationSets the TTL in DNS answers from Envoy returned to the client.com.google.protobuf.DurationOrBuilderSets the TTL in DNS answers from Envoy returned to the client.The configuration containing the method to determine the address of this endpointThe configuration containing the method to determine the address of this endpointgetName()A domain name for which Envoy will respond to query requests.com.google.protobuf.ByteStringA domain name for which Envoy will respond to query requests.booleanSets the TTL in DNS answers from Envoy returned to the client.booleanThe configuration containing the method to determine the address of this endpointMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()A domain name for which Envoy will respond to query requests. Wildcard records are supported on the first label only, e.g. ``*.example.com`` or ``*.subdomain.example.com``. Names such as ``*example.com``, ``subdomain.*.example.com``, ``*subdomain.example.com``, etc are not valid wildcard names and asterisk will be interpreted as a literal ``*`` character. Wildcard records match subdomains on any levels, e.g. ``*.example.com`` will match ``foo.example.com``, ``bar.foo.example.com``, ``baz.bar.foo.example.com``, etc. In case there are multiple wildcard records, the longest wildcard match will be used, e.g. if there are wildcard records for ``*.example.com`` and ``*.foo.example.com`` and the query is for ``bar.foo.example.com``, the latter will be used. Specific records will always take precedence over wildcard records.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A domain name for which Envoy will respond to query requests. Wildcard records are supported on the first label only, e.g. ``*.example.com`` or ``*.subdomain.example.com``. Names such as ``*example.com``, ``subdomain.*.example.com``, ``*subdomain.example.com``, etc are not valid wildcard names and asterisk will be interpreted as a literal ``*`` character. Wildcard records match subdomains on any levels, e.g. ``*.example.com`` will match ``foo.example.com``, ``bar.foo.example.com``, ``baz.bar.foo.example.com``, etc. In case there are multiple wildcard records, the longest wildcard match will be used, e.g. if there are wildcard records for ``*.example.com`` and ``*.foo.example.com`` and the query is for ``bar.foo.example.com``, the latter will be used. Specific records will always take precedence over wildcard records.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
hasEndpoint
boolean hasEndpoint()The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2;- Returns:
- Whether the endpoint field is set.
-
getEndpoint
DnsTable.DnsEndpoint getEndpoint()The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2;- Returns:
- The endpoint.
-
getEndpointOrBuilder
DnsTable.DnsEndpointOrBuilder getEndpointOrBuilder()The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
hasAnswerTtl
boolean hasAnswerTtl()Sets the TTL in DNS answers from Envoy returned to the client. The default TTL is 300s
.google.protobuf.Duration answer_ttl = 3 [(.validate.rules) = { ... }- Returns:
- Whether the answerTtl field is set.
-
getAnswerTtl
com.google.protobuf.Duration getAnswerTtl()Sets the TTL in DNS answers from Envoy returned to the client. The default TTL is 300s
.google.protobuf.Duration answer_ttl = 3 [(.validate.rules) = { ... }- Returns:
- The answerTtl.
-
getAnswerTtlOrBuilder
com.google.protobuf.DurationOrBuilder getAnswerTtlOrBuilder()Sets the TTL in DNS answers from Envoy returned to the client. The default TTL is 300s
.google.protobuf.Duration answer_ttl = 3 [(.validate.rules) = { ... }
-