Interface DnsTable.DnsServiceTargetOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Use a cluster name as the endpoint for a service.
    com.google.protobuf.ByteString
    Use a cluster name as the endpoint for a service.
     
    Use a resolvable hostname as the endpoint for a service.
    com.google.protobuf.ByteString
    Use a resolvable hostname as the endpoint for a service.
    int
    The port to which the service is bound.
    int
    The priority of the service record target
    int
    The weight of the service record target
    boolean
    Use a cluster name as the endpoint for a service.
    boolean
    Use a resolvable hostname as the endpoint for a service.

    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

    • hasHostName

      boolean hasHostName()
       Use a resolvable hostname as the endpoint for a service.
       
      string host_name = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the hostName field is set.
    • getHostName

      String getHostName()
       Use a resolvable hostname as the endpoint for a service.
       
      string host_name = 1 [(.validate.rules) = { ... }
      Returns:
      The hostName.
    • getHostNameBytes

      com.google.protobuf.ByteString getHostNameBytes()
       Use a resolvable hostname as the endpoint for a service.
       
      string host_name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for hostName.
    • hasClusterName

      boolean hasClusterName()
       Use a cluster name as the endpoint for a service.
       
      string cluster_name = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the clusterName field is set.
    • getClusterName

      String getClusterName()
       Use a cluster name as the endpoint for a service.
       
      string cluster_name = 2 [(.validate.rules) = { ... }
      Returns:
      The clusterName.
    • getClusterNameBytes

      com.google.protobuf.ByteString getClusterNameBytes()
       Use a cluster name as the endpoint for a service.
       
      string cluster_name = 2 [(.validate.rules) = { ... }
      Returns:
      The bytes for clusterName.
    • getPriority

      int getPriority()
       The priority of the service record target
       
      uint32 priority = 3 [(.validate.rules) = { ... }
      Returns:
      The priority.
    • getWeight

      int getWeight()
       The weight of the service record target
       
      uint32 weight = 4 [(.validate.rules) = { ... }
      Returns:
      The weight.
    • getPort

      int getPort()
       The port to which the service is bound. This value is optional if the target is a
       cluster. Setting port to zero in this case makes the filter use the port value
       from the cluster host
       
      uint32 port = 5 [(.validate.rules) = { ... }
      Returns:
      The port.
    • getEndpointTypeCase