Package org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714
Class NxAugMatchNodesNodeTableFlowBuilder
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.NxAugMatchNodesNodeTableFlowBuilder
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.Builder<NxAugMatchNodesNodeTableFlow>
,org.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNodesNodeTableFlow,IllegalArgumentException>
,org.opendaylight.yangtools.concepts.Mutable
,org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Mutable>
public class NxAugMatchNodesNodeTableFlowBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<NxAugMatchNodesNodeTableFlow>
Class that buildsNxAugMatchNodesNodeTableFlowBuilder
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:
NxAugMatchNodesNodeTableFlowBuilder createTarget(int fooXyzzy, int barBaz) { return new NxAugMatchNodesNodeTableFlowBuilderBuilder() .setFoo(new FooBuilder().setXyzzy(fooXyzzy).build()) .setBar(new BarBuilder().setBaz(barBaz).build()) .build(); }
This pattern is supported by the immutable nature of NxAugMatchNodesNodeTableFlowBuilder, 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:
NxAugMatchNodesNodeTableFlowBuilder
,Builder
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder()
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(AllMatchesGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxRegGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxTunIdGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxArpShaGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxArpThaGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfArpOpGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfArpSpaGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfArpTpaGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfInPortGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxTunIpv4DstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxTunIpv4SrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfEthSrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfEthDstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfEthTypeGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNspGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNsiGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshc1Grouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshc2Grouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshc3Grouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshc4Grouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshFlagsGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshMdtypeGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshNpGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxNshTtlGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfTcpSrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfTcpDstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfUdpSrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfUdpDstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxCtStateGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxCtZoneGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfIpDstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfIpSrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmOfIcmpTypeGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxCtMarkGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxCtTpSrcGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxCtTpDstGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxmNxPktMarkGrouping arg)
-
NxAugMatchNodesNodeTableFlowBuilder
public NxAugMatchNodesNodeTableFlowBuilder(NxAugMatchNodesNodeTableFlow 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 NxAugMatchNodesNodeTableFlowBuilder setNxmNxArpSha(NxmNxArpSha value)
-
setNxmNxArpTha
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxArpTha(NxmNxArpTha value)
-
setNxmNxCtMark
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxCtMark(NxmNxCtMark value)
-
setNxmNxCtState
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxCtState(NxmNxCtState value)
-
setNxmNxCtTpDst
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxCtTpDst(NxmNxCtTpDst value)
-
setNxmNxCtTpSrc
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxCtTpSrc(NxmNxCtTpSrc value)
-
setNxmNxCtZone
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxCtZone(NxmNxCtZone value)
-
setNxmNxNshFlags
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshFlags(NxmNxNshFlags value)
-
setNxmNxNshMdtype
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshMdtype(NxmNxNshMdtype value)
-
setNxmNxNshNp
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshNp(NxmNxNshNp value)
-
setNxmNxNshTtl
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshTtl(NxmNxNshTtl value)
-
setNxmNxNshc1
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshc1(NxmNxNshc1 value)
-
setNxmNxNshc2
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshc2(NxmNxNshc2 value)
-
setNxmNxNshc3
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshc3(NxmNxNshc3 value)
-
setNxmNxNshc4
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNshc4(NxmNxNshc4 value)
-
setNxmNxNsi
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNsi(NxmNxNsi value)
-
setNxmNxNsp
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxNsp(NxmNxNsp value)
-
setNxmNxPktMark
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxPktMark(NxmNxPktMark value)
-
setNxmNxReg
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxReg(NxmNxReg value)
-
setNxmNxTunId
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxTunId(NxmNxTunId value)
-
setNxmNxTunIpv4Dst
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxTunIpv4Dst(NxmNxTunIpv4Dst value)
-
setNxmNxTunIpv4Src
public NxAugMatchNodesNodeTableFlowBuilder setNxmNxTunIpv4Src(NxmNxTunIpv4Src value)
-
setNxmOfArpOp
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfArpOp(NxmOfArpOp value)
-
setNxmOfArpSpa
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfArpSpa(NxmOfArpSpa value)
-
setNxmOfArpTpa
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfArpTpa(NxmOfArpTpa value)
-
setNxmOfEthDst
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfEthDst(NxmOfEthDst value)
-
setNxmOfEthSrc
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfEthSrc(NxmOfEthSrc value)
-
setNxmOfEthType
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfEthType(NxmOfEthType value)
-
setNxmOfIcmpType
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfIcmpType(NxmOfIcmpType value)
-
setNxmOfIpDst
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfIpDst(NxmOfIpDst value)
-
setNxmOfIpSrc
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfIpSrc(NxmOfIpSrc value)
-
setNxmOfTcpDst
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfTcpDst(NxmOfTcpDst value)
-
setNxmOfTcpSrc
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfTcpSrc(NxmOfTcpSrc value)
-
setNxmOfUdpDst
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfUdpDst(NxmOfUdpDst value)
-
setNxmOfUdpSrc
public NxAugMatchNodesNodeTableFlowBuilder setNxmOfUdpSrc(NxmOfUdpSrc value)
-
setOfInPort
public NxAugMatchNodesNodeTableFlowBuilder setOfInPort(OfInPort value)
-
build
public NxAugMatchNodesNodeTableFlow build()
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.Builder<NxAugMatchNodesNodeTableFlow>
- Specified by:
build
in interfaceorg.opendaylight.yangtools.concepts.CheckedBuilder<NxAugMatchNodesNodeTableFlow,IllegalArgumentException>
-
-