Class Persistent.ReadResp.ReadEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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,Serializable
- Enclosing class:
- Persistent.ReadResp
public static final class Persistent.ReadResp.ReadEvent
extends com.google.protobuf.GeneratedMessage
implements Persistent.ReadResp.ReadEventOrBuilder
Protobuf type
event_store.client.persistent_subscriptions.ReadResp.ReadEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEventstatic enumstatic enumstatic final classProtobuf typeevent_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEventstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonguint64 commit_position = 3;static final com.google.protobuf.Descriptors.DescriptorgetEvent().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;getLink().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;.event_store.client.Empty no_position = 4;.event_store.client.Empty no_position = 4;.event_store.client.Empty no_retry_count = 6;.event_store.client.Empty no_retry_count = 6;com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent>intint32 retry_count = 5;intbooleanuint64 commit_position = 3;booleanhasEvent().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;inthashCode()booleanhasLink().event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;boolean.event_store.client.Empty no_position = 4;boolean.event_store.client.Empty no_retry_count = 6;booleanint32 retry_count = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Persistent.ReadResp.ReadEvent prototype) protected Persistent.ReadResp.ReadEvent.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Persistent.ReadResp.ReadEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER- See Also:
-
LINK_FIELD_NUMBER
public static final int LINK_FIELD_NUMBER- See Also:
-
COMMIT_POSITION_FIELD_NUMBER
public static final int COMMIT_POSITION_FIELD_NUMBER- See Also:
-
NO_POSITION_FIELD_NUMBER
public static final int NO_POSITION_FIELD_NUMBER- See Also:
-
RETRY_COUNT_FIELD_NUMBER
public static final int RETRY_COUNT_FIELD_NUMBER- See Also:
-
NO_RETRY_COUNT_FIELD_NUMBER
public static final int NO_RETRY_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPositionCase
- Specified by:
getPositionCasein interfacePersistent.ReadResp.ReadEventOrBuilder
-
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
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent event = 1;- Specified by:
getEventin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The event.
-
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
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;- Specified by:
getLinkin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The link.
-
getLinkOrBuilder
.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent link = 2;- Specified by:
getLinkOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
hasCommitPosition
public boolean hasCommitPosition()uint64 commit_position = 3;- Specified by:
hasCommitPositionin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the commitPosition field is set.
-
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
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The noPosition.
-
getNoPositionOrBuilder
.event_store.client.Empty no_position = 4;- Specified by:
getNoPositionOrBuilderin interfacePersistent.ReadResp.ReadEventOrBuilder
-
hasRetryCount
public boolean hasRetryCount()int32 retry_count = 5;- Specified by:
hasRetryCountin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- Whether the retryCount field is set.
-
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
.event_store.client.Empty no_retry_count = 6;- Specified by:
getNoRetryCountin interfacePersistent.ReadResp.ReadEventOrBuilder- Returns:
- The noRetryCount.
-
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(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
- Throws:
IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static Persistent.ReadResp.ReadEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Persistent.ReadResp.ReadEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Persistent.ReadResp.ReadEvent.Builder newBuilder(Persistent.ReadResp.ReadEvent prototype) -
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.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-