final case class VectorIdStateSnapshot(vectorId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, prevVectorId: Seq[ByteString] = _root_.scala.Seq.empty, userId: Seq[ByteString] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[VectorIdStateSnapshot] with Product with Serializable
The state we broadcast for streaming API Examples: Split: prev run: vector_id = 1; prev_vector_id = [ ]; user_id = [a, b, c, d, e] - original entity curr run: vector_id = 11; prev_vector_id = [1]; user_id = [a, b, c] - a message of split curr run: vector_id = 12; prev_vector_id = [1]; user_id = [d, e] - another message of split
Merge: prev run: vector_id = 11; prev_vector_id = [1]; user_id = [a, b] - original entity prev run: vector_id = 39; prev_vector_id = [3]; user_id = [e, f] - original entity curr run: vector_id = 45; prev_vector_id = [11, 39]; user_id = [a, b, e, f] - a message of merge
Append: prev run: vector_id = 15; prev_vector_id = [1]; user_id = [a, b] - original entity curr run: vector_id = 15; prev_vector_id = [15]; user_id = [a, b, h] - a message of append
Create: curr run: vector_id = 99; prev_vector_id = [ ]; user_id = [e, i, o] - a message of create
- vectorId
An actual vector id
- prevVectorId
List of previous vector ids, can be empty
- userId
List of source ids (ifa/ifv/...), can't be empty
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- VectorIdStateSnapshot
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VectorIdStateSnapshot(vectorId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, prevVectorId: Seq[ByteString] = _root_.scala.Seq.empty, userId: Seq[ByteString] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- vectorId
An actual vector id
- prevVectorId
List of previous vector ids, can be empty
- userId
List of source ids (ifa/ifv/...), can't be empty
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllPrevVectorId(__vs: Iterable[ByteString]): VectorIdStateSnapshot
- def addAllUserId(__vs: Iterable[ByteString]): VectorIdStateSnapshot
- def addPrevVectorId(__vs: ByteString*): VectorIdStateSnapshot
- def addUserId(__vs: ByteString*): VectorIdStateSnapshot
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearPrevVectorId: VectorIdStateSnapshot
- def clearUserId: VectorIdStateSnapshot
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: VectorIdStateSnapshot.type
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- def discardUnknownFields: VectorIdStateSnapshot
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val prevVectorId: Seq[ByteString]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[VectorIdStateSnapshot, VectorIdStateSnapshot]) => Mutation[VectorIdStateSnapshot]*): VectorIdStateSnapshot
- Definition Classes
- Updatable
- val userId: Seq[ByteString]
- val vectorId: ByteString
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withPrevVectorId(__v: Seq[ByteString]): VectorIdStateSnapshot
- def withUnknownFields(__v: UnknownFieldSet): VectorIdStateSnapshot
- def withUserId(__v: Seq[ByteString]): VectorIdStateSnapshot
- def withVectorId(__v: ByteString): VectorIdStateSnapshot
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- VectorIdStateSnapshot → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)