Class StreamsOuterClass.BatchAppendReq.Options.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.BatchAppendReq.Options.Builder>
com.eventstore.dbclient.proto.streams.StreamsOuterClass.BatchAppendReq.Options.Builder
- All Implemented Interfaces:
StreamsOuterClass.BatchAppendReq.OptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamsOuterClass.BatchAppendReq.Options
public static final class StreamsOuterClass.BatchAppendReq.Options.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.BatchAppendReq.Options.Builder>
implements StreamsOuterClass.BatchAppendReq.OptionsOrBuilder
Protobuf type
event_store.client.streams.BatchAppendReq.Options-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearAny().google.protobuf.Empty any = 4;.google.protobuf.Duration deadline = 7;.google.protobuf.Timestamp deadline_21_10_0 = 6;.google.protobuf.Empty no_stream = 3;.google.protobuf.Empty stream_exists = 5;.event_store.client.StreamIdentifier stream_identifier = 1;uint64 stream_position = 2;com.google.protobuf.EmptygetAny().google.protobuf.Empty any = 4;com.google.protobuf.Empty.Builder.google.protobuf.Empty any = 4;com.google.protobuf.EmptyOrBuilder.google.protobuf.Empty any = 4;com.google.protobuf.Duration.google.protobuf.Duration deadline = 7;com.google.protobuf.Timestamp.google.protobuf.Timestamp deadline_21_10_0 = 6;com.google.protobuf.Timestamp.Builder.google.protobuf.Timestamp deadline_21_10_0 = 6;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp deadline_21_10_0 = 6;com.google.protobuf.Duration.Builder.google.protobuf.Duration deadline = 7;com.google.protobuf.DurationOrBuilder.google.protobuf.Duration deadline = 7;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Empty.google.protobuf.Empty no_stream = 3;com.google.protobuf.Empty.Builder.google.protobuf.Empty no_stream = 3;com.google.protobuf.EmptyOrBuilder.google.protobuf.Empty no_stream = 3;com.google.protobuf.Empty.google.protobuf.Empty stream_exists = 5;com.google.protobuf.Empty.Builder.google.protobuf.Empty stream_exists = 5;com.google.protobuf.EmptyOrBuilder.google.protobuf.Empty stream_exists = 5;.event_store.client.StreamIdentifier stream_identifier = 1;.event_store.client.StreamIdentifier stream_identifier = 1;.event_store.client.StreamIdentifier stream_identifier = 1;longuint64 stream_position = 2;booleanhasAny().google.protobuf.Empty any = 4;boolean.google.protobuf.Duration deadline = 7;boolean.google.protobuf.Timestamp deadline_21_10_0 = 6;boolean.google.protobuf.Empty no_stream = 3;boolean.google.protobuf.Empty stream_exists = 5;boolean.event_store.client.StreamIdentifier stream_identifier = 1;booleanuint64 stream_position = 2;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAny(com.google.protobuf.Empty value) .google.protobuf.Empty any = 4;mergeDeadline(com.google.protobuf.Duration value) .google.protobuf.Duration deadline = 7;mergeDeadline21100(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp deadline_21_10_0 = 6;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNoStream(com.google.protobuf.Empty value) .google.protobuf.Empty no_stream = 3;mergeStreamExists(com.google.protobuf.Empty value) .google.protobuf.Empty stream_exists = 5;.event_store.client.StreamIdentifier stream_identifier = 1;setAny(com.google.protobuf.Empty value) .google.protobuf.Empty any = 4;setAny(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty any = 4;setDeadline(com.google.protobuf.Duration value) .google.protobuf.Duration deadline = 7;setDeadline(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration deadline = 7;setDeadline21100(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp deadline_21_10_0 = 6;setDeadline21100(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp deadline_21_10_0 = 6;setNoStream(com.google.protobuf.Empty value) .google.protobuf.Empty no_stream = 3;setNoStream(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty no_stream = 3;setStreamExists(com.google.protobuf.Empty value) .google.protobuf.Empty stream_exists = 5;setStreamExists(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty stream_exists = 5;.event_store.client.StreamIdentifier stream_identifier = 1;setStreamIdentifier(Shared.StreamIdentifier.Builder builderForValue) .event_store.client.StreamIdentifier stream_identifier = 1;setStreamPosition(long value) uint64 stream_position = 2;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.BatchAppendReq.Options.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.BatchAppendReq.Options.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.BatchAppendReq.Options.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
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamsOuterClass.BatchAppendReq.Options.Builder>
-
mergeFrom
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeFrom(StreamsOuterClass.BatchAppendReq.Options other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamsOuterClass.BatchAppendReq.Options.Builder>
-
mergeFrom
public StreamsOuterClass.BatchAppendReq.Options.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.BatchAppendReq.Options.Builder>- Throws:
IOException
-
getExpectedStreamPositionCase
public StreamsOuterClass.BatchAppendReq.Options.ExpectedStreamPositionCase getExpectedStreamPositionCase()- Specified by:
getExpectedStreamPositionCasein interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
clearExpectedStreamPosition
-
getDeadlineOptionCase
- Specified by:
getDeadlineOptionCasein interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
clearDeadlineOption
-
hasStreamIdentifier
public boolean hasStreamIdentifier().event_store.client.StreamIdentifier stream_identifier = 1;- Specified by:
hasStreamIdentifierin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the streamIdentifier field is set.
-
getStreamIdentifier
.event_store.client.StreamIdentifier stream_identifier = 1;- Specified by:
getStreamIdentifierin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The streamIdentifier.
-
clearStreamIdentifier
.event_store.client.StreamIdentifier stream_identifier = 1; -
getStreamIdentifierBuilder
.event_store.client.StreamIdentifier stream_identifier = 1; -
getStreamIdentifierOrBuilder
.event_store.client.StreamIdentifier stream_identifier = 1;- Specified by:
getStreamIdentifierOrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
hasStreamPosition
public boolean hasStreamPosition()uint64 stream_position = 2;- Specified by:
hasStreamPositionin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the streamPosition field is set.
-
getStreamPosition
public long getStreamPosition()uint64 stream_position = 2;- Specified by:
getStreamPositionin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The streamPosition.
-
setStreamPosition
uint64 stream_position = 2;- Parameters:
value- The streamPosition to set.- Returns:
- This builder for chaining.
-
clearStreamPosition
uint64 stream_position = 2;- Returns:
- This builder for chaining.
-
hasNoStream
public boolean hasNoStream().google.protobuf.Empty no_stream = 3;- Specified by:
hasNoStreamin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the noStream field is set.
-
getNoStream
public com.google.protobuf.Empty getNoStream().google.protobuf.Empty no_stream = 3;- Specified by:
getNoStreamin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The noStream.
-
setNoStream
public StreamsOuterClass.BatchAppendReq.Options.Builder setNoStream(com.google.protobuf.Empty value) .google.protobuf.Empty no_stream = 3; -
setNoStream
public StreamsOuterClass.BatchAppendReq.Options.Builder setNoStream(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty no_stream = 3; -
mergeNoStream
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeNoStream(com.google.protobuf.Empty value) .google.protobuf.Empty no_stream = 3; -
clearNoStream
.google.protobuf.Empty no_stream = 3; -
getNoStreamBuilder
public com.google.protobuf.Empty.Builder getNoStreamBuilder().google.protobuf.Empty no_stream = 3; -
getNoStreamOrBuilder
public com.google.protobuf.EmptyOrBuilder getNoStreamOrBuilder().google.protobuf.Empty no_stream = 3;- Specified by:
getNoStreamOrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
hasAny
public boolean hasAny().google.protobuf.Empty any = 4;- Specified by:
hasAnyin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the any field is set.
-
getAny
public com.google.protobuf.Empty getAny().google.protobuf.Empty any = 4;- Specified by:
getAnyin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The any.
-
setAny
.google.protobuf.Empty any = 4; -
setAny
public StreamsOuterClass.BatchAppendReq.Options.Builder setAny(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty any = 4; -
mergeAny
.google.protobuf.Empty any = 4; -
clearAny
.google.protobuf.Empty any = 4; -
getAnyBuilder
public com.google.protobuf.Empty.Builder getAnyBuilder().google.protobuf.Empty any = 4; -
getAnyOrBuilder
public com.google.protobuf.EmptyOrBuilder getAnyOrBuilder().google.protobuf.Empty any = 4;- Specified by:
getAnyOrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
hasStreamExists
public boolean hasStreamExists().google.protobuf.Empty stream_exists = 5;- Specified by:
hasStreamExistsin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the streamExists field is set.
-
getStreamExists
public com.google.protobuf.Empty getStreamExists().google.protobuf.Empty stream_exists = 5;- Specified by:
getStreamExistsin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The streamExists.
-
setStreamExists
public StreamsOuterClass.BatchAppendReq.Options.Builder setStreamExists(com.google.protobuf.Empty value) .google.protobuf.Empty stream_exists = 5; -
setStreamExists
public StreamsOuterClass.BatchAppendReq.Options.Builder setStreamExists(com.google.protobuf.Empty.Builder builderForValue) .google.protobuf.Empty stream_exists = 5; -
mergeStreamExists
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeStreamExists(com.google.protobuf.Empty value) .google.protobuf.Empty stream_exists = 5; -
clearStreamExists
.google.protobuf.Empty stream_exists = 5; -
getStreamExistsBuilder
public com.google.protobuf.Empty.Builder getStreamExistsBuilder().google.protobuf.Empty stream_exists = 5; -
getStreamExistsOrBuilder
public com.google.protobuf.EmptyOrBuilder getStreamExistsOrBuilder().google.protobuf.Empty stream_exists = 5;- Specified by:
getStreamExistsOrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
hasDeadline21100
public boolean hasDeadline21100().google.protobuf.Timestamp deadline_21_10_0 = 6;- Specified by:
hasDeadline21100in interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the deadline21100 field is set.
-
getDeadline21100
public com.google.protobuf.Timestamp getDeadline21100().google.protobuf.Timestamp deadline_21_10_0 = 6;- Specified by:
getDeadline21100in interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The deadline21100.
-
setDeadline21100
public StreamsOuterClass.BatchAppendReq.Options.Builder setDeadline21100(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp deadline_21_10_0 = 6; -
setDeadline21100
public StreamsOuterClass.BatchAppendReq.Options.Builder setDeadline21100(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp deadline_21_10_0 = 6; -
mergeDeadline21100
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeDeadline21100(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp deadline_21_10_0 = 6; -
clearDeadline21100
.google.protobuf.Timestamp deadline_21_10_0 = 6; -
getDeadline21100Builder
public com.google.protobuf.Timestamp.Builder getDeadline21100Builder().google.protobuf.Timestamp deadline_21_10_0 = 6; -
getDeadline21100OrBuilder
public com.google.protobuf.TimestampOrBuilder getDeadline21100OrBuilder().google.protobuf.Timestamp deadline_21_10_0 = 6;- Specified by:
getDeadline21100OrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-
hasDeadline
public boolean hasDeadline().google.protobuf.Duration deadline = 7;- Specified by:
hasDeadlinein interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- Whether the deadline field is set.
-
getDeadline
public com.google.protobuf.Duration getDeadline().google.protobuf.Duration deadline = 7;- Specified by:
getDeadlinein interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder- Returns:
- The deadline.
-
setDeadline
public StreamsOuterClass.BatchAppendReq.Options.Builder setDeadline(com.google.protobuf.Duration value) .google.protobuf.Duration deadline = 7; -
setDeadline
public StreamsOuterClass.BatchAppendReq.Options.Builder setDeadline(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration deadline = 7; -
mergeDeadline
public StreamsOuterClass.BatchAppendReq.Options.Builder mergeDeadline(com.google.protobuf.Duration value) .google.protobuf.Duration deadline = 7; -
clearDeadline
.google.protobuf.Duration deadline = 7; -
getDeadlineBuilder
public com.google.protobuf.Duration.Builder getDeadlineBuilder().google.protobuf.Duration deadline = 7; -
getDeadlineOrBuilder
public com.google.protobuf.DurationOrBuilder getDeadlineOrBuilder().google.protobuf.Duration deadline = 7;- Specified by:
getDeadlineOrBuilderin interfaceStreamsOuterClass.BatchAppendReq.OptionsOrBuilder
-