Enum Class EventType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EventType>,Constable
@Generated
public enum EventType
extends Enum<EventType>
implements com.google.protobuf.ProtocolMessageEnum
Registration event types tracking lifecycle stages. Represents the progression of service or module registration from initial validation through Consul registration, health checks, schema validation, and final completion or failure.Protobuf enum
ai.pipestream.platform.registration.v1.EventType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSchema registered in Apicurio Registry (modules only).Registration completed successfully.Service reported healthy to Consul.Successfully registered with Consul.Registration persisted to database.Registration failed at any stage.Health check configured in Consul.Module metadata fetched from module callback (modules only).Schema validated or synthesized (modules only).Registration process started.Unspecified event type.Input validated successfully. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSchema registered in Apicurio Registry (modules only).static final intRegistration completed successfully.static final intService reported healthy to Consul.static final intSuccessfully registered with Consul.static final intRegistration persisted to database.static final intRegistration failed at any stage.static final intHealth check configured in Consul.static final intModule metadata fetched from module callback (modules only).static final intSchema validated or synthesized (modules only).static final intRegistration process started.static final intUnspecified event type.static final intInput validated successfully. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EventType> static EventTypevalueOf(int value) Deprecated.static EventTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static EventTypeReturns the enum constant of this class with the specified name.static EventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EVENT_TYPE_UNSPECIFIED
Unspecified event type.
EVENT_TYPE_UNSPECIFIED = 0; -
EVENT_TYPE_STARTED
Registration process started.
EVENT_TYPE_STARTED = 1; -
EVENT_TYPE_VALIDATED
Input validated successfully.
EVENT_TYPE_VALIDATED = 2; -
EVENT_TYPE_CONSUL_REGISTERED
Successfully registered with Consul.
EVENT_TYPE_CONSUL_REGISTERED = 3; -
EVENT_TYPE_HEALTH_CHECK_CONFIGURED
Health check configured in Consul.
EVENT_TYPE_HEALTH_CHECK_CONFIGURED = 4; -
EVENT_TYPE_CONSUL_HEALTHY
Service reported healthy to Consul.
EVENT_TYPE_CONSUL_HEALTHY = 5; -
EVENT_TYPE_COMPLETED
Registration completed successfully.
EVENT_TYPE_COMPLETED = 6; -
EVENT_TYPE_FAILED
Registration failed at any stage.
EVENT_TYPE_FAILED = 7; -
EVENT_TYPE_METADATA_RETRIEVED
Module metadata fetched from module callback (modules only).
EVENT_TYPE_METADATA_RETRIEVED = 8; -
EVENT_TYPE_SCHEMA_VALIDATED
Schema validated or synthesized (modules only).
EVENT_TYPE_SCHEMA_VALIDATED = 9; -
EVENT_TYPE_DATABASE_SAVED
Registration persisted to database.
EVENT_TYPE_DATABASE_SAVED = 10; -
EVENT_TYPE_APICURIO_REGISTERED
Schema registered in Apicurio Registry (modules only).
EVENT_TYPE_APICURIO_REGISTERED = 11; -
UNRECOGNIZED
-
-
Field Details
-
EVENT_TYPE_UNSPECIFIED_VALUE
public static final int EVENT_TYPE_UNSPECIFIED_VALUEUnspecified event type.
EVENT_TYPE_UNSPECIFIED = 0;- See Also:
-
EVENT_TYPE_STARTED_VALUE
public static final int EVENT_TYPE_STARTED_VALUERegistration process started.
EVENT_TYPE_STARTED = 1;- See Also:
-
EVENT_TYPE_VALIDATED_VALUE
public static final int EVENT_TYPE_VALIDATED_VALUEInput validated successfully.
EVENT_TYPE_VALIDATED = 2;- See Also:
-
EVENT_TYPE_CONSUL_REGISTERED_VALUE
public static final int EVENT_TYPE_CONSUL_REGISTERED_VALUESuccessfully registered with Consul.
EVENT_TYPE_CONSUL_REGISTERED = 3;- See Also:
-
EVENT_TYPE_HEALTH_CHECK_CONFIGURED_VALUE
public static final int EVENT_TYPE_HEALTH_CHECK_CONFIGURED_VALUEHealth check configured in Consul.
EVENT_TYPE_HEALTH_CHECK_CONFIGURED = 4;- See Also:
-
EVENT_TYPE_CONSUL_HEALTHY_VALUE
public static final int EVENT_TYPE_CONSUL_HEALTHY_VALUEService reported healthy to Consul.
EVENT_TYPE_CONSUL_HEALTHY = 5;- See Also:
-
EVENT_TYPE_COMPLETED_VALUE
public static final int EVENT_TYPE_COMPLETED_VALUERegistration completed successfully.
EVENT_TYPE_COMPLETED = 6;- See Also:
-
EVENT_TYPE_FAILED_VALUE
public static final int EVENT_TYPE_FAILED_VALUERegistration failed at any stage.
EVENT_TYPE_FAILED = 7;- See Also:
-
EVENT_TYPE_METADATA_RETRIEVED_VALUE
public static final int EVENT_TYPE_METADATA_RETRIEVED_VALUEModule metadata fetched from module callback (modules only).
EVENT_TYPE_METADATA_RETRIEVED = 8;- See Also:
-
EVENT_TYPE_SCHEMA_VALIDATED_VALUE
public static final int EVENT_TYPE_SCHEMA_VALIDATED_VALUESchema validated or synthesized (modules only).
EVENT_TYPE_SCHEMA_VALIDATED = 9;- See Also:
-
EVENT_TYPE_DATABASE_SAVED_VALUE
public static final int EVENT_TYPE_DATABASE_SAVED_VALUERegistration persisted to database.
EVENT_TYPE_DATABASE_SAVED = 10;- See Also:
-
EVENT_TYPE_APICURIO_REGISTERED_VALUE
public static final int EVENT_TYPE_APICURIO_REGISTERED_VALUESchema registered in Apicurio Registry (modules only).
EVENT_TYPE_APICURIO_REGISTERED = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-