Class MessageMetadata


  • public final class MessageMetadata
    extends java.lang.Object
    • Constructor Detail

      • MessageMetadata

        public MessageMetadata()
    • Method Detail

      • hasProducerName

        public boolean hasProducerName()
      • getProducerName

        public java.lang.String getProducerName()
      • setProducerName

        public MessageMetadata setProducerName​(java.lang.String producerName)
      • hasSequenceId

        public boolean hasSequenceId()
      • getSequenceId

        public long getSequenceId()
      • setSequenceId

        public MessageMetadata setSequenceId​(long sequenceId)
      • hasPublishTime

        public boolean hasPublishTime()
      • getPublishTime

        public long getPublishTime()
      • setPublishTime

        public MessageMetadata setPublishTime​(long publishTime)
      • getPropertiesCount

        public int getPropertiesCount()
      • getPropertyAt

        public KeyValue getPropertyAt​(int idx)
      • getPropertiesList

        public java.util.List<KeyValue> getPropertiesList()
      • addProperty

        public KeyValue addProperty()
      • hasReplicatedFrom

        public boolean hasReplicatedFrom()
      • getReplicatedFrom

        public java.lang.String getReplicatedFrom()
      • setReplicatedFrom

        public MessageMetadata setReplicatedFrom​(java.lang.String replicatedFrom)
      • hasPartitionKey

        public boolean hasPartitionKey()
      • getPartitionKey

        public java.lang.String getPartitionKey()
      • setPartitionKey

        public MessageMetadata setPartitionKey​(java.lang.String partitionKey)
      • getReplicateTosCount

        public int getReplicateTosCount()
      • getReplicateToAt

        public java.lang.String getReplicateToAt​(int idx)
      • getReplicateTosList

        public java.util.List<java.lang.String> getReplicateTosList()
      • addReplicateTo

        public void addReplicateTo​(java.lang.String replicateTo)
      • addAllReplicateTos

        public MessageMetadata addAllReplicateTos​(java.lang.Iterable<java.lang.String> replicateTos)
      • hasCompression

        public boolean hasCompression()
      • hasUncompressedSize

        public boolean hasUncompressedSize()
      • getUncompressedSize

        public int getUncompressedSize()
      • setUncompressedSize

        public MessageMetadata setUncompressedSize​(int uncompressedSize)
      • hasNumMessagesInBatch

        public boolean hasNumMessagesInBatch()
      • getNumMessagesInBatch

        public int getNumMessagesInBatch()
      • setNumMessagesInBatch

        public MessageMetadata setNumMessagesInBatch​(int numMessagesInBatch)
      • clearNumMessagesInBatch

        public MessageMetadata clearNumMessagesInBatch()
      • hasEventTime

        public boolean hasEventTime()
      • getEventTime

        public long getEventTime()
      • getEncryptionKeysCount

        public int getEncryptionKeysCount()
      • getEncryptionKeyAt

        public EncryptionKeys getEncryptionKeyAt​(int idx)
      • getEncryptionKeysList

        public java.util.List<EncryptionKeys> getEncryptionKeysList()
      • hasEncryptionAlgo

        public boolean hasEncryptionAlgo()
      • getEncryptionAlgo

        public java.lang.String getEncryptionAlgo()
      • setEncryptionAlgo

        public MessageMetadata setEncryptionAlgo​(java.lang.String encryptionAlgo)
      • hasEncryptionParam

        public boolean hasEncryptionParam()
      • getEncryptionParamSize

        public int getEncryptionParamSize()
      • getEncryptionParam

        public byte[] getEncryptionParam()
      • getEncryptionParamSlice

        public io.netty.buffer.ByteBuf getEncryptionParamSlice()
      • setEncryptionParam

        public MessageMetadata setEncryptionParam​(byte[] encryptionParam)
      • setEncryptionParam

        public MessageMetadata setEncryptionParam​(io.netty.buffer.ByteBuf encryptionParam)
      • hasSchemaVersion

        public boolean hasSchemaVersion()
      • getSchemaVersionSize

        public int getSchemaVersionSize()
      • getSchemaVersion

        public byte[] getSchemaVersion()
      • getSchemaVersionSlice

        public io.netty.buffer.ByteBuf getSchemaVersionSlice()
      • setSchemaVersion

        public MessageMetadata setSchemaVersion​(byte[] schemaVersion)
      • setSchemaVersion

        public MessageMetadata setSchemaVersion​(io.netty.buffer.ByteBuf schemaVersion)
      • hasPartitionKeyB64Encoded

        public boolean hasPartitionKeyB64Encoded()
      • isPartitionKeyB64Encoded

        public boolean isPartitionKeyB64Encoded()
      • setPartitionKeyB64Encoded

        public MessageMetadata setPartitionKeyB64Encoded​(boolean partitionKeyB64Encoded)
      • clearPartitionKeyB64Encoded

        public MessageMetadata clearPartitionKeyB64Encoded()
      • hasOrderingKey

        public boolean hasOrderingKey()
      • getOrderingKeySize

        public int getOrderingKeySize()
      • getOrderingKey

        public byte[] getOrderingKey()
      • getOrderingKeySlice

        public io.netty.buffer.ByteBuf getOrderingKeySlice()
      • setOrderingKey

        public MessageMetadata setOrderingKey​(byte[] orderingKey)
      • setOrderingKey

        public MessageMetadata setOrderingKey​(io.netty.buffer.ByteBuf orderingKey)
      • hasDeliverAtTime

        public boolean hasDeliverAtTime()
      • getDeliverAtTime

        public long getDeliverAtTime()
      • setDeliverAtTime

        public MessageMetadata setDeliverAtTime​(long deliverAtTime)
      • hasMarkerType

        public boolean hasMarkerType()
      • getMarkerType

        public int getMarkerType()
      • hasTxnidLeastBits

        public boolean hasTxnidLeastBits()
      • getTxnidLeastBits

        public long getTxnidLeastBits()
      • setTxnidLeastBits

        public MessageMetadata setTxnidLeastBits​(long txnidLeastBits)
      • hasTxnidMostBits

        public boolean hasTxnidMostBits()
      • getTxnidMostBits

        public long getTxnidMostBits()
      • setTxnidMostBits

        public MessageMetadata setTxnidMostBits​(long txnidMostBits)
      • hasHighestSequenceId

        public boolean hasHighestSequenceId()
      • getHighestSequenceId

        public long getHighestSequenceId()
      • setHighestSequenceId

        public MessageMetadata setHighestSequenceId​(long highestSequenceId)
      • hasNullValue

        public boolean hasNullValue()
      • isNullValue

        public boolean isNullValue()
      • setNullValue

        public MessageMetadata setNullValue​(boolean nullValue)
      • hasUuid

        public boolean hasUuid()
      • getUuid

        public java.lang.String getUuid()
      • hasNumChunksFromMsg

        public boolean hasNumChunksFromMsg()
      • getNumChunksFromMsg

        public int getNumChunksFromMsg()
      • setNumChunksFromMsg

        public MessageMetadata setNumChunksFromMsg​(int numChunksFromMsg)
      • hasTotalChunkMsgSize

        public boolean hasTotalChunkMsgSize()
      • getTotalChunkMsgSize

        public int getTotalChunkMsgSize()
      • setTotalChunkMsgSize

        public MessageMetadata setTotalChunkMsgSize​(int totalChunkMsgSize)
      • hasChunkId

        public boolean hasChunkId()
      • getChunkId

        public int getChunkId()
      • hasNullPartitionKey

        public boolean hasNullPartitionKey()
      • isNullPartitionKey

        public boolean isNullPartitionKey()
      • setNullPartitionKey

        public MessageMetadata setNullPartitionKey​(boolean nullPartitionKey)
      • writeTo

        public int writeTo​(io.netty.buffer.ByteBuf _b)
      • getSerializedSize

        public int getSerializedSize()
      • parseFrom

        public void parseFrom​(io.netty.buffer.ByteBuf _buffer,
                              int _size)
      • toByteArray

        public byte[] toByteArray()
      • parseFrom

        public void parseFrom​(byte[] a)