Class ClientDataUpsertRequest
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
If there are duplicate keys in the request, reject the entire request and send an error response. If a Client Data with the given key is not present in the database, add the value and return its v_tag. If a Client Data with the given key is present in the database, and a) If a v_tag in the request is not empty and doesn't match with the one in the database, reject the entire request and send an error response. b) Else update the value and return its new v_tag. If there are errors during upsert for some keys/values, other valid client data in the request still pass through and get stored successfully in the database (there is no global rollback).
public sealed class ClientDataUpsertRequest : IMessage<ClientDataUpsertRequest>, IEquatable<ClientDataUpsertRequest>, IDeepCloneable<ClientDataUpsertRequest>, IBufferMessage, IMessage
- Inheritance
-
ClientDataUpsertRequest
- Implements
-
IMessage<ClientDataUpsertRequest>IDeepCloneable<ClientDataUpsertRequest>IBufferMessageIMessage
- Inherited Members
Constructors
ClientDataUpsertRequest()
public ClientDataUpsertRequest()
ClientDataUpsertRequest(ClientDataUpsertRequest)
public ClientDataUpsertRequest(ClientDataUpsertRequest other)
Parameters
otherClientDataUpsertRequest
Fields
UpsertClientDataFieldNumber
Field number for the "upsert_client_data" field.
public const int UpsertClientDataFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<ClientDataUpsertRequest> Parser { get; }
Property Value
- MessageParser<ClientDataUpsertRequest>
UpsertClientData
public RepeatedField<ClientDataUpsertRequestParameter> UpsertClientData { get; }
Property Value
- RepeatedField<ClientDataUpsertRequestParameter>
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public ClientDataUpsertRequest Clone()
Returns
Equals(ClientDataUpsertRequest)
public bool Equals(ClientDataUpsertRequest other)
Parameters
otherClientDataUpsertRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(ClientDataUpsertRequest)
public void MergeFrom(ClientDataUpsertRequest other)
Parameters
otherClientDataUpsertRequest
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream