- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TimelineItemType>
public enum TimelineItemType
extends Enum<TimelineItemType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
yamcs.protobuf.timeline.TimelineItemType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiona grouping of activities - unlike the ITEM_GROUP, this group in itself is an automated activityactivity which is automatically executed on the server (the status changes automatically)events are the most generic timeline items.a grouping of other items (events and/or activities)unlike events, activities have an execution status manual activity's execution status is controlled by an operator -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final inta grouping of activities - unlike the ITEM_GROUP, this group in itself is an automated activitystatic final intactivity which is automatically executed on the server (the status changes automatically)static final intevents are the most generic timeline items.static final inta grouping of other items (events and/or activities)static final intunlike events, activities have an execution status manual activity's execution status is controlled by an operator -
Method Summary
Modifier and TypeMethodDescriptionstatic TimelineItemTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TimelineItemType>static TimelineItemTypevalueOf(int value) Deprecated.static TimelineItemTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TimelineItemTypeReturns the enum constant of this type with the specified name.static TimelineItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EVENT
events are the most generic timeline items.
EVENT = 1; -
MANUAL_ACTIVITY
unlike events, activities have an execution status manual activity's execution status is controlled by an operator
MANUAL_ACTIVITY = 2; -
AUTO_ACTIVITY
activity which is automatically executed on the server (the status changes automatically)
AUTO_ACTIVITY = 3; -
ITEM_GROUP
a grouping of other items (events and/or activities)
ITEM_GROUP = 4; -
ACTIVITY_GROUP
a grouping of activities - unlike the ITEM_GROUP, this group in itself is an automated activity
ACTIVITY_GROUP = 5;
-
-
Field Details
-
EVENT_VALUE
public static final int EVENT_VALUEevents are the most generic timeline items.
EVENT = 1;- See Also:
-
MANUAL_ACTIVITY_VALUE
public static final int MANUAL_ACTIVITY_VALUEunlike events, activities have an execution status manual activity's execution status is controlled by an operator
MANUAL_ACTIVITY = 2;- See Also:
-
AUTO_ACTIVITY_VALUE
public static final int AUTO_ACTIVITY_VALUEactivity which is automatically executed on the server (the status changes automatically)
AUTO_ACTIVITY = 3;- See Also:
-
ITEM_GROUP_VALUE
public static final int ITEM_GROUP_VALUEa grouping of other items (events and/or activities)
ITEM_GROUP = 4;- See Also:
-
ACTIVITY_GROUP_VALUE
public static final int ACTIVITY_GROUP_VALUEa grouping of activities - unlike the ITEM_GROUP, this group in itself is an automated activity
ACTIVITY_GROUP = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-