Package org.yamcs.protobuf
Enum SubscribeParametersRequest.Action
- java.lang.Object
-
- java.lang.Enum<SubscribeParametersRequest.Action>
-
- org.yamcs.protobuf.SubscribeParametersRequest.Action
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SubscribeParametersRequest.Action>
- Enclosing class:
- SubscribeParametersRequest
public static enum SubscribeParametersRequest.Action extends Enum<SubscribeParametersRequest.Action> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumyamcs.protobuf.processing.SubscribeParametersRequest.Action
-
-
Field Summary
Fields Modifier and Type Field Description static intADD_VALUEADD = 1;static intREMOVE_VALUEREMOVE = 2;static intREPLACE_VALUEREPLACE = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubscribeParametersRequest.ActionforNumber(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<SubscribeParametersRequest.Action>internalGetValueMap()static SubscribeParametersRequest.ActionvalueOf(int value)Deprecated.static SubscribeParametersRequest.ActionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SubscribeParametersRequest.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static SubscribeParametersRequest.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPLACE
public static final SubscribeParametersRequest.Action REPLACE
REPLACE = 0;
-
ADD
public static final SubscribeParametersRequest.Action ADD
ADD = 1;
-
REMOVE
public static final SubscribeParametersRequest.Action REMOVE
REMOVE = 2;
-
-
Field Detail
-
REPLACE_VALUE
public static final int REPLACE_VALUE
REPLACE = 0;- See Also:
- Constant Field Values
-
ADD_VALUE
public static final int ADD_VALUE
ADD = 1;- See Also:
- Constant Field Values
-
REMOVE_VALUE
public static final int REMOVE_VALUE
REMOVE = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SubscribeParametersRequest.Action[] 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 (SubscribeParametersRequest.Action c : SubscribeParametersRequest.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscribeParametersRequest.Action 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 SubscribeParametersRequest.Action 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 SubscribeParametersRequest.Action forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SubscribeParametersRequest.Action> 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 SubscribeParametersRequest.Action 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
-
-