Enum SamplingAlgorithm
- java.lang.Object
-
- java.lang.Enum<SamplingAlgorithm>
-
- org.opennms.netmgt.flows.persistence.model.SamplingAlgorithm
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SamplingAlgorithm>
public enum SamplingAlgorithm extends Enum<SamplingAlgorithm> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumSamplingAlgorithm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESSFLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;HASH_BASED_FILTERINGHASH_BASED_FILTERING = 6;PROPERTY_MATCH_FILTERINGPROPERTY_MATCH_FILTERING = 5;RANDOM_N_OUT_OF_N_SAMPLINGRANDOM_N_OUT_OF_N_SAMPLING = 3;SYSTEMATIC_COUNT_BASED_SAMPLINGSYSTEMATIC_COUNT_BASED_SAMPLING = 1;SYSTEMATIC_TIME_BASED_SAMPLINGSYSTEMATIC_TIME_BASED_SAMPLING = 2;UNASSIGNEDUNASSIGNED = 0;UNIFORM_PROBABILISTIC_SAMPLINGUNIFORM_PROBABILISTIC_SAMPLING = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intFLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS_VALUEFLOW_STATE_DEPENDENT_INTERMEDIATE_FLOW_SELECTION_PROCESS = 7;static intHASH_BASED_FILTERING_VALUEHASH_BASED_FILTERING = 6;static intPROPERTY_MATCH_FILTERING_VALUEPROPERTY_MATCH_FILTERING = 5;static intRANDOM_N_OUT_OF_N_SAMPLING_VALUERANDOM_N_OUT_OF_N_SAMPLING = 3;static intSYSTEMATIC_COUNT_BASED_SAMPLING_VALUESYSTEMATIC_COUNT_BASED_SAMPLING = 1;static intSYSTEMATIC_TIME_BASED_SAMPLING_VALUESYSTEMATIC_TIME_BASED_SAMPLING = 2;static intUNASSIGNED_VALUEUNASSIGNED = 0;static intUNIFORM_PROBABILISTIC_SAMPLING_VALUEUNIFORM_PROBABILISTIC_SAMPLING = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SamplingAlgorithmforNumber(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<SamplingAlgorithm>internalGetValueMap()static SamplingAlgorithmvalueOf(int value)Deprecated.static SamplingAlgorithmvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SamplingAlgorithmvalueOf(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(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 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- 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:
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 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-