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
-
IMessage<CreateReplicaRequest>IDeepCloneable<CreateReplicaRequest>IBufferMessageIMessage
- Inherited Members
Constructors
CreateReplicaRequest()
public CreateReplicaRequest()
CreateReplicaRequest(CreateReplicaRequest)
public CreateReplicaRequest(CreateReplicaRequest other)
Parameters
otherCreateReplicaRequest
Fields
AsyncFieldNumber
Field number for the "async" field.
public const int AsyncFieldNumber = 7
Field Value
DataFormatFieldNumber
Field number for the "data_format" field.
public const int DataFormatFieldNumber = 6
Field Value
ReferenceReplicaFieldNumber
Field number for the "reference_replica" field.
public const int ReferenceReplicaFieldNumber = 4
Field Value
ReplicaFiltersFieldNumber
Field number for the "replica_filters" field.
public const int ReplicaFiltersFieldNumber = 3
Field Value
ReplicaIdFieldNumber
Field number for the "replica_id" field.
public const int ReplicaIdFieldNumber = 2
Field Value
RequestedReplicaNameFieldNumber
Field number for the "requested_replica_name" field.
public const int RequestedReplicaNameFieldNumber = 1
Field Value
SyncDirectionFieldNumber
Field number for the "sync_direction" field.
public const int SyncDirectionFieldNumber = 5
Field Value
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
DataFormat
The data format of the replica response.
public SyncDataFormat DataFormat { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasReplicaId
Gets whether the "replica_id" field is set
public bool HasReplicaId { get; }
Property Value
HasRequestedReplicaName
Gets whether the "requested_replica_name" field is set
public bool HasRequestedReplicaName { get; }
Property Value
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
ReplicaDefinitionCase
public CreateReplicaRequest.ReplicaDefinitionOneofCase ReplicaDefinitionCase { get; }
Property Value
ReplicaFilters
ReplicaFilters define the data to include in the replica.
public ReplicaFilters ReplicaFilters { get; set; }
Property Value
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
SyncDirection
SyncDirection defines the direction of synchronization allowed for the replica.
public SyncDirection SyncDirection { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(CreateReplicaRequest)
public bool Equals(CreateReplicaRequest other)
Parameters
otherCreateReplicaRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CreateReplicaRequest)
public void MergeFrom(CreateReplicaRequest other)
Parameters
otherCreateReplicaRequest
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream