Class SyncDataModelResponse

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll
public sealed class SyncDataModelResponse : IMessage<SyncDataModelResponse>, IEquatable<SyncDataModelResponse>, IDeepCloneable<SyncDataModelResponse>, IBufferMessage, IMessage
Inheritance
SyncDataModelResponse
Implements
IDeepCloneable<SyncDataModelResponse>
IBufferMessage
IMessage
Inherited Members

Constructors

SyncDataModelResponse()

public SyncDataModelResponse()

SyncDataModelResponse(SyncDataModelResponse)

public SyncDataModelResponse(SyncDataModelResponse other)

Parameters

other SyncDataModelResponse

Fields

AsyncStatusUrlFieldNumber

Field number for the "async_status_url" field.

public const int AsyncStatusUrlFieldNumber = 3

Field Value

int

DataModelTimestampFieldNumber

Field number for the "data_model_timestamp" field.

public const int DataModelTimestampFieldNumber = 5

Field Value

int

ErrorFieldNumber

Field number for the "error" field.

public const int ErrorFieldNumber = 1

Field Value

int

NamedTypeSyncResultsFieldNumber

Field number for the "named_type_sync_results" field.

public const int NamedTypeSyncResultsFieldNumber = 2

Field Value

int

WarningsFieldNumber

Field number for the "warnings" field.

public const int WarningsFieldNumber = 4

Field Value

int

Properties

AsyncStatusUrl

Populated when async is true on the SyncDataModelRequest. Clients are expected to poll the async_status_url for status of the asynchronous job.

public string AsyncStatusUrl { get; set; }

Property Value

string

DataModelTimestamp

Timestamp to indicate the last moment the data model was updated. UTC UNIX epoch in milliseconds. Clients can compare the value given with the local cached data model and refresh as necessary.

public ulong DataModelTimestamp { get; set; }

Property Value

ulong

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Error

High level error in case there is an error prior to synchronization of data model during discovery phase.

public Error Error { get; set; }

Property Value

Error

NamedTypeSyncResults

Grouped by entity or relationship type name Entity and relationship type names are populated when a failure or warning is logged.

public RepeatedField<SyncDataModelResult> NamedTypeSyncResults { get; }

Property Value

RepeatedField<SyncDataModelResult>

Parser

public static MessageParser<SyncDataModelResponse> Parser { get; }

Property Value

MessageParser<SyncDataModelResponse>

Warnings

High level warnings in case there are privilege access issues during discovery of the graph schema prior to synchronization of the data model.

public RepeatedField<Error> Warnings { get; }

Property Value

RepeatedField<Error>

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public SyncDataModelResponse Clone()

Returns

SyncDataModelResponse

Equals(SyncDataModelResponse)

public bool Equals(SyncDataModelResponse other)

Parameters

other SyncDataModelResponse

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(SyncDataModelResponse)

public void MergeFrom(SyncDataModelResponse other)

Parameters

other SyncDataModelResponse

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