Class GetClusterInfoResponse
- Namespace
- Temporalio.Api.WorkflowService.V1
- Assembly
- Temporalio.dll
GetClusterInfoResponse contains information about Temporal cluster.
public sealed class GetClusterInfoResponse : IMessage<GetClusterInfoResponse>, IEquatable<GetClusterInfoResponse>, IDeepCloneable<GetClusterInfoResponse>, IBufferMessage, IMessage
- Inheritance
-
GetClusterInfoResponse
- Implements
-
IMessage<GetClusterInfoResponse>IDeepCloneable<GetClusterInfoResponse>IBufferMessageIMessage
- Inherited Members
Constructors
GetClusterInfoResponse()
public GetClusterInfoResponse()
GetClusterInfoResponse(GetClusterInfoResponse)
public GetClusterInfoResponse(GetClusterInfoResponse other)
Parameters
other
GetClusterInfoResponse
Fields
ClusterIdFieldNumber
Field number for the "cluster_id" field.
public const int ClusterIdFieldNumber = 3
Field Value
ClusterNameFieldNumber
Field number for the "cluster_name" field.
public const int ClusterNameFieldNumber = 5
Field Value
HistoryShardCountFieldNumber
Field number for the "history_shard_count" field.
public const int HistoryShardCountFieldNumber = 6
Field Value
PersistenceStoreFieldNumber
Field number for the "persistence_store" field.
public const int PersistenceStoreFieldNumber = 7
Field Value
ServerVersionFieldNumber
Field number for the "server_version" field.
public const int ServerVersionFieldNumber = 2
Field Value
SupportedClientsFieldNumber
Field number for the "supported_clients" field.
public const int SupportedClientsFieldNumber = 1
Field Value
VersionInfoFieldNumber
Field number for the "version_info" field.
public const int VersionInfoFieldNumber = 4
Field Value
VisibilityStoreFieldNumber
Field number for the "visibility_store" field.
public const int VisibilityStoreFieldNumber = 8
Field Value
Properties
ClusterId
public string ClusterId { get; set; }
Property Value
ClusterName
public string ClusterName { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HistoryShardCount
public int HistoryShardCount { get; set; }
Property Value
Parser
public static MessageParser<GetClusterInfoResponse> Parser { get; }
Property Value
- MessageParser<GetClusterInfoResponse>
PersistenceStore
public string PersistenceStore { get; set; }
Property Value
ServerVersion
public string ServerVersion { get; set; }
Property Value
SupportedClients
Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli". Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
public MapField<string, string> SupportedClients { get; }
Property Value
VersionInfo
public VersionInfo VersionInfo { get; set; }
Property Value
VisibilityStore
public string VisibilityStore { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public GetClusterInfoResponse Clone()
Returns
- GetClusterInfoResponse
A deep clone of this object.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
Equals(GetClusterInfoResponse)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GetClusterInfoResponse other)
Parameters
other
GetClusterInfoResponseAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
input
CodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(GetClusterInfoResponse)
Merges the given message into this one.
public void MergeFrom(GetClusterInfoResponse other)
Parameters
other
GetClusterInfoResponse
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
output
CodedOutputStreamCoded output stream to write the data to. Must not be null.