Enum Class MultipartType
java.lang.Object
java.lang.Enum<MultipartType>
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MultipartType
- All Implemented Interfaces:
Serializable
,Comparable<MultipartType>
,Constable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.Enumeration
,org.opendaylight.yangtools.yang.binding.TypeObject
@Generated("mdsal-binding-generator")
public enum MultipartType
extends Enum<MultipartType>
implements org.opendaylight.yangtools.yang.binding.Enumeration
This class represents the following YANG schema fragment defined in module openflow-types
typedef multipart-type { type enumeration { enum OFPMP_DESC { value 0; } enum OFPMP_FLOW { value 1; } enum OFPMP_AGGREGATE { value 2; } enum OFPMP_TABLE { value 3; } enum OFPMP_PORT_STATS { value 4; } enum OFPMP_QUEUE { value 5; } enum OFPMP_GROUP { value 6; } enum OFPMP_GROUP_DESC { value 7; } enum OFPMP_GROUP_FEATURES { value 8; } enum OFPMP_METER { value 9; } enum OFPMP_METER_CONFIG { value 10; } enum OFPMP_METER_FEATURES { value 11; } enum OFPMP_TABLE_FEATURES { value 12; } enum OFPMP_PORT_DESC { value 13; } enum OFPMP_EXPERIMENTER { value 65535; } } }
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAggregate flow statistics.Description of this OpenFlow switch.Experimenter extension.Individual flow statistics.Group counter statistics.Group description.Group features.Meter statistics.Meter configuration.Meter features.Port description.Port statistics.Queue statistics for a port The request body is struct ofp_queue_stats_request.Flow table statistics.Table features. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MultipartType
Return the enumeration member whosegetName()
matches specified assigned name.static @Nullable MultipartType
forValue
(int intValue) Return the enumeration member whosegetIntValue()
matches specified value.int
@NonNull String
getName()
static @NonNull MultipartType
Return the enumeration member whosegetName()
matches specified assigned name.static @NonNull MultipartType
ofValue
(int intValue) Return the enumeration member whosegetIntValue()
matches specified value.static MultipartType
Returns the enum constant of this class with the specified name.static MultipartType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFPMPDESC
Description of this OpenFlow switch. The request body is empty. The reply body is struct ofp_desc. -
OFPMPFLOW
Individual flow statistics. The request body is struct ofp_flow_stats_request. The reply body is an array of struct ofp_flow_stats. -
OFPMPAGGREGATE
Aggregate flow statistics. The request body is struct ofp_aggregate_stats_request. The reply body is struct ofp_aggregate_stats_reply. -
OFPMPTABLE
Flow table statistics. The request body is empty. The reply body is an array of struct ofp_table_stats. -
OFPMPPORTSTATS
Port statistics. The request body is struct ofp_port_stats_request. The reply body is an array of struct ofp_port_stats. -
OFPMPQUEUE
Queue statistics for a port The request body is struct ofp_queue_stats_request. The reply body is an array of struct ofp_queue_stats -
OFPMPGROUP
Group counter statistics. The request body is struct ofp_group_stats_request. The reply is an array of struct ofp_group_stats. -
OFPMPGROUPDESC
Group description. The request body is empty. The reply body is an array of struct ofp_group_desc. -
OFPMPGROUPFEATURES
Group features. The request body is empty. The reply body is struct ofp_group_features. -
OFPMPMETER
Meter statistics. The request body is struct ofp_meter_multipart_requests. The reply body is an array of struct ofp_meter_stats. -
OFPMPMETERCONFIG
Meter configuration. The request body is struct ofp_meter_multipart_requests. The reply body is an array of struct ofp_meter_config. -
OFPMPMETERFEATURES
Meter features. The request body is empty. The reply body is struct ofp_meter_features. -
OFPMPTABLEFEATURES
Table features. The request body is either empty or contains an array of struct ofp_table_features containing the controller’s desired view of the switch. If the switch is unable to set the specified view an error is returned. The reply body is an array of struct ofp_table_features. -
OFPMPPORTDESC
Port description. The request body is empty. The reply body is an array of struct ofp_port. -
OFPMPEXPERIMENTER
Experimenter extension. The request and reply bodies begin with struct ofp_experimenter_multipart_header. The request and reply bodies are otherwise experimenter-defined.
-
-
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
-
getName
- Specified by:
getName
in interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
getIntValue
public int getIntValue()- Specified by:
getIntValue
in interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
forName
Return the enumeration member whosegetName()
matches specified assigned name.- Parameters:
name
- YANG assigned name- Returns:
- corresponding MultipartType item, or
null
if no such item exists - Throws:
NullPointerException
- ifname
is null
-
forValue
Return the enumeration member whosegetIntValue()
matches specified value.- Parameters:
intValue
- integer value- Returns:
- corresponding MultipartType item, or
null
if no such item exists
-
ofName
Return the enumeration member whosegetName()
matches specified assigned name.- Parameters:
name
- YANG assigned name- Returns:
- corresponding MultipartType item
- Throws:
NullPointerException
- ifname
is nullIllegalArgumentException
- ifname
does not match any item
-
ofValue
Return the enumeration member whosegetIntValue()
matches specified value.- Parameters:
intValue
- integer value- Returns:
- corresponding MultipartType item
- Throws:
IllegalArgumentException
- ifintValue
does not match any item
-