Package org.onosproject.net.pi.runtime
Class PiRegisterCell.Builder
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiRegisterCell.Builder
-
- Enclosing class:
- PiRegisterCell
public static final class PiRegisterCell.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PiRegisterCellbuild()Builds the register cell entry.PiRegisterCell.BuilderwithCellId(PiRegisterCellId registerCellId)Sets the register cell identifier for this register.PiRegisterCell.BuilderwithData(PiData data)Sets the data of this register cell.
-
-
-
Method Detail
-
withCellId
public PiRegisterCell.Builder withCellId(PiRegisterCellId registerCellId)
Sets the register cell identifier for this register.- Parameters:
registerCellId- register cell identifier- Returns:
- this
-
withData
public PiRegisterCell.Builder withData(PiData data)
Sets the data of this register cell.- Parameters:
data- protocol-independent data- Returns:
- this
-
build
public PiRegisterCell build()
Builds the register cell entry.- Returns:
- a new register cell entry
-
-