public static class AvroFailure.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroFailure> implements org.apache.avro.data.RecordBuilder<AvroFailure>
Modifier and Type | Method and Description |
---|---|
AvroFailure |
build() |
AvroFailure.Builder |
clearAsError()
Clears the value of the 'asError' field.
|
AvroFailure.Builder |
clearData()
Clears the value of the 'data' field.
|
AvroFailure.Builder |
clearDescription()
Clears the value of the 'description' field.
|
AvroFailure.Builder |
clearId()
Clears the value of the 'id' field.
|
AvroFailure.Builder |
clearMessage()
Clears the value of the 'message' field.
|
AvroFailure.Builder |
clearReason()
Clears the value of the 'reason' field.
|
CharSequence |
getAsError()
Gets the value of the 'asError' field.
|
ByteBuffer |
getData()
Gets the value of the 'data' field.
|
CharSequence |
getDescription()
Gets the value of the 'description' field.
|
CharSequence |
getId()
Gets the value of the 'id' field.
|
CharSequence |
getMessage()
Gets the value of the 'message' field.
|
CharSequence |
getReason()
Gets the value of the 'reason' field.
|
boolean |
hasAsError()
Checks whether the 'asError' field has been set.
|
boolean |
hasData()
Checks whether the 'data' field has been set.
|
boolean |
hasDescription()
Checks whether the 'description' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasMessage()
Checks whether the 'message' field has been set.
|
boolean |
hasReason()
Checks whether the 'reason' field has been set.
|
AvroFailure.Builder |
setAsError(CharSequence value)
Sets the value of the 'asError' field.
|
AvroFailure.Builder |
setData(ByteBuffer value)
Sets the value of the 'data' field.
|
AvroFailure.Builder |
setDescription(CharSequence value)
Sets the value of the 'description' field.
|
AvroFailure.Builder |
setId(CharSequence value)
Sets the value of the 'id' field.
|
AvroFailure.Builder |
setMessage(CharSequence value)
Sets the value of the 'message' field.
|
AvroFailure.Builder |
setReason(CharSequence value)
Sets the value of the 'reason' field.
|
public CharSequence getId()
public AvroFailure.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroFailure.Builder clearId()
public CharSequence getMessage()
public AvroFailure.Builder setMessage(CharSequence value)
value
- The value of 'message'.public boolean hasMessage()
public AvroFailure.Builder clearMessage()
public CharSequence getDescription()
public AvroFailure.Builder setDescription(CharSequence value)
value
- The value of 'description'.public boolean hasDescription()
public AvroFailure.Builder clearDescription()
public CharSequence getReason()
public AvroFailure.Builder setReason(CharSequence value)
value
- The value of 'reason'.public boolean hasReason()
public AvroFailure.Builder clearReason()
public ByteBuffer getData()
public AvroFailure.Builder setData(ByteBuffer value)
value
- The value of 'data'.public boolean hasData()
public AvroFailure.Builder clearData()
public CharSequence getAsError()
public AvroFailure.Builder setAsError(CharSequence value)
value
- The value of 'asError'.public boolean hasAsError()
public AvroFailure.Builder clearAsError()
public AvroFailure build()
build
in interface org.apache.avro.data.RecordBuilder<AvroFailure>
Copyright © 2017 The Apache Software Foundation. All rights reserved.