Packages

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()
Linear Supertypes
Updatable[VectorIdStateSnapshot], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorIdStateSnapshot
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllPrevVectorId(__vs: Iterable[ByteString]): VectorIdStateSnapshot
  5. def addAllUserId(__vs: Iterable[ByteString]): VectorIdStateSnapshot
  6. def addPrevVectorId(__vs: ByteString*): VectorIdStateSnapshot
  7. def addUserId(__vs: ByteString*): VectorIdStateSnapshot
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearPrevVectorId: VectorIdStateSnapshot
  10. def clearUserId: VectorIdStateSnapshot
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. def companion: VectorIdStateSnapshot.type
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  13. def discardUnknownFields: VectorIdStateSnapshot
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. val prevVectorId: Seq[ByteString]
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. def serializedSize: Int
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  27. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  28. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  29. def toProtoString: String
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  30. val unknownFields: UnknownFieldSet
  31. def update(ms: (Lens[VectorIdStateSnapshot, VectorIdStateSnapshot]) => Mutation[VectorIdStateSnapshot]*): VectorIdStateSnapshot
    Definition Classes
    Updatable
  32. val userId: Seq[ByteString]
  33. val vectorId: ByteString
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. def withPrevVectorId(__v: Seq[ByteString]): VectorIdStateSnapshot
  38. def withUnknownFields(__v: UnknownFieldSet): VectorIdStateSnapshot
  39. def withUserId(__v: Seq[ByteString]): VectorIdStateSnapshot
  40. def withVectorId(__v: ByteString): VectorIdStateSnapshot
  41. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  42. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    VectorIdStateSnapshot → GeneratedMessage
  43. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[VectorIdStateSnapshot]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped