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