Package net.corda.data.p2p.markers
Class AppMessageMarker.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class AppMessageMarker.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for AppMessageMarker instances.
-
-
Method Summary
Modifier and Type Method Description Object
getMarker()
Gets the value of the 'marker' field. AppMessageMarker.Builder
setMarker(Object value)
Sets the value of the 'marker' field. long
getTimestamp()
Gets the value of the 'timestamp' field. AppMessageMarker.Builder
setTimestamp(long value)
Sets the value of the 'timestamp' field. boolean
hasMarker()
Checks whether the 'marker' field has been set. AppMessageMarker.Builder
clearMarker()
Clears the value of the 'marker' field. boolean
hasTimestamp()
Checks whether the 'timestamp' field has been set. AppMessageMarker.Builder
clearTimestamp()
Clears the value of the 'timestamp' field. AppMessageMarker
build()
-
-
Method Detail
-
setMarker
AppMessageMarker.Builder setMarker(Object value)
Sets the value of the 'marker' field.
- Parameters:
value
- The value of 'marker'.
-
getTimestamp
long getTimestamp()
Gets the value of the 'timestamp' field. The timestamp when the status change happened.
-
setTimestamp
AppMessageMarker.Builder setTimestamp(long value)
Sets the value of the 'timestamp' field. The timestamp when the status change happened.
- Parameters:
value
- The value of 'timestamp'.
-
hasMarker
boolean hasMarker()
Checks whether the 'marker' field has been set.
-
clearMarker
AppMessageMarker.Builder clearMarker()
Clears the value of the 'marker' field.
-
hasTimestamp
boolean hasTimestamp()
Checks whether the 'timestamp' field has been set. The timestamp when the status change happened.
-
clearTimestamp
AppMessageMarker.Builder clearTimestamp()
Clears the value of the 'timestamp' field. The timestamp when the status change happened.
-
build
AppMessageMarker build()
-
-
-
-