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 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

       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) = { ... }