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