Class ClusterMetadata
Inheritance
ClusterMetadata
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
public sealed class ClusterMetadata : Google.Protobuf.IMessage<ClusterMetadata>, Google.Protobuf.IBufferMessage
Constructors
Declaration
Declaration
public ClusterMetadata(ClusterMetadata other)
Parameters
Fields
Field number for the "address" field.
Declaration
public const int AddressFieldNumber = null
Field Value
Field number for the "cluster_id" field.
Declaration
public const int ClusterIdFieldNumber = null
Field Value
Field number for the "cluster_name" field.
Declaration
public const int ClusterNameFieldNumber = null
Field Value
HistoryShardCountFieldNumber
Field number for the "history_shard_count" field.
Declaration
public const int HistoryShardCountFieldNumber = null
Field Value
Field number for the "initial_failover_version" field.
Declaration
public const int InitialFailoverVersionFieldNumber = null
Field Value
Field number for the "is_connection_enabled" field.
Declaration
public const int IsConnectionEnabledFieldNumber = null
Field Value
Properties
Cluster accessible address.
Declaration
public string Address { get; set; }
Property Value
Declaration
public string ClusterId { get; set; }
Property Value
Name of the cluster name.
Declaration
public string ClusterName { get; set; }
Property Value
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HistoryShardCount
History service shard number.
Declaration
public int HistoryShardCount { get; set; }
Property Value
A unique failover version across all connected clusters.
Declaration
public long InitialFailoverVersion { get; set; }
Property Value
A flag to indicate if a connection is active.
Declaration
public bool IsConnectionEnabled { get; set; }
Property Value
Declaration
public static Google.Protobuf.MessageParser<ClusterMetadata> Parser { get; }
Property Value
Methods
Declaration
public int CalculateSize()
Returns
Declaration
public ClusterMetadata Clone()
Returns
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Declaration
public bool Equals(ClusterMetadata other)
Parameters
Returns
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
Declaration
public void MergeFrom(ClusterMetadata other)
Parameters
Declaration
public override string ToString()
Returns
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage