Interface GetModuleResponseOrBuilder

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

@Generated public interface GetModuleResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getModuleName

      String getModuleName()
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Returns:
      The moduleName.
    • getModuleNameBytes

      com.google.protobuf.ByteString getModuleNameBytes()
       Module name.
       
      string module_name = 1 [json_name = "moduleName"];
      Returns:
      The bytes for moduleName.
    • getServiceId

      String getServiceId()
       Consul service ID for this specific instance.
       
      string service_id = 2 [json_name = "serviceId"];
      Returns:
      The serviceId.
    • getServiceIdBytes

      com.google.protobuf.ByteString getServiceIdBytes()
       Consul service ID for this specific instance.
       
      string service_id = 2 [json_name = "serviceId"];
      Returns:
      The bytes for serviceId.
    • getHost

      String getHost()
       Host where module is running.
       
      string host = 3 [json_name = "host"];
      Returns:
      The host.
    • getHostBytes

      com.google.protobuf.ByteString getHostBytes()
       Host where module is running.
       
      string host = 3 [json_name = "host"];
      Returns:
      The bytes for host.
    • getPort

      int getPort()
       Port where module accepts connections.
       
      int32 port = 4 [json_name = "port"];
      Returns:
      The port.
    • getVersion

      String getVersion()
       Module version.
       
      string version = 5 [json_name = "version"];
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Module version.
       
      string version = 5 [json_name = "version"];
      Returns:
      The bytes for version.
    • getMetadataCount

      int getMetadataCount()
       Module metadata.
       
      map<string, string> metadata = 6 [json_name = "metadata"];
    • containsMetadata

      boolean containsMetadata(String key)
       Module metadata.
       
      map<string, string> metadata = 6 [json_name = "metadata"];
    • getMetadata

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

      Map<String,String> getMetadataMap()
       Module metadata.
       
      map<string, string> metadata = 6 [json_name = "metadata"];
    • getMetadataOrDefault

      String getMetadataOrDefault(String key, String defaultValue)
       Module metadata.
       
      map<string, string> metadata = 6 [json_name = "metadata"];
    • getMetadataOrThrow

      String getMetadataOrThrow(String key)
       Module metadata.
       
      map<string, string> metadata = 6 [json_name = "metadata"];
    • getInputFormat

      String getInputFormat()
       Input format expected by module (e.g., "PipeDoc", "text/plain").
       
      string input_format = 7 [json_name = "inputFormat"];
      Returns:
      The inputFormat.
    • getInputFormatBytes

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

      String getOutputFormat()
       Output format produced by module (e.g., "PipeDoc", "application/json").
       
      string output_format = 8 [json_name = "outputFormat"];
      Returns:
      The outputFormat.
    • getOutputFormatBytes

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

      List<String> getDocumentTypesList()
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9 [json_name = "documentTypes"];
      Returns:
      A list containing the documentTypes.
    • getDocumentTypesCount

      int getDocumentTypesCount()
       Document types this module can process (e.g., "pdf", "docx", "image").
       
      repeated string document_types = 9 [json_name = "documentTypes"];
      Returns:
      The count of documentTypes.
    • getDocumentTypes

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

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

      boolean getIsHealthy()
       Whether this instance is currently healthy.
       
      bool is_healthy = 10 [json_name = "isHealthy"];
      Returns:
      The isHealthy.
    • hasRegisteredAt

      boolean hasRegisteredAt()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11 [json_name = "registeredAt"];
      Returns:
      Whether the registeredAt field is set.
    • getRegisteredAt

      com.google.protobuf.Timestamp getRegisteredAt()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11 [json_name = "registeredAt"];
      Returns:
      The registeredAt.
    • getRegisteredAtOrBuilder

      com.google.protobuf.TimestampOrBuilder getRegisteredAtOrBuilder()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11 [json_name = "registeredAt"];
    • hasLastHealthCheck

      boolean hasLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12 [json_name = "lastHealthCheck"];
      Returns:
      Whether the lastHealthCheck field is set.
    • getLastHealthCheck

      com.google.protobuf.Timestamp getLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12 [json_name = "lastHealthCheck"];
      Returns:
      The lastHealthCheck.
    • getLastHealthCheckOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastHealthCheckOrBuilder()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12 [json_name = "lastHealthCheck"];