Package io.envoyproxy.envoy.data.dns.v3
Interface DnsTable.DnsServiceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DnsTable.DnsService,DnsTable.DnsService.Builder
- Enclosing class:
- DnsTable
public static interface DnsTable.DnsServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe service protocol.The service protocol.The name of the service without the protocol or domain namecom.google.protobuf.ByteStringThe name of the service without the protocol or domain namegetTargets(int index) The list of targets hosting the serviceintThe list of targets hosting the serviceThe list of targets hosting the servicegetTargetsOrBuilder(int index) The list of targets hosting the serviceList<? extends DnsTable.DnsServiceTargetOrBuilder>The list of targets hosting the servicecom.google.protobuf.DurationgetTtl()The service entry time to live.com.google.protobuf.DurationOrBuilderThe service entry time to live.booleanThe service protocol.booleanhasTtl()The service entry time to live.Methods 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
-
getServiceName
String getServiceName()The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }- Returns:
- The serviceName.
-
getServiceNameBytes
com.google.protobuf.ByteString getServiceNameBytes()The name of the service without the protocol or domain name
string service_name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for serviceName.
-
hasProtocol
boolean hasProtocol()The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2;- Returns:
- Whether the protocol field is set.
-
getProtocol
DnsTable.DnsServiceProtocol getProtocol()The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2;- Returns:
- The protocol.
-
getProtocolOrBuilder
DnsTable.DnsServiceProtocolOrBuilder getProtocolOrBuilder()The service protocol. This can be specified as a string or the numeric value of the protocol
.envoy.data.dns.v3.DnsTable.DnsServiceProtocol protocol = 2; -
hasTtl
boolean hasTtl()The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }- Returns:
- Whether the ttl field is set.
-
getTtl
com.google.protobuf.Duration getTtl()The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... }- Returns:
- The ttl.
-
getTtlOrBuilder
com.google.protobuf.DurationOrBuilder getTtlOrBuilder()The service entry time to live. This is independent from the DNS Answer record TTL
.google.protobuf.Duration ttl = 3 [(.validate.rules) = { ... } -
getTargetsList
List<DnsTable.DnsServiceTarget> getTargetsList()The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } -
getTargets
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } -
getTargetsCount
int getTargetsCount()The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } -
getTargetsOrBuilderList
List<? extends DnsTable.DnsServiceTargetOrBuilder> getTargetsOrBuilderList()The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... } -
getTargetsOrBuilder
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }
-