public class PublishMessage extends Object implements EventStreamJsonMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PublishMessage.UnionMember |
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_MODEL_TYPE |
| Constructor and Description |
|---|
PublishMessage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
String |
getApplicationModelType()
Returns the named model type.
|
BinaryMessage |
getBinaryMessage() |
JsonMessage |
getJsonMessage() |
PublishMessage.UnionMember |
getSetUnionMember()
Returns an indicator for which enum member is set.
|
int |
hashCode() |
void |
postFromJson()
If anything needs to be done in memory after parsing from JSON, override and perform it here
|
void |
selfDesignateSetUnionMember() |
void |
setBinaryMessage(BinaryMessage binaryMessage) |
void |
setJsonMessage(JsonMessage jsonMessage) |
PublishMessage |
withBinaryMessage(BinaryMessage binaryMessage) |
PublishMessage |
withJsonMessage(JsonMessage jsonMessage) |
getClass, notify, notifyAll, toString, wait, wait, waitfromJson, isVoid, toPayloadpublic static final String APPLICATION_MODEL_TYPE
public JsonMessage getJsonMessage()
public void setJsonMessage(JsonMessage jsonMessage)
public PublishMessage withJsonMessage(JsonMessage jsonMessage)
public BinaryMessage getBinaryMessage()
public void setBinaryMessage(BinaryMessage binaryMessage)
public PublishMessage withBinaryMessage(BinaryMessage binaryMessage)
public PublishMessage.UnionMember getSetUnionMember()
public String getApplicationModelType()
EventStreamJsonMessagegetApplicationModelType in interface EventStreamJsonMessagepublic void selfDesignateSetUnionMember()
public void postFromJson()
EventStreamJsonMessagepostFromJson in interface EventStreamJsonMessageCopyright ? 2021. All rights reserved.