Package org.yamcs.protobuf
Enum TimelineBandType
- java.lang.Object
-
- java.lang.Enum<TimelineBandType>
-
- org.yamcs.protobuf.TimelineBandType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TimelineBandType>
public enum TimelineBandType extends Enum<TimelineBandType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.timeline.TimelineBandType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ITEM_BANDITEM_BAND = 2;SPACERSPACER = 3;TIME_RULERTIME_RULER = 1;
-
Field Summary
Fields Modifier and Type Field Description static intITEM_BAND_VALUEITEM_BAND = 2;static intSPACER_VALUESPACER = 3;static intTIME_RULER_VALUETIME_RULER = 1;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TimelineBandTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<TimelineBandType>internalGetValueMap()static TimelineBandTypevalueOf(int value)Deprecated.static TimelineBandTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static TimelineBandTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TimelineBandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIME_RULER
public static final TimelineBandType TIME_RULER
TIME_RULER = 1;
-
ITEM_BAND
public static final TimelineBandType ITEM_BAND
ITEM_BAND = 2;
-
SPACER
public static final TimelineBandType SPACER
SPACER = 3;
-
-
Field Detail
-
TIME_RULER_VALUE
public static final int TIME_RULER_VALUE
TIME_RULER = 1;- See Also:
- Constant Field Values
-
ITEM_BAND_VALUE
public static final int ITEM_BAND_VALUE
ITEM_BAND = 2;- See Also:
- Constant Field Values
-
SPACER_VALUE
public static final int SPACER_VALUE
SPACER = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TimelineBandType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TimelineBandType c : TimelineBandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimelineBandType valueOf(String name)
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 public static TimelineBandType valueOf(int value)
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
public static TimelineBandType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<TimelineBandType> 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
public static TimelineBandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-