Package net.corda.data.p2p
Class LinkInMessage.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class LinkInMessage.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for LinkInMessage instances.
-
-
Method Summary
Modifier and Type Method Description Object
getPayload()
Gets the value of the 'payload' field. LinkInMessage.Builder
setPayload(Object value)
Sets the value of the 'payload' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. LinkInMessage.Builder
clearPayload()
Clears the value of the 'payload' field. LinkInMessage
build()
-
-
Method Detail
-
getPayload
Object getPayload()
Gets the value of the 'payload' field.
-
setPayload
LinkInMessage.Builder setPayload(Object value)
Sets the value of the 'payload' field.
- Parameters:
value
- The value of 'payload'.
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set.
-
clearPayload
LinkInMessage.Builder clearPayload()
Clears the value of the 'payload' field.
-
build
LinkInMessage build()
-
-
-
-