public interface AppendRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getExpectedRevision()
The expected revision for optimistic concurrency control.
|
AppendRecord |
getRecords(int index)
The records to append to the stream.
|
int |
getRecordsCount()
The records to append to the stream.
|
java.util.List<AppendRecord> |
getRecordsList()
The records to append to the stream.
|
AppendRecordOrBuilder |
getRecordsOrBuilder(int index)
The records to append to the stream.
|
java.util.List<? extends AppendRecordOrBuilder> |
getRecordsOrBuilderList()
The records to append to the stream.
|
java.lang.String |
getStream()
The stream to append records to.
|
com.google.protobuf.ByteString |
getStreamBytes()
The stream to append records to.
|
boolean |
hasExpectedRevision()
The expected revision for optimistic concurrency control.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getStream()
The stream to append records to.
string stream = 1;com.google.protobuf.ByteString getStreamBytes()
The stream to append records to.
string stream = 1;java.util.List<AppendRecord> getRecordsList()
The records to append to the stream.
repeated .kurrentdb.protocol.v2.streams.AppendRecord records = 2;AppendRecord getRecords(int index)
The records to append to the stream.
repeated .kurrentdb.protocol.v2.streams.AppendRecord records = 2;int getRecordsCount()
The records to append to the stream.
repeated .kurrentdb.protocol.v2.streams.AppendRecord records = 2;java.util.List<? extends AppendRecordOrBuilder> getRecordsOrBuilderList()
The records to append to the stream.
repeated .kurrentdb.protocol.v2.streams.AppendRecord records = 2;AppendRecordOrBuilder getRecordsOrBuilder(int index)
The records to append to the stream.
repeated .kurrentdb.protocol.v2.streams.AppendRecord records = 2;boolean hasExpectedRevision()
The expected revision for optimistic concurrency control. Can be either: - A specific revision number (0, 1, 2, ...) - the stream must be at exactly this revision - An ExpectedRevisionConstants value (-4, -2, -1) for special semantics If omitted, defaults to EXPECTED_REVISION_CONSTANTS_ANY (-2).
optional sint64 expected_revision = 3 [jstype = JS_STRING];long getExpectedRevision()
The expected revision for optimistic concurrency control. Can be either: - A specific revision number (0, 1, 2, ...) - the stream must be at exactly this revision - An ExpectedRevisionConstants value (-4, -2, -1) for special semantics If omitted, defaults to EXPECTED_REVISION_CONSTANTS_ANY (-2).
optional sint64 expected_revision = 3 [jstype = JS_STRING];