public SwitchFlowRemovedBuilder setByteCount(final BigInteger value) { if (value != null) { checkByteCountRange(value); } this._byteCount = value; return this; }
public SwitchFlowRemovedBuilder setDurationNsec(final java.lang.Long value) { if (value != null) { checkDurationNsecRange(value); } this._durationNsec = value; return this; }
public SwitchFlowRemovedBuilder setDurationSec(final java.lang.Long value) { if (value != null) { checkDurationSecRange(value); } this._durationSec = value; return this; }
SwitchFlowRemovedBuilder salFlowRemoved = new SwitchFlowRemovedBuilder(); salFlowRemoved.setCookie(new FlowCookie(ofFlow.getCookie())); salFlowRemoved.setPriority(ofFlow.getPriority()); salFlowRemoved.setTableId(ofFlow.getTableId().getValue().shortValue()); salFlowRemoved.setDurationSec(ofFlow.getDurationSec()); salFlowRemoved.setDurationNsec(ofFlow.getDurationNsec()); salFlowRemoved.setIdleTimeout(ofFlow.getIdleTimeout()); salFlowRemoved.setHardTimeout(ofFlow.getHardTimeout()); salFlowRemoved.setPacketCount(ofFlow.getPacketCount()); salFlowRemoved.setByteCount(ofFlow.getByteCount()); RemovedReasonFlags removeReasonFlag = new RemovedReasonFlags( FlowRemovedReason.OFPRRDELETE.equals(ofFlow.getReason()), salFlowRemoved.setRemovedReason(removeReasonFlag); .getMatch(); if (ofMatch != null) { salFlowRemoved.setMatch(fromMatch(ofMatch, sc.getFeatures().getDatapathId(), ofVersion)); } else if (ofFlow.getMatchV10() != null) { final VersionDatapathIdConvertorData data = new VersionDatapathIdConvertorData(sc.getPrimaryConductor().getVersion()); salFlowRemoved.setMatch(matchBuilderOptional.orElse(new MatchBuilder()).build()); salFlowRemoved.setNode(new NodeRef(InventoryDataServiceUtil.identifierFromDatapathId(sc.getFeatures() .getDatapathId())));
public SwitchFlowRemovedBuilder setPacketCount(final BigInteger value) { if (value != null) { checkPacketCountRange(value); } this._packetCount = value; return this; }
public SwitchFlowRemovedBuilder setPriority(final java.lang.Integer value) { if (value != null) { checkPriorityRange(value); } this._priority = value; return this; }
public SwitchFlowRemovedBuilder setHardTimeout(final java.lang.Integer value) { if (value != null) { checkHardTimeoutRange(value); } this._hardTimeout = value; return this; }
public SwitchFlowRemovedBuilder setTableId(final java.lang.Short value) { if (value != null) { checkTableIdRange(value); } this._tableId = value; return this; }
public SwitchFlowRemovedBuilder setIdleTimeout(final java.lang.Integer value) { if (value != null) { checkIdleTimeoutRange(value); } this._idleTimeout = value; return this; }