Table of Contents

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
IDeepCloneable<GetClusterInfoResponse>
IBufferMessage
IMessage
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

int

ClusterNameFieldNumber

Field number for the "cluster_name" field.

public const int ClusterNameFieldNumber = 5

Field Value

int

HistoryShardCountFieldNumber

Field number for the "history_shard_count" field.

public const int HistoryShardCountFieldNumber = 6

Field Value

int

PersistenceStoreFieldNumber

Field number for the "persistence_store" field.

public const int PersistenceStoreFieldNumber = 7

Field Value

int

ServerVersionFieldNumber

Field number for the "server_version" field.

public const int ServerVersionFieldNumber = 2

Field Value

int

SupportedClientsFieldNumber

Field number for the "supported_clients" field.

public const int SupportedClientsFieldNumber = 1

Field Value

int

VersionInfoFieldNumber

Field number for the "version_info" field.

public const int VersionInfoFieldNumber = 4

Field Value

int

VisibilityStoreFieldNumber

Field number for the "visibility_store" field.

public const int VisibilityStoreFieldNumber = 8

Field Value

int

Properties

ClusterId

public string ClusterId { get; set; }

Property Value

string

ClusterName

public string ClusterName { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HistoryShardCount

public int HistoryShardCount { get; set; }

Property Value

int

Parser

public static MessageParser<GetClusterInfoResponse> Parser { get; }

Property Value

MessageParser<GetClusterInfoResponse>

PersistenceStore

public string PersistenceStore { get; set; }

Property Value

string

ServerVersion

public string ServerVersion { get; set; }

Property Value

string

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

MapField<string, string>

VersionInfo

public VersionInfo VersionInfo { get; set; }

Property Value

VersionInfo

VisibilityStore

public string VisibilityStore { get; set; }

Property Value

string

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

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(GetClusterInfoResponse)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(GetClusterInfoResponse other)

Parameters

other GetClusterInfoResponse

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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 CodedOutputStream

Coded output stream to write the data to. Must not be null.