public static class AvroFlumeOGEvent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroFlumeOGEvent> implements org.apache.avro.data.RecordBuilder<AvroFlumeOGEvent>
| Modifier and Type | Method and Description |
|---|---|
AvroFlumeOGEvent |
build() |
AvroFlumeOGEvent.Builder |
clearBody()
Clears the value of the 'body' field
|
AvroFlumeOGEvent.Builder |
clearFields()
Clears the value of the 'fields' field
|
AvroFlumeOGEvent.Builder |
clearHost()
Clears the value of the 'host' field
|
AvroFlumeOGEvent.Builder |
clearNanos()
Clears the value of the 'nanos' field
|
AvroFlumeOGEvent.Builder |
clearPriority()
Clears the value of the 'priority' field
|
AvroFlumeOGEvent.Builder |
clearTimestamp()
Clears the value of the 'timestamp' field
|
ByteBuffer |
getBody()
Gets the value of the 'body' field
|
Map<CharSequence,ByteBuffer> |
getFields()
Gets the value of the 'fields' field
|
CharSequence |
getHost()
Gets the value of the 'host' field
|
Long |
getNanos()
Gets the value of the 'nanos' field
|
Priority |
getPriority()
Gets the value of the 'priority' field
|
Long |
getTimestamp()
Gets the value of the 'timestamp' field
|
boolean |
hasBody()
Checks whether the 'body' field has been set
|
boolean |
hasFields()
Checks whether the 'fields' field has been set
|
boolean |
hasHost()
Checks whether the 'host' field has been set
|
boolean |
hasNanos()
Checks whether the 'nanos' field has been set
|
boolean |
hasPriority()
Checks whether the 'priority' field has been set
|
boolean |
hasTimestamp()
Checks whether the 'timestamp' field has been set
|
AvroFlumeOGEvent.Builder |
setBody(ByteBuffer value)
Sets the value of the 'body' field
|
AvroFlumeOGEvent.Builder |
setFields(Map<CharSequence,ByteBuffer> value)
Sets the value of the 'fields' field
|
AvroFlumeOGEvent.Builder |
setHost(CharSequence value)
Sets the value of the 'host' field
|
AvroFlumeOGEvent.Builder |
setNanos(long value)
Sets the value of the 'nanos' field
|
AvroFlumeOGEvent.Builder |
setPriority(Priority value)
Sets the value of the 'priority' field
|
AvroFlumeOGEvent.Builder |
setTimestamp(long value)
Sets the value of the 'timestamp' field
|
public Long getTimestamp()
public AvroFlumeOGEvent.Builder setTimestamp(long value)
public boolean hasTimestamp()
public AvroFlumeOGEvent.Builder clearTimestamp()
public Priority getPriority()
public AvroFlumeOGEvent.Builder setPriority(Priority value)
public boolean hasPriority()
public AvroFlumeOGEvent.Builder clearPriority()
public ByteBuffer getBody()
public AvroFlumeOGEvent.Builder setBody(ByteBuffer value)
public boolean hasBody()
public AvroFlumeOGEvent.Builder clearBody()
public Long getNanos()
public AvroFlumeOGEvent.Builder setNanos(long value)
public boolean hasNanos()
public AvroFlumeOGEvent.Builder clearNanos()
public CharSequence getHost()
public AvroFlumeOGEvent.Builder setHost(CharSequence value)
public boolean hasHost()
public AvroFlumeOGEvent.Builder clearHost()
public Map<CharSequence,ByteBuffer> getFields()
public AvroFlumeOGEvent.Builder setFields(Map<CharSequence,ByteBuffer> value)
public boolean hasFields()
public AvroFlumeOGEvent.Builder clearFields()
public AvroFlumeOGEvent build()
build in interface org.apache.avro.data.RecordBuilder<AvroFlumeOGEvent>Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.