Package io.envoyproxy.envoy.data.dns.v3
Class DnsTable.DnsVirtualDomain.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
io.envoyproxy.envoy.data.dns.v3.DnsTable.DnsVirtualDomain.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DnsTable.DnsVirtualDomainOrBuilder,Cloneable
- Enclosing class:
- DnsTable.DnsVirtualDomain
public static final class DnsTable.DnsVirtualDomain.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
implements DnsTable.DnsVirtualDomainOrBuilder
Protobuf type
envoy.data.dns.v3.DnsTable.DnsVirtualDomain-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Sets the TTL in DNS answers from Envoy returned to the client.The configuration containing the method to determine the address of this endpointclearField(com.google.protobuf.Descriptors.FieldDescriptor field) A domain name for which Envoy will respond to query requests.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()com.google.protobuf.DurationSets the TTL in DNS answers from Envoy returned to the client.com.google.protobuf.Duration.BuilderSets 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe configuration containing the method to determine the address of this endpointThe 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 endpointprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAnswerTtl(com.google.protobuf.Duration value) Sets the TTL in DNS answers from Envoy returned to the client.The configuration containing the method to determine the address of this endpointmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAnswerTtl(com.google.protobuf.Duration value) Sets the TTL in DNS answers from Envoy returned to the client.setAnswerTtl(com.google.protobuf.Duration.Builder builderForValue) Sets the TTL in DNS answers from Envoy returned to the client.setEndpoint(DnsTable.DnsEndpoint value) The configuration containing the method to determine the address of this endpointsetEndpoint(DnsTable.DnsEndpoint.Builder builderForValue) The configuration containing the method to determine the address of this endpointA domain name for which Envoy will respond to query requests.setNameBytes(com.google.protobuf.ByteString value) A domain name for which Envoy will respond to query requests.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods 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.DnsVirtualDomain.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.DnsVirtualDomain.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.DnsVirtualDomain.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.DnsVirtualDomain.Builder>
-
setField
public DnsTable.DnsVirtualDomain.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.DnsVirtualDomain.Builder>
-
clearField
public DnsTable.DnsVirtualDomain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
-
clearOneof
public DnsTable.DnsVirtualDomain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
-
setRepeatedField
public DnsTable.DnsVirtualDomain.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.DnsVirtualDomain.Builder>
-
addRepeatedField
public DnsTable.DnsVirtualDomain.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.DnsVirtualDomain.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsTable.DnsVirtualDomain.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
-
mergeFrom
public DnsTable.DnsVirtualDomain.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.DnsVirtualDomain.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getNamein interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- The bytes for name.
-
setName
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) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasEndpoint
public boolean hasEndpoint()The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2;- Specified by:
hasEndpointin interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- Whether the endpoint field is set.
-
getEndpoint
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2;- Specified by:
getEndpointin interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- The endpoint.
-
setEndpoint
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
setEndpoint
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
mergeEndpoint
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
clearEndpoint
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
getEndpointBuilder
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2; -
getEndpointOrBuilder
The configuration containing the method to determine the address of this endpoint
.envoy.data.dns.v3.DnsTable.DnsEndpoint endpoint = 2;- Specified by:
getEndpointOrBuilderin interfaceDnsTable.DnsVirtualDomainOrBuilder
-
hasAnswerTtl
public 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) = { ... }- Specified by:
hasAnswerTtlin interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- Whether the answerTtl field is set.
-
getAnswerTtl
public 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) = { ... }- Specified by:
getAnswerTtlin interfaceDnsTable.DnsVirtualDomainOrBuilder- Returns:
- The answerTtl.
-
setAnswerTtl
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) = { ... } -
setAnswerTtl
public DnsTable.DnsVirtualDomain.Builder setAnswerTtl(com.google.protobuf.Duration.Builder builderForValue) 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) = { ... } -
mergeAnswerTtl
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) = { ... } -
clearAnswerTtl
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) = { ... } -
getAnswerTtlBuilder
public com.google.protobuf.Duration.Builder getAnswerTtlBuilder()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) = { ... } -
getAnswerTtlOrBuilder
public 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) = { ... }- Specified by:
getAnswerTtlOrBuilderin interfaceDnsTable.DnsVirtualDomainOrBuilder
-
setUnknownFields
public final DnsTable.DnsVirtualDomain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
-
mergeUnknownFields
public final DnsTable.DnsVirtualDomain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DnsTable.DnsVirtualDomain.Builder>
-