public static class AvroFailedTask.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroFailedTask> implements org.apache.avro.data.RecordBuilder<AvroFailedTask>
Modifier and Type | Method and Description |
---|---|
AvroFailedTask |
build() |
AvroFailedTask.Builder |
clearCause()
Clears the value of the 'cause' field
|
AvroFailedTask.Builder |
clearData()
Clears the value of the 'data' field
|
AvroFailedTask.Builder |
clearIdentifier()
Clears the value of the 'identifier' field
|
AvroFailedTask.Builder |
clearMessage()
Clears the value of the 'message' field
|
ByteBuffer |
getCause()
Gets the value of the 'cause' field
|
ByteBuffer |
getData()
Gets the value of the 'data' field
|
CharSequence |
getIdentifier()
Gets the value of the 'identifier' field
|
CharSequence |
getMessage()
Gets the value of the 'message' field
|
boolean |
hasCause()
Checks whether the 'cause' field has been set
|
boolean |
hasData()
Checks whether the 'data' field has been set
|
boolean |
hasIdentifier()
Checks whether the 'identifier' field has been set
|
boolean |
hasMessage()
Checks whether the 'message' field has been set
|
AvroFailedTask.Builder |
setCause(ByteBuffer value)
Sets the value of the 'cause' field
|
AvroFailedTask.Builder |
setData(ByteBuffer value)
Sets the value of the 'data' field
|
AvroFailedTask.Builder |
setIdentifier(CharSequence value)
Sets the value of the 'identifier' field
|
AvroFailedTask.Builder |
setMessage(CharSequence value)
Sets the value of the 'message' field
|
public CharSequence getIdentifier()
public AvroFailedTask.Builder setIdentifier(CharSequence value)
public boolean hasIdentifier()
public AvroFailedTask.Builder clearIdentifier()
public ByteBuffer getData()
public AvroFailedTask.Builder setData(ByteBuffer value)
public boolean hasData()
public AvroFailedTask.Builder clearData()
public ByteBuffer getCause()
public AvroFailedTask.Builder setCause(ByteBuffer value)
public boolean hasCause()
public AvroFailedTask.Builder clearCause()
public CharSequence getMessage()
public AvroFailedTask.Builder setMessage(CharSequence value)
public boolean hasMessage()
public AvroFailedTask.Builder clearMessage()
public AvroFailedTask build()
build
in interface org.apache.avro.data.RecordBuilder<AvroFailedTask>
Copyright © 2016 The Apache Software Foundation. All rights reserved.