Package org.yamcs.protobuf
Enum InitializationType
- java.lang.Object
-
- java.lang.Enum<InitializationType>
-
- org.yamcs.protobuf.InitializationType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<InitializationType>
public enum InitializationType extends Enum<InitializationType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.cop1.InitializationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SET_VRInitiate AD with set V(R).UNLOCKThis causes a BC Unlock frame to be sent to the remote system.WITH_CLCW_CHECKCLCW will be expected from the remote system and used to initiate the vSWITHOUT_CLCW_CHECKInitiate without waiting for CLCW
-
Field Summary
Fields Modifier and Type Field Description static intSET_VR_VALUEInitiate AD with set V(R).static intUNLOCK_VALUEThis causes a BC Unlock frame to be sent to the remote system.static intWITH_CLCW_CHECK_VALUECLCW will be expected from the remote system and used to initiate the vSstatic intWITHOUT_CLCW_CHECK_VALUEInitiate without waiting for CLCW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InitializationTypeforNumber(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<InitializationType>internalGetValueMap()static InitializationTypevalueOf(int value)Deprecated.static InitializationTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static InitializationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InitializationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WITH_CLCW_CHECK
public static final InitializationType WITH_CLCW_CHECK
CLCW will be expected from the remote system and used to initiate the vS
WITH_CLCW_CHECK = 1;
-
WITHOUT_CLCW_CHECK
public static final InitializationType WITHOUT_CLCW_CHECK
Initiate without waiting for CLCW
WITHOUT_CLCW_CHECK = 2;
-
UNLOCK
public static final InitializationType UNLOCK
This causes a BC Unlock frame to be sent to the remote system.
UNLOCK = 3;
-
SET_VR
public static final InitializationType SET_VR
Initiate AD with set V(R). This will cause a BC frame to be sent to the remote system
SET_VR = 4;
-
-
Field Detail
-
WITH_CLCW_CHECK_VALUE
public static final int WITH_CLCW_CHECK_VALUE
CLCW will be expected from the remote system and used to initiate the vS
WITH_CLCW_CHECK = 1;- See Also:
- Constant Field Values
-
WITHOUT_CLCW_CHECK_VALUE
public static final int WITHOUT_CLCW_CHECK_VALUE
Initiate without waiting for CLCW
WITHOUT_CLCW_CHECK = 2;- See Also:
- Constant Field Values
-
UNLOCK_VALUE
public static final int UNLOCK_VALUE
This causes a BC Unlock frame to be sent to the remote system.
UNLOCK = 3;- See Also:
- Constant Field Values
-
SET_VR_VALUE
public static final int SET_VR_VALUE
Initiate AD with set V(R). This will cause a BC frame to be sent to the remote system
SET_VR = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InitializationType[] 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 (InitializationType c : InitializationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InitializationType 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 InitializationType 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 InitializationType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<InitializationType> 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 InitializationType 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
-
-