Package org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714
Class NxAugMatchNotifPacketInBuilder
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxAugMatchNotifPacketInBuilder
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifPacketIn>
,org.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNotifPacketIn,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.Mutable
,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Mutable>
public class NxAugMatchNotifPacketInBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifPacketIn>
Class that buildsNxAugMatchNotifPacketInBuilder
instances. Overall design of the class is that of a fluent interface, where method chaining is used.In general, this class is supposed to be used like this template:
NxAugMatchNotifPacketInBuilder createTarget(int fooXyzzy, int barBaz) { return new NxAugMatchNotifPacketInBuilderBuilder() .setFoo(new FooBuilder().setXyzzy(fooXyzzy).build()) .setBar(new BarBuilder().setBaz(barBaz).build()) .build(); }
This pattern is supported by the immutable nature of NxAugMatchNotifPacketInBuilder, as instances can be freely passed around without worrying about synchronization issues.
As a side note: method chaining results in:
- very efficient Java bytecode, as the method invocation result, in this case the Builder reference, is
on the stack, so further method invocations just need to fill method arguments for the next method
invocation, which is terminated by
build()
, which is then returned from the method - better understanding by humans, as the scope of mutable state (the builder) is kept to a minimum and is very localized
- better optimization oportunities, as the object scope is minimized in terms of invocation (rather than method) stack, making escape analysis a lot easier. Given enough compiler (JIT/AOT) prowess, the cost of th builder object can be completely eliminated
- See Also:
NxAugMatchNotifPacketInBuilder
,Builder
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder()
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(AllMatchesGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxRegGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxTunIdGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxArpShaGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxArpThaGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfArpOpGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfArpSpaGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfArpTpaGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfInPortGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxTunIpv4DstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxTunIpv4SrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfEthSrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfEthDstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfEthTypeGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNspGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNsiGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshc1Grouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshc2Grouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshc3Grouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshc4Grouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshFlagsGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshMdtypeGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshNpGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxNshTtlGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfTcpSrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfTcpDstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfUdpSrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfUdpDstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxCtStateGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxCtZoneGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfIpDstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfIpSrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmOfIcmpTypeGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxCtMarkGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxCtTpSrcGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxCtTpDstGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxmNxPktMarkGrouping arg)
-
NxAugMatchNotifPacketInBuilder
public NxAugMatchNotifPacketInBuilder(NxAugMatchNotifPacketIn base)
-
-
Method Detail
-
fieldsFrom
public void fieldsFrom(org.opendaylight.yangtools.yang.binding.DataObject arg)
Set fields from given grouping argument. Valid argument is instance of one of following types:- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxTunIdGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxTunIpv4DstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshFlagsGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfArpOpGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshc2Grouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfArpSpaGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.AllMatchesGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxCtZoneGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfEthDstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshc4Grouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfTcpDstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxRegGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxArpShaGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfUdpDstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfEthSrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfArpTpaGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfIcmpTypeGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxCtTpDstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshc1Grouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxCtTpSrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshNpGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxPktMarkGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxArpThaGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfIpSrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxCtMarkGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshc3Grouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfInPortGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfEthTypeGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfIpDstGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNspGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxTunIpv4SrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshMdtypeGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxCtStateGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfUdpSrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNsiGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmOfTcpSrcGrouping
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxmNxNshTtlGrouping
- Parameters:
arg
- grouping object- Throws:
IllegalArgumentException
- if given argument is none of valid types
-
getNxmNxArpSha
public NxmNxArpSha getNxmNxArpSha()
-
getNxmNxArpTha
public NxmNxArpTha getNxmNxArpTha()
-
getNxmNxCtMark
public NxmNxCtMark getNxmNxCtMark()
-
getNxmNxCtState
public NxmNxCtState getNxmNxCtState()
-
getNxmNxCtTpDst
public NxmNxCtTpDst getNxmNxCtTpDst()
-
getNxmNxCtTpSrc
public NxmNxCtTpSrc getNxmNxCtTpSrc()
-
getNxmNxCtZone
public NxmNxCtZone getNxmNxCtZone()
-
getNxmNxNshFlags
public NxmNxNshFlags getNxmNxNshFlags()
-
getNxmNxNshMdtype
public NxmNxNshMdtype getNxmNxNshMdtype()
-
getNxmNxNshNp
public NxmNxNshNp getNxmNxNshNp()
-
getNxmNxNshTtl
public NxmNxNshTtl getNxmNxNshTtl()
-
getNxmNxNshc1
public NxmNxNshc1 getNxmNxNshc1()
-
getNxmNxNshc2
public NxmNxNshc2 getNxmNxNshc2()
-
getNxmNxNshc3
public NxmNxNshc3 getNxmNxNshc3()
-
getNxmNxNshc4
public NxmNxNshc4 getNxmNxNshc4()
-
getNxmNxNsi
public NxmNxNsi getNxmNxNsi()
-
getNxmNxNsp
public NxmNxNsp getNxmNxNsp()
-
getNxmNxPktMark
public NxmNxPktMark getNxmNxPktMark()
-
getNxmNxReg
public NxmNxReg getNxmNxReg()
-
getNxmNxTunId
public NxmNxTunId getNxmNxTunId()
-
getNxmNxTunIpv4Dst
public NxmNxTunIpv4Dst getNxmNxTunIpv4Dst()
-
getNxmNxTunIpv4Src
public NxmNxTunIpv4Src getNxmNxTunIpv4Src()
-
getNxmOfArpOp
public NxmOfArpOp getNxmOfArpOp()
-
getNxmOfArpSpa
public NxmOfArpSpa getNxmOfArpSpa()
-
getNxmOfArpTpa
public NxmOfArpTpa getNxmOfArpTpa()
-
getNxmOfEthDst
public NxmOfEthDst getNxmOfEthDst()
-
getNxmOfEthSrc
public NxmOfEthSrc getNxmOfEthSrc()
-
getNxmOfEthType
public NxmOfEthType getNxmOfEthType()
-
getNxmOfIcmpType
public NxmOfIcmpType getNxmOfIcmpType()
-
getNxmOfIpDst
public NxmOfIpDst getNxmOfIpDst()
-
getNxmOfIpSrc
public NxmOfIpSrc getNxmOfIpSrc()
-
getNxmOfTcpDst
public NxmOfTcpDst getNxmOfTcpDst()
-
getNxmOfTcpSrc
public NxmOfTcpSrc getNxmOfTcpSrc()
-
getNxmOfUdpDst
public NxmOfUdpDst getNxmOfUdpDst()
-
getNxmOfUdpSrc
public NxmOfUdpSrc getNxmOfUdpSrc()
-
getOfInPort
public OfInPort getOfInPort()
-
setNxmNxArpSha
public NxAugMatchNotifPacketInBuilder setNxmNxArpSha(NxmNxArpSha value)
-
setNxmNxArpTha
public NxAugMatchNotifPacketInBuilder setNxmNxArpTha(NxmNxArpTha value)
-
setNxmNxCtMark
public NxAugMatchNotifPacketInBuilder setNxmNxCtMark(NxmNxCtMark value)
-
setNxmNxCtState
public NxAugMatchNotifPacketInBuilder setNxmNxCtState(NxmNxCtState value)
-
setNxmNxCtTpDst
public NxAugMatchNotifPacketInBuilder setNxmNxCtTpDst(NxmNxCtTpDst value)
-
setNxmNxCtTpSrc
public NxAugMatchNotifPacketInBuilder setNxmNxCtTpSrc(NxmNxCtTpSrc value)
-
setNxmNxCtZone
public NxAugMatchNotifPacketInBuilder setNxmNxCtZone(NxmNxCtZone value)
-
setNxmNxNshFlags
public NxAugMatchNotifPacketInBuilder setNxmNxNshFlags(NxmNxNshFlags value)
-
setNxmNxNshMdtype
public NxAugMatchNotifPacketInBuilder setNxmNxNshMdtype(NxmNxNshMdtype value)
-
setNxmNxNshNp
public NxAugMatchNotifPacketInBuilder setNxmNxNshNp(NxmNxNshNp value)
-
setNxmNxNshTtl
public NxAugMatchNotifPacketInBuilder setNxmNxNshTtl(NxmNxNshTtl value)
-
setNxmNxNshc1
public NxAugMatchNotifPacketInBuilder setNxmNxNshc1(NxmNxNshc1 value)
-
setNxmNxNshc2
public NxAugMatchNotifPacketInBuilder setNxmNxNshc2(NxmNxNshc2 value)
-
setNxmNxNshc3
public NxAugMatchNotifPacketInBuilder setNxmNxNshc3(NxmNxNshc3 value)
-
setNxmNxNshc4
public NxAugMatchNotifPacketInBuilder setNxmNxNshc4(NxmNxNshc4 value)
-
setNxmNxNsi
public NxAugMatchNotifPacketInBuilder setNxmNxNsi(NxmNxNsi value)
-
setNxmNxNsp
public NxAugMatchNotifPacketInBuilder setNxmNxNsp(NxmNxNsp value)
-
setNxmNxPktMark
public NxAugMatchNotifPacketInBuilder setNxmNxPktMark(NxmNxPktMark value)
-
setNxmNxReg
public NxAugMatchNotifPacketInBuilder setNxmNxReg(NxmNxReg value)
-
setNxmNxTunId
public NxAugMatchNotifPacketInBuilder setNxmNxTunId(NxmNxTunId value)
-
setNxmNxTunIpv4Dst
public NxAugMatchNotifPacketInBuilder setNxmNxTunIpv4Dst(NxmNxTunIpv4Dst value)
-
setNxmNxTunIpv4Src
public NxAugMatchNotifPacketInBuilder setNxmNxTunIpv4Src(NxmNxTunIpv4Src value)
-
setNxmOfArpOp
public NxAugMatchNotifPacketInBuilder setNxmOfArpOp(NxmOfArpOp value)
-
setNxmOfArpSpa
public NxAugMatchNotifPacketInBuilder setNxmOfArpSpa(NxmOfArpSpa value)
-
setNxmOfArpTpa
public NxAugMatchNotifPacketInBuilder setNxmOfArpTpa(NxmOfArpTpa value)
-
setNxmOfEthDst
public NxAugMatchNotifPacketInBuilder setNxmOfEthDst(NxmOfEthDst value)
-
setNxmOfEthSrc
public NxAugMatchNotifPacketInBuilder setNxmOfEthSrc(NxmOfEthSrc value)
-
setNxmOfEthType
public NxAugMatchNotifPacketInBuilder setNxmOfEthType(NxmOfEthType value)
-
setNxmOfIcmpType
public NxAugMatchNotifPacketInBuilder setNxmOfIcmpType(NxmOfIcmpType value)
-
setNxmOfIpDst
public NxAugMatchNotifPacketInBuilder setNxmOfIpDst(NxmOfIpDst value)
-
setNxmOfIpSrc
public NxAugMatchNotifPacketInBuilder setNxmOfIpSrc(NxmOfIpSrc value)
-
setNxmOfTcpDst
public NxAugMatchNotifPacketInBuilder setNxmOfTcpDst(NxmOfTcpDst value)
-
setNxmOfTcpSrc
public NxAugMatchNotifPacketInBuilder setNxmOfTcpSrc(NxmOfTcpSrc value)
-
setNxmOfUdpDst
public NxAugMatchNotifPacketInBuilder setNxmOfUdpDst(NxmOfUdpDst value)
-
setNxmOfUdpSrc
public NxAugMatchNotifPacketInBuilder setNxmOfUdpSrc(NxmOfUdpSrc value)
-
setOfInPort
public NxAugMatchNotifPacketInBuilder setOfInPort(OfInPort value)
-
build
public NxAugMatchNotifPacketIn build()
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.Builder<NxAugMatchNotifPacketIn>
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNotifPacketIn,IllegalArgumentException>
-
-