Class CreateReplicaRequest

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

Constructors

CreateReplicaRequest()

public CreateReplicaRequest()

CreateReplicaRequest(CreateReplicaRequest)

public CreateReplicaRequest(CreateReplicaRequest other)

Parameters

other CreateReplicaRequest

Fields

AsyncFieldNumber

Field number for the "async" field.

public const int AsyncFieldNumber = 7

Field Value

int

DataFormatFieldNumber

Field number for the "data_format" field.

public const int DataFormatFieldNumber = 6

Field Value

int

ReferenceReplicaFieldNumber

Field number for the "reference_replica" field.

public const int ReferenceReplicaFieldNumber = 4

Field Value

int

ReplicaFiltersFieldNumber

Field number for the "replica_filters" field.

public const int ReplicaFiltersFieldNumber = 3

Field Value

int

ReplicaIdFieldNumber

Field number for the "replica_id" field.

public const int ReplicaIdFieldNumber = 2

Field Value

int

RequestedReplicaNameFieldNumber

Field number for the "requested_replica_name" field.

public const int RequestedReplicaNameFieldNumber = 1

Field Value

int

SyncDirectionFieldNumber

Field number for the "sync_direction" field.

public const int SyncDirectionFieldNumber = 5

Field Value

int

Properties

Async

Process the request asynchronously. The response will contain a url that can be used to query the status of the request.

public bool Async { get; set; }

Property Value

bool

DataFormat

The data format of the replica response.

public SyncDataFormat DataFormat { get; set; }

Property Value

SyncDataFormat

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasReplicaId

Gets whether the "replica_id" field is set

public bool HasReplicaId { get; }

Property Value

bool

HasRequestedReplicaName

Gets whether the "requested_replica_name" field is set

public bool HasRequestedReplicaName { get; }

Property Value

bool

Parser

public static MessageParser<CreateReplicaRequest> Parser { get; }

Property Value

MessageParser<CreateReplicaRequest>

ReferenceReplica

Creates a new replica based on an existing replica definition.

public ReferenceReplica ReferenceReplica { get; set; }

Property Value

ReferenceReplica

ReplicaDefinitionCase

public CreateReplicaRequest.ReplicaDefinitionOneofCase ReplicaDefinitionCase { get; }

Property Value

CreateReplicaRequest.ReplicaDefinitionOneofCase

ReplicaFilters

ReplicaFilters define the data to include in the replica.

public ReplicaFilters ReplicaFilters { get; set; }

Property Value

ReplicaFilters

ReplicaId

The replica_id is a unique identifier for the replica. If not specified, a new replica_id will be generated. 16-byte RFC4122 UUID

public ByteString ReplicaId { get; set; }

Property Value

ByteString

RequestedReplicaName

The name of the replica on the server. The replica name is unique per knowledge graph service. If not specified, a replica name will be assigned and returned in the CreateReplicaResponse. If specified, but the replica_name already exists on the server, a unique name will be returned in the response using the given replica_name as a base (that is, MyReplica may be returned as MyReplica_0 if there is already a replica named MyReplica on the server).

public string RequestedReplicaName { get; set; }

Property Value

string

SyncDirection

SyncDirection defines the direction of synchronization allowed for the replica.

public SyncDirection SyncDirection { get; set; }

Property Value

SyncDirection

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearReplicaDefinition()

public void ClearReplicaDefinition()

ClearReplicaId()

Clears the value of the "replica_id" field

public void ClearReplicaId()

ClearRequestedReplicaName()

Clears the value of the "requested_replica_name" field

public void ClearRequestedReplicaName()

Clone()

public CreateReplicaRequest Clone()

Returns

CreateReplicaRequest

Equals(CreateReplicaRequest)

public bool Equals(CreateReplicaRequest other)

Parameters

other CreateReplicaRequest

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CreateReplicaRequest)

public void MergeFrom(CreateReplicaRequest other)

Parameters

other CreateReplicaRequest

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