Class ModuleRegistered
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.platform.registration.v1.ModuleRegistered
- All Implemented Interfaces:
ModuleRegisteredOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ModuleRegistered
extends com.google.protobuf.GeneratedMessage
implements ModuleRegisteredOrBuilder
Event published to Kafka when a module is registered. Used for OpenSearch indexing and event tracking. Published after successful Consul registration, schema validation, and Apicurio registration.Protobuf type
ai.pipestream.platform.registration.v1.ModuleRegistered- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEvent published to Kafka when a module is registered.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 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 TypeMethodDescriptionbooleanApicurio Registry artifact ID for module schema.com.google.protobuf.ByteStringApicurio Registry artifact ID for module schema.static ModuleRegisteredstatic final com.google.protobuf.Descriptors.DescriptorgetHost()Host where module is running.com.google.protobuf.ByteStringHost where module is running.Module name.com.google.protobuf.ByteStringModule name.com.google.protobuf.Parser<ModuleRegistered> intgetPort()Port where module accepts connections.Internal schema identifier.com.google.protobuf.ByteStringInternal schema identifier.intConsul service ID.com.google.protobuf.ByteStringConsul service ID.com.google.protobuf.TimestampTimestamp when module was registered.com.google.protobuf.TimestampOrBuilderTimestamp when module was registered.Module version.com.google.protobuf.ByteStringModule version.inthashCode()booleanTimestamp when module was registered.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ModuleRegistered.Builderstatic ModuleRegistered.BuildernewBuilder(ModuleRegistered prototype) protected ModuleRegistered.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ModuleRegisteredparseDelimitedFrom(InputStream input) static ModuleRegisteredparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModuleRegisteredparseFrom(byte[] data) static ModuleRegisteredparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModuleRegisteredparseFrom(com.google.protobuf.ByteString data) static ModuleRegisteredparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModuleRegisteredparseFrom(com.google.protobuf.CodedInputStream input) static ModuleRegisteredparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModuleRegisteredparseFrom(InputStream input) static ModuleRegisteredparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ModuleRegisteredparseFrom(ByteBuffer data) static ModuleRegisteredparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ModuleRegistered> 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, internalGetMapFieldReflection, 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
-
SERVICE_ID_FIELD_NUMBER
public static final int SERVICE_ID_FIELD_NUMBER- See Also:
-
MODULE_NAME_FIELD_NUMBER
public static final int MODULE_NAME_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:
-
SCHEMA_ID_FIELD_NUMBER
public static final int SCHEMA_ID_FIELD_NUMBER- See Also:
-
APICURIO_ARTIFACT_ID_FIELD_NUMBER
public static final int APICURIO_ARTIFACT_ID_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getServiceId
Consul service ID.
string service_id = 1 [json_name = "serviceId"];- Specified by:
getServiceIdin interfaceModuleRegisteredOrBuilder- Returns:
- The serviceId.
-
getServiceIdBytes
public com.google.protobuf.ByteString getServiceIdBytes()Consul service ID.
string service_id = 1 [json_name = "serviceId"];- Specified by:
getServiceIdBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for serviceId.
-
getModuleName
Module name.
string module_name = 2 [json_name = "moduleName"];- Specified by:
getModuleNamein interfaceModuleRegisteredOrBuilder- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()Module name.
string module_name = 2 [json_name = "moduleName"];- Specified by:
getModuleNameBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for moduleName.
-
getHost
Host where module is running.
string host = 3 [json_name = "host"];- Specified by:
getHostin interfaceModuleRegisteredOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()Host where module is running.
string host = 3 [json_name = "host"];- Specified by:
getHostBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for host.
-
getPort
public int getPort()Port where module accepts connections.
int32 port = 4 [json_name = "port"];- Specified by:
getPortin interfaceModuleRegisteredOrBuilder- Returns:
- The port.
-
getVersion
Module version.
string version = 5 [json_name = "version"];- Specified by:
getVersionin interfaceModuleRegisteredOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Module version.
string version = 5 [json_name = "version"];- Specified by:
getVersionBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for version.
-
getSchemaId
Internal schema identifier.
string schema_id = 6 [json_name = "schemaId"];- Specified by:
getSchemaIdin interfaceModuleRegisteredOrBuilder- Returns:
- The schemaId.
-
getSchemaIdBytes
public com.google.protobuf.ByteString getSchemaIdBytes()Internal schema identifier.
string schema_id = 6 [json_name = "schemaId"];- Specified by:
getSchemaIdBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for schemaId.
-
getApicurioArtifactId
Apicurio Registry artifact ID for module schema.
string apicurio_artifact_id = 7 [json_name = "apicurioArtifactId"];- Specified by:
getApicurioArtifactIdin interfaceModuleRegisteredOrBuilder- Returns:
- The apicurioArtifactId.
-
getApicurioArtifactIdBytes
public com.google.protobuf.ByteString getApicurioArtifactIdBytes()Apicurio Registry artifact ID for module schema.
string apicurio_artifact_id = 7 [json_name = "apicurioArtifactId"];- Specified by:
getApicurioArtifactIdBytesin interfaceModuleRegisteredOrBuilder- Returns:
- The bytes for apicurioArtifactId.
-
hasTimestamp
public boolean hasTimestamp()Timestamp when module was registered.
.google.protobuf.Timestamp timestamp = 8 [json_name = "timestamp"];- Specified by:
hasTimestampin interfaceModuleRegisteredOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Timestamp when module was registered.
.google.protobuf.Timestamp timestamp = 8 [json_name = "timestamp"];- Specified by:
getTimestampin interfaceModuleRegisteredOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Timestamp when module was registered.
.google.protobuf.Timestamp timestamp = 8 [json_name = "timestamp"];- Specified by:
getTimestampOrBuilderin interfaceModuleRegisteredOrBuilder
-
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 ModuleRegistered parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModuleRegistered parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModuleRegistered parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModuleRegistered parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModuleRegistered parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModuleRegistered parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ModuleRegistered parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ModuleRegistered parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ModuleRegistered parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ModuleRegistered 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 ModuleRegistered.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
-