Enum Class ReceiverDProto.SignalSamples.SampleFormat
java.lang.Object
java.lang.Enum<ReceiverDProto.SignalSamples.SampleFormat>
de.serosystems.proto.v3.grx.receiverd.ReceiverDProto.SignalSamples.SampleFormat
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ReceiverDProto.SignalSamples.SampleFormat>
,Constable
- Enclosing class:
- ReceiverDProto.SignalSamples
public static enum ReceiverDProto.SignalSamples.SampleFormat
extends Enum<ReceiverDProto.SignalSamples.SampleFormat>
implements com.google.protobuf.ProtocolMessageEnum
Sample formats.Protobuf enum
serosystems.proto.v3.grx.receiverd.SignalSamples.SampleFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionI (12 bit signed) and Q (12 bit signed) packed into 32 bits.I (16 bit signed) and Q (16 bit signed) packed into 32 bitsI (8 bit signed) and Q (8 bit signed) packed into 16 bitsI (8 bit signed) and Q (8 bit signed), squelch compressed.Unspecified sample format, should not happen. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
I (12 bit signed) and Q (12 bit signed) packed into 32 bits.static final int
I (16 bit signed) and Q (16 bit signed) packed into 32 bitsstatic final int
I (8 bit signed) and Q (8 bit signed), squelch compressed.static final int
I (8 bit signed) and Q (8 bit signed) packed into 16 bitsstatic final int
Unspecified sample format, should not happen. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<ReceiverDProto.SignalSamples.SampleFormat>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unspecified
Unspecified sample format, should not happen.
Unspecified = 0;
-
S12I_S12Q
I (12 bit signed) and Q (12 bit signed) packed into 32 bits.
S12I_S12Q = 1;
-
S16I_S16Q
I (16 bit signed) and Q (16 bit signed) packed into 32 bits
S16I_S16Q = 2;
-
S8I_S8Q
I (8 bit signed) and Q (8 bit signed) packed into 16 bits
S8I_S8Q = 3;
-
S8I_S8Q_SQUELCH_COMPRESSED
I (8 bit signed) and Q (8 bit signed), squelch compressed. Not used at the moment.
S8I_S8Q_SQUELCH_COMPRESSED = 4;
-
UNRECOGNIZED
-
-
Field Details
-
Unspecified_VALUE
public static final int Unspecified_VALUEUnspecified sample format, should not happen.
Unspecified = 0;
- See Also:
-
S12I_S12Q_VALUE
public static final int S12I_S12Q_VALUEI (12 bit signed) and Q (12 bit signed) packed into 32 bits.
S12I_S12Q = 1;
- See Also:
-
S16I_S16Q_VALUE
public static final int S16I_S16Q_VALUEI (16 bit signed) and Q (16 bit signed) packed into 32 bits
S16I_S16Q = 2;
- See Also:
-
S8I_S8Q_VALUE
public static final int S8I_S8Q_VALUEI (8 bit signed) and Q (8 bit signed) packed into 16 bits
S8I_S8Q = 3;
- See Also:
-
S8I_S8Q_SQUELCH_COMPRESSED_VALUE
public static final int S8I_S8Q_SQUELCH_COMPRESSED_VALUEI (8 bit signed) and Q (8 bit signed), squelch compressed. Not used at the moment.
S8I_S8Q_SQUELCH_COMPRESSED = 4;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- 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<ReceiverDProto.SignalSamples.SampleFormat> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ReceiverDProto.SignalSamples.SampleFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-