Class UpdateScheduleRequest
(-- api-linter: core::0134::request-mask-required=disabled
aip.dev/not-precedent: UpdateSchedule doesn't follow Google API format --)
Inheritance
UpdateScheduleRequest
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class UpdateScheduleRequest : Google.Protobuf.IMessage<UpdateScheduleRequest>, Google.Protobuf.IBufferMessage
Constructors
UpdateScheduleRequest()
Declaration
public UpdateScheduleRequest()
UpdateScheduleRequest(UpdateScheduleRequest)
Declaration
public UpdateScheduleRequest(UpdateScheduleRequest other)
Parameters
Fields
ConflictTokenFieldNumber
Field number for the "conflict_token" field.
Declaration
public const int ConflictTokenFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
NamespaceFieldNumber
Field number for the "namespace" field.
Declaration
public const int NamespaceFieldNumber = null
Field Value
RequestIdFieldNumber
Field number for the "request_id" field.
Declaration
public const int RequestIdFieldNumber = null
Field Value
ScheduleFieldNumber
Field number for the "schedule" field.
Declaration
public const int ScheduleFieldNumber = null
Field Value
ScheduleIdFieldNumber
Field number for the "schedule_id" field.
Declaration
public const int ScheduleIdFieldNumber = null
Field Value
Properties
ConflictToken
This can be the value of conflict_token from a DescribeScheduleResponse,
which will cause this request to fail if the schedule has been modified
between the Describe and this Update.
If missing, the schedule will be updated unconditionally.
Declaration
public Google.Protobuf.ByteString ConflictToken { get; set; }
Property Value
Type |
Description |
Google.Protobuf.ByteString |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Identity
The identity of the client who initiated this request.
Declaration
public string Identity { get; set; }
Property Value
Namespace
The namespace of the schedule to update.
Declaration
public string Namespace { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<UpdateScheduleRequest> Parser { get; }
Property Value
RequestId
A unique identifier for this update request for idempotence. Typically UUIDv4.
Declaration
public string RequestId { get; set; }
Property Value
Schedule
The new schedule. The four main fields of the schedule (spec, action,
policies, state) are replaced completely by the values in this message.
Declaration
public Schedule Schedule { get; set; }
Property Value
ScheduleId
The id of the schedule to update.
Declaration
public string ScheduleId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public UpdateScheduleRequest Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(UpdateScheduleRequest)
Declaration
public bool Equals(UpdateScheduleRequest other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(UpdateScheduleRequest)
Declaration
public void MergeFrom(UpdateScheduleRequest other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage