Interface DnsTable.DnsServiceTargetOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getClusterName()
      Use a cluster name as the endpoint for a service.
      com.google.protobuf.ByteString getClusterNameBytes()
      Use a cluster name as the endpoint for a service.
      DnsTable.DnsServiceTarget.EndpointTypeCase getEndpointTypeCase()  
      String getHostName()
      Use a resolvable hostname as the endpoint for a service.
      com.google.protobuf.ByteString getHostNameBytes()
      Use a resolvable hostname as the endpoint for a service.
      int getPort()
      The port to which the service is bound.
      int getPriority()
      The priority of the service record target
      int getWeight()
      The weight of the service record target
      boolean hasClusterName()
      Use a cluster name as the endpoint for a service.
      boolean hasHostName()
      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 Detail

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