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;
      Returns:
      The moduleName.
    • getModuleNameBytes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      com.google.protobuf.ByteString getOutputFormatBytes()
       Output format produced by module (e.g., "PipeDoc", "application/json").
       
      string output_format = 8;
      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;
      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;
      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;
      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;
      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;
      Returns:
      The isHealthy.
    • hasRegisteredAt

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

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

      com.google.protobuf.TimestampOrBuilder getRegisteredAtOrBuilder()
       Timestamp when module was registered.
       
      .google.protobuf.Timestamp registered_at = 11;
    • hasLastHealthCheck

      boolean hasLastHealthCheck()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12;
      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;
      Returns:
      The lastHealthCheck.
    • getLastHealthCheckOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastHealthCheckOrBuilder()
       Timestamp of last health check.
       
      .google.protobuf.Timestamp last_health_check = 12;