Class RegisterServiceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.platform.registration.v1.RegisterServiceRequest
All Implemented Interfaces:
RegisterServiceRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RegisterServiceRequest extends com.google.protobuf.GeneratedMessage implements RegisterServiceRequestOrBuilder
 Request to register a service with the platform.

 Provides the information needed to register a service instance with Consul
 and make it discoverable to other platform components.
 
Protobuf type ai.pipestream.platform.registration.v1.RegisterServiceRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getServiceName

      public String getServiceName()
       Logical service name (e.g., "mapping-service").
       
      string service_name = 1;
      Specified by:
      getServiceName in interface RegisterServiceRequestOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

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

      public String getHost()
       Host where service is running.
       
      string host = 2;
      Specified by:
      getHost in interface RegisterServiceRequestOrBuilder
      Returns:
      The host.
    • getHostBytes

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

      public int getPort()
       gRPC port where service accepts connections.
       
      int32 port = 3;
      Specified by:
      getPort in interface RegisterServiceRequestOrBuilder
      Returns:
      The port.
    • getVersion

      public String getVersion()
       Service version (e.g., "1.2.3").
       
      string version = 4;
      Specified by:
      getVersion in interface RegisterServiceRequestOrBuilder
      Returns:
      The version.
    • getVersionBytes

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

      public int getMetadataCount()
      Description copied from interface: RegisterServiceRequestOrBuilder
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
      Specified by:
      getMetadataCount in interface RegisterServiceRequestOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
      Specified by:
      containsMetadata in interface RegisterServiceRequestOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface RegisterServiceRequestOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
      Specified by:
      getMetadataMap in interface RegisterServiceRequestOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
      Specified by:
      getMetadataOrDefault in interface RegisterServiceRequestOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Additional metadata for service configuration.
       
      map<string, string> metadata = 5;
      Specified by:
      getMetadataOrThrow in interface RegisterServiceRequestOrBuilder
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      Specified by:
      getTagsList in interface RegisterServiceRequestOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

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

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

      public com.google.protobuf.ByteString getTagsBytes(int index)
       Tags for discovery and filtering (e.g., "production", "us-east-1").
       
      repeated string tags = 6;
      Specified by:
      getTagsBytes in interface RegisterServiceRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • getCapabilitiesList

      public com.google.protobuf.ProtocolStringList getCapabilitiesList()
       Service capabilities (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Specified by:
      getCapabilitiesList in interface RegisterServiceRequestOrBuilder
      Returns:
      A list containing the capabilities.
    • getCapabilitiesCount

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

      public String getCapabilities(int index)
       Service capabilities (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Specified by:
      getCapabilities in interface RegisterServiceRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The capabilities at the given index.
    • getCapabilitiesBytes

      public com.google.protobuf.ByteString getCapabilitiesBytes(int index)
       Service capabilities (e.g., "document-storage", "search").
       
      repeated string capabilities = 7;
      Specified by:
      getCapabilitiesBytes in interface RegisterServiceRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the capabilities at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RegisterServiceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RegisterServiceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RegisterServiceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RegisterServiceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RegisterServiceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RegisterServiceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RegisterServiceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RegisterServiceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RegisterServiceRequest.Builder newBuilder()
    • newBuilder

      public static RegisterServiceRequest.Builder newBuilder(RegisterServiceRequest prototype)
    • toBuilder

      public RegisterServiceRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RegisterServiceRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RegisterServiceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RegisterServiceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<RegisterServiceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RegisterServiceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder