Enum SamplingAlgorithm
- java.lang.Object
-
- java.lang.Enum<SamplingAlgorithm>
-
- org.opennms.netmgt.telemetry.protocols.netflow.transport.SamplingAlgorithm
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<SamplingAlgorithm>
public enum SamplingAlgorithm extends java.lang.Enum<SamplingAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumSamplingAlgorithm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;
HASH_BASED_FILTERING
HASH_BASED_FILTERING = 6;
PROPERTY_MATCH_FILTERING
PROPERTY_MATCH_FILTERING = 5;
RANDOM_N_OUT_OF_N_SAMPLING
RANDOM_N_OUT_OF_N_SAMPLING = 3;
SYSTEMATIC_COUNT_BASED_SAMPLING
SYSTEMATIC_COUNT_BASED_SAMPLING = 1;
SYSTEMATIC_TIME_BASED_SAMPLING
SYSTEMATIC_TIME_BASED_SAMPLING = 2;
UNASSIGNED
UNASSIGNED = 0;
UNIFORM_PROBABILISTIC_SAMPLING
UNIFORM_PROBABILISTIC_SAMPLING = 4;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS_VALUE
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;
static int
HASH_BASED_FILTERING_VALUE
HASH_BASED_FILTERING = 6;
static int
PROPERTY_MATCH_FILTERING_VALUE
PROPERTY_MATCH_FILTERING = 5;
static int
RANDOM_N_OUT_OF_N_SAMPLING_VALUE
RANDOM_N_OUT_OF_N_SAMPLING = 3;
static int
SYSTEMATIC_COUNT_BASED_SAMPLING_VALUE
SYSTEMATIC_COUNT_BASED_SAMPLING = 1;
static int
SYSTEMATIC_TIME_BASED_SAMPLING_VALUE
SYSTEMATIC_TIME_BASED_SAMPLING = 2;
static int
UNASSIGNED_VALUE
UNASSIGNED = 0;
static int
UNIFORM_PROBABILISTIC_SAMPLING_VALUE
UNIFORM_PROBABILISTIC_SAMPLING = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SamplingAlgorithm
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<SamplingAlgorithm>
internalGetValueMap()
static SamplingAlgorithm
valueOf(int value)
Deprecated.static SamplingAlgorithm
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static SamplingAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SamplingAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNASSIGNED
public static final SamplingAlgorithm UNASSIGNED
UNASSIGNED = 0;
-
SYSTEMATIC_COUNT_BASED_SAMPLING
public static final SamplingAlgorithm SYSTEMATIC_COUNT_BASED_SAMPLING
SYSTEMATIC_COUNT_BASED_SAMPLING = 1;
-
SYSTEMATIC_TIME_BASED_SAMPLING
public static final SamplingAlgorithm SYSTEMATIC_TIME_BASED_SAMPLING
SYSTEMATIC_TIME_BASED_SAMPLING = 2;
-
RANDOM_N_OUT_OF_N_SAMPLING
public static final SamplingAlgorithm RANDOM_N_OUT_OF_N_SAMPLING
RANDOM_N_OUT_OF_N_SAMPLING = 3;
-
UNIFORM_PROBABILISTIC_SAMPLING
public static final SamplingAlgorithm UNIFORM_PROBABILISTIC_SAMPLING
UNIFORM_PROBABILISTIC_SAMPLING = 4;
-
PROPERTY_MATCH_FILTERING
public static final SamplingAlgorithm PROPERTY_MATCH_FILTERING
PROPERTY_MATCH_FILTERING = 5;
-
HASH_BASED_FILTERING
public static final SamplingAlgorithm HASH_BASED_FILTERING
HASH_BASED_FILTERING = 6;
-
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS
public static final SamplingAlgorithm FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;
-
UNRECOGNIZED
public static final SamplingAlgorithm UNRECOGNIZED
-
-
Field Detail
-
UNASSIGNED_VALUE
public static final int UNASSIGNED_VALUE
UNASSIGNED = 0;
- See Also:
- Constant Field Values
-
SYSTEMATIC_COUNT_BASED_SAMPLING_VALUE
public static final int SYSTEMATIC_COUNT_BASED_SAMPLING_VALUE
SYSTEMATIC_COUNT_BASED_SAMPLING = 1;
- See Also:
- Constant Field Values
-
SYSTEMATIC_TIME_BASED_SAMPLING_VALUE
public static final int SYSTEMATIC_TIME_BASED_SAMPLING_VALUE
SYSTEMATIC_TIME_BASED_SAMPLING = 2;
- See Also:
- Constant Field Values
-
RANDOM_N_OUT_OF_N_SAMPLING_VALUE
public static final int RANDOM_N_OUT_OF_N_SAMPLING_VALUE
RANDOM_N_OUT_OF_N_SAMPLING = 3;
- See Also:
- Constant Field Values
-
UNIFORM_PROBABILISTIC_SAMPLING_VALUE
public static final int UNIFORM_PROBABILISTIC_SAMPLING_VALUE
UNIFORM_PROBABILISTIC_SAMPLING = 4;
- See Also:
- Constant Field Values
-
PROPERTY_MATCH_FILTERING_VALUE
public static final int PROPERTY_MATCH_FILTERING_VALUE
PROPERTY_MATCH_FILTERING = 5;
- See Also:
- Constant Field Values
-
HASH_BASED_FILTERING_VALUE
public static final int HASH_BASED_FILTERING_VALUE
HASH_BASED_FILTERING = 6;
- See Also:
- Constant Field Values
-
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS_VALUE
public static final int FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS_VALUE
FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SamplingAlgorithm[] 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 (SamplingAlgorithm c : SamplingAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamplingAlgorithm valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 public static SamplingAlgorithm 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static SamplingAlgorithm forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SamplingAlgorithm> 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 SamplingAlgorithm 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-