Package net.corda.data.p2p.event
Class SessionEvent.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SessionEvent.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SessionEvent instances.
-
-
Method Summary
Modifier and Type Method Description Object
getType()
Gets the value of the 'type' field. SessionEvent.Builder
setType(Object value)
Sets the value of the 'type' field. boolean
hasType()
Checks whether the 'type' field has been set. SessionEvent.Builder
clearType()
Clears the value of the 'type' field. SessionEvent
build()
-
-
Method Detail
-
setType
SessionEvent.Builder setType(Object value)
Sets the value of the 'type' field.
- Parameters:
value
- The value of 'type'.- Returns:
This builder.
-
hasType
boolean hasType()
Checks whether the 'type' field has been set.
- Returns:
True if the 'type' field has been set, false otherwise.
-
clearType
SessionEvent.Builder clearType()
Clears the value of the 'type' field.
- Returns:
This builder.
-
build
SessionEvent build()
-
-
-
-