Enum Cop1State

java.lang.Object
java.lang.Enum<Cop1State>
org.yamcs.protobuf.Cop1State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Cop1State>

public enum Cop1State extends Enum<Cop1State> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum yamcs.protobuf.cop1.Cop1State
  • Enum Constant Details

    • ACTIVE

      public static final Cop1State ACTIVE
      ACTIVE = 1;
    • RETRANSMIT_WITHOUT_WAIT

      public static final Cop1State RETRANSMIT_WITHOUT_WAIT
      RETRANSMIT_WITHOUT_WAIT = 2;
    • RETRANSMIT_WITH_WAIT

      public static final Cop1State RETRANSMIT_WITH_WAIT
      RETRANSMIT_WITH_WAIT = 3;
    • INITIALIZING_WITHOUT_BC

      public static final Cop1State INITIALIZING_WITHOUT_BC
      INITIALIZING_WITHOUT_BC = 4;
    • INITIALIZING_WITH_BC

      public static final Cop1State INITIALIZING_WITH_BC
      INITIALIZING_WITH_BC = 5;
    • UNINITIALIZED

      public static final Cop1State UNINITIALIZED
      UNINITIALIZED = 6;
    • SUSPENDED

      public static final Cop1State SUSPENDED
      SUSPENDED = 7;
  • Field Details

    • ACTIVE_VALUE

      public static final int ACTIVE_VALUE
      ACTIVE = 1;
      See Also:
    • RETRANSMIT_WITHOUT_WAIT_VALUE

      public static final int RETRANSMIT_WITHOUT_WAIT_VALUE
      RETRANSMIT_WITHOUT_WAIT = 2;
      See Also:
    • RETRANSMIT_WITH_WAIT_VALUE

      public static final int RETRANSMIT_WITH_WAIT_VALUE
      RETRANSMIT_WITH_WAIT = 3;
      See Also:
    • INITIALIZING_WITHOUT_BC_VALUE

      public static final int INITIALIZING_WITHOUT_BC_VALUE
      INITIALIZING_WITHOUT_BC = 4;
      See Also:
    • INITIALIZING_WITH_BC_VALUE

      public static final int INITIALIZING_WITH_BC_VALUE
      INITIALIZING_WITH_BC = 5;
      See Also:
    • UNINITIALIZED_VALUE

      public static final int UNINITIALIZED_VALUE
      UNINITIALIZED = 6;
      See Also:
    • SUSPENDED_VALUE

      public static final int SUSPENDED_VALUE
      SUSPENDED = 7;
      See Also:
  • Method Details

    • values

      public static Cop1State[] 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

      public static Cop1State 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Cop1State 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Cop1State forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Cop1State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Cop1State 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 name
      NullPointerException - if the argument is null