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

      • getHostName

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

        com.google.protobuf.ByteString getHostNameBytes()
         Use a resolvable hostname as the endpoint for a service.
         
        string host_name = 1 [(.validate.rules) = { ... }
      • getClusterName

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

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

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

        int getWeight()
         The weight of the service record target
         
        uint32 weight = 4 [(.validate.rules) = { ... }
      • 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) = { ... }