@Generated(value="com.neeve.adm.AdmXbufGenerator", date="Thu May 07 15:37:31 EDT 2020") @AdmGenerated(encoding="Xbuf", compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") @AdmFactoryInfo(factoryClass=SrvMonAlertFactory.class, vfid=35, ofid=35, typeId=13) public final class SrvMonUnhandledMessageMessage extends com.neeve.rog.impl.RogNode implements ISrvMonUnhandledMessageMessage, com.neeve.link.ILnkMessage, MessageReflector, com.neeve.xbuf.IXbufDesyncer, IRogJsonizable
ADM Type | Message |
Factory | SrvMonAlertFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
eventSource | String | 6021 | The source of an event. |
eventTimestamp | Date | 6022 | The timestamp of an event. |
exception | String | 17 | A String representing the exception which occurred. |
timestamp | Long | 16 | The timestamp at which this event occurred (millis since the epoch). |
triggeringMessageMessageBusName | String | 19 | The bus name for the message that triggered an alert. |
triggeringMessageMessageBusType | String | 45 | The bus provider name. |
triggeringMessageMessageChannelId | String | 21 | The id of the message channel for the message that triggered an alert. |
triggeringMessageMessageChannelName | String | 20 | The name of the message channel for the message that triggered an alert. |
triggeringMessageMessageEncodingType | Byte | 28 | A message's encoding type for the message that triggered an alert. |
triggeringMessageMessageFactoryId | Short | 26 | A message's sender id for the message that triggered an alert. |
triggeringMessageMessageFlowId | Integer | 24 | A message's flow id for the message that triggered an alert. |
triggeringMessageMessageKey | String | 22 | A message's key for the message that triggered an alert. |
triggeringMessageMessageSenderId | Integer | 25 | A message's sender id for the message that triggered an alert. |
triggeringMessageMessageSno | Long | 23 | A message's sequence number for the message that triggered an alert. |
triggeringMessageMessageViewId | Short | 27 | A message's sender id for the message that triggered an alert. |
triggeringMessageSMAMessageMetadataBlob | Byte[] | 44 | Contains the raw bytes of the serialied SMA MessageMetadata. |
triggeringMessageSMAMessagePayloadBlob | Byte[] | 43 | Contains the raw bytes of the serialized SMA message payload. |
triggeringMessageSMATransportMessageId | String | 42 | A string representation of the SMA provider transport specific message id. |
xvmHeader | SrvMonXvmHeader | 6019 | Details about the message source. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonUnhandledMessageMessage.PacketBody
The backing packet type for SrvMonUnhandledMessageMessage (used internally for serialization purposes).
|
IRogNode.PoolingListener
IStoreObject.EncodingType
Modifier and Type | Field and Description |
---|---|
static SrvMonUnhandledMessageMessage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
count, head, next, prev
Modifier and Type | Method and Description |
---|---|
void |
addTriggeringMessageSMAMessageMetadataBlob(byte val)
Adds the provided value to the list of 'triggeringMessageSMAMessageMetadataBlob' values.
|
void |
addTriggeringMessageSMAMessagePayloadBlob(byte val)
Adds the provided value to the list of 'triggeringMessageSMAMessagePayloadBlob' values.
|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString.
|
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString.
|
void |
clearContent() |
void |
clearEventSource()
Clears the value of 'eventSource'.
|
void |
clearEventTimestamp()
Clears the value of 'eventTimestamp'.
|
void |
clearException()
Clears the value of 'exception'.
|
void |
clearTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
void |
clearTriggeringMessageMessageBusName()
Clears the value of 'triggeringMessageMessageBusName'.
|
void |
clearTriggeringMessageMessageBusType()
Clears the value of 'triggeringMessageMessageBusType'.
|
void |
clearTriggeringMessageMessageChannelId()
Clears the value of 'triggeringMessageMessageChannelId'.
|
void |
clearTriggeringMessageMessageChannelName()
Clears the value of 'triggeringMessageMessageChannelName'.
|
void |
clearTriggeringMessageMessageEncodingType()
Clears the value of 'triggeringMessageMessageEncodingType'.
|
void |
clearTriggeringMessageMessageFactoryId()
Clears the value of 'triggeringMessageMessageFactoryId'.
|
void |
clearTriggeringMessageMessageFlowId()
Clears the value of 'triggeringMessageMessageFlowId'.
|
void |
clearTriggeringMessageMessageKey()
Clears the value of 'triggeringMessageMessageKey'.
|
void |
clearTriggeringMessageMessageSenderId()
Clears the value of 'triggeringMessageMessageSenderId'.
|
void |
clearTriggeringMessageMessageSno()
Clears the value of 'triggeringMessageMessageSno'.
|
void |
clearTriggeringMessageMessageViewId()
Clears the value of 'triggeringMessageMessageViewId'.
|
void |
clearTriggeringMessageSMAMessageMetadataBlob()
Clears the value of 'triggeringMessageSMAMessageMetadataBlob'.
|
void |
clearTriggeringMessageSMAMessagePayloadBlob()
Clears the value of 'triggeringMessageSMAMessagePayloadBlob'.
|
void |
clearTriggeringMessageSMATransportMessageId()
Clears the value of 'triggeringMessageSMATransportMessageId'.
|
void |
clearXRogType() |
void |
clearXvmHeader()
Clears the value of 'xvmHeader'.
|
SrvMonUnhandledMessageMessage |
copy()
Creates a copy of this SrvMonUnhandledMessageMessage.
|
void |
copyInto(SrvMonUnhandledMessageMessage copy)
Copies the contents of this SrvMonUnhandledMessageMessage into the target.
|
static SrvMonUnhandledMessageMessage |
create() |
static SrvMonUnhandledMessageMessage |
create(com.eaio.uuid.UUID id) |
static SrvMonUnhandledMessageMessage |
createFrom(byte[] serializedContainer) |
static SrvMonUnhandledMessageMessage |
createFrom(ByteBuffer serializedContainer) |
static SrvMonUnhandledMessageMessage |
createFromJson(String json) |
static SrvMonUnhandledMessageMessage |
createFromRawJson(String json) |
static SrvMonUnhandledMessageMessage |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonUnhandledMessageMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer) |
static SrvMonUnhandledMessageMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket) |
static SrvMonUnhandledMessageMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket) |
static SrvMonUnhandledMessageMessage |
createFromXbufContainerPacket(PktPacket packet) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
static com.neeve.xbuf.XbufRepeatedByteFieldBuffer |
createTriggeringMessageSMAMessageMetadataBlobFieldBuffer(int initialBufferLength,
boolean isNative)
Returns a wrapped buffer that can be used for doing an efficient bulk
copy from an XIterator returned for this field.
|
static com.neeve.xbuf.XbufRepeatedByteFieldBuffer |
createTriggeringMessageSMAMessagePayloadBlobFieldBuffer(int initialBufferLength,
boolean isNative)
Returns a wrapped buffer that can be used for doing an efficient bulk
copy from an XIterator returned for this field.
|
SrvMonUnhandledMessageMessage |
deserialize(PktPacket packet)
Deserialize an object's data.
|
SrvMonUnhandledMessageMessage |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array.
|
SrvMonUnhandledMessageMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer.
|
SrvMonUnhandledMessageMessage |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string
|
SrvMonUnhandledMessageMessage |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet.
|
SrvMonUnhandledMessageMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message.
|
SrvMonUnhandledMessageMessage |
deserializeFromRawJson(String json) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
int |
dispose()
Implementation of
IRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. |
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message.
|
PktBuffer |
getBackingBuffer() |
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type.
|
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
String |
getEventSource()
Gets the value of 'eventSource'.
|
com.neeve.xbuf.XbufStringField |
getEventSourceField() |
static int |
getEventSourceFieldId() |
<T extends XString> |
getEventSourceTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getEventSourceTo(XString val)
Copies the value of 'eventSource' into the provided XString.
|
XString |
getEventSourceUnsafe()
Gets the raw value of 'eventSource'.
|
Date |
getEventTimestamp()
Gets the value of 'eventTimestamp'.
|
long |
getEventTimestampAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding).
|
com.neeve.xbuf.XbufVariableDateField |
getEventTimestampField() |
static int |
getEventTimestampFieldId() |
String |
getException()
Gets the value of 'exception'.
|
com.neeve.xbuf.XbufStringField |
getExceptionField() |
static int |
getExceptionFieldId() |
<T extends XString> |
getExceptionTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getExceptionTo(XString val)
Copies the value of 'exception' into the provided XString.
|
XString |
getExceptionUnsafe()
Gets the raw value of 'exception'.
|
XString |
getFieldValueAsRawString(Object message,
String name)
Get the value of a reflectable field in a message as a string.
|
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String name)
Get the value of a reflectable field in a message as a string.
|
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string.
|
PktPacket |
getPacket()
Return the packet tied to this message.
|
long |
getTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
com.neeve.xbuf.XbufVariableLongField |
getTimestampField()
Deprecated.
- Use eventTimestamp instead.
|
static int |
getTimestampFieldId() |
String |
getTriggeringMessageMessageBusName()
Gets the value of 'triggeringMessageMessageBusName'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageBusNameField() |
static int |
getTriggeringMessageMessageBusNameFieldId() |
<T extends XString> |
getTriggeringMessageMessageBusNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageMessageBusNameTo(XString val)
Copies the value of 'triggeringMessageMessageBusName' into the provided XString.
|
XString |
getTriggeringMessageMessageBusNameUnsafe()
Gets the raw value of 'triggeringMessageMessageBusName'.
|
String |
getTriggeringMessageMessageBusType()
Gets the value of 'triggeringMessageMessageBusType'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageBusTypeField() |
static int |
getTriggeringMessageMessageBusTypeFieldId() |
<T extends XString> |
getTriggeringMessageMessageBusTypeTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageMessageBusTypeTo(XString val)
Copies the value of 'triggeringMessageMessageBusType' into the provided XString.
|
XString |
getTriggeringMessageMessageBusTypeUnsafe()
Gets the raw value of 'triggeringMessageMessageBusType'.
|
String |
getTriggeringMessageMessageChannelId()
Gets the value of 'triggeringMessageMessageChannelId'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageChannelIdField() |
static int |
getTriggeringMessageMessageChannelIdFieldId() |
<T extends XString> |
getTriggeringMessageMessageChannelIdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageMessageChannelIdTo(XString val)
Copies the value of 'triggeringMessageMessageChannelId' into the provided XString.
|
XString |
getTriggeringMessageMessageChannelIdUnsafe()
Gets the raw value of 'triggeringMessageMessageChannelId'.
|
String |
getTriggeringMessageMessageChannelName()
Gets the value of 'triggeringMessageMessageChannelName'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageChannelNameField() |
static int |
getTriggeringMessageMessageChannelNameFieldId() |
<T extends XString> |
getTriggeringMessageMessageChannelNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageMessageChannelNameTo(XString val)
Copies the value of 'triggeringMessageMessageChannelName' into the provided XString.
|
XString |
getTriggeringMessageMessageChannelNameUnsafe()
Gets the raw value of 'triggeringMessageMessageChannelName'.
|
byte |
getTriggeringMessageMessageEncodingType()
Gets the value of 'triggeringMessageMessageEncodingType'.
|
com.neeve.xbuf.XbufVariableByteField |
getTriggeringMessageMessageEncodingTypeField() |
static int |
getTriggeringMessageMessageEncodingTypeFieldId() |
short |
getTriggeringMessageMessageFactoryId()
Gets the value of 'triggeringMessageMessageFactoryId'.
|
com.neeve.xbuf.XbufVariableShortField |
getTriggeringMessageMessageFactoryIdField() |
static int |
getTriggeringMessageMessageFactoryIdFieldId() |
int |
getTriggeringMessageMessageFlowId()
Gets the value of 'triggeringMessageMessageFlowId'.
|
com.neeve.xbuf.XbufVariableIntField |
getTriggeringMessageMessageFlowIdField() |
static int |
getTriggeringMessageMessageFlowIdFieldId() |
String |
getTriggeringMessageMessageKey()
Gets the value of 'triggeringMessageMessageKey'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageMessageKeyField() |
static int |
getTriggeringMessageMessageKeyFieldId() |
<T extends XString> |
getTriggeringMessageMessageKeyTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageMessageKeyTo(XString val)
Copies the value of 'triggeringMessageMessageKey' into the provided XString.
|
XString |
getTriggeringMessageMessageKeyUnsafe()
Gets the raw value of 'triggeringMessageMessageKey'.
|
int |
getTriggeringMessageMessageSenderId()
Gets the value of 'triggeringMessageMessageSenderId'.
|
com.neeve.xbuf.XbufVariableIntField |
getTriggeringMessageMessageSenderIdField() |
static int |
getTriggeringMessageMessageSenderIdFieldId() |
long |
getTriggeringMessageMessageSno()
Gets the value of 'triggeringMessageMessageSno'.
|
com.neeve.xbuf.XbufVariableLongField |
getTriggeringMessageMessageSnoField() |
static int |
getTriggeringMessageMessageSnoFieldId() |
short |
getTriggeringMessageMessageViewId()
Gets the value of 'triggeringMessageMessageViewId'.
|
com.neeve.xbuf.XbufVariableShortField |
getTriggeringMessageMessageViewIdField() |
static int |
getTriggeringMessageMessageViewIdFieldId() |
byte[] |
getTriggeringMessageSMAMessageMetadataBlob()
Gets the value of 'triggeringMessageSMAMessageMetadataBlob'.
|
byte[] |
getTriggeringMessageSMAMessageMetadataBlobEmptyIfNull()
Gets the value of 'triggeringMessageSMAMessageMetadataBlob' or an empty array if the value is
null or not set. |
static int |
getTriggeringMessageSMAMessageMetadataBlobFieldId() |
XByteIterator |
getTriggeringMessageSMAMessageMetadataBlobIterator()
Gets the value of 'triggeringMessageSMAMessageMetadataBlob' as iterator of values.
|
byte[] |
getTriggeringMessageSMAMessagePayloadBlob()
Gets the value of 'triggeringMessageSMAMessagePayloadBlob'.
|
byte[] |
getTriggeringMessageSMAMessagePayloadBlobEmptyIfNull()
Gets the value of 'triggeringMessageSMAMessagePayloadBlob' or an empty array if the value is
null or not set. |
static int |
getTriggeringMessageSMAMessagePayloadBlobFieldId() |
XByteIterator |
getTriggeringMessageSMAMessagePayloadBlobIterator()
Gets the value of 'triggeringMessageSMAMessagePayloadBlob' as iterator of values.
|
String |
getTriggeringMessageSMATransportMessageId()
Gets the value of 'triggeringMessageSMATransportMessageId'.
|
com.neeve.xbuf.XbufStringField |
getTriggeringMessageSMATransportMessageIdField() |
static int |
getTriggeringMessageSMATransportMessageIdFieldId() |
<T extends XString> |
getTriggeringMessageSMATransportMessageIdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getTriggeringMessageSMATransportMessageIdTo(XString val)
Copies the value of 'triggeringMessageSMATransportMessageId' into the provided XString.
|
XString |
getTriggeringMessageSMATransportMessageIdUnsafe()
Gets the raw value of 'triggeringMessageSMATransportMessageId'.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
com.neeve.server.mon.common.SrvMonXvmHeader |
getXvmHeader()
Gets the value of 'xvmHeader'.
|
static int |
getXvmHeaderFieldId() |
void |
getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
Copies the value of SrvMonXvmHeader into the provided value.
|
boolean |
hasEventSource()
Checks for the presence of 'eventSource'.
|
boolean |
hasEventTimestamp()
Checks for the presence of 'eventTimestamp'.
|
boolean |
hasException()
Checks for the presence of 'exception'.
|
boolean |
hasTimestamp()
Deprecated.
- Use eventTimestamp instead.
|
boolean |
hasTriggeringMessageMessageBusName()
Checks for the presence of 'triggeringMessageMessageBusName'.
|
boolean |
hasTriggeringMessageMessageBusType()
Checks for the presence of 'triggeringMessageMessageBusType'.
|
boolean |
hasTriggeringMessageMessageChannelId()
Checks for the presence of 'triggeringMessageMessageChannelId'.
|
boolean |
hasTriggeringMessageMessageChannelName()
Checks for the presence of 'triggeringMessageMessageChannelName'.
|
boolean |
hasTriggeringMessageMessageEncodingType()
Checks for the presence of 'triggeringMessageMessageEncodingType'.
|
boolean |
hasTriggeringMessageMessageFactoryId()
Checks for the presence of 'triggeringMessageMessageFactoryId'.
|
boolean |
hasTriggeringMessageMessageFlowId()
Checks for the presence of 'triggeringMessageMessageFlowId'.
|
boolean |
hasTriggeringMessageMessageKey()
Checks for the presence of 'triggeringMessageMessageKey'.
|
boolean |
hasTriggeringMessageMessageSenderId()
Checks for the presence of 'triggeringMessageMessageSenderId'.
|
boolean |
hasTriggeringMessageMessageSno()
Checks for the presence of 'triggeringMessageMessageSno'.
|
boolean |
hasTriggeringMessageMessageViewId()
Checks for the presence of 'triggeringMessageMessageViewId'.
|
boolean |
hasTriggeringMessageSMATransportMessageId()
Checks for the presence of 'triggeringMessageSMATransportMessageId'.
|
boolean |
hasXRogType() |
boolean |
hasXvmHeader()
Checks for the presence of 'xvmHeader'.
|
boolean |
isDirty() |
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable.
|
void |
lendEventSource(XString val)
Lends the value of 'eventSource' to this object.
|
void |
lendException(XString val)
Lends the value of 'exception' to this object.
|
void |
lendTriggeringMessageMessageBusName(XString val)
Lends the value of 'triggeringMessageMessageBusName' to this object.
|
void |
lendTriggeringMessageMessageBusType(XString val)
Lends the value of 'triggeringMessageMessageBusType' to this object.
|
void |
lendTriggeringMessageMessageChannelId(XString val)
Lends the value of 'triggeringMessageMessageChannelId' to this object.
|
void |
lendTriggeringMessageMessageChannelName(XString val)
Lends the value of 'triggeringMessageMessageChannelName' to this object.
|
void |
lendTriggeringMessageMessageKey(XString val)
Lends the value of 'triggeringMessageMessageKey' to this object.
|
void |
lendTriggeringMessageSMATransportMessageId(XString val)
Lends the value of 'triggeringMessageSMATransportMessageId' to this object.
|
void |
lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
'Lends' a reference of the SrvMonXvmHeader to the message for this field.
|
boolean |
needsSync()
Check if a view needs to be sync'd for reflection.
|
static void |
optimizeFor(int val) |
PktPacket |
serialize()
Serialize an object's data.
|
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array.
|
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer.
|
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Serializes the
MessageView to an IOBuffer. |
String |
serializeToJson()
Serialize a view's backing message to JSON.
|
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet.
|
com.google.protobuf.Message |
serializeToProtobuf()
Serialize a node's data to a proto message.
|
String |
serializeToRawJson() |
void |
setAsReadOnly()
Implementation of
IRogNode.setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
void |
setEventSource(String val)
Sets the value of 'eventSource'.
|
void |
setEventSourceFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setEventSourceFrom(com.neeve.xbuf.XbufStringField val) |
void |
setEventSourceFrom(XString val)
Copies the provided XString value into this object's 'eventSource'.
|
void |
setEventTimestamp(Date val)
Sets the value of 'eventTimestamp'.
|
void |
setEventTimestampAsTimestamp(long val)
Sets the date value as a timestamp.
|
void |
setEventTimestampFrom(com.neeve.xbuf.XbufVariableDateField val) |
void |
setException(String val)
Sets the value of 'exception'.
|
void |
setExceptionFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setExceptionFrom(com.neeve.xbuf.XbufStringField val) |
void |
setExceptionFrom(XString val)
Copies the provided XString value into this object's 'exception'.
|
static void |
setFieldInterest(List<Integer> fieldIds) |
IStoreObject |
setFieldValue(int id,
Object val) |
void |
setPreserializedFields(PktBuffer buffer) |
void |
setTimestamp(long val)
Deprecated.
- Use eventTimestamp instead.
|
void |
setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
Deprecated.
- Use eventTimestamp instead.
|
void |
setTriggeringMessageMessageBusName(String val)
Sets the value of 'triggeringMessageMessageBusName'.
|
void |
setTriggeringMessageMessageBusNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageMessageBusNameFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageBusName'.
|
void |
setTriggeringMessageMessageBusType(String val)
Sets the value of 'triggeringMessageMessageBusType'.
|
void |
setTriggeringMessageMessageBusTypeFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageMessageBusTypeFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageMessageBusTypeFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageBusType'.
|
void |
setTriggeringMessageMessageChannelId(String val)
Sets the value of 'triggeringMessageMessageChannelId'.
|
void |
setTriggeringMessageMessageChannelIdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageMessageChannelIdFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageChannelId'.
|
void |
setTriggeringMessageMessageChannelName(String val)
Sets the value of 'triggeringMessageMessageChannelName'.
|
void |
setTriggeringMessageMessageChannelNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageMessageChannelNameFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageChannelName'.
|
void |
setTriggeringMessageMessageEncodingType(byte val)
Sets the value of 'triggeringMessageMessageEncodingType'.
|
void |
setTriggeringMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val) |
void |
setTriggeringMessageMessageFactoryId(short val)
Sets the value of 'triggeringMessageMessageFactoryId'.
|
void |
setTriggeringMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setTriggeringMessageMessageFlowId(int val)
Sets the value of 'triggeringMessageMessageFlowId'.
|
void |
setTriggeringMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setTriggeringMessageMessageKey(String val)
Sets the value of 'triggeringMessageMessageKey'.
|
void |
setTriggeringMessageMessageKeyFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageMessageKeyFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageMessageKey'.
|
void |
setTriggeringMessageMessageSenderId(int val)
Sets the value of 'triggeringMessageMessageSenderId'.
|
void |
setTriggeringMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setTriggeringMessageMessageSno(long val)
Sets the value of 'triggeringMessageMessageSno'.
|
void |
setTriggeringMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setTriggeringMessageMessageViewId(short val)
Sets the value of 'triggeringMessageMessageViewId'.
|
void |
setTriggeringMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setTriggeringMessageSMAMessageMetadataBlob(byte[] val)
Sets the value of 'triggeringMessageSMAMessageMetadataBlob'.
|
void |
setTriggeringMessageSMAMessageMetadataBlobFrom(XByteIterator val)
Sets the value of 'triggeringMessageSMAMessageMetadataBlob' using the values from the provided iterator.
|
void |
setTriggeringMessageSMAMessagePayloadBlob(byte[] val)
Sets the value of 'triggeringMessageSMAMessagePayloadBlob'.
|
void |
setTriggeringMessageSMAMessagePayloadBlobFrom(XByteIterator val)
Sets the value of 'triggeringMessageSMAMessagePayloadBlob' using the values from the provided iterator.
|
void |
setTriggeringMessageSMATransportMessageId(String val)
Sets the value of 'triggeringMessageSMATransportMessageId'.
|
void |
setTriggeringMessageSMATransportMessageIdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setTriggeringMessageSMATransportMessageIdFrom(com.neeve.xbuf.XbufStringField val) |
void |
setTriggeringMessageSMATransportMessageIdFrom(XString val)
Copies the provided XString value into this object's 'triggeringMessageSMATransportMessageId'.
|
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
Sets the value of 'xvmHeader'.
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport
|
void |
syncFieldBitmask() |
com.neeve.server.mon.common.SrvMonXvmHeader |
takeXvmHeader()
'Takes' a reference to the xvmHeader field from the message.
|
String |
toJsonString()
Get a JSON representation of an ROG entity
|
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Get a full JSON representation of an ROG entity
|
String |
toString()
Return a string representation of an ROG node.
|
void |
undispose(com.eaio.uuid.UUID id)
Recuscitate a disposed node.
|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCommittedDataSize, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsLiveInboundMessage, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getMetadata, getOfid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPoolingListener, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getStoreMetadata, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, resolveMessageKeyWith, resolveMessageKeyWith, saveMemory, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCommittedDataSize, setCreateTs, setEnqueueTsMicros, setFieldValue, setGraphId, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setMessageTransportHeaders, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPoolingListener, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, setTag
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, getAttachment, getIsLiveInboundMessage, getIsPriority, getIsReadOnly, getMetadata, getParent, getPoolingListener, getType, metadataToJsonString, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setInMsgsInTransaction, setOutMsgsInTransaction, setParentId, setPoolingListener, setTransactionInSequenceNumber, setTransactionOutSequenceNumber
acquire, deserializeMetadata, deserializeMetadata, getOwnershipCount, getSerializedMetadataLength, getStoreMetadata, serializeMetadata, setFieldValue
ensureId, getBinding, getCheckpointVersion, getCommittedDataSize, getId, getOfid, getStableTransactionId, getTransactionId, setBinding, setCheckpointVersion, setCommittedDataSize, setId, setStableTransactionId, setTransactionId
getMessageReflector
getEnqueueTs, getEnqueueTsMicros, getGraphId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsReplayedMessage, getMessageBus, getMessageChannel, getMessageFlow, getMessageKey, getMessageSender, getMessageSequenceNumber, getMessageTransportHeaders, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParentId, getPreProcessingTs, getPreProcessingTsMicros, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, isPossibleDuplicate, metadataToJsonString, metadataToString
getValidationErrors, isValid
public static final SrvMonUnhandledMessageMessage[] EMPTY_ARRAY
public static SrvMonUnhandledMessageMessage create()
public static SrvMonUnhandledMessageMessage create(com.eaio.uuid.UUID id)
public static SrvMonUnhandledMessageMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonUnhandledMessageMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonUnhandledMessageMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonUnhandledMessageMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonUnhandledMessageMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonUnhandledMessageMessage createFromRawJson(String json)
public static SrvMonUnhandledMessageMessage createFromJson(String json)
public static SrvMonUnhandledMessageMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonUnhandledMessageMessage createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final PktPacket getPacket()
com.neeve.link.ILnkMessage
getPacket
in interface com.neeve.link.ILnkMessage
public final com.google.protobuf.Message serializeToProtobuf()
IRogNode
serializeToProtobuf
in interface IRogNode
public final String serializeToRawJson()
public final String serializeToJson()
MessageView
Serializing/deserializing a message to/from JSON is an optional operation
serializeToJson
in interface MessageView
public final SrvMonUnhandledMessageMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf
in interface IRogNode
message
- The protobuf messagepublic final SrvMonUnhandledMessageMessage deserializeFromRawJson(String json)
public final SrvMonUnhandledMessageMessage deserializeFromJson(String json)
MessageView
deserializeFromJson
in interface MessageView
json
- The view's backing message serialized as a json string.
Serializing/deserializing a message to/from JSON is an optional operation
public final void setAsReadOnly()
com.neeve.rog.impl.RogNode
IRogNode.setAsReadOnly()
setAsReadOnly
in interface IRogNode
setAsReadOnly
in class com.neeve.rog.impl.RogNode
public int dispose()
com.neeve.rog.impl.RogNode
IRogNode.dispose()
ROG nodes piggyback on packet pooling to perform node pooling. When this
disposed, nodes release their reference to their backing packet (if a
node is not backed by a packet, the this method does nothing and the
node is released for garbage collection). The reference release will
cause the packet to ultimately enter into its pool (if a poolable
packet type). Since nodes are tagged to packets (via TAG_ROG_ENVELOPE),
nodes implictly also get pooled. To resuscitate a disposed node, the
user should get the node from its packet and invoke RogNode.undispose(com.eaio.uuid.UUID)
dispose
in interface IStoreObject
dispose
in interface IRogNode
dispose
in interface MessageView
dispose
in class com.neeve.rog.impl.RogNode
public void undispose(com.eaio.uuid.UUID id)
com.neeve.rog.impl.RogNode
undispose
in class com.neeve.rog.impl.RogNode
id
- The resuscitated node's id.
This method should be called to resuscitate a disposed node. Since the caller must release all references to a disposed node, the only place a disposed node can be obtained from is its pooled backing packet container. Upon retrieving a packet from a pool, the user should obtain the node from the TAG_ROG_ENVELOPE packet tag. If the tag is non-null, then it refers to an ROG node object. The user should invoke this method on the node before using the node.
public final void setPreserializedFields(PktBuffer buffer)
public static final int getXRogTypeFieldId()
public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getEventTimestampFieldId()
public final void setEventTimestamp(Date val)
ISrvMonUnhandledMessageMessage
setEventTimestamp
in interface ISrvMonUnhandledMessageMessage
setEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- The value to set.public final Date getEventTimestamp()
ISrvMonUnhandledMessageMessage
getEventTimestamp
in interface ISrvMonUnhandledMessageMessage
getEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
public final void setEventTimestampAsTimestamp(long val)
ISrvMonUnhandledMessageMessage
setEventTimestampAsTimestamp
in interface ISrvMonUnhandledMessageMessage
setEventTimestampAsTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setEventTimestampAsTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- The date value in milliseconds from the epochpublic final long getEventTimestampAsTimestamp()
ISrvMonUnhandledMessageMessage
NOTE:
Note that a return value of -1 could also indicate 1 millisecond before the epoch.
In cases where a such an ambiguity is a practical concern, ISrvMonUnhandledMessageMessage.hasEventTimestamp()
should be called.
getEventTimestampAsTimestamp
in interface ISrvMonUnhandledMessageMessage
getEventTimestampAsTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventTimestampAsTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
public final void setEventTimestampFrom(com.neeve.xbuf.XbufVariableDateField val)
public final com.neeve.xbuf.XbufVariableDateField getEventTimestampField()
public final boolean hasEventTimestamp()
ISrvMonUnhandledMessageMessage
hasEventTimestamp
in interface ISrvMonUnhandledMessageMessage
hasEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
hasEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.getEventTimestamp()
public final void clearEventTimestamp()
ISrvMonUnhandledMessageMessage
clearEventTimestamp
in interface ISrvMonUnhandledMessageMessage
clearEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
clearEventTimestamp
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.setEventTimestamp(Date)
public static final int getTriggeringMessageMessageSnoFieldId()
public final void setTriggeringMessageMessageSno(long val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageSno
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
val
- The value to set.public final long getTriggeringMessageMessageSno()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageSno
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getTriggeringMessageMessageSnoField()
public final boolean hasTriggeringMessageMessageSno()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageSno
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageSno()
public final void clearTriggeringMessageMessageSno()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageSno
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageSno
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageSno(long)
public static final int getTriggeringMessageMessageFlowIdFieldId()
public final void setTriggeringMessageMessageFlowId(int val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageFlowId
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
val
- The value to set.public final int getTriggeringMessageMessageFlowId()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageFlowId
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getTriggeringMessageMessageFlowIdField()
public final boolean hasTriggeringMessageMessageFlowId()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageFlowId
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageFlowId()
public final void clearTriggeringMessageMessageFlowId()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageFlowId
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageFlowId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageFlowId(int)
public static final int getTriggeringMessageMessageSenderIdFieldId()
public final void setTriggeringMessageMessageSenderId(int val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageSenderId
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
val
- The value to set.public final int getTriggeringMessageMessageSenderId()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageSenderId
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getTriggeringMessageMessageSenderIdField()
public final boolean hasTriggeringMessageMessageSenderId()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageSenderId
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageSenderId()
public final void clearTriggeringMessageMessageSenderId()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageSenderId
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageSenderId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageSenderId(int)
public static final int getTriggeringMessageMessageFactoryIdFieldId()
public final void setTriggeringMessageMessageFactoryId(short val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageFactoryId
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
val
- The value to set.public final short getTriggeringMessageMessageFactoryId()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageFactoryId
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getTriggeringMessageMessageFactoryIdField()
public final boolean hasTriggeringMessageMessageFactoryId()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageFactoryId
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageFactoryId()
public final void clearTriggeringMessageMessageFactoryId()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageFactoryId
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageFactoryId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageFactoryId(short)
public static final int getTriggeringMessageMessageViewIdFieldId()
public final void setTriggeringMessageMessageViewId(short val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageViewId
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
val
- The value to set.public final short getTriggeringMessageMessageViewId()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageViewId
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getTriggeringMessageMessageViewIdField()
public final boolean hasTriggeringMessageMessageViewId()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageViewId
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageViewId()
public final void clearTriggeringMessageMessageViewId()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageViewId
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageViewId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageViewId(short)
public static final int getTriggeringMessageMessageEncodingTypeFieldId()
public final void setTriggeringMessageMessageEncodingType(byte val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageEncodingType
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
val
- The value to set.public final byte getTriggeringMessageMessageEncodingType()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageEncodingType
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
public final void setTriggeringMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val)
public final com.neeve.xbuf.XbufVariableByteField getTriggeringMessageMessageEncodingTypeField()
public final boolean hasTriggeringMessageMessageEncodingType()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageEncodingType
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageEncodingType()
public final void clearTriggeringMessageMessageEncodingType()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageEncodingType
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageEncodingType
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageEncodingType(byte)
public static final int getTimestampFieldId()
@Deprecated public final void setTimestamp(long val)
ISrvMonUnhandledMessageMessage
setTimestamp
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.@Deprecated public final long getTimestamp()
ISrvMonUnhandledMessageMessage
getTimestamp
in interface ISrvMonUnhandledMessageMessage
@Deprecated public final void setTimestampFrom(com.neeve.xbuf.XbufVariableLongField val)
@Deprecated public final com.neeve.xbuf.XbufVariableLongField getTimestampField()
@Deprecated public final boolean hasTimestamp()
ISrvMonUnhandledMessageMessage
hasTimestamp
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTimestamp()
@Deprecated public final void clearTimestamp()
ISrvMonUnhandledMessageMessage
clearTimestamp
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.setTimestamp(long)
public static final int getXvmHeaderFieldId()
public final void setXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonUnhandledMessageMessage
setXvmHeader
in interface ISrvMonUnhandledMessageMessage
setXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
setXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- The value to set.public final void lendXvmHeader(com.neeve.server.mon.common.SrvMonXvmHeader val)
ISrvMonUnhandledMessageMessage
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendXvmHeader
in interface ISrvMonUnhandledMessageMessage
lendXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
lendXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
lendXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- the value to 'lend' to lend.public final com.neeve.server.mon.common.SrvMonXvmHeader getXvmHeader()
ISrvMonUnhandledMessageMessage
getXvmHeader
in interface ISrvMonUnhandledMessageMessage
getXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
getXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
public final void getXvmHeaderTo(com.neeve.server.mon.common.SrvMonXvmHeader to)
ISrvMonUnhandledMessageMessage
IF the value is not set, then the contents of the provided SrvMonXvmHeader are cleared.
getXvmHeaderTo
in interface ISrvMonUnhandledMessageMessage
getXvmHeaderTo
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
getXvmHeaderTo
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getXvmHeaderTo
in interface com.neeve.server.mon.common.ISrvMonEvent
to
- the value to copy intoSrvMonXvmHeader.copyInto(SrvMonXvmHeader)
public final com.neeve.server.mon.common.SrvMonXvmHeader takeXvmHeader()
ISrvMonUnhandledMessageMessage
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeXvmHeader
in interface ISrvMonUnhandledMessageMessage
takeXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
takeXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
takeXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
null
if the field is not set.public final boolean hasXvmHeader()
ISrvMonUnhandledMessageMessage
hasXvmHeader
in interface ISrvMonUnhandledMessageMessage
hasXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
hasXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
hasXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.getXvmHeader()
public final void clearXvmHeader()
ISrvMonUnhandledMessageMessage
clearXvmHeader
in interface ISrvMonUnhandledMessageMessage
clearXvmHeader
in interface com.neeve.server.mon.common.IHasSrvMonXvmHeader
clearXvmHeader
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
clearXvmHeader
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.setXvmHeader(SrvMonXvmHeader)
public static final int getEventSourceFieldId()
public final void setEventSource(String val)
ISrvMonUnhandledMessageMessage
setEventSource
in interface ISrvMonUnhandledMessageMessage
setEventSource
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setEventSource
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- The value to set.public final String getEventSource()
ISrvMonUnhandledMessageMessage
getEventSource
in interface ISrvMonUnhandledMessageMessage
getEventSource
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventSource
in interface com.neeve.server.mon.common.ISrvMonEvent
public final void lendEventSource(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setEventSource except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendEventSource
in interface ISrvMonUnhandledMessageMessage
lendEventSource
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
lendEventSource
in interface com.neeve.server.mon.common.ISrvMonEvent
val
- The value to set.public final void setEventSourceFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setEventSource(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setEventSourceFrom
in interface ISrvMonUnhandledMessageMessage
setEventSourceFrom
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setEventSourceFrom
in interface com.neeve.server.mon.common.ISrvMonEvent
public final <T extends XString> T getEventSourceTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getEventSourceTo
in interface ISrvMonUnhandledMessageMessage
getEventSourceTo
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventSourceTo
in interface com.neeve.server.mon.common.ISrvMonEvent
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setEventSourceFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setEventSource(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setEventSourceFrom
in interface ISrvMonUnhandledMessageMessage
setEventSourceFrom
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
setEventSourceFrom
in interface com.neeve.server.mon.common.ISrvMonEvent
public final void getEventSourceTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getEventSource()
bec
because it can avoid decoding the value into an String
.
getEventSourceTo
in interface ISrvMonUnhandledMessageMessage
getEventSourceTo
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventSourceTo
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.getEventSource()
public final XString getEventSourceUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getEventSourceUnsafe
in interface ISrvMonUnhandledMessageMessage
getEventSourceUnsafe
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
getEventSourceUnsafe
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.getEventSource()
public final void setEventSourceFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getEventSourceField()
public final boolean hasEventSource()
ISrvMonUnhandledMessageMessage
hasEventSource
in interface ISrvMonUnhandledMessageMessage
hasEventSource
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
hasEventSource
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.getEventSource()
public final void clearEventSource()
ISrvMonUnhandledMessageMessage
clearEventSource
in interface ISrvMonUnhandledMessageMessage
clearEventSource
in interface com.neeve.server.mon.common.ISrvMonAlertEvent
clearEventSource
in interface com.neeve.server.mon.common.ISrvMonEvent
ISrvMonUnhandledMessageMessage.setEventSource(String)
public static final int getTriggeringMessageMessageBusNameFieldId()
public final void setTriggeringMessageMessageBusName(String val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageBusName
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageBusName()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusName
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageBusName(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageMessageBusName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageMessageBusName
in interface ISrvMonUnhandledMessageMessage
lendTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageBusNameFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageBusNameFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageBusNameFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageBusNameTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageMessageBusNameTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusNameTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageMessageBusNameFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageBusNameFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageBusNameFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageBusNameTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusName()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageBusNameTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusNameTo
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusName()
public final XString getTriggeringMessageMessageBusNameUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageMessageBusNameUnsafe
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusNameUnsafe
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusName()
public final void setTriggeringMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageBusNameField()
public final boolean hasTriggeringMessageMessageBusName()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageBusName
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusName()
public final void clearTriggeringMessageMessageBusName()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageBusName
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageBusName
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusName(String)
public static final int getTriggeringMessageMessageChannelNameFieldId()
public final void setTriggeringMessageMessageChannelName(String val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelName
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageChannelName()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelName
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageChannelName(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageMessageChannelName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageMessageChannelName
in interface ISrvMonUnhandledMessageMessage
lendTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageChannelNameFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageChannelNameFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelNameFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageChannelNameTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageMessageChannelNameTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelNameTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageMessageChannelNameFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageChannelNameFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelNameFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageChannelNameTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelName()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageChannelNameTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelNameTo
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelName()
public final XString getTriggeringMessageMessageChannelNameUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageMessageChannelNameUnsafe
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelNameUnsafe
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelName()
public final void setTriggeringMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageChannelNameField()
public final boolean hasTriggeringMessageMessageChannelName()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageChannelName
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelName()
public final void clearTriggeringMessageMessageChannelName()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageChannelName
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageChannelName
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelName(String)
public static final int getTriggeringMessageMessageChannelIdFieldId()
public final void setTriggeringMessageMessageChannelId(String val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelId
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageChannelId()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelId
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageChannelId(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageMessageChannelId except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageMessageChannelId
in interface ISrvMonUnhandledMessageMessage
lendTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageChannelIdFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageChannelIdFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelIdFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageChannelIdTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageMessageChannelIdTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelIdTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageMessageChannelIdFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageChannelIdFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageChannelIdFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageChannelIdTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelId()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageChannelIdTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelIdTo
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelId()
public final XString getTriggeringMessageMessageChannelIdUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageMessageChannelIdUnsafe
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageChannelIdUnsafe
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelId()
public final void setTriggeringMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageChannelIdField()
public final boolean hasTriggeringMessageMessageChannelId()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageChannelId
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageChannelId()
public final void clearTriggeringMessageMessageChannelId()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageChannelId
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageChannelId
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageChannelId(String)
public static final int getTriggeringMessageMessageKeyFieldId()
public final void setTriggeringMessageMessageKey(String val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageKey
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
val
- The value to set.public final String getTriggeringMessageMessageKey()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageKey
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
public final void lendTriggeringMessageMessageKey(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageMessageKey except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageMessageKey
in interface ISrvMonUnhandledMessageMessage
lendTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
val
- The value to set.public final void setTriggeringMessageMessageKeyFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageKey(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageKeyFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageKeyFrom
in interface ITriggeringMessageMetadata
public final <T extends XString> T getTriggeringMessageMessageKeyTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageMessageKeyTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageKeyTo
in interface ITriggeringMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageMessageKeyFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageKey(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageKeyFrom
in interface ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageKeyFrom
in interface ITriggeringMessageMetadata
public final void getTriggeringMessageMessageKeyTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageKey()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageKeyTo
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageKeyTo
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageKey()
public final XString getTriggeringMessageMessageKeyUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageMessageKeyUnsafe
in interface ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageKeyUnsafe
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageKey()
public final void setTriggeringMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageKeyField()
public final boolean hasTriggeringMessageMessageKey()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageKey
in interface ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageKey()
public final void clearTriggeringMessageMessageKey()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageKey
in interface ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageKey
in interface ITriggeringMessageMetadata
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageKey(String)
public static final int getExceptionFieldId()
public final void setException(String val)
ISrvMonUnhandledMessageMessage
setException
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final String getException()
ISrvMonUnhandledMessageMessage
getException
in interface ISrvMonUnhandledMessageMessage
public final void lendException(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setException except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendException
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final void setExceptionFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setException(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setExceptionFrom
in interface ISrvMonUnhandledMessageMessage
public final <T extends XString> T getExceptionTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getExceptionTo
in interface ISrvMonUnhandledMessageMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setExceptionFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setException(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setExceptionFrom
in interface ISrvMonUnhandledMessageMessage
public final void getExceptionTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getException()
bec
because it can avoid decoding the value into an String
.
getExceptionTo
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getException()
public final XString getExceptionUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getExceptionUnsafe
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getException()
public final void setExceptionFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getExceptionField()
public final boolean hasException()
ISrvMonUnhandledMessageMessage
hasException
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getException()
public final void clearException()
ISrvMonUnhandledMessageMessage
clearException
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.setException(String)
public static final int getTriggeringMessageSMATransportMessageIdFieldId()
public final void setTriggeringMessageSMATransportMessageId(String val)
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
setTriggeringMessageSMATransportMessageId
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final String getTriggeringMessageSMATransportMessageId()
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
getTriggeringMessageSMATransportMessageId
in interface ISrvMonUnhandledMessageMessage
public final void lendTriggeringMessageSMATransportMessageId(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageSMATransportMessageId except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageSMATransportMessageId
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final void setTriggeringMessageSMATransportMessageIdFrom(long val)
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageSMATransportMessageId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageSMATransportMessageIdFrom
in interface ISrvMonUnhandledMessageMessage
public final <T extends XString> T getTriggeringMessageSMATransportMessageIdTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageSMATransportMessageIdTo
in interface ISrvMonUnhandledMessageMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageSMATransportMessageIdFrom(XString val)
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageSMATransportMessageId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageSMATransportMessageIdFrom
in interface ISrvMonUnhandledMessageMessage
public final void getTriggeringMessageSMATransportMessageIdTo(XString val)
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageSMATransportMessageId()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageSMATransportMessageIdTo
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageSMATransportMessageId()
public final XString getTriggeringMessageSMATransportMessageIdUnsafe()
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageSMATransportMessageIdUnsafe
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageSMATransportMessageId()
public final void setTriggeringMessageSMATransportMessageIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageSMATransportMessageIdField()
public final boolean hasTriggeringMessageSMATransportMessageId()
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
hasTriggeringMessageSMATransportMessageId
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageSMATransportMessageId()
public final void clearTriggeringMessageSMATransportMessageId()
ISrvMonUnhandledMessageMessage
This id represents a transport specific message id. Depending on the messaging provider, its messaging fabric may expose an id. For example in the JMS Binding, this field would be used to represent the JMSMessageID of the transport level message that encapsulated the message.
public static final int getTriggeringMessageSMAMessageMetadataBlobFieldId()
public static final com.neeve.xbuf.XbufRepeatedByteFieldBuffer createTriggeringMessageSMAMessageMetadataBlobFieldBuffer(int initialBufferLength, boolean isNative)
For example the following would result in a bulk transfer from this message
XbufRepeatedByteFieldBuffer preallocated = SrvMonUnhandledMessageMessage.createTriggeringMessageSMAMessageMetadataBlobFieldBuffer(1024, true); // The following would then result in a buffer copy without any iteration: preallocated.setValue(inboundMessage.getTriggeringMessageSMAMessageMetadataBlobIterator()); // The preallocated bulk copied values can then be transfered to an outbound message: outboundMessage.setTriggeringMessageSMAMessageMetadataBlob.setValueFrom(preallocated);
Bulk transfer from the backing buffer may only possible between two fields with the same id (protobuf tag) because the bulk transfered bytes are in protobuf wire format which for most repeated fields encode the field's tag for each element.
initialBufferLength
- the initial size of the underlying backing buffer.isNative
- Whether the backing buffer should be a native or heap buffer.public final void setTriggeringMessageSMAMessageMetadataBlob(byte[] val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageSMAMessageMetadataBlob
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final void setTriggeringMessageSMAMessageMetadataBlobFrom(XByteIterator val)
ISrvMonUnhandledMessageMessage
This method will call XByteIterator.toFirst()
before and after setting the values, meaning
that all values from the iterator will be set and the iterator will be reset on return.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'triggeringMessageSMAMessageMetadataBlob' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty iterator has the same affect as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageSMAMessageMetadataBlob(byte[])
with
a value of null
.
setTriggeringMessageSMAMessageMetadataBlobFrom
in interface ISrvMonUnhandledMessageMessage
val
- the values to set.public final void addTriggeringMessageSMAMessageMetadataBlob(byte val)
ISrvMonUnhandledMessageMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'triggeringMessageSMAMessageMetadataBlob' accessor can copy the values without iteration.
For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.
addTriggeringMessageSMAMessageMetadataBlob
in interface ISrvMonUnhandledMessageMessage
val
- the value to add.public final byte[] getTriggeringMessageSMAMessageMetadataBlob()
ISrvMonUnhandledMessageMessage
If the field is not set this method will return null
.
getTriggeringMessageSMAMessageMetadataBlob
in interface ISrvMonUnhandledMessageMessage
null
.public final byte[] getTriggeringMessageSMAMessageMetadataBlobEmptyIfNull()
ISrvMonUnhandledMessageMessage
null
or not set.
getTriggeringMessageSMAMessageMetadataBlobEmptyIfNull
in interface ISrvMonUnhandledMessageMessage
null
if not set.ISrvMonUnhandledMessageMessage.getTriggeringMessageSMAMessageMetadataBlob()
public final XByteIterator getTriggeringMessageSMAMessageMetadataBlobIterator()
ISrvMonUnhandledMessageMessage
This method will always return a non null iterator value. The returned iterator is not threadsafe, and the caller may not hold on to it beyond the pooling lifespan of this object. Depending on the implementation, the same iterator instance may be returned by this object on each call to avoid garbage. Each time this method is called the iterator is reset by calling its toFirst() method. Callers should therefore be especially careful about calling this method while iterating on the iterator returned by this method.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that
passing the returned iterator to another object's setXXX(com.neeve.lang.XByteIterator)
method
can perform a direct copy of the underlying values without iteration.
getTriggeringMessageSMAMessageMetadataBlobIterator
in interface ISrvMonUnhandledMessageMessage
public final void clearTriggeringMessageSMAMessageMetadataBlob()
ISrvMonUnhandledMessageMessage
public static final int getTriggeringMessageSMAMessagePayloadBlobFieldId()
public static final com.neeve.xbuf.XbufRepeatedByteFieldBuffer createTriggeringMessageSMAMessagePayloadBlobFieldBuffer(int initialBufferLength, boolean isNative)
For example the following would result in a bulk transfer from this message
XbufRepeatedByteFieldBuffer preallocated = SrvMonUnhandledMessageMessage.createTriggeringMessageSMAMessagePayloadBlobFieldBuffer(1024, true); // The following would then result in a buffer copy without any iteration: preallocated.setValue(inboundMessage.getTriggeringMessageSMAMessagePayloadBlobIterator()); // The preallocated bulk copied values can then be transfered to an outbound message: outboundMessage.setTriggeringMessageSMAMessagePayloadBlob.setValueFrom(preallocated);
Bulk transfer from the backing buffer may only possible between two fields with the same id (protobuf tag) because the bulk transfered bytes are in protobuf wire format which for most repeated fields encode the field's tag for each element.
initialBufferLength
- the initial size of the underlying backing buffer.isNative
- Whether the backing buffer should be a native or heap buffer.public final void setTriggeringMessageSMAMessagePayloadBlob(byte[] val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageSMAMessagePayloadBlob
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final void setTriggeringMessageSMAMessagePayloadBlobFrom(XByteIterator val)
ISrvMonUnhandledMessageMessage
This method will call XByteIterator.toFirst()
before and after setting the values, meaning
that all values from the iterator will be set and the iterator will be reset on return.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'triggeringMessageSMAMessagePayloadBlob' accessor can copy the values without iteration.
NOTE:
Passing a null
or empty iterator has the same affect as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageSMAMessagePayloadBlob(byte[])
with
a value of null
.
setTriggeringMessageSMAMessagePayloadBlobFrom
in interface ISrvMonUnhandledMessageMessage
val
- the values to set.public final void addTriggeringMessageSMAMessagePayloadBlob(byte val)
ISrvMonUnhandledMessageMessage
This method is zero garbage for Xbuf generated classes, and this method is optimized such that calling this with an iterator from another 'triggeringMessageSMAMessagePayloadBlob' accessor can copy the values without iteration.
For objects generated with json encoding, or transactional state entities, using this method is currently efficient than doing a bulk set. For xbuf generated messages however, this method is optimized to directly serialize to an encoded backing buffer.
addTriggeringMessageSMAMessagePayloadBlob
in interface ISrvMonUnhandledMessageMessage
val
- the value to add.public final byte[] getTriggeringMessageSMAMessagePayloadBlob()
ISrvMonUnhandledMessageMessage
If the field is not set this method will return null
.
getTriggeringMessageSMAMessagePayloadBlob
in interface ISrvMonUnhandledMessageMessage
null
.public final byte[] getTriggeringMessageSMAMessagePayloadBlobEmptyIfNull()
ISrvMonUnhandledMessageMessage
null
or not set.
getTriggeringMessageSMAMessagePayloadBlobEmptyIfNull
in interface ISrvMonUnhandledMessageMessage
null
if not set.ISrvMonUnhandledMessageMessage.getTriggeringMessageSMAMessagePayloadBlob()
public final XByteIterator getTriggeringMessageSMAMessagePayloadBlobIterator()
ISrvMonUnhandledMessageMessage
This method will always return a non null iterator value. The returned iterator is not threadsafe, and the caller may not hold on to it beyond the pooling lifespan of this object. Depending on the implementation, the same iterator instance may be returned by this object on each call to avoid garbage. Each time this method is called the iterator is reset by calling its toFirst() method. Callers should therefore be especially careful about calling this method while iterating on the iterator returned by this method.
This method is zero garbage for Xbuf generated classes, and this method is optimized such that
passing the returned iterator to another object's setXXX(com.neeve.lang.XByteIterator)
method
can perform a direct copy of the underlying values without iteration.
getTriggeringMessageSMAMessagePayloadBlobIterator
in interface ISrvMonUnhandledMessageMessage
public final void clearTriggeringMessageSMAMessagePayloadBlob()
ISrvMonUnhandledMessageMessage
public static final int getTriggeringMessageMessageBusTypeFieldId()
public final void setTriggeringMessageMessageBusType(String val)
ISrvMonUnhandledMessageMessage
setTriggeringMessageMessageBusType
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final String getTriggeringMessageMessageBusType()
ISrvMonUnhandledMessageMessage
getTriggeringMessageMessageBusType
in interface ISrvMonUnhandledMessageMessage
public final void lendTriggeringMessageMessageBusType(XString val)
ISrvMonUnhandledMessageMessage
This method is equivalent to setTriggeringMessageMessageBusType except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
lendTriggeringMessageMessageBusType
in interface ISrvMonUnhandledMessageMessage
val
- The value to set.public final void setTriggeringMessageMessageBusTypeFrom(long val)
ISrvMonUnhandledMessageMessage
NOTE:
This is the same as calling ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusType(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setTriggeringMessageMessageBusTypeFrom
in interface ISrvMonUnhandledMessageMessage
public final <T extends XString> T getTriggeringMessageMessageBusTypeTo(XString.Factory<T> factory)
ISrvMonUnhandledMessageMessage
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
getTriggeringMessageMessageBusTypeTo
in interface ISrvMonUnhandledMessageMessage
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setTriggeringMessageMessageBusTypeFrom(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusType(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setTriggeringMessageMessageBusTypeFrom
in interface ISrvMonUnhandledMessageMessage
public final void getTriggeringMessageMessageBusTypeTo(XString val)
ISrvMonUnhandledMessageMessage
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusType()
bec
because it can avoid decoding the value into an String
.
getTriggeringMessageMessageBusTypeTo
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusType()
public final XString getTriggeringMessageMessageBusTypeUnsafe()
ISrvMonUnhandledMessageMessage
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getTriggeringMessageMessageBusTypeUnsafe
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusType()
public final void setTriggeringMessageMessageBusTypeFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getTriggeringMessageMessageBusTypeField()
public final boolean hasTriggeringMessageMessageBusType()
ISrvMonUnhandledMessageMessage
hasTriggeringMessageMessageBusType
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.getTriggeringMessageMessageBusType()
public final void clearTriggeringMessageMessageBusType()
ISrvMonUnhandledMessageMessage
clearTriggeringMessageMessageBusType
in interface ISrvMonUnhandledMessageMessage
ISrvMonUnhandledMessageMessage.setTriggeringMessageMessageBusType(String)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
MessageView
serializeToByteArray
in interface MessageView
public final ByteBuffer serializeToByteBuffer()
MessageView
serializeToByteBuffer
in interface MessageView
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageView
MessageView
to an IOBuffer.
Ownership of the returned IOBuffer is given to the caller which should dispose of it when done.
The buffer backing the IOBuffer should be flipped (ready for read) upon return.
serializeToIOBuffer
in interface MessageView
serializeToIOBuffer
in class MessageViewImpl
useNative
- Whether the returned buffer should be native.MessageView
serialized to an IOBuffer.public final PktPacket serializeToPacket()
MessageView
serializeToPacket
in interface MessageView
public final SrvMonUnhandledMessageMessage deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray
in interface MessageView
array
- The view's backing message serialized as a byte array.public final SrvMonUnhandledMessageMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer
in interface MessageView
buffer
- The view's backing message serialized as a byte buffer.public final SrvMonUnhandledMessageMessage deserializeFromPacket(PktPacket packet)
MessageView
deserializeFromPacket
in interface MessageView
packet
- The view's backing message serialized as a packet.public final void sync()
MessageView
sync
in interface MessageView
public final SrvMonUnhandledMessageMessage copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonUnhandledMessageMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonUnhandledMessageMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copy
in interface IRogCopyableNode<ISrvMonUnhandledMessageMessage>
copy
in interface ISrvMonUnhandledMessageMessage
copy
in interface CopyableMessageView<ISrvMonUnhandledMessageMessage>
IRogCopyableNode
,
CopyableMessageView
public final void copyInto(SrvMonUnhandledMessageMessage copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonUnhandledMessageMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonUnhandledMessageMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
copyInto
in interface ISrvMonUnhandledMessageMessage
copy
- The target to copy into which must not be null or read only.public final int desync(PktBuffer buffer, int pos, boolean frameOnly)
com.neeve.xbuf.IXbufDesyncer
desync
in interface com.neeve.xbuf.IXbufDesyncer
buffer
- The buffer to desync frompos
- The position in the container's backing buffer to desync
fromframeOnly
- Whether to frame the field on the underlying buffer.
See XbufField.desync(PktBuffer, int, boolean)
for more
informationpublic boolean needsSync()
MessageReflector
needsSync
in interface MessageReflector
public final boolean fieldExists(Object message, String name)
MessageReflector
fieldExists
in interface MessageReflector
message
- The message to check in.name
- The field to check for.public final boolean isFieldReflectable(Object message, String name)
MessageReflector
isFieldReflectable
in interface MessageReflector
message
- The message to check in.name
- The field to check for.public final String getFieldValueAsString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final String getFieldValueAsString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[])
since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.name
- The field whose value is to be retrieved specified as a bean pathMessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final XString getFieldValueAsRawString(Object message, String[] pathComponents)
MessageReflector
getFieldValueAsRawString
in interface MessageReflector
message
- The message to introspect.pathComponents
- The path components to use to access the field.MessageReflector.fieldExists(java.lang.Object, java.lang.String)
and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String)
methodspublic final boolean appendFieldValueTo(Object message, String name, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector()
,
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
message
- the node on which to reflect (which need not be this object).name
- the bean path to the field on the provided object.target
- The target XString into which to append the result.public final boolean appendFieldValueTo(Object node, String[] pathComponents, XString target)
com.neeve.rog.impl.RogNode
If this node has a non-null messageReflector as returned by RogNode.getMessageReflector()
,
then this method will use that reflector to append the value of the field provided by
it if the field is reflectable and not null.
appendFieldValueTo
in interface MessageReflector
appendFieldValueTo
in class com.neeve.rog.impl.RogNode
node
- the node on which to reflect (which need not be this object).pathComponents
- the bean path to the field on the provided object split by its '.' separated components. .target
- The target XString into which to append the result.public final IStoreObject.EncodingType getContentEncodingType()
IStoreObject
getContentEncodingType
in interface IStoreObject
public final PktPacket serialize()
IStoreObject
serialize
in interface IStoreObject
public final SrvMonUnhandledMessageMessage deserialize(PktPacket packet)
IStoreObject
deserialize
in interface IStoreObject
packet
- The object in serialized form.public final IStoreObject setFieldValue(int id, Object val)
public final String toJsonString(boolean includeMetadata, String metadataObjectName, String payloadObjectName)
IRogJsonizable
toJsonString
in interface IRogJsonizable
includeMetadata
- Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName
- The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.payloadObjectName
- The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.public final String toJsonString()
IRogJsonizable
toJsonString
in interface IRogJsonizable
public final String toString()
com.neeve.rog.impl.RogNode
toString
in class com.neeve.rog.impl.RogNode
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.