Enum Class PlatformEventType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlatformEventType>,Constable
@Generated
public enum PlatformEventType
extends Enum<PlatformEventType>
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.PlatformEventType-
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 PlatformEventTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PlatformEventType> static PlatformEventTypevalueOf(int value) Deprecated.static PlatformEventTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PlatformEventTypeReturns the enum constant of this class with the specified name.static PlatformEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLATFORM_EVENT_TYPE_UNSPECIFIED
Unspecified event type.
PLATFORM_EVENT_TYPE_UNSPECIFIED = 0; -
PLATFORM_EVENT_TYPE_STARTED
Registration process started.
PLATFORM_EVENT_TYPE_STARTED = 1; -
PLATFORM_EVENT_TYPE_VALIDATED
Input validated successfully.
PLATFORM_EVENT_TYPE_VALIDATED = 2; -
PLATFORM_EVENT_TYPE_CONSUL_REGISTERED
Successfully registered with Consul.
PLATFORM_EVENT_TYPE_CONSUL_REGISTERED = 3; -
PLATFORM_EVENT_TYPE_HEALTH_CHECK_CONFIGURED
Health check configured in Consul.
PLATFORM_EVENT_TYPE_HEALTH_CHECK_CONFIGURED = 4; -
PLATFORM_EVENT_TYPE_CONSUL_HEALTHY
Service reported healthy to Consul.
PLATFORM_EVENT_TYPE_CONSUL_HEALTHY = 5; -
PLATFORM_EVENT_TYPE_COMPLETED
Registration completed successfully.
PLATFORM_EVENT_TYPE_COMPLETED = 6; -
PLATFORM_EVENT_TYPE_FAILED
Registration failed at any stage.
PLATFORM_EVENT_TYPE_FAILED = 7; -
PLATFORM_EVENT_TYPE_METADATA_RETRIEVED
Module metadata fetched from module callback (modules only).
PLATFORM_EVENT_TYPE_METADATA_RETRIEVED = 8; -
PLATFORM_EVENT_TYPE_SCHEMA_VALIDATED
Schema validated or synthesized (modules only).
PLATFORM_EVENT_TYPE_SCHEMA_VALIDATED = 9; -
PLATFORM_EVENT_TYPE_DATABASE_SAVED
Registration persisted to database.
PLATFORM_EVENT_TYPE_DATABASE_SAVED = 10; -
PLATFORM_EVENT_TYPE_APICURIO_REGISTERED
Schema registered in Apicurio Registry (modules only).
PLATFORM_EVENT_TYPE_APICURIO_REGISTERED = 11; -
UNRECOGNIZED
-
-
Field Details
-
PLATFORM_EVENT_TYPE_UNSPECIFIED_VALUE
public static final int PLATFORM_EVENT_TYPE_UNSPECIFIED_VALUEUnspecified event type.
PLATFORM_EVENT_TYPE_UNSPECIFIED = 0;- See Also:
-
PLATFORM_EVENT_TYPE_STARTED_VALUE
public static final int PLATFORM_EVENT_TYPE_STARTED_VALUERegistration process started.
PLATFORM_EVENT_TYPE_STARTED = 1;- See Also:
-
PLATFORM_EVENT_TYPE_VALIDATED_VALUE
public static final int PLATFORM_EVENT_TYPE_VALIDATED_VALUEInput validated successfully.
PLATFORM_EVENT_TYPE_VALIDATED = 2;- See Also:
-
PLATFORM_EVENT_TYPE_CONSUL_REGISTERED_VALUE
public static final int PLATFORM_EVENT_TYPE_CONSUL_REGISTERED_VALUESuccessfully registered with Consul.
PLATFORM_EVENT_TYPE_CONSUL_REGISTERED = 3;- See Also:
-
PLATFORM_EVENT_TYPE_HEALTH_CHECK_CONFIGURED_VALUE
public static final int PLATFORM_EVENT_TYPE_HEALTH_CHECK_CONFIGURED_VALUEHealth check configured in Consul.
PLATFORM_EVENT_TYPE_HEALTH_CHECK_CONFIGURED = 4;- See Also:
-
PLATFORM_EVENT_TYPE_CONSUL_HEALTHY_VALUE
public static final int PLATFORM_EVENT_TYPE_CONSUL_HEALTHY_VALUEService reported healthy to Consul.
PLATFORM_EVENT_TYPE_CONSUL_HEALTHY = 5;- See Also:
-
PLATFORM_EVENT_TYPE_COMPLETED_VALUE
public static final int PLATFORM_EVENT_TYPE_COMPLETED_VALUERegistration completed successfully.
PLATFORM_EVENT_TYPE_COMPLETED = 6;- See Also:
-
PLATFORM_EVENT_TYPE_FAILED_VALUE
public static final int PLATFORM_EVENT_TYPE_FAILED_VALUERegistration failed at any stage.
PLATFORM_EVENT_TYPE_FAILED = 7;- See Also:
-
PLATFORM_EVENT_TYPE_METADATA_RETRIEVED_VALUE
public static final int PLATFORM_EVENT_TYPE_METADATA_RETRIEVED_VALUEModule metadata fetched from module callback (modules only).
PLATFORM_EVENT_TYPE_METADATA_RETRIEVED = 8;- See Also:
-
PLATFORM_EVENT_TYPE_SCHEMA_VALIDATED_VALUE
public static final int PLATFORM_EVENT_TYPE_SCHEMA_VALIDATED_VALUESchema validated or synthesized (modules only).
PLATFORM_EVENT_TYPE_SCHEMA_VALIDATED = 9;- See Also:
-
PLATFORM_EVENT_TYPE_DATABASE_SAVED_VALUE
public static final int PLATFORM_EVENT_TYPE_DATABASE_SAVED_VALUERegistration persisted to database.
PLATFORM_EVENT_TYPE_DATABASE_SAVED = 10;- See Also:
-
PLATFORM_EVENT_TYPE_APICURIO_REGISTERED_VALUE
public static final int PLATFORM_EVENT_TYPE_APICURIO_REGISTERED_VALUESchema registered in Apicurio Registry (modules only).
PLATFORM_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
-