public static class BridgeInterop.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<BridgeInterop> implements org.apache.avro.data.RecordBuilder<BridgeInterop>
Modifier and Type | Method and Description |
---|---|
BridgeInterop |
build() |
BridgeInterop.Builder |
clearMessage()
Clears the value of the 'message' field.
|
BridgeInterop.Builder |
clearMessageType()
Clears the value of the 'messageType' field.
|
BridgeInterop.Builder |
clearSequence()
Clears the value of the 'sequence' field.
|
Object |
getMessage()
Gets the value of the 'message' field.
|
MessageType |
getMessageType()
Gets the value of the 'messageType' field.
|
Long |
getSequence()
Gets the value of the 'sequence' field.
|
boolean |
hasMessage()
Checks whether the 'message' field has been set.
|
boolean |
hasMessageType()
Checks whether the 'messageType' field has been set.
|
boolean |
hasSequence()
Checks whether the 'sequence' field has been set.
|
BridgeInterop.Builder |
setMessage(Object value)
Sets the value of the 'message' field.
|
BridgeInterop.Builder |
setMessageType(MessageType value)
Sets the value of the 'messageType' field.
|
BridgeInterop.Builder |
setSequence(long value)
Sets the value of the 'sequence' field.
|
public Long getSequence()
public BridgeInterop.Builder setSequence(long value)
value
- The value of 'sequence'.public boolean hasSequence()
public BridgeInterop.Builder clearSequence()
public MessageType getMessageType()
public BridgeInterop.Builder setMessageType(MessageType value)
value
- The value of 'messageType'.public boolean hasMessageType()
public BridgeInterop.Builder clearMessageType()
public Object getMessage()
public BridgeInterop.Builder setMessage(Object value)
value
- The value of 'message'.public boolean hasMessage()
public BridgeInterop.Builder clearMessage()
public BridgeInterop build()
build
in interface org.apache.avro.data.RecordBuilder<BridgeInterop>
Copyright © 2017 The Apache Software Foundation. All rights reserved.