Interface GetServiceResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GetServiceResponse, GetServiceResponse.Builder

@Generated public interface GetServiceResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getServiceName

      String getServiceName()
       Logical service name.
       
      string service_name = 1;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       Logical service name.
       
      string service_name = 1;
      Returns:
      The bytes for serviceName.
    • getServiceId

      String getServiceId()
       Consul service ID for this specific instance.
       
      string service_id = 2;
      Returns:
      The serviceId.
    • getServiceIdBytes

      com.google.protobuf.ByteString getServiceIdBytes()
       Consul service ID for this specific instance.
       
      string service_id = 2;
      Returns:
      The bytes for serviceId.
    • getHost

      String getHost()
       Host where service is running.
       
      string host = 3;
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       Host where service is running.
       
      string host = 3;
      Returns:
      The bytes for host.
    • getPort

      int getPort()
       Port where service accepts connections.
       
      int32 port = 4;
      Returns:
      The port.
    • getVersion

      String getVersion()
       Service version.
       
      string version = 5;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Service version.
       
      string version = 5;
      Returns:
      The bytes for version.
    • getMetadataCount

      int getMetadataCount()
       Service metadata.
       
      map<string, string> metadata = 6;
    • containsMetadata

      boolean containsMetadata(String key)
       Service metadata.
       
      map<string, string> metadata = 6;
    • getMetadata

      @Deprecated Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
    • getMetadataMap

      Map<String,String> getMetadataMap()
       Service metadata.
       
      map<string, string> metadata = 6;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Service metadata.
       
      map<string, string> metadata = 6;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Service metadata.
       
      map<string, string> metadata = 6;
    • getTagsList

      List<String> getTagsList()
       Service tags for discovery.
       
      repeated string tags = 7;
      Returns:
      A list containing the tags.
    • getTagsCount

      int getTagsCount()
       Service tags for discovery.
       
      repeated string tags = 7;
      Returns:
      The count of tags.
    • getTags

      String getTags(int index)
       Service tags for discovery.
       
      repeated string tags = 7;
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      com.google.protobuf.ByteString getTagsBytes(int index)
       Service tags for discovery.
       
      repeated string tags = 7;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getCapabilitiesList

      List<String> getCapabilitiesList()
       Service capabilities.
       
      repeated string capabilities = 8;
      Returns:
      A list containing the capabilities.
    • getCapabilitiesCount

      int getCapabilitiesCount()
       Service capabilities.
       
      repeated string capabilities = 8;
      Returns:
      The count of capabilities.
    • getCapabilities

      String getCapabilities(int index)
       Service capabilities.
       
      repeated string capabilities = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The capabilities at the given index.
    • getCapabilitiesBytes

      com.google.protobuf.ByteString getCapabilitiesBytes(int index)
       Service capabilities.
       
      repeated string capabilities = 8;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the capabilities at the given index.
    • getIsHealthy

      boolean getIsHealthy()
       Whether this instance is currently healthy.
       
      bool is_healthy = 9;
      Returns:
      The isHealthy.
    • hasRegisteredAt

      boolean hasRegisteredAt()
       Timestamp when service was registered.
       
      .google.protobuf.Timestamp registered_at = 10;
      Returns:
      Whether the registeredAt field is set.
    • getRegisteredAt

      com.google.protobuf.Timestamp getRegisteredAt()
       Timestamp when service was registered.
       
      .google.protobuf.Timestamp registered_at = 10;
      Returns:
      The registeredAt.
    • getRegisteredAtOrBuilder

      com.google.protobuf.TimestampOrBuilder getRegisteredAtOrBuilder()
       Timestamp when service was registered.
       
      .google.protobuf.Timestamp registered_at = 10;
    • hasLastHealthCheck

      boolean hasLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 11;
      Returns:
      Whether the lastHealthCheck field is set.
    • getLastHealthCheck

      com.google.protobuf.Timestamp getLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 11;
      Returns:
      The lastHealthCheck.
    • getLastHealthCheckOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastHealthCheckOrBuilder()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 11;