Package org.webswing.server.model.proto
Enum Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto
- java.lang.Object
-
- java.lang.Enum<Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto>
-
- org.webswing.server.model.proto.Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto>
- Enclosing class:
- Webswing.PlaybackCommandMsgInProto
public static enum Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto extends Enum<Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorg.webswing.server.model.proto.PlaybackCommandMsgInProto.PlaybackCommandProto
-
-
Field Summary
Fields Modifier and Type Field Description static intplay_VALUEplay = 1;static intreset_VALUEreset = 0;static intstep_VALUEstep = 3;static intstep10_VALUEstep10 = 4;static intstep100_VALUEstep100 = 5;static intstop_VALUEstop = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProtoforNumber(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<Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto>internalGetValueMap()static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProtovalueOf(int value)Deprecated.static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProtovalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProtovalueOf(String name)Returns the enum constant of this type with the specified name.static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
reset
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto reset
reset = 0;
-
play
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto play
play = 1;
-
stop
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto stop
stop = 2;
-
step
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto step
step = 3;
-
step10
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto step10
step10 = 4;
-
step100
public static final Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto step100
step100 = 5;
-
-
Field Detail
-
reset_VALUE
public static final int reset_VALUE
reset = 0;- See Also:
- Constant Field Values
-
play_VALUE
public static final int play_VALUE
play = 1;- See Also:
- Constant Field Values
-
stop_VALUE
public static final int stop_VALUE
stop = 2;- See Also:
- Constant Field Values
-
step_VALUE
public static final int step_VALUE
step = 3;- See Also:
- Constant Field Values
-
step10_VALUE
public static final int step10_VALUE
step10 = 4;- See Also:
- Constant Field Values
-
step100_VALUE
public static final int step100_VALUE
step100 = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto[] 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 (Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto c : Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto 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 Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto 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 Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto> 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 Webswing.PlaybackCommandMsgInProto.PlaybackCommandProto 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
-
-