Class GetModuleResponse

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

@Generated public final class GetModuleResponse extends com.google.protobuf.GeneratedMessage implements GetModuleResponseOrBuilder
 Complete details for a registered module instance.

 Extends service details with module-specific information including
 input/output formats and document type support.
 
Protobuf type ai.pipestream.platform.registration.v1.GetModuleResponse
See Also:
  • Field Details

    • MODULE_NAME_FIELD_NUMBER

      public static final int MODULE_NAME_FIELD_NUMBER
      See Also:
    • SERVICE_ID_FIELD_NUMBER

      public static final int SERVICE_ID_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:
    • INPUT_FORMAT_FIELD_NUMBER

      public static final int INPUT_FORMAT_FIELD_NUMBER
      See Also:
    • OUTPUT_FORMAT_FIELD_NUMBER

      public static final int OUTPUT_FORMAT_FIELD_NUMBER
      See Also:
    • DOCUMENT_TYPES_FIELD_NUMBER

      public static final int DOCUMENT_TYPES_FIELD_NUMBER
      See Also:
    • IS_HEALTHY_FIELD_NUMBER

      public static final int IS_HEALTHY_FIELD_NUMBER
      See Also:
    • REGISTERED_AT_FIELD_NUMBER

      public static final int REGISTERED_AT_FIELD_NUMBER
      See Also:
    • LAST_HEALTH_CHECK_FIELD_NUMBER

      public static final int LAST_HEALTH_CHECK_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.
       
      string module_name = 1;
      Specified by:
      getModuleName in interface GetModuleResponseOrBuilder
      Returns:
      The moduleName.
    • getModuleNameBytes

      public com.google.protobuf.ByteString getModuleNameBytes()
       Module name.
       
      string module_name = 1;
      Specified by:
      getModuleNameBytes in interface GetModuleResponseOrBuilder
      Returns:
      The bytes for moduleName.
    • getServiceId

      public String getServiceId()
       Consul service ID for this specific instance.
       
      string service_id = 2;
      Specified by:
      getServiceId in interface GetModuleResponseOrBuilder
      Returns:
      The serviceId.
    • getServiceIdBytes

      public com.google.protobuf.ByteString getServiceIdBytes()
       Consul service ID for this specific instance.
       
      string service_id = 2;
      Specified by:
      getServiceIdBytes in interface GetModuleResponseOrBuilder
      Returns:
      The bytes for serviceId.
    • getHost

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

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

      public int getPort()
       Port where module accepts connections.
       
      int32 port = 4;
      Specified by:
      getPort in interface GetModuleResponseOrBuilder
      Returns:
      The port.
    • getVersion

      public String getVersion()
       Module version.
       
      string version = 5;
      Specified by:
      getVersion in interface GetModuleResponseOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Module version.
       
      string version = 5;
      Specified by:
      getVersionBytes in interface GetModuleResponseOrBuilder
      Returns:
      The bytes for version.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: GetModuleResponseOrBuilder
       Module metadata.
       
      map<string, string> metadata = 6;
      Specified by:
      getMetadataCount in interface GetModuleResponseOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Module metadata.
       
      map<string, string> metadata = 6;
      Specified by:
      containsMetadata in interface GetModuleResponseOrBuilder
    • getMetadata

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

      public Map<String,String> getMetadataMap()
       Module metadata.
       
      map<string, string> metadata = 6;
      Specified by:
      getMetadataMap in interface GetModuleResponseOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Module metadata.
       
      map<string, string> metadata = 6;
      Specified by:
      getMetadataOrDefault in interface GetModuleResponseOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Module metadata.
       
      map<string, string> metadata = 6;
      Specified by:
      getMetadataOrThrow in interface GetModuleResponseOrBuilder
    • getInputFormat

      public String getInputFormat()
       Input format expected by module (e.g., "PipeDoc", "text/plain").
       
      string input_format = 7;
      Specified by:
      getInputFormat in interface GetModuleResponseOrBuilder
      Returns:
      The inputFormat.
    • getInputFormatBytes

      public com.google.protobuf.ByteString getInputFormatBytes()
       Input format expected by module (e.g., "PipeDoc", "text/plain").
       
      string input_format = 7;
      Specified by:
      getInputFormatBytes in interface GetModuleResponseOrBuilder
      Returns:
      The bytes for inputFormat.
    • getOutputFormat

      public String getOutputFormat()
       Output format produced by module (e.g., "PipeDoc", "application/json").
       
      string output_format = 8;
      Specified by:
      getOutputFormat in interface GetModuleResponseOrBuilder
      Returns:
      The outputFormat.
    • getOutputFormatBytes

      public com.google.protobuf.ByteString getOutputFormatBytes()
       Output format produced by module (e.g., "PipeDoc", "application/json").
       
      string output_format = 8;
      Specified by:
      getOutputFormatBytes in interface GetModuleResponseOrBuilder
      Returns:
      The bytes for outputFormat.
    • getDocumentTypesList

      public com.google.protobuf.ProtocolStringList getDocumentTypesList()
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9;
      Specified by:
      getDocumentTypesList in interface GetModuleResponseOrBuilder
      Returns:
      A list containing the documentTypes.
    • getDocumentTypesCount

      public int getDocumentTypesCount()
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9;
      Specified by:
      getDocumentTypesCount in interface GetModuleResponseOrBuilder
      Returns:
      The count of documentTypes.
    • getDocumentTypes

      public String getDocumentTypes(int index)
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9;
      Specified by:
      getDocumentTypes in interface GetModuleResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The documentTypes at the given index.
    • getDocumentTypesBytes

      public com.google.protobuf.ByteString getDocumentTypesBytes(int index)
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9;
      Specified by:
      getDocumentTypesBytes in interface GetModuleResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the documentTypes at the given index.
    • getIsHealthy

      public boolean getIsHealthy()
       Whether this instance is currently healthy.
       
      bool is_healthy = 10;
      Specified by:
      getIsHealthy in interface GetModuleResponseOrBuilder
      Returns:
      The isHealthy.
    • hasRegisteredAt

      public boolean hasRegisteredAt()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11;
      Specified by:
      hasRegisteredAt in interface GetModuleResponseOrBuilder
      Returns:
      Whether the registeredAt field is set.
    • getRegisteredAt

      public com.google.protobuf.Timestamp getRegisteredAt()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11;
      Specified by:
      getRegisteredAt in interface GetModuleResponseOrBuilder
      Returns:
      The registeredAt.
    • getRegisteredAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRegisteredAtOrBuilder()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11;
      Specified by:
      getRegisteredAtOrBuilder in interface GetModuleResponseOrBuilder
    • hasLastHealthCheck

      public boolean hasLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12;
      Specified by:
      hasLastHealthCheck in interface GetModuleResponseOrBuilder
      Returns:
      Whether the lastHealthCheck field is set.
    • getLastHealthCheck

      public com.google.protobuf.Timestamp getLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12;
      Specified by:
      getLastHealthCheck in interface GetModuleResponseOrBuilder
      Returns:
      The lastHealthCheck.
    • getLastHealthCheckOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastHealthCheckOrBuilder()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12;
      Specified by:
      getLastHealthCheckOrBuilder in interface GetModuleResponseOrBuilder
    • 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 GetModuleResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static GetModuleResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static GetModuleResponse getDefaultInstance()
    • parser

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

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