public enum NetflowVersion extends Enum<NetflowVersion> implements com.google.protobuf.ProtocolMessageEnum
NetflowVersion
Enum Constant and Description |
---|
IPFIX
IPFIX = 2; |
SFLOW
SFLOW = 3; |
UNRECOGNIZED |
V5
V5 = 0; |
V9
V9 = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
IPFIX_VALUE
IPFIX = 2; |
static int |
SFLOW_VALUE
SFLOW = 3; |
static int |
V5_VALUE
V5 = 0; |
static int |
V9_VALUE
V9 = 1; |
Modifier and Type | Method and Description |
---|---|
static NetflowVersion |
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<NetflowVersion> |
internalGetValueMap() |
static NetflowVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetflowVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetflowVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetflowVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetflowVersion V5
V5 = 0;
public static final NetflowVersion V9
V9 = 1;
public static final NetflowVersion IPFIX
IPFIX = 2;
public static final NetflowVersion SFLOW
SFLOW = 3;
public static final NetflowVersion UNRECOGNIZED
public static final int V5_VALUE
V5 = 0;
public static final int V9_VALUE
V9 = 1;
public static final int IPFIX_VALUE
IPFIX = 2;
public static final int SFLOW_VALUE
SFLOW = 3;
public static NetflowVersion[] values()
for (NetflowVersion c : NetflowVersion.values()) System.out.println(c);
public static NetflowVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static NetflowVersion valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static NetflowVersion forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetflowVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NetflowVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.