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
-
IMessage<SyncDataModelResponse>IDeepCloneable<SyncDataModelResponse>IBufferMessageIMessage
- Inherited Members
Constructors
SyncDataModelResponse()
public SyncDataModelResponse()
SyncDataModelResponse(SyncDataModelResponse)
public SyncDataModelResponse(SyncDataModelResponse other)
Parameters
otherSyncDataModelResponse
Fields
AsyncStatusUrlFieldNumber
Field number for the "async_status_url" field.
public const int AsyncStatusUrlFieldNumber = 3
Field Value
DataModelTimestampFieldNumber
Field number for the "data_model_timestamp" field.
public const int DataModelTimestampFieldNumber = 5
Field Value
ErrorFieldNumber
Field number for the "error" field.
public const int ErrorFieldNumber = 1
Field Value
NamedTypeSyncResultsFieldNumber
Field number for the "named_type_sync_results" field.
public const int NamedTypeSyncResultsFieldNumber = 2
Field Value
WarningsFieldNumber
Field number for the "warnings" field.
public const int WarningsFieldNumber = 4
Field Value
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
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
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
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
Clone()
public SyncDataModelResponse Clone()
Returns
Equals(SyncDataModelResponse)
public bool Equals(SyncDataModelResponse other)
Parameters
otherSyncDataModelResponse
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(SyncDataModelResponse)
public void MergeFrom(SyncDataModelResponse other)
Parameters
otherSyncDataModelResponse
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream