Interface ReplicatedEventSourcing.PublishedEventOrBuilder
- All Superinterfaces:
org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- All Known Implementing Classes:
ReplicatedEventSourcing.PublishedEvent,ReplicatedEventSourcing.PublishedEvent.Builder
- Enclosing class:
- ReplicatedEventSourcing
public static interface ReplicatedEventSourcing.PublishedEventOrBuilder
extends org.apache.pekko.protobufv3.internal.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .ReplicatedPublishedEventMetaData metadata = 5;optional .ReplicatedPublishedEventMetaData metadata = 5;optional .Payload payload = 3;optional .Payload payload = 3;optional string persistenceId = 1;org.apache.pekko.protobufv3.internal.ByteStringoptional string persistenceId = 1;longoptional int64 sequenceNr = 2;longoptional int64 timestamp = 4;booleanoptional .ReplicatedPublishedEventMetaData metadata = 5;booleanoptional .Payload payload = 3;booleanoptional string persistenceId = 1;booleanoptional int64 sequenceNr = 2;booleanoptional int64 timestamp = 4;Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
isInitializedMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPersistenceId
boolean hasPersistenceId()optional string persistenceId = 1;- Returns:
- Whether the persistenceId field is set.
-
getPersistenceId
String getPersistenceId()optional string persistenceId = 1;- Returns:
- The persistenceId.
-
getPersistenceIdBytes
org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes()optional string persistenceId = 1;- Returns:
- The bytes for persistenceId.
-
hasSequenceNr
boolean hasSequenceNr()optional int64 sequenceNr = 2;- Returns:
- Whether the sequenceNr field is set.
-
getSequenceNr
long getSequenceNr()optional int64 sequenceNr = 2;- Returns:
- The sequenceNr.
-
hasPayload
boolean hasPayload()optional .Payload payload = 3;- Returns:
- Whether the payload field is set.
-
getPayload
ContainerFormats.Payload getPayload()optional .Payload payload = 3;- Returns:
- The payload.
-
getPayloadOrBuilder
ContainerFormats.PayloadOrBuilder getPayloadOrBuilder()optional .Payload payload = 3; -
hasTimestamp
boolean hasTimestamp()optional int64 timestamp = 4;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()optional int64 timestamp = 4;- Returns:
- The timestamp.
-
hasMetadata
boolean hasMetadata()optional .ReplicatedPublishedEventMetaData metadata = 5;- Returns:
- Whether the metadata field is set.
-
getMetadata
ReplicatedEventSourcing.ReplicatedPublishedEventMetaData getMetadata()optional .ReplicatedPublishedEventMetaData metadata = 5;- Returns:
- The metadata.
-
getMetadataOrBuilder
ReplicatedEventSourcing.ReplicatedPublishedEventMetaDataOrBuilder getMetadataOrBuilder()optional .ReplicatedPublishedEventMetaData metadata = 5;
-