Class ReplicatedEventSourcing.PublishedEvent
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessage
-
- org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
-
- All Implemented Interfaces:
java.io.Serializable
,ReplicatedEventSourcing.PublishedEventOrBuilder
,org.apache.pekko.protobufv3.internal.Message
,org.apache.pekko.protobufv3.internal.MessageLite
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ReplicatedEventSourcing
public static final class ReplicatedEventSourcing.PublishedEvent extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ReplicatedEventSourcing.PublishedEventOrBuilder
Protobuf typePublishedEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicatedEventSourcing.PublishedEvent.Builder
Protobuf typePublishedEvent
-
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message,T extends java.lang.Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
METADATA_FIELD_NUMBER
static int
PAYLOAD_FIELD_NUMBER
static int
PERSISTENCEID_FIELD_NUMBER
static int
SEQUENCENR_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static ReplicatedEventSourcing.PublishedEvent
getDefaultInstance()
ReplicatedEventSourcing.PublishedEvent
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
ReplicatedEventSourcing.ReplicatedPublishedEventMetaData
getMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuilder
getMetadataOrBuilder()
optional .ReplicatedPublishedEventMetaData metadata = 5;
org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent>
getParserForType()
ContainerFormats.Payload
getPayload()
optional .Payload payload = 3;
ContainerFormats.PayloadOrBuilder
getPayloadOrBuilder()
optional .Payload payload = 3;
java.lang.String
getPersistenceId()
optional string persistenceId = 1;
org.apache.pekko.protobufv3.internal.ByteString
getPersistenceIdBytes()
optional string persistenceId = 1;
long
getSequenceNr()
optional int64 sequenceNr = 2;
int
getSerializedSize()
long
getTimestamp()
optional int64 timestamp = 4;
int
hashCode()
boolean
hasMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
boolean
hasPayload()
optional .Payload payload = 3;
boolean
hasPersistenceId()
optional string persistenceId = 1;
boolean
hasSequenceNr()
optional int64 sequenceNr = 2;
boolean
hasTimestamp()
optional int64 timestamp = 4;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ReplicatedEventSourcing.PublishedEvent.Builder
newBuilder()
static ReplicatedEventSourcing.PublishedEvent.Builder
newBuilder(ReplicatedEventSourcing.PublishedEvent prototype)
ReplicatedEventSourcing.PublishedEvent.Builder
newBuilderForType()
protected ReplicatedEventSourcing.PublishedEvent.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
static ReplicatedEventSourcing.PublishedEvent
parseDelimitedFrom(java.io.InputStream input)
static ReplicatedEventSourcing.PublishedEvent
parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(byte[] data)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(java.io.InputStream input)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(java.nio.ByteBuffer data)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
static ReplicatedEventSourcing.PublishedEvent
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent>
parser()
ReplicatedEventSourcing.PublishedEvent.Builder
toBuilder()
void
writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PERSISTENCEID_FIELD_NUMBER
public static final int PERSISTENCEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCENR_FIELD_NUMBER
public static final int SEQUENCENR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
hasPersistenceId
public boolean hasPersistenceId()
optional string persistenceId = 1;
- Specified by:
hasPersistenceId
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
public java.lang.String getPersistenceId()
optional string persistenceId = 1;
- Specified by:
getPersistenceId
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()
optional string persistenceId = 1;
- Specified by:
getPersistenceIdBytes
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The bytes for persistenceId.
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
hasSequenceNr
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;
- Specified by:
getSequenceNr
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The sequenceNr.
-
hasPayload
public boolean hasPayload()
optional .Payload payload = 3;
- Specified by:
hasPayload
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public ContainerFormats.Payload getPayload()
optional .Payload payload = 3;
- Specified by:
getPayload
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The payload.
-
getPayloadOrBuilder
public ContainerFormats.PayloadOrBuilder getPayloadOrBuilder()
optional .Payload payload = 3;
- Specified by:
getPayloadOrBuilder
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
optional int64 timestamp = 4;
- Specified by:
hasTimestamp
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
optional int64 timestamp = 4;
- Specified by:
getTimestamp
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The timestamp.
-
hasMetadata
public boolean hasMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
hasMetadata
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaData getMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
getMetadata
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuilder getMetadataOrBuilder()
optional .ReplicatedPublishedEventMetaData metadata = 5;
- Specified by:
getMetadataOrBuilder
in interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
writeTo
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getSerializedSize
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
equals
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Overrides:
hashCode
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ReplicatedEventSourcing.PublishedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ReplicatedEventSourcing.PublishedEvent parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.PublishedEvent parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ReplicatedEventSourcing.PublishedEvent.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
newBuilderForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilder
public static ReplicatedEventSourcing.PublishedEvent.Builder newBuilder()
-
newBuilder
public static ReplicatedEventSourcing.PublishedEvent.Builder newBuilder(ReplicatedEventSourcing.PublishedEvent prototype)
-
toBuilder
public ReplicatedEventSourcing.PublishedEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
toBuilder
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected ReplicatedEventSourcing.PublishedEvent.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
public static ReplicatedEventSourcing.PublishedEvent getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent> getParserForType()
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.Message
- Specified by:
getParserForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite
- Overrides:
getParserForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage
-
getDefaultInstanceForType
public ReplicatedEventSourcing.PublishedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-