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
IDeepCloneable<TrimBeforeDateResult>
IBufferMessage
IMessage
Inherited Members

Constructors

TrimBeforeDateResult()

public TrimBeforeDateResult()

TrimBeforeDateResult(TrimBeforeDateResult)

public TrimBeforeDateResult(TrimBeforeDateResult other)

Parameters

other TrimBeforeDateResult

Fields

ExistingStaleReplicaIdArrayFieldNumber

Field number for the "existing_stale_replica_id_array" field.

public const int ExistingStaleReplicaIdArrayFieldNumber = 2

Field Value

int

UnregisteredReplicaIdArrayFieldNumber

Field number for the "unregistered_replica_id_array" field.

public const int UnregisteredReplicaIdArrayFieldNumber = 1

Field Value

int

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

bool

HasUnregisteredReplicaIdArray

Gets whether the "unregistered_replica_id_array" field is set

public bool HasUnregisteredReplicaIdArray { get; }

Property Value

bool

Parser

public static MessageParser<TrimBeforeDateResult> Parser { get; }

Property Value

MessageParser<TrimBeforeDateResult>

ReplicaIdArrayCase

public TrimBeforeDateResult.ReplicaIdArrayOneofCase ReplicaIdArrayCase { get; }

Property Value

TrimBeforeDateResult.ReplicaIdArrayOneofCase

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

int

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

TrimBeforeDateResult

Equals(TrimBeforeDateResult)

public bool Equals(TrimBeforeDateResult other)

Parameters

other TrimBeforeDateResult

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(TrimBeforeDateResult)

public void MergeFrom(TrimBeforeDateResult other)

Parameters

other TrimBeforeDateResult

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