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>IBufferMessageIMessage
- Inherited Members
Constructors
ClientDataKey()
public ClientDataKey()
ClientDataKey(ClientDataKey)
public ClientDataKey(ClientDataKey other)
Parameters
otherClientDataKey
Fields
KeyStringFieldNumber
Field number for the "key_string" field.
public const int KeyStringFieldNumber = 1
Field Value
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
KeyCase
public ClientDataKey.KeyOneofCase KeyCase { get; }
Property Value
KeyString
public string KeyString { get; set; }
Property Value
Parser
public static MessageParser<ClientDataKey> Parser { get; }
Property Value
- MessageParser<ClientDataKey>
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(ClientDataKey)
public bool Equals(ClientDataKey other)
Parameters
otherClientDataKey
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(ClientDataKey)
public void MergeFrom(ClientDataKey other)
Parameters
otherClientDataKey
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream