Interface GetServiceRequestOrBuilder

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

@Generated public interface GetServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Look up by specific Consul service ID (returns single instance).
    com.google.protobuf.ByteString
    Look up by specific Consul service ID (returns single instance).
    Look up by logical name (returns all instances).
    com.google.protobuf.ByteString
    Look up by logical name (returns all instances).
    boolean
    Look up by specific Consul service ID (returns single instance).
    boolean
    Look up by logical name (returns all instances).

    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

    • hasServiceName

      boolean hasServiceName()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Returns:
      Whether the serviceName field is set.
    • getServiceName

      String getServiceName()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       Look up by logical name (returns all instances).
       
      string service_name = 1;
      Returns:
      The bytes for serviceName.
    • hasServiceId

      boolean hasServiceId()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Returns:
      Whether the serviceId field is set.
    • getServiceId

      String getServiceId()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Returns:
      The serviceId.
    • getServiceIdBytes

      com.google.protobuf.ByteString getServiceIdBytes()
       Look up by specific Consul service ID (returns single instance).
       
      string service_id = 2;
      Returns:
      The bytes for serviceId.
    • getLookupKeyCase