scalapb.com.eventstore.dbclient.proto.streams.DeleteReq.scala Maven / Gradle / Ivy
The newest version!
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3
package com.eventstore.dbclient.proto.streams
@SerialVersionUID(0L)
final case class DeleteReq(
options: _root_.scala.Option[com.eventstore.dbclient.proto.streams.DeleteReq.Options] = _root_.scala.None,
unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
) extends scalapb.GeneratedMessage {
@transient
private var __serializedSizeMemoized: _root_.scala.Int = 0
private def __computeSerializedSize(): _root_.scala.Int = {
var __size = 0
if (options.isDefined) {
val __value = options.get
__size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
};
__size += unknownFields.serializedSize
__size
}
override def serializedSize: _root_.scala.Int = {
var __size = __serializedSizeMemoized
if (__size == 0) {
__size = __computeSerializedSize() + 1
__serializedSizeMemoized = __size
}
__size - 1
}
def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
options.foreach { __v =>
val __m = __v
_output__.writeTag(1, 2)
_output__.writeUInt32NoTag(__m.serializedSize)
__m.writeTo(_output__)
};
unknownFields.writeTo(_output__)
}
def getOptions: com.eventstore.dbclient.proto.streams.DeleteReq.Options = options.getOrElse(com.eventstore.dbclient.proto.streams.DeleteReq.Options.defaultInstance)
def clearOptions: DeleteReq = copy(options = _root_.scala.None)
def withOptions(__v: com.eventstore.dbclient.proto.streams.DeleteReq.Options): DeleteReq = copy(options = Option(__v))
def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
(__fieldNumber: @_root_.scala.unchecked) match {
case 1 => options.orNull
}
}
def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
_root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
(__field.number: @_root_.scala.unchecked) match {
case 1 => options.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
}
}
def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
def companion: com.eventstore.dbclient.proto.streams.DeleteReq.type = com.eventstore.dbclient.proto.streams.DeleteReq
// @@protoc_insertion_point(GeneratedMessage[event_store.client.streams.DeleteReq])
}
@scala.annotation.nowarn
object DeleteReq extends scalapb.GeneratedMessageCompanion[com.eventstore.dbclient.proto.streams.DeleteReq] {
implicit def messageCompanion: scalapb.GeneratedMessageCompanion[com.eventstore.dbclient.proto.streams.DeleteReq] = this
def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): com.eventstore.dbclient.proto.streams.DeleteReq = {
var __options: _root_.scala.Option[com.eventstore.dbclient.proto.streams.DeleteReq.Options] = _root_.scala.None
var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
var _done__ = false
while (!_done__) {
val _tag__ = _input__.readTag()
_tag__ match {
case 0 => _done__ = true
case 10 =>
__options = _root_.scala.Option(__options.fold(_root_.scalapb.LiteParser.readMessage[com.eventstore.dbclient.proto.streams.DeleteReq.Options](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
case tag =>
if (_unknownFields__ == null) {
_unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
}
_unknownFields__.parseField(tag, _input__)
}
}
com.eventstore.dbclient.proto.streams.DeleteReq(
options = __options,
unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
)
}
implicit def messageReads: _root_.scalapb.descriptors.Reads[com.eventstore.dbclient.proto.streams.DeleteReq] = _root_.scalapb.descriptors.Reads{
case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
_root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
com.eventstore.dbclient.proto.streams.DeleteReq(
options = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).flatMap(_.as[_root_.scala.Option[com.eventstore.dbclient.proto.streams.DeleteReq.Options]])
)
case _ => throw new RuntimeException("Expected PMessage")
}
def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = StreamsProto.javaDescriptor.getMessageTypes().get(6)
def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = StreamsProto.scalaDescriptor.messages(6)
def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[?] = {
var __out: _root_.scalapb.GeneratedMessageCompanion[?] = null
(__number: @_root_.scala.unchecked) match {
case 1 => __out = com.eventstore.dbclient.proto.streams.DeleteReq.Options
}
__out
}
lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[? <: _root_.scalapb.GeneratedMessage]] =
Seq[_root_.scalapb.GeneratedMessageCompanion[? <: _root_.scalapb.GeneratedMessage]](
_root_.com.eventstore.dbclient.proto.streams.DeleteReq.Options
)
def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[?] = throw new MatchError(__fieldNumber)
lazy val defaultInstance = com.eventstore.dbclient.proto.streams.DeleteReq(
options = _root_.scala.None
)
@SerialVersionUID(0L)
final case class Options(
streamIdentifier: _root_.scala.Option[com.eventstore.dbclient.proto.shared.StreamIdentifier] = _root_.scala.None,
expectedStreamRevision: com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Empty,
unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
) extends scalapb.GeneratedMessage {
@transient
private var __serializedSizeMemoized: _root_.scala.Int = 0
private def __computeSerializedSize(): _root_.scala.Int = {
var __size = 0
if (streamIdentifier.isDefined) {
val __value = streamIdentifier.get
__size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
};
if (expectedStreamRevision.revision.isDefined) {
val __value = expectedStreamRevision.revision.get
__size += _root_.com.google.protobuf.CodedOutputStream.computeUInt64Size(2, __value)
};
if (expectedStreamRevision.noStream.isDefined) {
val __value = expectedStreamRevision.noStream.get
__size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
};
if (expectedStreamRevision.any.isDefined) {
val __value = expectedStreamRevision.any.get
__size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
};
if (expectedStreamRevision.streamExists.isDefined) {
val __value = expectedStreamRevision.streamExists.get
__size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
};
__size += unknownFields.serializedSize
__size
}
override def serializedSize: _root_.scala.Int = {
var __size = __serializedSizeMemoized
if (__size == 0) {
__size = __computeSerializedSize() + 1
__serializedSizeMemoized = __size
}
__size - 1
}
def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
streamIdentifier.foreach { __v =>
val __m = __v
_output__.writeTag(1, 2)
_output__.writeUInt32NoTag(__m.serializedSize)
__m.writeTo(_output__)
};
expectedStreamRevision.revision.foreach { __v =>
val __m = __v
_output__.writeUInt64(2, __m)
};
expectedStreamRevision.noStream.foreach { __v =>
val __m = __v
_output__.writeTag(3, 2)
_output__.writeUInt32NoTag(__m.serializedSize)
__m.writeTo(_output__)
};
expectedStreamRevision.any.foreach { __v =>
val __m = __v
_output__.writeTag(4, 2)
_output__.writeUInt32NoTag(__m.serializedSize)
__m.writeTo(_output__)
};
expectedStreamRevision.streamExists.foreach { __v =>
val __m = __v
_output__.writeTag(5, 2)
_output__.writeUInt32NoTag(__m.serializedSize)
__m.writeTo(_output__)
};
unknownFields.writeTo(_output__)
}
def getStreamIdentifier: com.eventstore.dbclient.proto.shared.StreamIdentifier = streamIdentifier.getOrElse(com.eventstore.dbclient.proto.shared.StreamIdentifier.defaultInstance)
def clearStreamIdentifier: Options = copy(streamIdentifier = _root_.scala.None)
def withStreamIdentifier(__v: com.eventstore.dbclient.proto.shared.StreamIdentifier): Options = copy(streamIdentifier = Option(__v))
def getRevision: _root_.scala.Long = expectedStreamRevision.revision.getOrElse(0L)
def withRevision(__v: _root_.scala.Long): Options = copy(expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Revision(__v))
def getNoStream: com.eventstore.dbclient.proto.shared.Empty = expectedStreamRevision.noStream.getOrElse(com.eventstore.dbclient.proto.shared.Empty.defaultInstance)
def withNoStream(__v: com.eventstore.dbclient.proto.shared.Empty): Options = copy(expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.NoStream(__v))
def getAny: com.eventstore.dbclient.proto.shared.Empty = expectedStreamRevision.any.getOrElse(com.eventstore.dbclient.proto.shared.Empty.defaultInstance)
def withAny(__v: com.eventstore.dbclient.proto.shared.Empty): Options = copy(expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Any(__v))
def getStreamExists: com.eventstore.dbclient.proto.shared.Empty = expectedStreamRevision.streamExists.getOrElse(com.eventstore.dbclient.proto.shared.Empty.defaultInstance)
def withStreamExists(__v: com.eventstore.dbclient.proto.shared.Empty): Options = copy(expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.StreamExists(__v))
def clearExpectedStreamRevision: Options = copy(expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Empty)
def withExpectedStreamRevision(__v: com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision): Options = copy(expectedStreamRevision = __v)
def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
(__fieldNumber: @_root_.scala.unchecked) match {
case 1 => streamIdentifier.orNull
case 2 => expectedStreamRevision.revision.orNull
case 3 => expectedStreamRevision.noStream.orNull
case 4 => expectedStreamRevision.any.orNull
case 5 => expectedStreamRevision.streamExists.orNull
}
}
def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
_root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
(__field.number: @_root_.scala.unchecked) match {
case 1 => streamIdentifier.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
case 2 => expectedStreamRevision.revision.map(_root_.scalapb.descriptors.PLong(_)).getOrElse(_root_.scalapb.descriptors.PEmpty)
case 3 => expectedStreamRevision.noStream.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
case 4 => expectedStreamRevision.any.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
case 5 => expectedStreamRevision.streamExists.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
}
}
def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
def companion: com.eventstore.dbclient.proto.streams.DeleteReq.Options.type = com.eventstore.dbclient.proto.streams.DeleteReq.Options
// @@protoc_insertion_point(GeneratedMessage[event_store.client.streams.DeleteReq.Options])
}
object Options extends scalapb.GeneratedMessageCompanion[com.eventstore.dbclient.proto.streams.DeleteReq.Options] {
implicit def messageCompanion: scalapb.GeneratedMessageCompanion[com.eventstore.dbclient.proto.streams.DeleteReq.Options] = this
def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): com.eventstore.dbclient.proto.streams.DeleteReq.Options = {
var __streamIdentifier: _root_.scala.Option[com.eventstore.dbclient.proto.shared.StreamIdentifier] = _root_.scala.None
var __expectedStreamRevision: com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Empty
var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
var _done__ = false
while (!_done__) {
val _tag__ = _input__.readTag()
_tag__ match {
case 0 => _done__ = true
case 10 =>
__streamIdentifier = _root_.scala.Option(__streamIdentifier.fold(_root_.scalapb.LiteParser.readMessage[com.eventstore.dbclient.proto.shared.StreamIdentifier](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
case 16 =>
__expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Revision(_input__.readUInt64())
case 26 =>
__expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.NoStream(__expectedStreamRevision.noStream.fold(_root_.scalapb.LiteParser.readMessage[com.eventstore.dbclient.proto.shared.Empty](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
case 34 =>
__expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Any(__expectedStreamRevision.any.fold(_root_.scalapb.LiteParser.readMessage[com.eventstore.dbclient.proto.shared.Empty](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
case 42 =>
__expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.StreamExists(__expectedStreamRevision.streamExists.fold(_root_.scalapb.LiteParser.readMessage[com.eventstore.dbclient.proto.shared.Empty](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
case tag =>
if (_unknownFields__ == null) {
_unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
}
_unknownFields__.parseField(tag, _input__)
}
}
com.eventstore.dbclient.proto.streams.DeleteReq.Options(
streamIdentifier = __streamIdentifier,
expectedStreamRevision = __expectedStreamRevision,
unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
)
}
implicit def messageReads: _root_.scalapb.descriptors.Reads[com.eventstore.dbclient.proto.streams.DeleteReq.Options] = _root_.scalapb.descriptors.Reads{
case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
_root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
com.eventstore.dbclient.proto.streams.DeleteReq.Options(
streamIdentifier = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).flatMap(_.as[_root_.scala.Option[com.eventstore.dbclient.proto.shared.StreamIdentifier]]),
expectedStreamRevision = __fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).flatMap(_.as[_root_.scala.Option[_root_.scala.Long]]).map(com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Revision(_))
.orElse[com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision](__fieldsMap.get(scalaDescriptor.findFieldByNumber(3).get).flatMap(_.as[_root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty]]).map(com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.NoStream(_)))
.orElse[com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision](__fieldsMap.get(scalaDescriptor.findFieldByNumber(4).get).flatMap(_.as[_root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty]]).map(com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Any(_)))
.orElse[com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision](__fieldsMap.get(scalaDescriptor.findFieldByNumber(5).get).flatMap(_.as[_root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty]]).map(com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.StreamExists(_)))
.getOrElse(com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Empty)
)
case _ => throw new RuntimeException("Expected PMessage")
}
def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = com.eventstore.dbclient.proto.streams.DeleteReq.javaDescriptor.getNestedTypes().get(0)
def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = com.eventstore.dbclient.proto.streams.DeleteReq.scalaDescriptor.nestedMessages(0)
def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[?] = {
var __out: _root_.scalapb.GeneratedMessageCompanion[?] = null
(__number: @_root_.scala.unchecked) match {
case 1 => __out = com.eventstore.dbclient.proto.shared.StreamIdentifier
case 3 => __out = com.eventstore.dbclient.proto.shared.Empty
case 4 => __out = com.eventstore.dbclient.proto.shared.Empty
case 5 => __out = com.eventstore.dbclient.proto.shared.Empty
}
__out
}
lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[? <: _root_.scalapb.GeneratedMessage]] = Seq.empty
def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[?] = throw new MatchError(__fieldNumber)
lazy val defaultInstance = com.eventstore.dbclient.proto.streams.DeleteReq.Options(
streamIdentifier = _root_.scala.None,
expectedStreamRevision = com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision.Empty
)
sealed trait ExpectedStreamRevision extends _root_.scalapb.GeneratedOneof {
def isEmpty: _root_.scala.Boolean = false
def isDefined: _root_.scala.Boolean = true
def isRevision: _root_.scala.Boolean = false
def isNoStream: _root_.scala.Boolean = false
def isAny: _root_.scala.Boolean = false
def isStreamExists: _root_.scala.Boolean = false
def revision: _root_.scala.Option[_root_.scala.Long] = _root_.scala.None
def noStream: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = _root_.scala.None
def any: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = _root_.scala.None
def streamExists: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = _root_.scala.None
}
object ExpectedStreamRevision {
@SerialVersionUID(0L)
case object Empty extends com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision {
type ValueType = _root_.scala.Nothing
override def isEmpty: _root_.scala.Boolean = true
override def isDefined: _root_.scala.Boolean = false
override def number: _root_.scala.Int = 0
override def value: _root_.scala.Nothing = throw new java.util.NoSuchElementException("Empty.value")
}
@SerialVersionUID(0L)
final case class Revision(value: _root_.scala.Long) extends com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision {
type ValueType = _root_.scala.Long
override def isRevision: _root_.scala.Boolean = true
override def revision: _root_.scala.Option[_root_.scala.Long] = Some(value)
override def number: _root_.scala.Int = 2
}
@SerialVersionUID(0L)
final case class NoStream(value: com.eventstore.dbclient.proto.shared.Empty) extends com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision {
type ValueType = com.eventstore.dbclient.proto.shared.Empty
override def isNoStream: _root_.scala.Boolean = true
override def noStream: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = Some(value)
override def number: _root_.scala.Int = 3
}
@SerialVersionUID(0L)
final case class Any(value: com.eventstore.dbclient.proto.shared.Empty) extends com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision {
type ValueType = com.eventstore.dbclient.proto.shared.Empty
override def isAny: _root_.scala.Boolean = true
override def any: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = Some(value)
override def number: _root_.scala.Int = 4
}
@SerialVersionUID(0L)
final case class StreamExists(value: com.eventstore.dbclient.proto.shared.Empty) extends com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision {
type ValueType = com.eventstore.dbclient.proto.shared.Empty
override def isStreamExists: _root_.scala.Boolean = true
override def streamExists: _root_.scala.Option[com.eventstore.dbclient.proto.shared.Empty] = Some(value)
override def number: _root_.scala.Int = 5
}
}
final val STREAM_IDENTIFIER_FIELD_NUMBER = 1
final val REVISION_FIELD_NUMBER = 2
final val NO_STREAM_FIELD_NUMBER = 3
final val ANY_FIELD_NUMBER = 4
final val STREAM_EXISTS_FIELD_NUMBER = 5
def of(
streamIdentifier: _root_.scala.Option[com.eventstore.dbclient.proto.shared.StreamIdentifier],
expectedStreamRevision: com.eventstore.dbclient.proto.streams.DeleteReq.Options.ExpectedStreamRevision
): _root_.com.eventstore.dbclient.proto.streams.DeleteReq.Options = _root_.com.eventstore.dbclient.proto.streams.DeleteReq.Options(
streamIdentifier,
expectedStreamRevision
)
// @@protoc_insertion_point(GeneratedMessageCompanion[event_store.client.streams.DeleteReq.Options])
}
final val OPTIONS_FIELD_NUMBER = 1
def of(
options: _root_.scala.Option[com.eventstore.dbclient.proto.streams.DeleteReq.Options]
): _root_.com.eventstore.dbclient.proto.streams.DeleteReq = _root_.com.eventstore.dbclient.proto.streams.DeleteReq(
options
)
// @@protoc_insertion_point(GeneratedMessageCompanion[event_store.client.streams.DeleteReq])
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy