public class MatchIpProtocol extends MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
Modifier and Type | Field and Description |
---|---|
static MatchIpProtocol |
ICMP |
static MatchIpProtocol |
ICMPV6 |
static MatchIpProtocol |
TCP |
static MatchIpProtocol |
UDP |
Constructor and Description |
---|
MatchIpProtocol(short protocol) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder,
org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch value) |
boolean |
equals(Object other) |
short |
getProtocol() |
int |
hashCode() |
protected void |
populateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder builder) |
String |
toString() |
createInnerMatchBuilder, setMatch
public static final MatchIpProtocol TCP
public static final MatchIpProtocol UDP
public static final MatchIpProtocol ICMP
public static final MatchIpProtocol ICMPV6
protected void applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch value)
applyValue
in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
protected void populateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder builder)
populateBuilder
in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
public short getProtocol()
public boolean equals(Object other)
equals
in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
public int hashCode()
hashCode
in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
Copyright © 2019 OpenDaylight. All rights reserved.