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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsTable.DnsServiceProtocolgetProtocol()The service protocol.DnsTable.DnsServiceProtocolOrBuildergetProtocolOrBuilder()The service protocol.StringgetServiceName()The name of the service without the protocol or domain namecom.google.protobuf.ByteStringgetServiceNameBytes()The name of the service without the protocol or domain nameDnsTable.DnsServiceTargetgetTargets(int index)The list of targets hosting the serviceintgetTargetsCount()The list of targets hosting the serviceList<DnsTable.DnsServiceTarget>getTargetsList()The list of targets hosting the serviceDnsTable.DnsServiceTargetOrBuildergetTargetsOrBuilder(int index)The list of targets hosting the serviceList<? extends DnsTable.DnsServiceTargetOrBuilder>getTargetsOrBuilderList()The list of targets hosting the servicecom.google.protobuf.DurationgetTtl()The service entry time to live.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()The service entry time to live.booleanhasProtocol()The service protocol.booleanhasTtl()The service entry time to live.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
DnsTable.DnsServiceTarget getTargets(int index)
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
DnsTable.DnsServiceTargetOrBuilder getTargetsOrBuilder(int index)
The list of targets hosting the service
repeated .envoy.data.dns.v3.DnsTable.DnsServiceTarget targets = 4 [(.validate.rules) = { ... }
-
-