Class TrimBeforeDateResult
- Namespace
- EsriPBuffer.Graph
- Assembly
- ESRI.Server.SOESupport.dll
public sealed class TrimBeforeDateResult : IMessage<TrimBeforeDateResult>, IEquatable<TrimBeforeDateResult>, IDeepCloneable<TrimBeforeDateResult>, IBufferMessage, IMessage
- Inheritance
-
TrimBeforeDateResult
- Implements
-
IMessage<TrimBeforeDateResult>IDeepCloneable<TrimBeforeDateResult>IBufferMessageIMessage
- Inherited Members
Constructors
TrimBeforeDateResult()
public TrimBeforeDateResult()
TrimBeforeDateResult(TrimBeforeDateResult)
public TrimBeforeDateResult(TrimBeforeDateResult other)
Parameters
otherTrimBeforeDateResult
Fields
ExistingStaleReplicaIdArrayFieldNumber
Field number for the "existing_stale_replica_id_array" field.
public const int ExistingStaleReplicaIdArrayFieldNumber = 2
Field Value
UnregisteredReplicaIdArrayFieldNumber
Field number for the "unregistered_replica_id_array" field.
public const int UnregisteredReplicaIdArrayFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
ExistingStaleReplicaIdArray
Contains an array of existing, stale replica_ids whose last_sync_date is prior to the trim_before_date.
Populated when the ForceTrim option is specified and unregister_stale_replicas is false.
Also populated when the ForceTrim option is not specified.
In this case, if there are stale replicas, then the operation will fail, an error will be returned, and
the stale replicas will be listed here.
public ByteString ExistingStaleReplicaIdArray { get; set; }
Property Value
- ByteString
HasExistingStaleReplicaIdArray
Gets whether the "existing_stale_replica_id_array" field is set
public bool HasExistingStaleReplicaIdArray { get; }
Property Value
HasUnregisteredReplicaIdArray
Gets whether the "unregistered_replica_id_array" field is set
public bool HasUnregisteredReplicaIdArray { get; }
Property Value
Parser
public static MessageParser<TrimBeforeDateResult> Parser { get; }
Property Value
- MessageParser<TrimBeforeDateResult>
ReplicaIdArrayCase
public TrimBeforeDateResult.ReplicaIdArrayOneofCase ReplicaIdArrayCase { get; }
Property Value
UnregisteredReplicaIdArray
Contains an array of unregistered replica_ids whose last_sync_date was prior to the trim_before_date.
Only populated when the trim_mode is TrimBeforeDate, ForceTrim option is specified and
unregister_stale_replicas is true.
public ByteString UnregisteredReplicaIdArray { get; set; }
Property Value
- ByteString
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearExistingStaleReplicaIdArray()
Clears the value of the oneof if it's currently set to "existing_stale_replica_id_array"
public void ClearExistingStaleReplicaIdArray()
ClearReplicaIdArray()
public void ClearReplicaIdArray()
ClearUnregisteredReplicaIdArray()
Clears the value of the oneof if it's currently set to "unregistered_replica_id_array"
public void ClearUnregisteredReplicaIdArray()
Clone()
public TrimBeforeDateResult Clone()
Returns
Equals(TrimBeforeDateResult)
public bool Equals(TrimBeforeDateResult other)
Parameters
otherTrimBeforeDateResult
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(TrimBeforeDateResult)
public void MergeFrom(TrimBeforeDateResult other)
Parameters
otherTrimBeforeDateResult
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream