Table of Contents

Class UpdateWorkerBuildIdCompatibilityRequest

Namespace
Temporalio.Api.WorkflowService.V1
Assembly
Temporalio.dll

(-- api-linter: core::0134::request-mask-required=disabled aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest doesn't follow Google API format --) (-- api-linter: core::0134::request-resource-required=disabled aip.dev/not-precedent: UpdateWorkerBuildIdCompatibilityRequest RPC doesn't follow Google API format. --)

public sealed class UpdateWorkerBuildIdCompatibilityRequest : IMessage<UpdateWorkerBuildIdCompatibilityRequest>, IEquatable<UpdateWorkerBuildIdCompatibilityRequest>, IDeepCloneable<UpdateWorkerBuildIdCompatibilityRequest>, IBufferMessage, IMessage
Inheritance
UpdateWorkerBuildIdCompatibilityRequest
Implements
Inherited Members

Constructors

UpdateWorkerBuildIdCompatibilityRequest()

public UpdateWorkerBuildIdCompatibilityRequest()

UpdateWorkerBuildIdCompatibilityRequest(UpdateWorkerBuildIdCompatibilityRequest)

public UpdateWorkerBuildIdCompatibilityRequest(UpdateWorkerBuildIdCompatibilityRequest other)

Parameters

other UpdateWorkerBuildIdCompatibilityRequest

Fields

AddNewBuildIdInNewDefaultSetFieldNumber

Field number for the "add_new_build_id_in_new_default_set" field.

public const int AddNewBuildIdInNewDefaultSetFieldNumber = 3

Field Value

int

AddNewCompatibleBuildIdFieldNumber

Field number for the "add_new_compatible_build_id" field.

public const int AddNewCompatibleBuildIdFieldNumber = 4

Field Value

int

MergeSetsFieldNumber

Field number for the "merge_sets" field.

public const int MergeSetsFieldNumber = 7

Field Value

int

NamespaceFieldNumber

Field number for the "namespace" field.

public const int NamespaceFieldNumber = 1

Field Value

int

PromoteBuildIdWithinSetFieldNumber

Field number for the "promote_build_id_within_set" field.

public const int PromoteBuildIdWithinSetFieldNumber = 6

Field Value

int

PromoteSetByBuildIdFieldNumber

Field number for the "promote_set_by_build_id" field.

public const int PromoteSetByBuildIdFieldNumber = 5

Field Value

int

TaskQueueFieldNumber

Field number for the "task_queue" field.

public const int TaskQueueFieldNumber = 2

Field Value

int

Properties

AddNewBuildIdInNewDefaultSet

A new build id. This operation will create a new set which will be the new overall default version for the queue, with this id as its only member. This new set is incompatible with all previous sets/versions.

(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: In makes perfect sense here. --)

public string AddNewBuildIdInNewDefaultSet { get; set; }

Property Value

string

AddNewCompatibleBuildId

Adds a new id to an existing compatible set, see sub-message definition for more.

public UpdateWorkerBuildIdCompatibilityRequest.Types.AddNewCompatibleVersion AddNewCompatibleBuildId { get; set; }

Property Value

UpdateWorkerBuildIdCompatibilityRequest.Types.AddNewCompatibleVersion

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

MergeSets

Merge two existing sets together, thus declaring all build IDs in both sets compatible with one another. The primary set's default will become the default for the merged set. This is useful if you've accidentally declared a new ID as incompatible you meant to declare as compatible. The unusual case of incomplete replication during failover could also result in a split set, which this operation can repair.

public UpdateWorkerBuildIdCompatibilityRequest.Types.MergeSets MergeSets { get; set; }

Property Value

UpdateWorkerBuildIdCompatibilityRequest.Types.MergeSets

Namespace

public string Namespace { get; set; }

Property Value

string

OperationCase

public UpdateWorkerBuildIdCompatibilityRequest.OperationOneofCase OperationCase { get; }

Property Value

UpdateWorkerBuildIdCompatibilityRequest.OperationOneofCase

Parser

public static MessageParser<UpdateWorkerBuildIdCompatibilityRequest> Parser { get; }

Property Value

MessageParser<UpdateWorkerBuildIdCompatibilityRequest>

PromoteBuildIdWithinSet

Promote an existing build id within some set to be the current default for that set.

(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Within makes perfect sense here. --)

public string PromoteBuildIdWithinSet { get; set; }

Property Value

string

PromoteSetByBuildId

Promote an existing set to be the current default (if it isn't already) by targeting an existing build id within it. This field's value is the extant build id.

(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Names are hard. --)

public string PromoteSetByBuildId { get; set; }

Property Value

string

TaskQueue

Must be set, the task queue to apply changes to. Because all workers on a given task queue must have the same set of workflow & activity implementations, there is no reason to specify a task queue type here.

public string TaskQueue { 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.

ClearOperation()

public void ClearOperation()

Clone()

Creates a deep clone of this object.

public UpdateWorkerBuildIdCompatibilityRequest Clone()

Returns

UpdateWorkerBuildIdCompatibilityRequest

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(UpdateWorkerBuildIdCompatibilityRequest)

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

public bool Equals(UpdateWorkerBuildIdCompatibilityRequest other)

Parameters

other UpdateWorkerBuildIdCompatibilityRequest

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(UpdateWorkerBuildIdCompatibilityRequest)

Merges the given message into this one.

public void MergeFrom(UpdateWorkerBuildIdCompatibilityRequest other)

Parameters

other UpdateWorkerBuildIdCompatibilityRequest

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.