Class StreamsOuterClass.ReadResp
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.eventstore.dbclient.proto.streams.StreamsOuterClass.ReadResp
-
- All Implemented Interfaces:
StreamsOuterClass.ReadRespOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- StreamsOuterClass
public static final class StreamsOuterClass.ReadResp extends com.google.protobuf.GeneratedMessageV3 implements StreamsOuterClass.ReadRespOrBuilder
Protobuf typeevent_store.client.streams.ReadResp- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamsOuterClass.ReadResp.BuilderProtobuf typeevent_store.client.streams.ReadRespstatic classStreamsOuterClass.ReadResp.CheckpointProtobuf typeevent_store.client.streams.ReadResp.Checkpointstatic interfaceStreamsOuterClass.ReadResp.CheckpointOrBuilderstatic classStreamsOuterClass.ReadResp.ContentCasestatic classStreamsOuterClass.ReadResp.ReadEventProtobuf typeevent_store.client.streams.ReadResp.ReadEventstatic interfaceStreamsOuterClass.ReadResp.ReadEventOrBuilderstatic classStreamsOuterClass.ReadResp.StreamNotFoundProtobuf typeevent_store.client.streams.ReadResp.StreamNotFoundstatic interfaceStreamsOuterClass.ReadResp.StreamNotFoundOrBuilderstatic classStreamsOuterClass.ReadResp.SubscriptionConfirmationProtobuf typeevent_store.client.streams.ReadResp.SubscriptionConfirmationstatic interfaceStreamsOuterClass.ReadResp.SubscriptionConfirmationOrBuilder-
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 intCHECKPOINT_FIELD_NUMBERstatic intCONFIRMATION_FIELD_NUMBERstatic intEVENT_FIELD_NUMBERstatic intFIRST_STREAM_POSITION_FIELD_NUMBERstatic intLAST_ALL_STREAM_POSITION_FIELD_NUMBERstatic intLAST_STREAM_POSITION_FIELD_NUMBERstatic intSTREAM_NOT_FOUND_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)StreamsOuterClass.ReadResp.CheckpointgetCheckpoint().event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;StreamsOuterClass.ReadResp.CheckpointOrBuildergetCheckpointOrBuilder().event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;StreamsOuterClass.ReadResp.SubscriptionConfirmationgetConfirmation().event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;StreamsOuterClass.ReadResp.SubscriptionConfirmationOrBuildergetConfirmationOrBuilder().event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;StreamsOuterClass.ReadResp.ContentCasegetContentCase()static StreamsOuterClass.ReadRespgetDefaultInstance()StreamsOuterClass.ReadRespgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StreamsOuterClass.ReadResp.ReadEventgetEvent().event_store.client.streams.ReadResp.ReadEvent event = 1;StreamsOuterClass.ReadResp.ReadEventOrBuildergetEventOrBuilder().event_store.client.streams.ReadResp.ReadEvent event = 1;longgetFirstStreamPosition()uint64 first_stream_position = 5;Shared.AllStreamPositiongetLastAllStreamPosition().event_store.client.AllStreamPosition last_all_stream_position = 7;Shared.AllStreamPositionOrBuildergetLastAllStreamPositionOrBuilder().event_store.client.AllStreamPosition last_all_stream_position = 7;longgetLastStreamPosition()uint64 last_stream_position = 6;com.google.protobuf.Parser<StreamsOuterClass.ReadResp>getParserForType()intgetSerializedSize()StreamsOuterClass.ReadResp.StreamNotFoundgetStreamNotFound().event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;StreamsOuterClass.ReadResp.StreamNotFoundOrBuildergetStreamNotFoundOrBuilder().event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCheckpoint().event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;booleanhasConfirmation().event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;booleanhasEvent().event_store.client.streams.ReadResp.ReadEvent event = 1;inthashCode()booleanhasLastAllStreamPosition().event_store.client.AllStreamPosition last_all_stream_position = 7;booleanhasStreamNotFound().event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamsOuterClass.ReadResp.BuildernewBuilder()static StreamsOuterClass.ReadResp.BuildernewBuilder(StreamsOuterClass.ReadResp prototype)StreamsOuterClass.ReadResp.BuildernewBuilderForType()protected StreamsOuterClass.ReadResp.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamsOuterClass.ReadRespparseDelimitedFrom(java.io.InputStream input)static StreamsOuterClass.ReadRespparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.ReadRespparseFrom(byte[] data)static StreamsOuterClass.ReadRespparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.ReadRespparseFrom(com.google.protobuf.ByteString data)static StreamsOuterClass.ReadRespparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.ReadRespparseFrom(com.google.protobuf.CodedInputStream input)static StreamsOuterClass.ReadRespparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.ReadRespparseFrom(java.io.InputStream input)static StreamsOuterClass.ReadRespparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamsOuterClass.ReadRespparseFrom(java.nio.ByteBuffer data)static StreamsOuterClass.ReadRespparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamsOuterClass.ReadResp>parser()StreamsOuterClass.ReadResp.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
-
CONFIRMATION_FIELD_NUMBER
public static final int CONFIRMATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECKPOINT_FIELD_NUMBER
public static final int CHECKPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_NOT_FOUND_FIELD_NUMBER
public static final int STREAM_NOT_FOUND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRST_STREAM_POSITION_FIELD_NUMBER
public static final int FIRST_STREAM_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_STREAM_POSITION_FIELD_NUMBER
public static final int LAST_STREAM_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_ALL_STREAM_POSITION_FIELD_NUMBER
public static final int LAST_ALL_STREAM_POSITION_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
-
getContentCase
public StreamsOuterClass.ReadResp.ContentCase getContentCase()
- Specified by:
getContentCasein interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasEvent
public boolean hasEvent()
.event_store.client.streams.ReadResp.ReadEvent event = 1;- Specified by:
hasEventin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
public StreamsOuterClass.ReadResp.ReadEvent getEvent()
.event_store.client.streams.ReadResp.ReadEvent event = 1;- Specified by:
getEventin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The event.
-
getEventOrBuilder
public StreamsOuterClass.ReadResp.ReadEventOrBuilder getEventOrBuilder()
.event_store.client.streams.ReadResp.ReadEvent event = 1;- Specified by:
getEventOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasConfirmation
public boolean hasConfirmation()
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;- Specified by:
hasConfirmationin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the confirmation field is set.
-
getConfirmation
public StreamsOuterClass.ReadResp.SubscriptionConfirmation getConfirmation()
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;- Specified by:
getConfirmationin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The confirmation.
-
getConfirmationOrBuilder
public StreamsOuterClass.ReadResp.SubscriptionConfirmationOrBuilder getConfirmationOrBuilder()
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;- Specified by:
getConfirmationOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasCheckpoint
public boolean hasCheckpoint()
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;- Specified by:
hasCheckpointin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the checkpoint field is set.
-
getCheckpoint
public StreamsOuterClass.ReadResp.Checkpoint getCheckpoint()
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;- Specified by:
getCheckpointin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The checkpoint.
-
getCheckpointOrBuilder
public StreamsOuterClass.ReadResp.CheckpointOrBuilder getCheckpointOrBuilder()
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;- Specified by:
getCheckpointOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasStreamNotFound
public boolean hasStreamNotFound()
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;- Specified by:
hasStreamNotFoundin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the streamNotFound field is set.
-
getStreamNotFound
public StreamsOuterClass.ReadResp.StreamNotFound getStreamNotFound()
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;- Specified by:
getStreamNotFoundin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The streamNotFound.
-
getStreamNotFoundOrBuilder
public StreamsOuterClass.ReadResp.StreamNotFoundOrBuilder getStreamNotFoundOrBuilder()
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;- Specified by:
getStreamNotFoundOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
getFirstStreamPosition
public long getFirstStreamPosition()
uint64 first_stream_position = 5;- Specified by:
getFirstStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The firstStreamPosition.
-
getLastStreamPosition
public long getLastStreamPosition()
uint64 last_stream_position = 6;- Specified by:
getLastStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The lastStreamPosition.
-
hasLastAllStreamPosition
public boolean hasLastAllStreamPosition()
.event_store.client.AllStreamPosition last_all_stream_position = 7;- Specified by:
hasLastAllStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the lastAllStreamPosition field is set.
-
getLastAllStreamPosition
public Shared.AllStreamPosition getLastAllStreamPosition()
.event_store.client.AllStreamPosition last_all_stream_position = 7;- Specified by:
getLastAllStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The lastAllStreamPosition.
-
getLastAllStreamPositionOrBuilder
public Shared.AllStreamPositionOrBuilder getLastAllStreamPositionOrBuilder()
.event_store.client.AllStreamPosition last_all_stream_position = 7;- Specified by:
getLastAllStreamPositionOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
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 StreamsOuterClass.ReadResp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.ReadResp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StreamsOuterClass.ReadResp parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StreamsOuterClass.ReadResp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StreamsOuterClass.ReadResp.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamsOuterClass.ReadResp.Builder newBuilder()
-
newBuilder
public static StreamsOuterClass.ReadResp.Builder newBuilder(StreamsOuterClass.ReadResp prototype)
-
toBuilder
public StreamsOuterClass.ReadResp.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamsOuterClass.ReadResp.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamsOuterClass.ReadResp getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamsOuterClass.ReadResp> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamsOuterClass.ReadResp> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamsOuterClass.ReadResp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-