Show / Hide Table of Contents

Class Id

Identifier to identify a UDM object like a UDM event, Entity, Collection. The full identifier for persistence is created by setting the 32 most significant bits as the Id.Namespace enum This is a convenience wrapper to define the id space enum values and provide an easy interface for RPCs, most persistence use cases should use a denormalized form.

Inheritance
object
Id
Implements
IMessage<Id>
IEquatable<Id>
IDeepCloneable<Id>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Id : IMessage<Id>, IEquatable<Id>, IDeepCloneable<Id>, IBufferMessage, IMessage

Constructors

Id()

Declaration
public Id()

Id(Id)

Declaration
public Id(Id other)
Parameters
Type Name Description
Id other

Properties

Id_

Full raw ID.

Declaration
public ByteString Id_ { get; set; }
Property Value
Type Description
ByteString

Namespace

Namespace the id belongs to.

Declaration
public Id.Types.Namespace Namespace { get; set; }
Property Value
Type Description
Id.Types.Namespace

StringId

Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...

Declaration
public string StringId { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX