public static class AvroStopTime.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroStopTime> implements org.apache.avro.data.RecordBuilder<AvroStopTime>
Modifier and Type | Method and Description |
---|---|
AvroStopTime |
build() |
AvroStopTime.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field.
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field.
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set.
|
AvroStopTime.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field.
|
public Long getTimestamp()
public AvroStopTime.Builder setTimestamp(long value)
value
- The value of 'timestamp'.public boolean hasTimestamp()
public AvroStopTime.Builder clearTimestamp()
public AvroStopTime build()
build
in interface org.apache.avro.data.RecordBuilder<AvroStopTime>
Copyright © 2017 The Apache Software Foundation. All rights reserved.