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 TypeMethodDescriptionLook up by specific Consul service ID (returns single instance).com.google.protobuf.ByteStringLook up by specific Consul service ID (returns single instance).Look up by logical name (returns all instances).com.google.protobuf.ByteStringLook up by logical name (returns all instances).booleanLook up by specific Consul service ID (returns single instance).booleanLook up by logical name (returns all instances).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
GetServiceRequest.LookupKeyCase getLookupKeyCase()
-