- clearvoid clear() 
- Undocumented in source. 
- decodeint decode(byte[] data, int offset, int length) 
- TODO describe what happens if the data does not represent a complete message.
Currently this appears to leave the message in an unknown state. 
- decodevoid decode(ReadableBuffer buffer) 
- Decodes the Message from the given {@link ReadableBuffer}.
<p>
If the buffer given does not contain the fully encoded Message bytes for decode
this method will throw an exception to indicate the buffer underflow condition and
the message object will be left in an undefined state. 
- encodeint encode(byte[] data, int offset, int length) 
- Encodes up to {@code length} bytes of the message into the provided byte array,
starting at position {@code offset}. 
- encodeint encode(WritableBuffer buffer) 
- Encodes the current Message contents into the given {@link WritableBuffer} instance.
<p>
This method attempts to encode all message data into the {@link WritableBuffer} and
if the buffer has insufficient space it will throw an exception to indicate the buffer
overflow condition.  If successful the method returns the number of bytes written to
the provided buffer to fully encode the message. 
- getAddressString getAddress() 
- Undocumented in source. 
- getApplicationPropertiesApplicationProperties getApplicationProperties() 
- Undocumented in source. 
- getBodySection getBody() 
- Undocumented in source. 
- getContentEncodingString getContentEncoding() 
- Undocumented in source. 
- getContentTypeString getContentType() 
- Undocumented in source. 
- getCorrelationIdObject getCorrelationId() 
- Undocumented in source. 
- getCreationTimelong getCreationTime() 
- Undocumented in source. 
- getDeliveryAnnotationsDeliveryAnnotations getDeliveryAnnotations() 
- Undocumented in source. 
- getDeliveryCountlong getDeliveryCount() 
- Undocumented in source. 
- getErrorMessageError getError() 
- Undocumented in source. 
- getExpiryTimelong getExpiryTime() 
- Undocumented in source. 
- getFooterFooter getFooter() 
- Undocumented in source. 
- getGroupIdString getGroupId() 
- Undocumented in source. 
- getGroupSequencelong getGroupSequence() 
- Undocumented in source. 
- getHeaderHeader getHeader() 
- Undocumented in source. 
- getMessageAnnotationsMessageAnnotations getMessageAnnotations() 
- Undocumented in source. 
- getMessageIdObject getMessageId() 
- Undocumented in source. 
- getPriorityshort getPriority() 
- Undocumented in source. 
- getPropertiesProperties getProperties() 
- Undocumented in source. 
- getReplyToString getReplyTo() 
- Undocumented in source. 
- getReplyToGroupIdString getReplyToGroupId() 
- Undocumented in source. 
- getSubjectString getSubject() 
- Undocumented in source. 
- getTtllong getTtl() 
- Undocumented in source. 
- getUserIdbyte[] getUserId() 
- Undocumented in source. 
- isDurablebool isDurable() 
- Undocumented in source. 
- isFirstAcquirerbool isFirstAcquirer() 
- Undocumented in source. 
- setAddressvoid setAddress(String to) 
- Undocumented in source. 
- setApplicationPropertiesvoid setApplicationProperties(ApplicationProperties applicationProperties) 
- Undocumented in source. 
- setBodyvoid setBody(Section body) 
- Undocumented in source. 
- setContentEncodingvoid setContentEncoding(String contentEncoding) 
- Undocumented in source. 
- setContentTypevoid setContentType(String contentType) 
- Undocumented in source. 
- setCorrelationIdvoid setCorrelationId(String correlationId) 
- Undocumented in source. 
- setCreationTimevoid setCreationTime(long creationTime) 
- Undocumented in source. 
- setDeliveryAnnotationsvoid setDeliveryAnnotations(DeliveryAnnotations deliveryAnnotations) 
- Undocumented in source. 
- setDeliveryCountvoid setDeliveryCount(long deliveryCount) 
- Undocumented in source. 
- setDurablevoid setDurable(bool durable) 
- Undocumented in source. 
- setExpiryTimevoid setExpiryTime(long absoluteExpiryTime) 
- Undocumented in source. 
- setFirstAcquirervoid setFirstAcquirer(bool firstAcquirer) 
- Undocumented in source. 
- setFootervoid setFooter(Footer footer) 
- Undocumented in source. 
- setGroupIdvoid setGroupId(String groupId) 
- Undocumented in source. 
- setGroupSequencevoid setGroupSequence(long groupSequence) 
- Undocumented in source. 
- setHeadervoid setHeader(Header header) 
- Undocumented in source. 
- setMessageAnnotationsvoid setMessageAnnotations(MessageAnnotations messageAnnotations) 
- Undocumented in source. 
- setMessageIdvoid setMessageId(String messageId) 
- Undocumented in source. 
- setPriorityvoid setPriority(short priority) 
- Undocumented in source. 
- setPropertiesvoid setProperties(Properties properties) 
- Undocumented in source. 
- setReplyTovoid setReplyTo(String replyTo) 
- Undocumented in source. 
- setReplyToGroupIdvoid setReplyToGroupId(String replyToGroupId) 
- Undocumented in source. 
- setSubjectvoid setSubject(String subject) 
- Undocumented in source. 
- setTtlvoid setTtl(long ttl) 
- Undocumented in source. 
- setUserIdvoid setUserId(byte[] userId) 
- Undocumented in source. 
Represents a Message within Proton.
Create instances of Message using {@link Message.Factory}.