public static class MessageHeader.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MessageHeader> implements org.apache.avro.data.RecordBuilder<MessageHeader>
Modifier and Type | Method and Description |
---|---|
MessageHeader |
build() |
MessageHeader.Builder |
clearCorrelationId()
Clears the value of the 'correlationId' field
|
MessageHeader.Builder |
clearMessageFlags()
Clears the value of the 'messageFlags' field
|
MessageHeader.Builder |
clearMessageId()
Clears the value of the 'messageId' field
|
MessageHeader.Builder |
clearMessageType()
Clears the value of the 'messageType' field
|
MessageHeader.Builder |
clearProtocol()
Clears the value of the 'protocol' field
|
Long |
getCorrelationId()
Gets the value of the 'correlationId' field
|
Integer |
getMessageFlags()
Gets the value of the 'messageFlags' field
|
Long |
getMessageId()
Gets the value of the 'messageId' field
|
Integer |
getMessageType()
Gets the value of the 'messageType' field
|
Integer |
getProtocol()
Gets the value of the 'protocol' field
|
boolean |
hasCorrelationId()
Checks whether the 'correlationId' field has been set
|
boolean |
hasMessageFlags()
Checks whether the 'messageFlags' field has been set
|
boolean |
hasMessageId()
Checks whether the 'messageId' field has been set
|
boolean |
hasMessageType()
Checks whether the 'messageType' field has been set
|
boolean |
hasProtocol()
Checks whether the 'protocol' field has been set
|
MessageHeader.Builder |
setCorrelationId(long value)
Sets the value of the 'correlationId' field
|
MessageHeader.Builder |
setMessageFlags(int value)
Sets the value of the 'messageFlags' field
|
MessageHeader.Builder |
setMessageId(long value)
Sets the value of the 'messageId' field
|
MessageHeader.Builder |
setMessageType(int value)
Sets the value of the 'messageType' field
|
MessageHeader.Builder |
setProtocol(int value)
Sets the value of the 'protocol' field
|
public Integer getProtocol()
public MessageHeader.Builder setProtocol(int value)
public boolean hasProtocol()
public MessageHeader.Builder clearProtocol()
public Integer getMessageType()
public MessageHeader.Builder setMessageType(int value)
public boolean hasMessageType()
public MessageHeader.Builder clearMessageType()
public Long getCorrelationId()
public MessageHeader.Builder setCorrelationId(long value)
public boolean hasCorrelationId()
public MessageHeader.Builder clearCorrelationId()
public Long getMessageId()
public MessageHeader.Builder setMessageId(long value)
public boolean hasMessageId()
public MessageHeader.Builder clearMessageId()
public Integer getMessageFlags()
public MessageHeader.Builder setMessageFlags(int value)
public boolean hasMessageFlags()
public MessageHeader.Builder clearMessageFlags()
public MessageHeader build()
build
in interface org.apache.avro.data.RecordBuilder<MessageHeader>
Copyright © 2023 Petroware AS - https://petroware.no