Class ClientDataKey

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll

ClientDataKey and ClientData represent the key and value of client persisted data. The key is associated with one and only one value. This associative relationship is referred to as a key-value pair.

The ClientDataVTag or version tag is a case-sensitive, opaque identifier assigned by the server to a specific version of the value associated with the ClientDataKey. The server does not need to send a full response if the ClientData associated with the ClientDataKey has not changed. The v_tag is included in the response for upsert and fetch client data operations.

The key must be non-empty and unique to every ClientData.

public sealed class ClientDataKey : IMessage<ClientDataKey>, IEquatable<ClientDataKey>, IDeepCloneable<ClientDataKey>, IBufferMessage, IMessage
Inheritance
ClientDataKey
Implements
IMessage<ClientDataKey>
IDeepCloneable<ClientDataKey>
IBufferMessage
IMessage
Inherited Members

Constructors

ClientDataKey()

public ClientDataKey()

ClientDataKey(ClientDataKey)

public ClientDataKey(ClientDataKey other)

Parameters

other ClientDataKey

Fields

KeyStringFieldNumber

Field number for the "key_string" field.

public const int KeyStringFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasKeyString

Gets whether the "key_string" field is set

public bool HasKeyString { get; }

Property Value

bool

KeyCase

public ClientDataKey.KeyOneofCase KeyCase { get; }

Property Value

ClientDataKey.KeyOneofCase

KeyString

public string KeyString { get; set; }

Property Value

string

Parser

public static MessageParser<ClientDataKey> Parser { get; }

Property Value

MessageParser<ClientDataKey>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearKey()

public void ClearKey()

ClearKeyString()

Clears the value of the oneof if it's currently set to "key_string"

public void ClearKeyString()

Clone()

public ClientDataKey Clone()

Returns

ClientDataKey

Equals(ClientDataKey)

public bool Equals(ClientDataKey other)

Parameters

other ClientDataKey

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(ClientDataKey)

public void MergeFrom(ClientDataKey other)

Parameters

other ClientDataKey

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream