Class Persistent.ReadResp.ReadEvent.RecordedEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.ReadResp.ReadEvent.RecordedEvent
-
- All Implemented Interfaces:
Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- Persistent.ReadResp.ReadEvent
public static final class Persistent.ReadResp.ReadEvent.RecordedEvent extends com.google.protobuf.GeneratedMessageV3 implements Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersistent.ReadResp.ReadEvent.RecordedEvent.BuilderProtobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMIT_POSITION_FIELD_NUMBERstatic intCUSTOM_METADATA_FIELD_NUMBERstatic intDATA_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intPREPARE_POSITION_FIELD_NUMBERstatic intSTREAM_IDENTIFIER_FIELD_NUMBERstatic intSTREAM_REVISION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(java.lang.String key)map<string, string> metadata = 6;booleanequals(java.lang.Object obj)longgetCommitPosition()uint64 commit_position = 5;com.google.protobuf.ByteStringgetCustomMetadata()bytes custom_metadata = 7;com.google.protobuf.ByteStringgetData()bytes data = 8;static Persistent.ReadResp.ReadEvent.RecordedEventgetDefaultInstance()Persistent.ReadResp.ReadEvent.RecordedEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Shared.UUIDgetId().event_store.client.UUID id = 1;Shared.UUIDOrBuildergetIdOrBuilder().event_store.client.UUID id = 1;java.util.Map<java.lang.String,java.lang.String>getMetadata()Deprecated.intgetMetadataCount()map<string, string> metadata = 6;java.util.Map<java.lang.String,java.lang.String>getMetadataMap()map<string, string> metadata = 6;java.lang.StringgetMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> metadata = 6;java.lang.StringgetMetadataOrThrow(java.lang.String key)map<string, string> metadata = 6;com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent.RecordedEvent>getParserForType()longgetPreparePosition()uint64 prepare_position = 4;intgetSerializedSize()Shared.StreamIdentifiergetStreamIdentifier().event_store.client.StreamIdentifier stream_identifier = 2;Shared.StreamIdentifierOrBuildergetStreamIdentifierOrBuilder().event_store.client.StreamIdentifier stream_identifier = 2;longgetStreamRevision()uint64 stream_revision = 3;inthashCode()booleanhasId().event_store.client.UUID id = 1;booleanhasStreamIdentifier().event_store.client.StreamIdentifier stream_identifier = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Persistent.ReadResp.ReadEvent.RecordedEvent.BuildernewBuilder()static Persistent.ReadResp.ReadEvent.RecordedEvent.BuildernewBuilder(Persistent.ReadResp.ReadEvent.RecordedEvent prototype)Persistent.ReadResp.ReadEvent.RecordedEvent.BuildernewBuilderForType()protected Persistent.ReadResp.ReadEvent.RecordedEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Persistent.ReadResp.ReadEvent.RecordedEventparseDelimitedFrom(java.io.InputStream input)static Persistent.ReadResp.ReadEvent.RecordedEventparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(byte[] data)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(com.google.protobuf.ByteString data)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(com.google.protobuf.CodedInputStream input)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(java.io.InputStream input)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(java.nio.ByteBuffer data)static Persistent.ReadResp.ReadEvent.RecordedEventparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent.RecordedEvent>parser()Persistent.ReadResp.ReadEvent.RecordedEvent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, 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 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_IDENTIFIER_FIELD_NUMBER
public static final int STREAM_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_REVISION_FIELD_NUMBER
public static final int STREAM_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREPARE_POSITION_FIELD_NUMBER
public static final int PREPARE_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMIT_POSITION_FIELD_NUMBER
public static final int COMMIT_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_METADATA_FIELD_NUMBER
public static final int CUSTOM_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()
.event_store.client.UUID id = 1;- Specified by:
hasIdin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- Whether the id field is set.
-
getId
public Shared.UUID getId()
.event_store.client.UUID id = 1;- Specified by:
getIdin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The id.
-
getIdOrBuilder
public Shared.UUIDOrBuilder getIdOrBuilder()
.event_store.client.UUID id = 1;- Specified by:
getIdOrBuilderin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
hasStreamIdentifier
public boolean hasStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;- Specified by:
hasStreamIdentifierin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- Whether the streamIdentifier field is set.
-
getStreamIdentifier
public Shared.StreamIdentifier getStreamIdentifier()
.event_store.client.StreamIdentifier stream_identifier = 2;- Specified by:
getStreamIdentifierin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The streamIdentifier.
-
getStreamIdentifierOrBuilder
public Shared.StreamIdentifierOrBuilder getStreamIdentifierOrBuilder()
.event_store.client.StreamIdentifier stream_identifier = 2;- Specified by:
getStreamIdentifierOrBuilderin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getStreamRevision
public long getStreamRevision()
uint64 stream_revision = 3;- Specified by:
getStreamRevisionin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The streamRevision.
-
getPreparePosition
public long getPreparePosition()
uint64 prepare_position = 4;- Specified by:
getPreparePositionin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The preparePosition.
-
getCommitPosition
public long getCommitPosition()
uint64 commit_position = 5;- Specified by:
getCommitPositionin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The commitPosition.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:Persistent.ReadResp.ReadEvent.RecordedEventOrBuildermap<string, string> metadata = 6;- Specified by:
getMetadataCountin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
containsMetadata
public boolean containsMetadata(java.lang.String key)
map<string, string> metadata = 6;- Specified by:
containsMetadatain interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataMap
public java.util.Map<java.lang.String,java.lang.String> getMetadataMap()
map<string, string> metadata = 6;- Specified by:
getMetadataMapin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataOrDefault
public java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> metadata = 6;- Specified by:
getMetadataOrDefaultin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getMetadataOrThrow
public java.lang.String getMetadataOrThrow(java.lang.String key)
map<string, string> metadata = 6;- Specified by:
getMetadataOrThrowin interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder
-
getCustomMetadata
public com.google.protobuf.ByteString getCustomMetadata()
bytes custom_metadata = 7;- Specified by:
getCustomMetadatain interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The customMetadata.
-
getData
public com.google.protobuf.ByteString getData()
bytes data = 8;- Specified by:
getDatain interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder- Returns:
- The data.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent.RecordedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Persistent.ReadResp.ReadEvent.RecordedEvent.Builder newBuilder()
-
newBuilder
public static Persistent.ReadResp.ReadEvent.RecordedEvent.Builder newBuilder(Persistent.ReadResp.ReadEvent.RecordedEvent prototype)
-
toBuilder
public Persistent.ReadResp.ReadEvent.RecordedEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Persistent.ReadResp.ReadEvent.RecordedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Persistent.ReadResp.ReadEvent.RecordedEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent.RecordedEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent.RecordedEvent> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Persistent.ReadResp.ReadEvent.RecordedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-