Class RegisterModuleRequest

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

@Generated public final class RegisterModuleRequest extends com.google.protobuf.GeneratedMessage implements RegisterModuleRequestOrBuilder
 Request to register a module (document processor) with the platform.

 Extends service registration by including module-specific metadata,
 schema information, and processing capabilities. Triggers schema
 validation and Apicurio Registry registration.
 
Protobuf type ai.pipestream.platform.registration.v1.RegisterModuleRequest
See Also:
  • Field Details

    • MODULE_NAME_FIELD_NUMBER

      public static final int MODULE_NAME_FIELD_NUMBER
      See Also:
    • HOST_FIELD_NUMBER

      public static final int HOST_FIELD_NUMBER
      See Also:
    • PORT_FIELD_NUMBER

      public static final int PORT_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • SERVICE_REGISTRATION_METADATA_FIELD_NUMBER

      public static final int SERVICE_REGISTRATION_METADATA_FIELD_NUMBER
      See Also:
  • 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
    • getModuleName

      public String getModuleName()
       Module name (e.g., "tika-parser", "chunker").
       
      string module_name = 1;
      Specified by:
      getModuleName in interface RegisterModuleRequestOrBuilder
      Returns:
      The moduleName.
    • getModuleNameBytes

      public com.google.protobuf.ByteString getModuleNameBytes()
       Module name (e.g., "tika-parser", "chunker").
       
      string module_name = 1;
      Specified by:
      getModuleNameBytes in interface RegisterModuleRequestOrBuilder
      Returns:
      The bytes for moduleName.
    • getHost

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasServiceRegistrationMetadata()
       Module-specific metadata including schema and capabilities.
      
       Contains input/output formats, document types supported, and schema definition.
       
      .ai.pipestream.data.module.v1.GetServiceRegistrationResponse service_registration_metadata = 6;
      Specified by:
      hasServiceRegistrationMetadata in interface RegisterModuleRequestOrBuilder
      Returns:
      Whether the serviceRegistrationMetadata field is set.
    • getServiceRegistrationMetadata

      public GetServiceRegistrationResponse getServiceRegistrationMetadata()
       Module-specific metadata including schema and capabilities.
      
       Contains input/output formats, document types supported, and schema definition.
       
      .ai.pipestream.data.module.v1.GetServiceRegistrationResponse service_registration_metadata = 6;
      Specified by:
      getServiceRegistrationMetadata in interface RegisterModuleRequestOrBuilder
      Returns:
      The serviceRegistrationMetadata.
    • getServiceRegistrationMetadataOrBuilder

      public GetServiceRegistrationResponseOrBuilder getServiceRegistrationMetadataOrBuilder()
       Module-specific metadata including schema and capabilities.
      
       Contains input/output formats, document types supported, and schema definition.
       
      .ai.pipestream.data.module.v1.GetServiceRegistrationResponse service_registration_metadata = 6;
      Specified by:
      getServiceRegistrationMetadataOrBuilder in interface RegisterModuleRequestOrBuilder
    • 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 RegisterModuleRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RegisterModuleRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static RegisterModuleRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RegisterModuleRequest> 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 RegisterModuleRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder