public static class AvroContextMessage.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroContextMessage> implements org.apache.avro.data.RecordBuilder<AvroContextMessage>
Modifier and Type | Method and Description |
---|---|
AvroContextMessage |
build() |
AvroContextMessage.Builder |
clearGet()
Clears the value of the 'get' field.
|
AvroContextMessage.Builder |
clearId()
Clears the value of the 'id' field.
|
AvroContextMessage.Builder |
clearMessageSourceId()
Clears the value of the 'messageSourceId' field.
|
ByteBuffer |
getGet()
Gets the value of the 'get' field.
|
CharSequence |
getId()
Gets the value of the 'id' field.
|
CharSequence |
getMessageSourceId()
Gets the value of the 'messageSourceId' field.
|
boolean |
hasGet()
Checks whether the 'get' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasMessageSourceId()
Checks whether the 'messageSourceId' field has been set.
|
AvroContextMessage.Builder |
setGet(ByteBuffer value)
Sets the value of the 'get' field.
|
AvroContextMessage.Builder |
setId(CharSequence value)
Sets the value of the 'id' field.
|
AvroContextMessage.Builder |
setMessageSourceId(CharSequence value)
Sets the value of the 'messageSourceId' field.
|
public CharSequence getId()
public AvroContextMessage.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroContextMessage.Builder clearId()
public CharSequence getMessageSourceId()
public AvroContextMessage.Builder setMessageSourceId(CharSequence value)
value
- The value of 'messageSourceId'.public boolean hasMessageSourceId()
public AvroContextMessage.Builder clearMessageSourceId()
public ByteBuffer getGet()
public AvroContextMessage.Builder setGet(ByteBuffer value)
value
- The value of 'get'.public boolean hasGet()
public AvroContextMessage.Builder clearGet()
public AvroContextMessage build()
build
in interface org.apache.avro.data.RecordBuilder<AvroContextMessage>
Copyright © 2017 The Apache Software Foundation. All rights reserved.