Interface DnsTable.AddressListOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DnsTable.AddressList, DnsTable.AddressList.Builder
Enclosing class:
DnsTable

public static interface DnsTable.AddressListOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAddress(int index)
    This field contains a well formed IP address that is returned in the answer for a name query.
    com.google.protobuf.ByteString
    getAddressBytes(int index)
    This field contains a well formed IP address that is returned in the answer for a name query.
    int
    This field contains a well formed IP address that is returned in the answer for a name query.
    This field contains a well formed IP address that is returned in the answer for a name query.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getAddressList

      List<String> getAddressList()
       This field contains a well formed IP address that is returned in the answer for a
       name query. The address field can be an IPv4 or IPv6 address. Address family
       detection is done automatically when Envoy parses the string. Since this field is
       repeated, Envoy will return as many entries from this list in the DNS response while
       keeping the response under 512 bytes
       
      repeated string address = 1 [(.validate.rules) = { ... }
      Returns:
      A list containing the address.
    • getAddressCount

      int getAddressCount()
       This field contains a well formed IP address that is returned in the answer for a
       name query. The address field can be an IPv4 or IPv6 address. Address family
       detection is done automatically when Envoy parses the string. Since this field is
       repeated, Envoy will return as many entries from this list in the DNS response while
       keeping the response under 512 bytes
       
      repeated string address = 1 [(.validate.rules) = { ... }
      Returns:
      The count of address.
    • getAddress

      String getAddress(int index)
       This field contains a well formed IP address that is returned in the answer for a
       name query. The address field can be an IPv4 or IPv6 address. Address family
       detection is done automatically when Envoy parses the string. Since this field is
       repeated, Envoy will return as many entries from this list in the DNS response while
       keeping the response under 512 bytes
       
      repeated string address = 1 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The address at the given index.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes(int index)
       This field contains a well formed IP address that is returned in the answer for a
       name query. The address field can be an IPv4 or IPv6 address. Address family
       detection is done automatically when Envoy parses the string. Since this field is
       repeated, Envoy will return as many entries from this list in the DNS response while
       keeping the response under 512 bytes
       
      repeated string address = 1 [(.validate.rules) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the address at the given index.