Package net.corda.data.p2p
Class SessionPartitions.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SessionPartitions.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SessionPartitions instances.
-
-
Field Summary
Fields Modifier and Type Field Description public List<Integer>
partitions
-
Method Summary
Modifier and Type Method Description List<Integer>
getPartitions()
Gets the value of the 'partitions' field. SessionPartitions.Builder
setPartitions(List<Integer> value)
Sets the value of the 'partitions' field. boolean
hasPartitions()
Checks whether the 'partitions' field has been set. SessionPartitions.Builder
clearPartitions()
Clears the value of the 'partitions' field. SessionPartitions
build()
-
-
Method Detail
-
getPartitions
List<Integer> getPartitions()
Gets the value of the 'partitions' field.
-
setPartitions
SessionPartitions.Builder setPartitions(List<Integer> value)
Sets the value of the 'partitions' field.
- Parameters:
value
- The value of 'partitions'.
-
hasPartitions
boolean hasPartitions()
Checks whether the 'partitions' field has been set.
-
clearPartitions
SessionPartitions.Builder clearPartitions()
Clears the value of the 'partitions' field.
-
build
SessionPartitions build()
-
-
-
-