Class ReplicatedEventSourcing.PublishedEvent
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite
-
- org.apache.pekko.protobufv3.internal.AbstractMessage
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements ReplicatedEventSourcing.PublishedEventOrBuilder
Protobuf typePublishedEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReplicatedEventSourcing.PublishedEvent.BuilderProtobuf typePublishedEvent-
Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMETADATA_FIELD_NUMBERstatic org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent>PARSERDeprecated.static intPAYLOAD_FIELD_NUMBERstatic intPERSISTENCEID_FIELD_NUMBERstatic intSEQUENCENR_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ReplicatedEventSourcing.PublishedEventgetDefaultInstance()ReplicatedEventSourcing.PublishedEventgetDefaultInstanceForType()static org.apache.pekko.protobufv3.internal.Descriptors.DescriptorgetDescriptor()ReplicatedEventSourcing.ReplicatedPublishedEventMetaDatagetMetadata()optional .ReplicatedPublishedEventMetaData metadata = 5;ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuildergetMetadataOrBuilder()optional .ReplicatedPublishedEventMetaData metadata = 5;org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent>getParserForType()ContainerFormats.PayloadgetPayload()optional .Payload payload = 3;ContainerFormats.PayloadOrBuildergetPayloadOrBuilder()optional .Payload payload = 3;java.lang.StringgetPersistenceId()optional string persistenceId = 1;org.apache.pekko.protobufv3.internal.ByteStringgetPersistenceIdBytes()optional string persistenceId = 1;longgetSequenceNr()optional int64 sequenceNr = 2;intgetSerializedSize()longgetTimestamp()optional int64 timestamp = 4;org.apache.pekko.protobufv3.internal.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasMetadata()optional .ReplicatedPublishedEventMetaData metadata = 5;booleanhasPayload()optional .Payload payload = 3;booleanhasPersistenceId()optional string persistenceId = 1;booleanhasSequenceNr()optional int64 sequenceNr = 2;booleanhasTimestamp()optional int64 timestamp = 4;protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReplicatedEventSourcing.PublishedEvent.BuildernewBuilder()static ReplicatedEventSourcing.PublishedEvent.BuildernewBuilder(ReplicatedEventSourcing.PublishedEvent prototype)ReplicatedEventSourcing.PublishedEvent.BuildernewBuilderForType()protected ReplicatedEventSourcing.PublishedEvent.BuildernewBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)static ReplicatedEventSourcing.PublishedEventparseDelimitedFrom(java.io.InputStream input)static ReplicatedEventSourcing.PublishedEventparseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static ReplicatedEventSourcing.PublishedEventparseFrom(byte[] data)static ReplicatedEventSourcing.PublishedEventparseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static ReplicatedEventSourcing.PublishedEventparseFrom(java.io.InputStream input)static ReplicatedEventSourcing.PublishedEventparseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static ReplicatedEventSourcing.PublishedEventparseFrom(java.nio.ByteBuffer data)static ReplicatedEventSourcing.PublishedEventparseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static ReplicatedEventSourcing.PublishedEventparseFrom(org.apache.pekko.protobufv3.internal.ByteString data)static ReplicatedEventSourcing.PublishedEventparseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)static ReplicatedEventSourcing.PublishedEventparseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)static ReplicatedEventSourcing.PublishedEventparseFrom(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.BuildertoBuilder()voidwriteTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite
addAll, 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
-
PARSER
@Deprecated public static final org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.PublishedEvent> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getUnknownFields
public final org.apache.pekko.protobufv3.internal.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder- Overrides:
getUnknownFieldsin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
hasPersistenceId
public boolean hasPersistenceId()
optional string persistenceId = 1;- Specified by:
hasPersistenceIdin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
public java.lang.String getPersistenceId()
optional string persistenceId = 1;- Specified by:
getPersistenceIdin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The persistenceId.
-
getPersistenceIdBytes
public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()
optional string persistenceId = 1;- Specified by:
getPersistenceIdBytesin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The bytes for persistenceId.
-
hasSequenceNr
public boolean hasSequenceNr()
optional int64 sequenceNr = 2;- Specified by:
hasSequenceNrin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
public long getSequenceNr()
optional int64 sequenceNr = 2;- Specified by:
getSequenceNrin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The sequenceNr.
-
hasPayload
public boolean hasPayload()
optional .Payload payload = 3;- Specified by:
hasPayloadin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public ContainerFormats.Payload getPayload()
optional .Payload payload = 3;- Specified by:
getPayloadin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public ContainerFormats.PayloadOrBuilder getPayloadOrBuilder()
optional .Payload payload = 3;- Specified by:
getPayloadOrBuilderin interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
hasTimestamp
public boolean hasTimestamp()
optional int64 timestamp = 4;- Specified by:
hasTimestampin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
optional int64 timestamp = 4;- Specified by:
getTimestampin interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The timestamp.
-
hasMetadata
public boolean hasMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;- Specified by:
hasMetadatain interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaData getMetadata()
optional .ReplicatedPublishedEventMetaData metadata = 5;- Specified by:
getMetadatain interfaceReplicatedEventSourcing.PublishedEventOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuilder getMetadataOrBuilder()
optional .ReplicatedPublishedEventMetaData metadata = 5;- Specified by:
getMetadataOrBuilderin interfaceReplicatedEventSourcing.PublishedEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
writeTo
public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
writeToin classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getSerializedSizein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
equalsin classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.apache.pekko.protobufv3.internal.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
toBuilderin interfaceorg.apache.pekko.protobufv3.internal.MessageLite
-
newBuilderForType
protected ReplicatedEventSourcing.PublishedEvent.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
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:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.Message- Specified by:
getParserForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLite- Overrides:
getParserForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3
-
getDefaultInstanceForType
public ReplicatedEventSourcing.PublishedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-