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 Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Module metadata.getDocumentTypes(int index) Document types this module can process (e.g., "pdf", "docx", "image").com.google.protobuf.ByteStringgetDocumentTypesBytes(int index) Document types this module can process (e.g., "pdf", "docx", "image").intDocument types this module can process (e.g., "pdf", "docx", "image").Document types this module can process (e.g., "pdf", "docx", "image").getHost()Host where module is running.com.google.protobuf.ByteStringHost where module is running.Input format expected by module (e.g., "PipeDoc", "text/plain").com.google.protobuf.ByteStringInput format expected by module (e.g., "PipeDoc", "text/plain").booleanWhether this instance is currently healthy.com.google.protobuf.TimestampTimestamp of last health check.com.google.protobuf.TimestampOrBuilderTimestamp of last health check.Deprecated.intModule metadata.Module metadata.getMetadataOrDefault(String key, String defaultValue) Module metadata.getMetadataOrThrow(String key) Module metadata.Module name.com.google.protobuf.ByteStringModule name.Output format produced by module (e.g., "PipeDoc", "application/json").com.google.protobuf.ByteStringOutput format produced by module (e.g., "PipeDoc", "application/json").intgetPort()Port where module accepts connections.com.google.protobuf.TimestampTimestamp when module was registered.com.google.protobuf.TimestampOrBuilderTimestamp when module was registered.Consul service ID for this specific instance.com.google.protobuf.ByteStringConsul service ID for this specific instance.Module version.com.google.protobuf.ByteStringModule version.booleanTimestamp of last health check.booleanTimestamp when module was registered.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
Module metadata.
map<string, string> metadata = 6; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Module metadata.
map<string, string> metadata = 6; -
getMetadataOrDefault
Module metadata.
map<string, string> metadata = 6; -
getMetadataOrThrow
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
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
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;
-