Class StreamsOuterClass.ReadResp.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.ReadResp.Builder>
com.eventstore.dbclient.proto.streams.StreamsOuterClass.ReadResp.Builder
- All Implemented Interfaces:
StreamsOuterClass.ReadRespOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamsOuterClass.ReadResp
public static final class StreamsOuterClass.ReadResp.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.ReadResp.Builder>
implements StreamsOuterClass.ReadRespOrBuilder
Protobuf type
event_store.client.streams.ReadResp-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear().event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;uint64 first_stream_position = 5;.event_store.client.AllStreamPosition last_all_stream_position = 7;uint64 last_stream_position = 6;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEvent().event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;longuint64 first_stream_position = 5;.event_store.client.AllStreamPosition last_all_stream_position = 7;.event_store.client.AllStreamPosition last_all_stream_position = 7;.event_store.client.AllStreamPosition last_all_stream_position = 7;longuint64 last_stream_position = 6;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;boolean.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;boolean.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;boolean.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;booleanhasEvent().event_store.client.streams.ReadResp.ReadEvent event = 1;boolean.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;booleanuint64 first_stream_position = 5;boolean.event_store.client.AllStreamPosition last_all_stream_position = 7;booleanuint64 last_stream_position = 6;boolean.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .event_store.client.AllStreamPosition last_all_stream_position = 7;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;setCaughtUp(StreamsOuterClass.ReadResp.CaughtUp.Builder builderForValue) .event_store.client.streams.ReadResp.CaughtUp caught_up = 8;.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;setCheckpoint(StreamsOuterClass.ReadResp.Checkpoint.Builder builderForValue) .event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;.event_store.client.streams.ReadResp.ReadEvent event = 1;setEvent(StreamsOuterClass.ReadResp.ReadEvent.Builder builderForValue) .event_store.client.streams.ReadResp.ReadEvent event = 1;.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;setFellBehind(StreamsOuterClass.ReadResp.FellBehind.Builder builderForValue) .event_store.client.streams.ReadResp.FellBehind fell_behind = 9;setFirstStreamPosition(long value) uint64 first_stream_position = 5;.event_store.client.AllStreamPosition last_all_stream_position = 7;setLastAllStreamPosition(Shared.AllStreamPosition.Builder builderForValue) .event_store.client.AllStreamPosition last_all_stream_position = 7;setLastStreamPosition(long value) uint64 last_stream_position = 6;.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;setStreamNotFound(StreamsOuterClass.ReadResp.StreamNotFound.Builder builderForValue) .event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<StreamsOuterClass.ReadResp.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.ReadResp.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.ReadResp.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamsOuterClass.ReadResp.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.ReadResp.Builder>
-
mergeFrom
public StreamsOuterClass.ReadResp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamsOuterClass.ReadResp.Builder>- Throws:
IOException
-
getContentCase
- Specified by:
getContentCasein interfaceStreamsOuterClass.ReadRespOrBuilder
-
clearContent
-
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
.event_store.client.streams.ReadResp.ReadEvent event = 1;- Specified by:
getEventin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The event.
-
setEvent
.event_store.client.streams.ReadResp.ReadEvent event = 1; -
setEvent
public StreamsOuterClass.ReadResp.Builder setEvent(StreamsOuterClass.ReadResp.ReadEvent.Builder builderForValue) .event_store.client.streams.ReadResp.ReadEvent event = 1; -
mergeEvent
.event_store.client.streams.ReadResp.ReadEvent event = 1; -
clearEvent
.event_store.client.streams.ReadResp.ReadEvent event = 1; -
getEventBuilder
.event_store.client.streams.ReadResp.ReadEvent event = 1; -
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
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2;- Specified by:
getConfirmationin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The confirmation.
-
setConfirmation
public StreamsOuterClass.ReadResp.Builder setConfirmation(StreamsOuterClass.ReadResp.SubscriptionConfirmation value) .event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2; -
setConfirmation
public StreamsOuterClass.ReadResp.Builder setConfirmation(StreamsOuterClass.ReadResp.SubscriptionConfirmation.Builder builderForValue) .event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2; -
mergeConfirmation
public StreamsOuterClass.ReadResp.Builder mergeConfirmation(StreamsOuterClass.ReadResp.SubscriptionConfirmation value) .event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2; -
clearConfirmation
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2; -
getConfirmationBuilder
.event_store.client.streams.ReadResp.SubscriptionConfirmation confirmation = 2; -
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
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3;- Specified by:
getCheckpointin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The checkpoint.
-
setCheckpoint
public StreamsOuterClass.ReadResp.Builder setCheckpoint(StreamsOuterClass.ReadResp.Checkpoint value) .event_store.client.streams.ReadResp.Checkpoint checkpoint = 3; -
setCheckpoint
public StreamsOuterClass.ReadResp.Builder setCheckpoint(StreamsOuterClass.ReadResp.Checkpoint.Builder builderForValue) .event_store.client.streams.ReadResp.Checkpoint checkpoint = 3; -
mergeCheckpoint
public StreamsOuterClass.ReadResp.Builder mergeCheckpoint(StreamsOuterClass.ReadResp.Checkpoint value) .event_store.client.streams.ReadResp.Checkpoint checkpoint = 3; -
clearCheckpoint
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3; -
getCheckpointBuilder
.event_store.client.streams.ReadResp.Checkpoint checkpoint = 3; -
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
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;- Specified by:
getStreamNotFoundin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The streamNotFound.
-
setStreamNotFound
public StreamsOuterClass.ReadResp.Builder setStreamNotFound(StreamsOuterClass.ReadResp.StreamNotFound value) .event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4; -
setStreamNotFound
public StreamsOuterClass.ReadResp.Builder setStreamNotFound(StreamsOuterClass.ReadResp.StreamNotFound.Builder builderForValue) .event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4; -
mergeStreamNotFound
public StreamsOuterClass.ReadResp.Builder mergeStreamNotFound(StreamsOuterClass.ReadResp.StreamNotFound value) .event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4; -
clearStreamNotFound
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4; -
getStreamNotFoundBuilder
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4; -
getStreamNotFoundOrBuilder
.event_store.client.streams.ReadResp.StreamNotFound stream_not_found = 4;- Specified by:
getStreamNotFoundOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasFirstStreamPosition
public boolean hasFirstStreamPosition()uint64 first_stream_position = 5;- Specified by:
hasFirstStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the firstStreamPosition field is set.
-
getFirstStreamPosition
public long getFirstStreamPosition()uint64 first_stream_position = 5;- Specified by:
getFirstStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The firstStreamPosition.
-
setFirstStreamPosition
uint64 first_stream_position = 5;- Parameters:
value- The firstStreamPosition to set.- Returns:
- This builder for chaining.
-
clearFirstStreamPosition
uint64 first_stream_position = 5;- Returns:
- This builder for chaining.
-
hasLastStreamPosition
public boolean hasLastStreamPosition()uint64 last_stream_position = 6;- Specified by:
hasLastStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the lastStreamPosition field is set.
-
getLastStreamPosition
public long getLastStreamPosition()uint64 last_stream_position = 6;- Specified by:
getLastStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The lastStreamPosition.
-
setLastStreamPosition
uint64 last_stream_position = 6;- Parameters:
value- The lastStreamPosition to set.- Returns:
- This builder for chaining.
-
clearLastStreamPosition
uint64 last_stream_position = 6;- Returns:
- This builder for chaining.
-
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
.event_store.client.AllStreamPosition last_all_stream_position = 7;- Specified by:
getLastAllStreamPositionin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The lastAllStreamPosition.
-
clearLastAllStreamPosition
.event_store.client.AllStreamPosition last_all_stream_position = 7; -
getLastAllStreamPositionBuilder
.event_store.client.AllStreamPosition last_all_stream_position = 7; -
getLastAllStreamPositionOrBuilder
.event_store.client.AllStreamPosition last_all_stream_position = 7;- Specified by:
getLastAllStreamPositionOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasCaughtUp
public boolean hasCaughtUp().event_store.client.streams.ReadResp.CaughtUp caught_up = 8;- Specified by:
hasCaughtUpin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the caughtUp field is set.
-
getCaughtUp
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;- Specified by:
getCaughtUpin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The caughtUp.
-
setCaughtUp
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8; -
setCaughtUp
public StreamsOuterClass.ReadResp.Builder setCaughtUp(StreamsOuterClass.ReadResp.CaughtUp.Builder builderForValue) .event_store.client.streams.ReadResp.CaughtUp caught_up = 8; -
mergeCaughtUp
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8; -
clearCaughtUp
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8; -
getCaughtUpBuilder
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8; -
getCaughtUpOrBuilder
.event_store.client.streams.ReadResp.CaughtUp caught_up = 8;- Specified by:
getCaughtUpOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-
hasFellBehind
public boolean hasFellBehind().event_store.client.streams.ReadResp.FellBehind fell_behind = 9;- Specified by:
hasFellBehindin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- Whether the fellBehind field is set.
-
getFellBehind
.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;- Specified by:
getFellBehindin interfaceStreamsOuterClass.ReadRespOrBuilder- Returns:
- The fellBehind.
-
setFellBehind
public StreamsOuterClass.ReadResp.Builder setFellBehind(StreamsOuterClass.ReadResp.FellBehind value) .event_store.client.streams.ReadResp.FellBehind fell_behind = 9; -
setFellBehind
public StreamsOuterClass.ReadResp.Builder setFellBehind(StreamsOuterClass.ReadResp.FellBehind.Builder builderForValue) .event_store.client.streams.ReadResp.FellBehind fell_behind = 9; -
mergeFellBehind
public StreamsOuterClass.ReadResp.Builder mergeFellBehind(StreamsOuterClass.ReadResp.FellBehind value) .event_store.client.streams.ReadResp.FellBehind fell_behind = 9; -
clearFellBehind
.event_store.client.streams.ReadResp.FellBehind fell_behind = 9; -
getFellBehindBuilder
.event_store.client.streams.ReadResp.FellBehind fell_behind = 9; -
getFellBehindOrBuilder
.event_store.client.streams.ReadResp.FellBehind fell_behind = 9;- Specified by:
getFellBehindOrBuilderin interfaceStreamsOuterClass.ReadRespOrBuilder
-