@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=1001) public final class SrvMonMessageMetadata extends Object implements com.neeve.xbuf.IXbufDesyncer, UtlPool.Item<SrvMonMessageMetadata>, ISrvMonMessageMetadata
ADM Type | Embedded Entity |
Factory | SrvMonAlertFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
messageMessageBusName | String | 47 | The bus name. |
messageMessageChannelId | String | 49 | The id of the message channel. |
messageMessageChannelName | String | 48 | The name of the message channel. |
messageMessageEncodingType | Byte | 56 | A message's encoding type. |
messageMessageFactoryId | Short | 54 | A message's sender id. |
messageMessageFlowId | Integer | 52 | A message's flow id. |
messageMessageKey | String | 50 | A message's key. |
messageMessageSenderId | Integer | 53 | A message's sender id. |
messageMessageSno | Long | 51 | A message's sequence number. |
messageMessageViewId | Short | 55 | A message's sender id. |
Modifier and Type | Class and Description |
---|---|
static class |
SrvMonMessageMetadata.Field
The SrvMonMessageMetadata xbuf field (used internally when this entity is used as a field of another entity).
|
static class |
SrvMonMessageMetadata.ListField
The SrvMonMessageMetadata list field (used internally when this entity is used as an array field of another entity).
|
Modifier and Type | Field and Description |
---|---|
static SrvMonMessageMetadata[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type.
|
Constructor and Description |
---|
SrvMonMessageMetadata() |
SrvMonMessageMetadata(int initialBackingBufferSize) |
Modifier and Type | Method and Description |
---|---|
SrvMonMessageMetadata |
acquire() |
void |
clearContent() |
void |
clearMessageMessageBusName()
Clears the value of 'messageMessageBusName'.
|
void |
clearMessageMessageChannelId()
Clears the value of 'messageMessageChannelId'.
|
void |
clearMessageMessageChannelName()
Clears the value of 'messageMessageChannelName'.
|
void |
clearMessageMessageEncodingType()
Clears the value of 'messageMessageEncodingType'.
|
void |
clearMessageMessageFactoryId()
Clears the value of 'messageMessageFactoryId'.
|
void |
clearMessageMessageFlowId()
Clears the value of 'messageMessageFlowId'.
|
void |
clearMessageMessageKey()
Clears the value of 'messageMessageKey'.
|
void |
clearMessageMessageSenderId()
Clears the value of 'messageMessageSenderId'.
|
void |
clearMessageMessageSno()
Clears the value of 'messageMessageSno'.
|
void |
clearMessageMessageViewId()
Clears the value of 'messageMessageViewId'.
|
void |
clearXRogType() |
Object |
clone()
Creates a clone of this object.
|
SrvMonMessageMetadata |
copy()
Creates a copy of this SrvMonMessageMetadata.
|
void |
copyInto(SrvMonMessageMetadata copy)
Copies the contents of this SrvMonMessageMetadata into the target.
|
static SrvMonMessageMetadata |
create() |
static SrvMonMessageMetadata |
createFrom(byte[] serializedContainer) |
static SrvMonMessageMetadata |
createFrom(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static SrvMonMessageMetadata |
createFromSerializedXbufContainer(byte[] serializedContainer) |
static SrvMonMessageMetadata |
createFromSerializedXbufContainer(byte[] serializedContainer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
static com.neeve.xbuf.XbufSchema |
createSchema() |
SrvMonMessageMetadata |
deserializeFromByteArray(byte[] array) |
SrvMonMessageMetadata |
deserializeFromByteArray(byte[] array,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonMessageMetadata |
deserializeFromByteBuffer(ByteBuffer buffer) |
SrvMonMessageMetadata |
deserializeFromByteBuffer(ByteBuffer buffer,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonMessageMetadata |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length) |
SrvMonMessageMetadata |
deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
SrvMonMessageMetadata |
deserializeFromNative(long address,
int offset,
int length) |
SrvMonMessageMetadata |
deserializeFromNative(long address,
int offset,
int length,
com.neeve.xbuf.XbufDesyncPolicy desyncPolicy) |
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
Desync fields from a buffer
|
void |
desyncFieldBitmask() |
void |
dispose() |
PktBuffer |
getBackingBuffer() |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy() |
boolean |
getIsReadOnly() |
String |
getMessageMessageBusName()
Gets the value of 'messageMessageBusName'.
|
com.neeve.xbuf.XbufStringField |
getMessageMessageBusNameField() |
static int |
getMessageMessageBusNameFieldId() |
<T extends XString> |
getMessageMessageBusNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMessageMessageBusNameTo(XString val)
Copies the value of 'messageMessageBusName' into the provided XString.
|
XString |
getMessageMessageBusNameUnsafe()
Gets the raw value of 'messageMessageBusName'.
|
String |
getMessageMessageChannelId()
Gets the value of 'messageMessageChannelId'.
|
com.neeve.xbuf.XbufStringField |
getMessageMessageChannelIdField() |
static int |
getMessageMessageChannelIdFieldId() |
<T extends XString> |
getMessageMessageChannelIdTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMessageMessageChannelIdTo(XString val)
Copies the value of 'messageMessageChannelId' into the provided XString.
|
XString |
getMessageMessageChannelIdUnsafe()
Gets the raw value of 'messageMessageChannelId'.
|
String |
getMessageMessageChannelName()
Gets the value of 'messageMessageChannelName'.
|
com.neeve.xbuf.XbufStringField |
getMessageMessageChannelNameField() |
static int |
getMessageMessageChannelNameFieldId() |
<T extends XString> |
getMessageMessageChannelNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMessageMessageChannelNameTo(XString val)
Copies the value of 'messageMessageChannelName' into the provided XString.
|
XString |
getMessageMessageChannelNameUnsafe()
Gets the raw value of 'messageMessageChannelName'.
|
byte |
getMessageMessageEncodingType()
Gets the value of 'messageMessageEncodingType'.
|
com.neeve.xbuf.XbufVariableByteField |
getMessageMessageEncodingTypeField() |
static int |
getMessageMessageEncodingTypeFieldId() |
short |
getMessageMessageFactoryId()
Gets the value of 'messageMessageFactoryId'.
|
com.neeve.xbuf.XbufVariableShortField |
getMessageMessageFactoryIdField() |
static int |
getMessageMessageFactoryIdFieldId() |
int |
getMessageMessageFlowId()
Gets the value of 'messageMessageFlowId'.
|
com.neeve.xbuf.XbufVariableIntField |
getMessageMessageFlowIdField() |
static int |
getMessageMessageFlowIdFieldId() |
String |
getMessageMessageKey()
Gets the value of 'messageMessageKey'.
|
com.neeve.xbuf.XbufStringField |
getMessageMessageKeyField() |
static int |
getMessageMessageKeyFieldId() |
<T extends XString> |
getMessageMessageKeyTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getMessageMessageKeyTo(XString val)
Copies the value of 'messageMessageKey' into the provided XString.
|
XString |
getMessageMessageKeyUnsafe()
Gets the raw value of 'messageMessageKey'.
|
int |
getMessageMessageSenderId()
Gets the value of 'messageMessageSenderId'.
|
com.neeve.xbuf.XbufVariableIntField |
getMessageMessageSenderIdField() |
static int |
getMessageMessageSenderIdFieldId() |
long |
getMessageMessageSno()
Gets the value of 'messageMessageSno'.
|
com.neeve.xbuf.XbufVariableLongField |
getMessageMessageSnoField() |
static int |
getMessageMessageSnoFieldId() |
short |
getMessageMessageViewId()
Gets the value of 'messageMessageViewId'.
|
com.neeve.xbuf.XbufVariableShortField |
getMessageMessageViewIdField() |
static int |
getMessageMessageViewIdFieldId() |
int |
getOwnerCount() |
UtlPool<SrvMonMessageMetadata> |
getPool()
Get a pool item's pool.
|
int |
getSerializeToNativeLength() |
void |
getValidationErrors(List<XString> results,
String errorPrefix)
Collects validation errors into the provided list.
|
short |
getXRogType() |
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField() |
static int |
getXRogTypeFieldId() |
boolean |
hasMessageMessageBusName()
Checks for the presence of 'messageMessageBusName'.
|
boolean |
hasMessageMessageChannelId()
Checks for the presence of 'messageMessageChannelId'.
|
boolean |
hasMessageMessageChannelName()
Checks for the presence of 'messageMessageChannelName'.
|
boolean |
hasMessageMessageEncodingType()
Checks for the presence of 'messageMessageEncodingType'.
|
boolean |
hasMessageMessageFactoryId()
Checks for the presence of 'messageMessageFactoryId'.
|
boolean |
hasMessageMessageFlowId()
Checks for the presence of 'messageMessageFlowId'.
|
boolean |
hasMessageMessageKey()
Checks for the presence of 'messageMessageKey'.
|
boolean |
hasMessageMessageSenderId()
Checks for the presence of 'messageMessageSenderId'.
|
boolean |
hasMessageMessageSno()
Checks for the presence of 'messageMessageSno'.
|
boolean |
hasMessageMessageViewId()
Checks for the presence of 'messageMessageViewId'.
|
boolean |
hasXRogType() |
SrvMonMessageMetadata |
init()
Initialize an item.
|
boolean |
isBufferBacked() |
boolean |
isDirty() |
boolean |
isReferenceCounted() |
boolean |
isValid()
Tests if this object has any validation errors.
|
void |
lendMessageMessageBusName(XString val)
Lends the value of 'messageMessageBusName' to this object.
|
void |
lendMessageMessageChannelId(XString val)
Lends the value of 'messageMessageChannelId' to this object.
|
void |
lendMessageMessageChannelName(XString val)
Lends the value of 'messageMessageChannelName' to this object.
|
void |
lendMessageMessageKey(XString val)
Lends the value of 'messageMessageKey' to this object.
|
static void |
optimizeFor(int val) |
byte[] |
serializeToByteArray() |
ByteBuffer |
serializeToByteBuffer() |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative) |
int |
serializeToNative(long address,
int addressOffset) |
void |
setAsReadOnly() |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val) |
static void |
setFieldInterest(List<Integer> fieldIds) |
void |
setMessageMessageBusName(String val)
Sets the value of 'messageMessageBusName'.
|
void |
setMessageMessageBusNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMessageMessageBusNameFrom(XString val)
Copies the provided XString value into this object's 'messageMessageBusName'.
|
void |
setMessageMessageChannelId(String val)
Sets the value of 'messageMessageChannelId'.
|
void |
setMessageMessageChannelIdFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMessageMessageChannelIdFrom(XString val)
Copies the provided XString value into this object's 'messageMessageChannelId'.
|
void |
setMessageMessageChannelName(String val)
Sets the value of 'messageMessageChannelName'.
|
void |
setMessageMessageChannelNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMessageMessageChannelNameFrom(XString val)
Copies the provided XString value into this object's 'messageMessageChannelName'.
|
void |
setMessageMessageEncodingType(byte val)
Sets the value of 'messageMessageEncodingType'.
|
void |
setMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val) |
void |
setMessageMessageFactoryId(short val)
Sets the value of 'messageMessageFactoryId'.
|
void |
setMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
setMessageMessageFlowId(int val)
Sets the value of 'messageMessageFlowId'.
|
void |
setMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setMessageMessageKey(String val)
Sets the value of 'messageMessageKey'.
|
void |
setMessageMessageKeyFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val) |
void |
setMessageMessageKeyFrom(XString val)
Copies the provided XString value into this object's 'messageMessageKey'.
|
void |
setMessageMessageSenderId(int val)
Sets the value of 'messageMessageSenderId'.
|
void |
setMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val) |
void |
setMessageMessageSno(long val)
Sets the value of 'messageMessageSno'.
|
void |
setMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val) |
void |
setMessageMessageViewId(short val)
Sets the value of 'messageMessageViewId'.
|
void |
setMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val) |
SrvMonMessageMetadata |
setPool(UtlPool<SrvMonMessageMetadata> pool)
Set a pool item's pool.
|
void |
setPreserializedFields(PktBuffer buffer) |
void |
setXRogType(short val) |
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val) |
void |
sync() |
void |
syncFieldBitmask() |
String |
toString() |
public static final SrvMonMessageMetadata[] EMPTY_ARRAY
public SrvMonMessageMetadata()
public SrvMonMessageMetadata(int initialBackingBufferSize)
public static SrvMonMessageMetadata create()
public static SrvMonMessageMetadata createFromSerializedXbufContainer(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonMessageMetadata createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonMessageMetadata createFrom(byte[] serializedContainer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public static SrvMonMessageMetadata 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 void setAsReadOnly()
public final boolean getIsReadOnly()
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 getMessageMessageSnoFieldId()
public final void setMessageMessageSno(long val)
ISrvMonMessageMetadata
setMessageMessageSno
in interface ISrvMonMessageMetadata
val
- The value to set.public final long getMessageMessageSno()
ISrvMonMessageMetadata
getMessageMessageSno
in interface ISrvMonMessageMetadata
public final void setMessageMessageSnoFrom(com.neeve.xbuf.XbufVariableLongField val)
public final com.neeve.xbuf.XbufVariableLongField getMessageMessageSnoField()
public final boolean hasMessageMessageSno()
ISrvMonMessageMetadata
hasMessageMessageSno
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageSno()
public final void clearMessageMessageSno()
ISrvMonMessageMetadata
clearMessageMessageSno
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageSno(long)
public static final int getMessageMessageFlowIdFieldId()
public final void setMessageMessageFlowId(int val)
ISrvMonMessageMetadata
setMessageMessageFlowId
in interface ISrvMonMessageMetadata
val
- The value to set.public final int getMessageMessageFlowId()
ISrvMonMessageMetadata
getMessageMessageFlowId
in interface ISrvMonMessageMetadata
public final void setMessageMessageFlowIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMessageMessageFlowIdField()
public final boolean hasMessageMessageFlowId()
ISrvMonMessageMetadata
hasMessageMessageFlowId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageFlowId()
public final void clearMessageMessageFlowId()
ISrvMonMessageMetadata
clearMessageMessageFlowId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageFlowId(int)
public static final int getMessageMessageSenderIdFieldId()
public final void setMessageMessageSenderId(int val)
ISrvMonMessageMetadata
setMessageMessageSenderId
in interface ISrvMonMessageMetadata
val
- The value to set.public final int getMessageMessageSenderId()
ISrvMonMessageMetadata
getMessageMessageSenderId
in interface ISrvMonMessageMetadata
public final void setMessageMessageSenderIdFrom(com.neeve.xbuf.XbufVariableIntField val)
public final com.neeve.xbuf.XbufVariableIntField getMessageMessageSenderIdField()
public final boolean hasMessageMessageSenderId()
ISrvMonMessageMetadata
hasMessageMessageSenderId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageSenderId()
public final void clearMessageMessageSenderId()
ISrvMonMessageMetadata
clearMessageMessageSenderId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageSenderId(int)
public static final int getMessageMessageFactoryIdFieldId()
public final void setMessageMessageFactoryId(short val)
ISrvMonMessageMetadata
setMessageMessageFactoryId
in interface ISrvMonMessageMetadata
val
- The value to set.public final short getMessageMessageFactoryId()
ISrvMonMessageMetadata
getMessageMessageFactoryId
in interface ISrvMonMessageMetadata
public final void setMessageMessageFactoryIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getMessageMessageFactoryIdField()
public final boolean hasMessageMessageFactoryId()
ISrvMonMessageMetadata
hasMessageMessageFactoryId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageFactoryId()
public final void clearMessageMessageFactoryId()
ISrvMonMessageMetadata
clearMessageMessageFactoryId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageFactoryId(short)
public static final int getMessageMessageViewIdFieldId()
public final void setMessageMessageViewId(short val)
ISrvMonMessageMetadata
setMessageMessageViewId
in interface ISrvMonMessageMetadata
val
- The value to set.public final short getMessageMessageViewId()
ISrvMonMessageMetadata
getMessageMessageViewId
in interface ISrvMonMessageMetadata
public final void setMessageMessageViewIdFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getMessageMessageViewIdField()
public final boolean hasMessageMessageViewId()
ISrvMonMessageMetadata
hasMessageMessageViewId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageViewId()
public final void clearMessageMessageViewId()
ISrvMonMessageMetadata
clearMessageMessageViewId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageViewId(short)
public static final int getMessageMessageEncodingTypeFieldId()
public final void setMessageMessageEncodingType(byte val)
ISrvMonMessageMetadata
setMessageMessageEncodingType
in interface ISrvMonMessageMetadata
val
- The value to set.public final byte getMessageMessageEncodingType()
ISrvMonMessageMetadata
getMessageMessageEncodingType
in interface ISrvMonMessageMetadata
public final void setMessageMessageEncodingTypeFrom(com.neeve.xbuf.XbufVariableByteField val)
public final com.neeve.xbuf.XbufVariableByteField getMessageMessageEncodingTypeField()
public final boolean hasMessageMessageEncodingType()
ISrvMonMessageMetadata
hasMessageMessageEncodingType
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageEncodingType()
public final void clearMessageMessageEncodingType()
ISrvMonMessageMetadata
clearMessageMessageEncodingType
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageEncodingType(byte)
public static final int getMessageMessageBusNameFieldId()
public final void setMessageMessageBusName(String val)
ISrvMonMessageMetadata
setMessageMessageBusName
in interface ISrvMonMessageMetadata
val
- The value to set.public final String getMessageMessageBusName()
ISrvMonMessageMetadata
getMessageMessageBusName
in interface ISrvMonMessageMetadata
public final void lendMessageMessageBusName(XString val)
ISrvMonMessageMetadata
This method is equivalent to setMessageMessageBusName 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.
lendMessageMessageBusName
in interface ISrvMonMessageMetadata
val
- The value to set.public final void setMessageMessageBusNameFrom(long val)
ISrvMonMessageMetadata
NOTE:
This is the same as calling ISrvMonMessageMetadata.setMessageMessageBusName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMessageMessageBusNameFrom
in interface ISrvMonMessageMetadata
public final <T extends XString> T getMessageMessageBusNameTo(XString.Factory<T> factory)
ISrvMonMessageMetadata
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;
getMessageMessageBusNameTo
in interface ISrvMonMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setMessageMessageBusNameFrom(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonMessageMetadata.setMessageMessageBusName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setMessageMessageBusNameFrom
in interface ISrvMonMessageMetadata
public final void getMessageMessageBusNameTo(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonMessageMetadata.getMessageMessageBusName()
bec
because it can avoid decoding the value into an String
.
getMessageMessageBusNameTo
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageBusName()
public final XString getMessageMessageBusNameUnsafe()
ISrvMonMessageMetadata
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.
getMessageMessageBusNameUnsafe
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageBusName()
public final void setMessageMessageBusNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMessageMessageBusNameField()
public final boolean hasMessageMessageBusName()
ISrvMonMessageMetadata
hasMessageMessageBusName
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageBusName()
public final void clearMessageMessageBusName()
ISrvMonMessageMetadata
clearMessageMessageBusName
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageBusName(String)
public static final int getMessageMessageChannelNameFieldId()
public final void setMessageMessageChannelName(String val)
ISrvMonMessageMetadata
setMessageMessageChannelName
in interface ISrvMonMessageMetadata
val
- The value to set.public final String getMessageMessageChannelName()
ISrvMonMessageMetadata
getMessageMessageChannelName
in interface ISrvMonMessageMetadata
public final void lendMessageMessageChannelName(XString val)
ISrvMonMessageMetadata
This method is equivalent to setMessageMessageChannelName 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.
lendMessageMessageChannelName
in interface ISrvMonMessageMetadata
val
- The value to set.public final void setMessageMessageChannelNameFrom(long val)
ISrvMonMessageMetadata
NOTE:
This is the same as calling ISrvMonMessageMetadata.setMessageMessageChannelName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMessageMessageChannelNameFrom
in interface ISrvMonMessageMetadata
public final <T extends XString> T getMessageMessageChannelNameTo(XString.Factory<T> factory)
ISrvMonMessageMetadata
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;
getMessageMessageChannelNameTo
in interface ISrvMonMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setMessageMessageChannelNameFrom(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonMessageMetadata.setMessageMessageChannelName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setMessageMessageChannelNameFrom
in interface ISrvMonMessageMetadata
public final void getMessageMessageChannelNameTo(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonMessageMetadata.getMessageMessageChannelName()
bec
because it can avoid decoding the value into an String
.
getMessageMessageChannelNameTo
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelName()
public final XString getMessageMessageChannelNameUnsafe()
ISrvMonMessageMetadata
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.
getMessageMessageChannelNameUnsafe
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelName()
public final void setMessageMessageChannelNameFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMessageMessageChannelNameField()
public final boolean hasMessageMessageChannelName()
ISrvMonMessageMetadata
hasMessageMessageChannelName
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelName()
public final void clearMessageMessageChannelName()
ISrvMonMessageMetadata
clearMessageMessageChannelName
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageChannelName(String)
public static final int getMessageMessageChannelIdFieldId()
public final void setMessageMessageChannelId(String val)
ISrvMonMessageMetadata
setMessageMessageChannelId
in interface ISrvMonMessageMetadata
val
- The value to set.public final String getMessageMessageChannelId()
ISrvMonMessageMetadata
getMessageMessageChannelId
in interface ISrvMonMessageMetadata
public final void lendMessageMessageChannelId(XString val)
ISrvMonMessageMetadata
This method is equivalent to setMessageMessageChannelId 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.
lendMessageMessageChannelId
in interface ISrvMonMessageMetadata
val
- The value to set.public final void setMessageMessageChannelIdFrom(long val)
ISrvMonMessageMetadata
NOTE:
This is the same as calling ISrvMonMessageMetadata.setMessageMessageChannelId(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMessageMessageChannelIdFrom
in interface ISrvMonMessageMetadata
public final <T extends XString> T getMessageMessageChannelIdTo(XString.Factory<T> factory)
ISrvMonMessageMetadata
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;
getMessageMessageChannelIdTo
in interface ISrvMonMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setMessageMessageChannelIdFrom(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonMessageMetadata.setMessageMessageChannelId(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setMessageMessageChannelIdFrom
in interface ISrvMonMessageMetadata
public final void getMessageMessageChannelIdTo(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonMessageMetadata.getMessageMessageChannelId()
bec
because it can avoid decoding the value into an String
.
getMessageMessageChannelIdTo
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelId()
public final XString getMessageMessageChannelIdUnsafe()
ISrvMonMessageMetadata
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.
getMessageMessageChannelIdUnsafe
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelId()
public final void setMessageMessageChannelIdFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMessageMessageChannelIdField()
public final boolean hasMessageMessageChannelId()
ISrvMonMessageMetadata
hasMessageMessageChannelId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageChannelId()
public final void clearMessageMessageChannelId()
ISrvMonMessageMetadata
clearMessageMessageChannelId
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageChannelId(String)
public static final int getMessageMessageKeyFieldId()
public final void setMessageMessageKey(String val)
ISrvMonMessageMetadata
setMessageMessageKey
in interface ISrvMonMessageMetadata
val
- The value to set.public final String getMessageMessageKey()
ISrvMonMessageMetadata
getMessageMessageKey
in interface ISrvMonMessageMetadata
public final void lendMessageMessageKey(XString val)
ISrvMonMessageMetadata
This method is equivalent to setMessageMessageKey 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.
lendMessageMessageKey
in interface ISrvMonMessageMetadata
val
- The value to set.public final void setMessageMessageKeyFrom(long val)
ISrvMonMessageMetadata
NOTE:
This is the same as calling ISrvMonMessageMetadata.setMessageMessageKey(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
setMessageMessageKeyFrom
in interface ISrvMonMessageMetadata
public final <T extends XString> T getMessageMessageKeyTo(XString.Factory<T> factory)
ISrvMonMessageMetadata
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;
getMessageMessageKeyTo
in interface ISrvMonMessageMetadata
factory
- The factory from which to get the XString to copy into and returnnull
.public final void setMessageMessageKeyFrom(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than ISrvMonMessageMetadata.setMessageMessageKey(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
setMessageMessageKeyFrom
in interface ISrvMonMessageMetadata
public final void getMessageMessageKeyTo(XString val)
ISrvMonMessageMetadata
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than ISrvMonMessageMetadata.getMessageMessageKey()
bec
because it can avoid decoding the value into an String
.
getMessageMessageKeyTo
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageKey()
public final XString getMessageMessageKeyUnsafe()
ISrvMonMessageMetadata
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.
getMessageMessageKeyUnsafe
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageKey()
public final void setMessageMessageKeyFrom(com.neeve.xbuf.XbufStringField val)
public final com.neeve.xbuf.XbufStringField getMessageMessageKeyField()
public final boolean hasMessageMessageKey()
ISrvMonMessageMetadata
hasMessageMessageKey
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.getMessageMessageKey()
public final void clearMessageMessageKey()
ISrvMonMessageMetadata
clearMessageMessageKey
in interface ISrvMonMessageMetadata
ISrvMonMessageMetadata.setMessageMessageKey(String)
public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
public final ByteBuffer serializeToByteBuffer()
public final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
public final boolean isBufferBacked()
public final int getSerializeToNativeLength()
public final int serializeToNative(long address, int addressOffset)
public final SrvMonMessageMetadata deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonMessageMetadata deserializeFromIOElasticBuffer(com.neeve.io.IOElasticBuffer buffer, int offset, int length)
public final SrvMonMessageMetadata deserializeFromByteArray(byte[] array, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonMessageMetadata deserializeFromByteArray(byte[] array)
public final SrvMonMessageMetadata deserializeFromByteBuffer(ByteBuffer buffer, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonMessageMetadata deserializeFromByteBuffer(ByteBuffer buffer)
public final SrvMonMessageMetadata deserializeFromNative(long address, int offset, int length, com.neeve.xbuf.XbufDesyncPolicy desyncPolicy)
public final SrvMonMessageMetadata deserializeFromNative(long address, int offset, int length)
public final void sync()
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 final SrvMonMessageMetadata init()
UtlPool.Item
This method is invoked by an item pool very time an item is put into the pool. The method should wipe the contents of the item so as to present a fresh instance of the item to the caller when retrieved from the pool.
init
in interface UtlPool.Item<SrvMonMessageMetadata>
public final SrvMonMessageMetadata setPool(UtlPool<SrvMonMessageMetadata> pool)
UtlPool.Item
This method is invoked by an item pool at the time an item is added to the pool. The intent is to record the item's source pool in the item so it can be disposed back into the pool when the user is done working with it.
setPool
in interface UtlPool.Item<SrvMonMessageMetadata>
public final UtlPool<SrvMonMessageMetadata> getPool()
UtlPool.Item
This method should return the pool set using UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
getPool
in interface UtlPool.Item<SrvMonMessageMetadata>
UtlPool.Item.setPool(com.neeve.util.UtlPool<T>)
public final boolean isReferenceCounted()
public final SrvMonMessageMetadata acquire()
public final int getOwnerCount()
public final void dispose()
public final Object clone()
This method differs from the copy()
method in that:
public final SrvMonMessageMetadata 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 SrvMonMessageMetadata's embedded entity fields.
The returned copy will be writeable even if this SrvMonMessageMetadata is read only.
public final void copyInto(SrvMonMessageMetadata 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 SrvMonMessageMetadata's embedded entity fields.
The returned copy will be writeable even if this SrvMonMessageMetadata is read only.
copy
- The target into which to copy.public final boolean isValid()
IRogValidatable
isValid
in interface IRogValidatable
public final void getValidationErrors(List<XString> results, String errorPrefix)
IRogValidatable
getValidationErrors
in interface IRogValidatable
results
- A results list into which validation errors will be collected.errorPrefix
- The bean path prefix to use when identifying invalid fields or null if validating a top level entity.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.