Interface ResolveServiceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Prefer instance on same host as caller.
    Only return instances with all of these capabilities.
    com.google.protobuf.ByteString
    Only return instances with all of these capabilities.
    int
    Only return instances with all of these capabilities.
    Only return instances with all of these capabilities.
    getRequiredTags(int index)
    Only return instances with all of these tags.
    com.google.protobuf.ByteString
    Only return instances with all of these tags.
    int
    Only return instances with all of these tags.
    Only return instances with all of these tags.
    Service name to resolve (e.g., "mapping-service").
    com.google.protobuf.ByteString
    Service name to resolve (e.g., "mapping-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 Details

    • getServiceName

      String getServiceName()
       Service name to resolve (e.g., "mapping-service").
       
      string service_name = 1;
      Returns:
      The serviceName.
    • getServiceNameBytes

      com.google.protobuf.ByteString getServiceNameBytes()
       Service name to resolve (e.g., "mapping-service").
       
      string service_name = 1;
      Returns:
      The bytes for serviceName.
    • getPreferLocal

      boolean getPreferLocal()
       Prefer instance on same host as caller.
       
      bool prefer_local = 2;
      Returns:
      The preferLocal.
    • getRequiredTagsList

      List<String> getRequiredTagsList()
       Only return instances with all of these tags.
       
      repeated string required_tags = 3;
      Returns:
      A list containing the requiredTags.
    • getRequiredTagsCount

      int getRequiredTagsCount()
       Only return instances with all of these tags.
       
      repeated string required_tags = 3;
      Returns:
      The count of requiredTags.
    • getRequiredTags

      String getRequiredTags(int index)
       Only return instances with all of these tags.
       
      repeated string required_tags = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The requiredTags at the given index.
    • getRequiredTagsBytes

      com.google.protobuf.ByteString getRequiredTagsBytes(int index)
       Only return instances with all of these tags.
       
      repeated string required_tags = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requiredTags at the given index.
    • getRequiredCapabilitiesList

      List<String> getRequiredCapabilitiesList()
       Only return instances with all of these capabilities.
       
      repeated string required_capabilities = 4;
      Returns:
      A list containing the requiredCapabilities.
    • getRequiredCapabilitiesCount

      int getRequiredCapabilitiesCount()
       Only return instances with all of these capabilities.
       
      repeated string required_capabilities = 4;
      Returns:
      The count of requiredCapabilities.
    • getRequiredCapabilities

      String getRequiredCapabilities(int index)
       Only return instances with all of these capabilities.
       
      repeated string required_capabilities = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The requiredCapabilities at the given index.
    • getRequiredCapabilitiesBytes

      com.google.protobuf.ByteString getRequiredCapabilitiesBytes(int index)
       Only return instances with all of these capabilities.
       
      repeated string required_capabilities = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requiredCapabilities at the given index.