public static enum Table.IdleTimeoutBehavior extends Enum<Table.IdleTimeoutBehavior> implements com.google.protobuf.ProtocolMessageEnum
this enum can be extended in the future with other behaviors, such as "HARD_EVICTION"Protobuf enum
p4.config.v1.Table.IdleTimeoutBehavior
Enum Constant and Description |
---|
NO_TIMEOUT
NO_TIMEOUT = 0; |
NOTIFY_CONTROL
NOTIFY_CONTROL = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
NO_TIMEOUT_VALUE
NO_TIMEOUT = 0; |
static int |
NOTIFY_CONTROL_VALUE
NOTIFY_CONTROL = 1; |
Modifier and Type | Method and Description |
---|---|
static Table.IdleTimeoutBehavior |
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<Table.IdleTimeoutBehavior> |
internalGetValueMap() |
static Table.IdleTimeoutBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Table.IdleTimeoutBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Table.IdleTimeoutBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Table.IdleTimeoutBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.IdleTimeoutBehavior NO_TIMEOUT
NO_TIMEOUT = 0;
public static final Table.IdleTimeoutBehavior NOTIFY_CONTROL
NOTIFY_CONTROL = 1;
public static final Table.IdleTimeoutBehavior UNRECOGNIZED
public static final int NO_TIMEOUT_VALUE
NO_TIMEOUT = 0;
public static final int NOTIFY_CONTROL_VALUE
NOTIFY_CONTROL = 1;
public static Table.IdleTimeoutBehavior[] values()
for (Table.IdleTimeoutBehavior c : Table.IdleTimeoutBehavior.values()) System.out.println(c);
public static Table.IdleTimeoutBehavior 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 Table.IdleTimeoutBehavior valueOf(int value)
forNumber(int)
instead.public static Table.IdleTimeoutBehavior forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Table.IdleTimeoutBehavior> 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 Table.IdleTimeoutBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 OpenDaylight. All rights reserved.