Interface RegisterServiceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Additional metadata for service configuration.
    getCapabilities(int index)
    Service capabilities (e.g., "document-storage", "search").
    com.google.protobuf.ByteString
    Service capabilities (e.g., "document-storage", "search").
    int
    Service capabilities (e.g., "document-storage", "search").
    Service capabilities (e.g., "document-storage", "search").
    Host where service is running.
    com.google.protobuf.ByteString
    Host where service is running.
    Deprecated.
    int
    Additional metadata for service configuration.
    Additional metadata for service configuration.
    getMetadataOrDefault(String key, String defaultValue)
    Additional metadata for service configuration.
    Additional metadata for service configuration.
    int
    gRPC port where service accepts connections.
    Logical service name (e.g., "mapping-service").
    com.google.protobuf.ByteString
    Logical service name (e.g., "mapping-service").
    getTags(int index)
    Tags for discovery and filtering (e.g., "production", "us-east-1").
    com.google.protobuf.ByteString
    getTagsBytes(int index)
    Tags for discovery and filtering (e.g., "production", "us-east-1").
    int
    Tags for discovery and filtering (e.g., "production", "us-east-1").
    Tags for discovery and filtering (e.g., "production", "us-east-1").
    Service version (e.g., "1.2.3").
    com.google.protobuf.ByteString
    Service version (e.g., "1.2.3").

    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()
       Logical service name (e.g., "mapping-service").
       
      string service_name = 1;
      Returns:
      The serviceName.
    • getServiceNameBytes

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

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

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

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

      String getVersion()
       Service version (e.g., "1.2.3").
       
      string version = 4;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Service version (e.g., "1.2.3").
       
      string version = 4;
      Returns:
      The bytes for version.
    • getMetadataCount

      int getMetadataCount()
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
    • containsMetadata

      boolean containsMetadata(String key)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
    • getMetadata

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

      Map<String,String> getMetadataMap()
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
    • getTagsList

      List<String> getTagsList()
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      Returns:
      A list containing the tags.
    • getTagsCount

      int getTagsCount()
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      Returns:
      The count of tags.
    • getTags

      String getTags(int index)
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      com.google.protobuf.ByteString getTagsBytes(int index)
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      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 (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Returns:
      A list containing the capabilities.
    • getCapabilitiesCount

      int getCapabilitiesCount()
       Service capabilities (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Returns:
      The count of capabilities.
    • getCapabilities

      String getCapabilities(int index)
       Service capabilities (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      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 (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the capabilities at the given index.