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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classComplete details for a registered module instance.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Module metadata.booleanstatic GetModuleResponsestatic final com.google.protobuf.Descriptors.DescriptorgetDocumentTypes(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").com.google.protobuf.ProtocolStringListDocument 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").com.google.protobuf.Parser<GetModuleResponse> intgetPort()Port where module accepts connections.com.google.protobuf.TimestampTimestamp when module was registered.com.google.protobuf.TimestampOrBuilderTimestamp when module was registered.intConsul service ID for this specific instance.com.google.protobuf.ByteStringConsul service ID for this specific instance.Module version.com.google.protobuf.ByteStringModule version.inthashCode()booleanTimestamp of last health check.booleanTimestamp when module was registered.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic GetModuleResponse.Builderstatic GetModuleResponse.BuildernewBuilder(GetModuleResponse prototype) protected GetModuleResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GetModuleResponseparseDelimitedFrom(InputStream input) static GetModuleResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetModuleResponseparseFrom(byte[] data) static GetModuleResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetModuleResponseparseFrom(com.google.protobuf.ByteString data) static GetModuleResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetModuleResponseparseFrom(com.google.protobuf.CodedInputStream input) static GetModuleResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetModuleResponseparseFrom(InputStream input) static GetModuleResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetModuleResponseparseFrom(ByteBuffer data) static GetModuleResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetModuleResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getModuleName
Module name.
string module_name = 1;- Specified by:
getModuleNamein interfaceGetModuleResponseOrBuilder- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()Module name.
string module_name = 1;- Specified by:
getModuleNameBytesin interfaceGetModuleResponseOrBuilder- Returns:
- The bytes for moduleName.
-
getServiceId
Consul service ID for this specific instance.
string service_id = 2;- Specified by:
getServiceIdin interfaceGetModuleResponseOrBuilder- Returns:
- The serviceId.
-
getServiceIdBytes
public com.google.protobuf.ByteString getServiceIdBytes()Consul service ID for this specific instance.
string service_id = 2;- Specified by:
getServiceIdBytesin interfaceGetModuleResponseOrBuilder- Returns:
- The bytes for serviceId.
-
getHost
Host where module is running.
string host = 3;- Specified by:
getHostin interfaceGetModuleResponseOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()Host where module is running.
string host = 3;- Specified by:
getHostBytesin interfaceGetModuleResponseOrBuilder- Returns:
- The bytes for host.
-
getPort
public int getPort()Port where module accepts connections.
int32 port = 4;- Specified by:
getPortin interfaceGetModuleResponseOrBuilder- Returns:
- The port.
-
getVersion
Module version.
string version = 5;- Specified by:
getVersionin interfaceGetModuleResponseOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Module version.
string version = 5;- Specified by:
getVersionBytesin interfaceGetModuleResponseOrBuilder- Returns:
- The bytes for version.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:GetModuleResponseOrBuilderModule metadata.
map<string, string> metadata = 6;- Specified by:
getMetadataCountin interfaceGetModuleResponseOrBuilder
-
containsMetadata
Module metadata.
map<string, string> metadata = 6;- Specified by:
containsMetadatain interfaceGetModuleResponseOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceGetModuleResponseOrBuilder
-
getMetadataMap
Module metadata.
map<string, string> metadata = 6;- Specified by:
getMetadataMapin interfaceGetModuleResponseOrBuilder
-
getMetadataOrDefault
Module metadata.
map<string, string> metadata = 6;- Specified by:
getMetadataOrDefaultin interfaceGetModuleResponseOrBuilder
-
getMetadataOrThrow
Module metadata.
map<string, string> metadata = 6;- Specified by:
getMetadataOrThrowin interfaceGetModuleResponseOrBuilder
-
getInputFormat
Input format expected by module (e.g., "PipeDoc", "text/plain").
string input_format = 7;- Specified by:
getInputFormatin interfaceGetModuleResponseOrBuilder- 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:
getInputFormatBytesin interfaceGetModuleResponseOrBuilder- Returns:
- The bytes for inputFormat.
-
getOutputFormat
Output format produced by module (e.g., "PipeDoc", "application/json").
string output_format = 8;- Specified by:
getOutputFormatin interfaceGetModuleResponseOrBuilder- 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:
getOutputFormatBytesin interfaceGetModuleResponseOrBuilder- 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:
getDocumentTypesListin interfaceGetModuleResponseOrBuilder- 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:
getDocumentTypesCountin interfaceGetModuleResponseOrBuilder- Returns:
- The count of documentTypes.
-
getDocumentTypes
Document types this module can process (e.g., "pdf", "docx", "image").
repeated string document_types = 9;- Specified by:
getDocumentTypesin interfaceGetModuleResponseOrBuilder- 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:
getDocumentTypesBytesin interfaceGetModuleResponseOrBuilder- 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:
getIsHealthyin interfaceGetModuleResponseOrBuilder- Returns:
- The isHealthy.
-
hasRegisteredAt
public boolean hasRegisteredAt()Timestamp when module was registered.
.google.protobuf.Timestamp registered_at = 11;- Specified by:
hasRegisteredAtin interfaceGetModuleResponseOrBuilder- 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:
getRegisteredAtin interfaceGetModuleResponseOrBuilder- Returns:
- The registeredAt.
-
getRegisteredAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getRegisteredAtOrBuilder()Timestamp when module was registered.
.google.protobuf.Timestamp registered_at = 11;- Specified by:
getRegisteredAtOrBuilderin interfaceGetModuleResponseOrBuilder
-
hasLastHealthCheck
public boolean hasLastHealthCheck()Timestamp of last health check.
.google.protobuf.Timestamp last_health_check = 12;- Specified by:
hasLastHealthCheckin interfaceGetModuleResponseOrBuilder- 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:
getLastHealthCheckin interfaceGetModuleResponseOrBuilder- Returns:
- The lastHealthCheck.
-
getLastHealthCheckOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastHealthCheckOrBuilder()Timestamp of last health check.
.google.protobuf.Timestamp last_health_check = 12;- Specified by:
getLastHealthCheckOrBuilderin interfaceGetModuleResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static GetModuleResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetModuleResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-