Class Persistent.ReadResp.ReadEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.persistentsubscriptions.Persistent.ReadResp.ReadEvent
-
- All Implemented Interfaces:
Persistent.ReadResp.ReadEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- Persistent.ReadResp
public static final class Persistent.ReadResp.ReadEvent extends com.google.protobuf.GeneratedMessageV3 implements Persistent.ReadResp.ReadEventOrBuilder
Protobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPersistent.ReadResp.ReadEvent.BuilderProtobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEventstatic classPersistent.ReadResp.ReadEvent.CountCasestatic classPersistent.ReadResp.ReadEvent.PositionCasestatic classPersistent.ReadResp.ReadEvent.RecordedEventProtobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEventstatic interfacePersistent.ReadResp.ReadEvent.RecordedEventOrBuilder-
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 intEVENT_FIELD_NUMBERstatic intLINK_FIELD_NUMBERstatic intNO_POSITION_FIELD_NUMBERstatic intNO_RETRY_COUNT_FIELD_NUMBERstatic intRETRY_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetCommitPosition()uint64 commit_position = 3;Persistent.ReadResp.ReadEvent.CountCasegetCountCase()static Persistent.ReadResp.ReadEventgetDefaultInstance()Persistent.ReadResp.ReadEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Persistent.ReadResp.ReadEvent.RecordedEventgetEvent().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;Persistent.ReadResp.ReadEvent.RecordedEventOrBuildergetEventOrBuilder().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;Persistent.ReadResp.ReadEvent.RecordedEventgetLink().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;Persistent.ReadResp.ReadEvent.RecordedEventOrBuildergetLinkOrBuilder().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;Shared.EmptygetNoPosition().event_store.client.Empty no_position = 4;Shared.EmptyOrBuildergetNoPositionOrBuilder().event_store.client.Empty no_position = 4;Shared.EmptygetNoRetryCount().event_store.client.Empty no_retry_count = 6;Shared.EmptyOrBuildergetNoRetryCountOrBuilder().event_store.client.Empty no_retry_count = 6;com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent>getParserForType()Persistent.ReadResp.ReadEvent.PositionCasegetPositionCase()intgetRetryCount()int32 retry_count = 5;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasEvent().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;inthashCode()booleanhasLink().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;booleanhasNoPosition().event_store.client.Empty no_position = 4;booleanhasNoRetryCount().event_store.client.Empty no_retry_count = 6;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Persistent.ReadResp.ReadEvent.BuildernewBuilder()static Persistent.ReadResp.ReadEvent.BuildernewBuilder(Persistent.ReadResp.ReadEvent prototype)Persistent.ReadResp.ReadEvent.BuildernewBuilderForType()protected Persistent.ReadResp.ReadEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Persistent.ReadResp.ReadEventparseDelimitedFrom(java.io.InputStream input)static Persistent.ReadResp.ReadEventparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEventparseFrom(byte[] data)static Persistent.ReadResp.ReadEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEventparseFrom(com.google.protobuf.ByteString data)static Persistent.ReadResp.ReadEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEventparseFrom(com.google.protobuf.CodedInputStream input)static Persistent.ReadResp.ReadEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEventparseFrom(java.io.InputStream input)static Persistent.ReadResp.ReadEventparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Persistent.ReadResp.ReadEventparseFrom(java.nio.ByteBuffer data)static Persistent.ReadResp.ReadEventparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent>parser()Persistent.ReadResp.ReadEvent.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, 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
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMIT_POSITION_FIELD_NUMBER
public static final int COMMIT_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_POSITION_FIELD_NUMBER
public static final int NO_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_COUNT_FIELD_NUMBER
public static final int RETRY_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_RETRY_COUNT_FIELD_NUMBER
public static final int NO_RETRY_COUNT_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
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPositionCase
public Persistent.ReadResp.ReadEvent.PositionCase getPositionCase()
- Specified by:
getPositionCasein interfacePersistent.ReadResp.ReadEventOrBuilder
-
getCountCase
public Persistent.ReadResp.ReadEvent.CountCase getCountCase()
- Specified by:
getCountCasein interfacePersistent.ReadResp.ReadEventOrBuilder
-
hasEvent
public boolean hasEvent()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;- Specified by:
hasEventin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
public Persistent.ReadResp.ReadEvent.RecordedEvent getEvent()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;- Specified by:
getEventin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The event.
-
getEventOrBuilder
public Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder getEventOrBuilder()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;- Specified by:
getEventOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
hasLink
public boolean hasLink()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;- Specified by:
hasLinkin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the link field is set.
-
getLink
public Persistent.ReadResp.ReadEvent.RecordedEvent getLink()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;- Specified by:
getLinkin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The link.
-
getLinkOrBuilder
public Persistent.ReadResp.ReadEvent.RecordedEventOrBuilder getLinkOrBuilder()
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;- Specified by:
getLinkOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
getCommitPosition
public long getCommitPosition()
uint64 commit_position = 3;- Specified by:
getCommitPositionin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The commitPosition.
-
hasNoPosition
public boolean hasNoPosition()
.event_store.client.Empty no_position = 4;- Specified by:
hasNoPositionin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the noPosition field is set.
-
getNoPosition
public Shared.Empty getNoPosition()
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The noPosition.
-
getNoPositionOrBuilder
public Shared.EmptyOrBuilder getNoPositionOrBuilder()
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
getRetryCount
public int getRetryCount()
int32 retry_count = 5;- Specified by:
getRetryCountin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The retryCount.
-
hasNoRetryCount
public boolean hasNoRetryCount()
.event_store.client.Empty no_retry_count = 6;- Specified by:
hasNoRetryCountin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the noRetryCount field is set.
-
getNoRetryCount
public Shared.Empty getNoRetryCount()
.event_store.client.Empty no_retry_count = 6;- Specified by:
getNoRetryCountin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The noRetryCount.
-
getNoRetryCountOrBuilder
public Shared.EmptyOrBuilder getNoRetryCountOrBuilder()
.event_store.client.Empty no_retry_count = 6;- Specified by:
getNoRetryCountOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
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 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent 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 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Persistent.ReadResp.ReadEvent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Persistent.ReadResp.ReadEvent.Builder newBuilder()
-
newBuilder
public static Persistent.ReadResp.ReadEvent.Builder newBuilder(Persistent.ReadResp.ReadEvent prototype)
-
toBuilder
public Persistent.ReadResp.ReadEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Persistent.ReadResp.ReadEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Persistent.ReadResp.ReadEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent> 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 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-