Class ReplicatedEventSourcing.ReplicatedEventMetadata
- 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.ReplicatedEventMetadata
-
- All Implemented Interfaces:
java.io.Serializable
,ReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
,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.ReplicatedEventMetadata extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
Protobuf typeReplicatedEventMetadata
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicatedEventSourcing.ReplicatedEventMetadata.Builder
Protobuf typeReplicatedEventMetadata
-
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
CONCURRENT_FIELD_NUMBER
static int
ORIGINREPLICA_FIELD_NUMBER
static int
ORIGINSEQUENCENR_FIELD_NUMBER
static int
VERSIONVECTOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
getConcurrent()
required bool concurrent = 4;
static ReplicatedEventSourcing.ReplicatedEventMetadata
getDefaultInstance()
ReplicatedEventSourcing.ReplicatedEventMetadata
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
java.lang.String
getOriginReplica()
required string originReplica = 1;
org.apache.pekko.protobufv3.internal.ByteString
getOriginReplicaBytes()
required string originReplica = 1;
long
getOriginSequenceNr()
required int64 originSequenceNr = 2;
org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.ReplicatedEventMetadata>
getParserForType()
int
getSerializedSize()
ReplicatedEventSourcing.VersionVector
getVersionVector()
required .VersionVector versionVector = 3;
ReplicatedEventSourcing.VersionVectorOrBuilder
getVersionVectorOrBuilder()
required .VersionVector versionVector = 3;
boolean
hasConcurrent()
required bool concurrent = 4;
int
hashCode()
boolean
hasOriginReplica()
required string originReplica = 1;
boolean
hasOriginSequenceNr()
required int64 originSequenceNr = 2;
boolean
hasVersionVector()
required .VersionVector versionVector = 3;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ReplicatedEventSourcing.ReplicatedEventMetadata.Builder
newBuilder()
static ReplicatedEventSourcing.ReplicatedEventMetadata.Builder
newBuilder(ReplicatedEventSourcing.ReplicatedEventMetadata prototype)
ReplicatedEventSourcing.ReplicatedEventMetadata.Builder
newBuilderForType()
protected ReplicatedEventSourcing.ReplicatedEventMetadata.Builder
newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseDelimitedFrom(java.io.InputStream input)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(byte[] data)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(java.io.InputStream input)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(java.nio.ByteBuffer data)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(java.nio.ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
static ReplicatedEventSourcing.ReplicatedEventMetadata
parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
static org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.ReplicatedEventMetadata>
parser()
ReplicatedEventSourcing.ReplicatedEventMetadata.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
-
ORIGINREPLICA_FIELD_NUMBER
public static final int ORIGINREPLICA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORIGINSEQUENCENR_FIELD_NUMBER
public static final int ORIGINSEQUENCENR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSIONVECTOR_FIELD_NUMBER
public static final int VERSIONVECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONCURRENT_FIELD_NUMBER
public static final int CONCURRENT_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
-
hasOriginReplica
public boolean hasOriginReplica()
required string originReplica = 1;
- Specified by:
hasOriginReplica
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- Whether the originReplica field is set.
-
getOriginReplica
public java.lang.String getOriginReplica()
required string originReplica = 1;
- Specified by:
getOriginReplica
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- The originReplica.
-
getOriginReplicaBytes
public org.apache.pekko.protobufv3.internal.ByteString getOriginReplicaBytes()
required string originReplica = 1;
- Specified by:
getOriginReplicaBytes
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- The bytes for originReplica.
-
hasOriginSequenceNr
public boolean hasOriginSequenceNr()
required int64 originSequenceNr = 2;
- Specified by:
hasOriginSequenceNr
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- Whether the originSequenceNr field is set.
-
getOriginSequenceNr
public long getOriginSequenceNr()
required int64 originSequenceNr = 2;
- Specified by:
getOriginSequenceNr
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- The originSequenceNr.
-
hasVersionVector
public boolean hasVersionVector()
required .VersionVector versionVector = 3;
- Specified by:
hasVersionVector
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- Whether the versionVector field is set.
-
getVersionVector
public ReplicatedEventSourcing.VersionVector getVersionVector()
required .VersionVector versionVector = 3;
- Specified by:
getVersionVector
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- The versionVector.
-
getVersionVectorOrBuilder
public ReplicatedEventSourcing.VersionVectorOrBuilder getVersionVectorOrBuilder()
required .VersionVector versionVector = 3;
- Specified by:
getVersionVectorOrBuilder
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
-
hasConcurrent
public boolean hasConcurrent()
required bool concurrent = 4;
- Specified by:
hasConcurrent
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- Whether the concurrent field is set.
-
getConcurrent
public boolean getConcurrent()
required bool concurrent = 4;
- Specified by:
getConcurrent
in interfaceReplicatedEventSourcing.ReplicatedEventMetadataOrBuilder
- Returns:
- The concurrent.
-
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.ReplicatedEventMetadata parseFrom(java.nio.ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata 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.ReplicatedEventMetadata 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.ReplicatedEventMetadata 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.ReplicatedEventMetadata parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
- Throws:
org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
-
parseFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata 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.ReplicatedEventMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata parseFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata parseDelimitedFrom(java.io.InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ReplicatedEventSourcing.ReplicatedEventMetadata 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.ReplicatedEventMetadata.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.ReplicatedEventMetadata.Builder newBuilder()
-
newBuilder
public static ReplicatedEventSourcing.ReplicatedEventMetadata.Builder newBuilder(ReplicatedEventSourcing.ReplicatedEventMetadata prototype)
-
toBuilder
public ReplicatedEventSourcing.ReplicatedEventMetadata.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.ReplicatedEventMetadata.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classorg.apache.pekko.protobufv3.internal.AbstractMessage
-
getDefaultInstance
public static ReplicatedEventSourcing.ReplicatedEventMetadata getDefaultInstance()
-
parser
public static org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.ReplicatedEventMetadata> parser()
-
getParserForType
public org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventSourcing.ReplicatedEventMetadata> 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.ReplicatedEventMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
-