@@ -83,11 +83,11 @@ static MessageReflection() {
8383 "aW5rLldvcmtmbG93RXZlbnQuRXZlbnRSZWZlcmVuY2VIABpYCg5FdmVudFJl" ,
8484 "ZmVyZW5jZRIQCghldmVudF9pZBgBIAEoAxI0CgpldmVudF90eXBlGAIgASgO" ,
8585 "MiAudGVtcG9yYWwuYXBpLmVudW1zLnYxLkV2ZW50VHlwZUILCglyZWZlcmVu" ,
86- "Y2UaGgoIQmF0Y2hKb2ISDgoGam9iX2lkGAEgASgJQgkKB3ZhcmlhbnRCiQEK " ,
87- "GWlvLnRlbXBvcmFsLmFwaS5jb21tb24udjFCDE1lc3NhZ2VQcm90b1ABWiNn " ,
88- "by50ZW1wb3JhbC5pby9hcGkvY29tbW9uL3YxO2NvbW1vbqoCGFRlbXBvcmFs " ,
89- "aW8uQXBpLkNvbW1vbi5WMeoCG1RlbXBvcmFsaW86OkFwaTo6Q29tbW9uOjpW " ,
90- "MWIGcHJvdG8z " ) ) ;
86+ "Y2UaGgoIQmF0Y2hKb2ISDgoGam9iX2lkGAEgASgJQgkKB3ZhcmlhbnQiIAoI " ,
87+ "UHJpb3JpdHkSFAoMcHJpb3JpdHlfa2V5GAEgASgFQokBChlpby50ZW1wb3Jh " ,
88+ "bC5hcGkuY29tbW9uLnYxQgxNZXNzYWdlUHJvdG9QAVojZ28udGVtcG9yYWwu " ,
89+ "aW8vYXBpL2NvbW1vbi92MTtjb21tb26qAhhUZW1wb3JhbGlvLkFwaS5Db21t " ,
90+ "b24uVjHqAhtUZW1wb3JhbGlvOjpBcGk6OkNvbW1vbjo6VjFiBnByb3RvMw== " ) ) ;
9191 descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
9292 new pbr ::FileDescriptor [ ] { global ::Google . Protobuf . WellKnownTypes . DurationReflection . Descriptor , global ::Google . Protobuf . WellKnownTypes . EmptyReflection . Descriptor , global ::Temporalio . Api . Enums . V1 . CommonReflection . Descriptor , global ::Temporalio . Api . Enums . V1 . EventTypeReflection . Descriptor , global ::Temporalio . Api . Enums . V1 . ResetReflection . Descriptor , } ,
9393 new pbr ::GeneratedClrTypeInfo ( null , null , new pbr ::GeneratedClrTypeInfo [ ] {
@@ -108,7 +108,8 @@ static MessageReflection() {
108108 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Callback ) , global ::Temporalio . Api . Common . V1 . Callback . Parser , new [ ] { "Nexus" , "Internal" } , new [ ] { "Variant" } , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Callback . Types . Nexus ) , global ::Temporalio . Api . Common . V1 . Callback . Types . Nexus . Parser , new [ ] { "Url" , "Header" } , null , null , null , new pbr ::GeneratedClrTypeInfo [ ] { null , } ) ,
109109 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Callback . Types . Internal ) , global ::Temporalio . Api . Common . V1 . Callback . Types . Internal . Parser , new [ ] { "Data" } , null , null , null , null ) } ) ,
110110 new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Link ) , global ::Temporalio . Api . Common . V1 . Link . Parser , new [ ] { "WorkflowEvent" , "BatchJob" } , new [ ] { "Variant" } , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Link . Types . WorkflowEvent ) , global ::Temporalio . Api . Common . V1 . Link . Types . WorkflowEvent . Parser , new [ ] { "Namespace" , "WorkflowId" , "RunId" , "EventRef" } , new [ ] { "Reference" } , null , null , new pbr ::GeneratedClrTypeInfo [ ] { new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Link . Types . WorkflowEvent . Types . EventReference ) , global ::Temporalio . Api . Common . V1 . Link . Types . WorkflowEvent . Types . EventReference . Parser , new [ ] { "EventId" , "EventType" } , null , null , null , null ) } ) ,
111- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Link . Types . BatchJob ) , global ::Temporalio . Api . Common . V1 . Link . Types . BatchJob . Parser , new [ ] { "JobId" } , null , null , null , null ) } )
111+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Link . Types . BatchJob ) , global ::Temporalio . Api . Common . V1 . Link . Types . BatchJob . Parser , new [ ] { "JobId" } , null , null , null , null ) } ) ,
112+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Temporalio . Api . Common . V1 . Priority ) , global ::Temporalio . Api . Common . V1 . Priority . Parser , new [ ] { "PriorityKey" } , null , null , null , null )
112113 } ) ) ;
113114 }
114115 #endregion
@@ -2713,6 +2714,7 @@ public void MergeFrom(pb::CodedInputStream input) {
27132714 /// Identifies the version that a worker is compatible with when polling or identifying itself,
27142715 /// and whether or not this worker is opting into the build-id based versioning feature. This is
27152716 /// used by matching to determine which workers ought to receive what tasks.
2717+ /// Deprecated. Use WorkerDeploymentOptions instead.
27162718 /// </summary>
27172719 public sealed partial class WorkerVersionCapabilities : pb ::IMessage < WorkerVersionCapabilities >
27182720 #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
@@ -5300,6 +5302,228 @@ public void MergeFrom(pb::CodedInputStream input) {
53005302
53015303 }
53025304
5305+ /// <summary>
5306+ /// Priority contains metadata that controls relative ordering of task processing
5307+ /// when tasks are backlogged in a queue. Initially, Priority will be used in
5308+ /// activity and workflow task queues, which are typically where backlogs exist.
5309+ /// Other queues in the server (such as transfer and timer queues) and rate
5310+ /// limiting decisions do not use Priority, but may in the future.
5311+ ///
5312+ /// Priority is attached to workflows and activities. Activities and child
5313+ /// workflows inherit Priority from the workflow that created them, but may
5314+ /// override fields when they are started or modified. For each field of a
5315+ /// Priority on an activity/workflow, not present or equal to zero/empty string
5316+ /// means to inherit the value from the calling workflow, or if there is no
5317+ /// calling workflow, then use the default (documented below).
5318+ ///
5319+ /// Despite being named "Priority", this message will also contains fields that
5320+ /// control "fairness" mechanisms.
5321+ ///
5322+ /// The overall semantics of Priority are:
5323+ /// 1. First, consider "priority_key": lower number goes first.
5324+ /// (more will be added here later)
5325+ /// </summary>
5326+ public sealed partial class Priority : pb ::IMessage < Priority >
5327+ #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5328+ , pb ::IBufferMessage
5329+ #endif
5330+ {
5331+ private static readonly pb ::MessageParser < Priority > _parser = new pb ::MessageParser < Priority > ( ( ) => new Priority ( ) ) ;
5332+ private pb ::UnknownFieldSet _unknownFields ;
5333+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5334+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5335+ public static pb ::MessageParser < Priority > Parser { get { return _parser ; } }
5336+
5337+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5338+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5339+ public static pbr ::MessageDescriptor Descriptor {
5340+ get { return global ::Temporalio . Api . Common . V1 . MessageReflection . Descriptor . MessageTypes [ 16 ] ; }
5341+ }
5342+
5343+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5344+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5345+ pbr ::MessageDescriptor pb ::IMessage . Descriptor {
5346+ get { return Descriptor ; }
5347+ }
5348+
5349+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5350+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5351+ public Priority ( ) {
5352+ OnConstruction ( ) ;
5353+ }
5354+
5355+ partial void OnConstruction ( ) ;
5356+
5357+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5358+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5359+ public Priority ( Priority other ) : this ( ) {
5360+ priorityKey_ = other . priorityKey_ ;
5361+ _unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
5362+ }
5363+
5364+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5365+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5366+ public Priority Clone ( ) {
5367+ return new Priority ( this ) ;
5368+ }
5369+
5370+ /// <summary>Field number for the "priority_key" field.</summary>
5371+ public const int PriorityKeyFieldNumber = 1 ;
5372+ private int priorityKey_ ;
5373+ /// <summary>
5374+ /// Priority key is a positive integer from 1 to n, where smaller integers
5375+ /// correspond to higher priorities (tasks run sooner). In general, tasks in
5376+ /// a queue should be processed in close to priority order, although small
5377+ /// deviations are possible.
5378+ ///
5379+ /// The maximum priority value (minimum priority) is determined by server
5380+ /// configuration, and defaults to 5.
5381+ ///
5382+ /// The default priority is (min+max)/2. With the default max of 5 and min of
5383+ /// 1, that comes out to 3.
5384+ /// </summary>
5385+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5386+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5387+ public int PriorityKey {
5388+ get { return priorityKey_ ; }
5389+ set {
5390+ priorityKey_ = value ;
5391+ }
5392+ }
5393+
5394+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5395+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5396+ public override bool Equals ( object other ) {
5397+ return Equals ( other as Priority ) ;
5398+ }
5399+
5400+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5401+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5402+ public bool Equals ( Priority other ) {
5403+ if ( ReferenceEquals ( other , null ) ) {
5404+ return false ;
5405+ }
5406+ if ( ReferenceEquals ( other , this ) ) {
5407+ return true ;
5408+ }
5409+ if ( PriorityKey != other . PriorityKey ) return false ;
5410+ return Equals ( _unknownFields , other . _unknownFields ) ;
5411+ }
5412+
5413+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5414+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5415+ public override int GetHashCode ( ) {
5416+ int hash = 1 ;
5417+ if ( PriorityKey != 0 ) hash ^= PriorityKey . GetHashCode ( ) ;
5418+ if ( _unknownFields != null ) {
5419+ hash ^= _unknownFields . GetHashCode ( ) ;
5420+ }
5421+ return hash ;
5422+ }
5423+
5424+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5425+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5426+ public override string ToString ( ) {
5427+ return pb ::JsonFormatter . ToDiagnosticString ( this ) ;
5428+ }
5429+
5430+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5431+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5432+ public void WriteTo ( pb ::CodedOutputStream output ) {
5433+ #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5434+ output . WriteRawMessage ( this ) ;
5435+ #else
5436+ if ( PriorityKey != 0 ) {
5437+ output . WriteRawTag ( 8 ) ;
5438+ output . WriteInt32 ( PriorityKey ) ;
5439+ }
5440+ if ( _unknownFields != null ) {
5441+ _unknownFields . WriteTo ( output ) ;
5442+ }
5443+ #endif
5444+ }
5445+
5446+ #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5447+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5448+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5449+ void pb ::IBufferMessage . InternalWriteTo ( ref pb ::WriteContext output ) {
5450+ if ( PriorityKey != 0 ) {
5451+ output . WriteRawTag ( 8 ) ;
5452+ output . WriteInt32 ( PriorityKey ) ;
5453+ }
5454+ if ( _unknownFields != null ) {
5455+ _unknownFields . WriteTo ( ref output ) ;
5456+ }
5457+ }
5458+ #endif
5459+
5460+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5461+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5462+ public int CalculateSize ( ) {
5463+ int size = 0 ;
5464+ if ( PriorityKey != 0 ) {
5465+ size += 1 + pb ::CodedOutputStream . ComputeInt32Size ( PriorityKey ) ;
5466+ }
5467+ if ( _unknownFields != null ) {
5468+ size += _unknownFields . CalculateSize ( ) ;
5469+ }
5470+ return size ;
5471+ }
5472+
5473+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5474+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5475+ public void MergeFrom ( Priority other ) {
5476+ if ( other == null ) {
5477+ return ;
5478+ }
5479+ if ( other . PriorityKey != 0 ) {
5480+ PriorityKey = other . PriorityKey ;
5481+ }
5482+ _unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
5483+ }
5484+
5485+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5486+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5487+ public void MergeFrom ( pb ::CodedInputStream input ) {
5488+ #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5489+ input . ReadRawMessage ( this ) ;
5490+ #else
5491+ uint tag ;
5492+ while ( ( tag = input . ReadTag ( ) ) != 0 ) {
5493+ switch ( tag ) {
5494+ default :
5495+ _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , input ) ;
5496+ break ;
5497+ case 8 : {
5498+ PriorityKey = input . ReadInt32 ( ) ;
5499+ break ;
5500+ }
5501+ }
5502+ }
5503+ #endif
5504+ }
5505+
5506+ #if ! GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5507+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
5508+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "protoc" , null ) ]
5509+ void pb ::IBufferMessage . InternalMergeFrom ( ref pb ::ParseContext input ) {
5510+ uint tag ;
5511+ while ( ( tag = input . ReadTag ( ) ) != 0 ) {
5512+ switch ( tag ) {
5513+ default :
5514+ _unknownFields = pb ::UnknownFieldSet . MergeFieldFrom ( _unknownFields , ref input ) ;
5515+ break ;
5516+ case 8 : {
5517+ PriorityKey = input . ReadInt32 ( ) ;
5518+ break ;
5519+ }
5520+ }
5521+ }
5522+ }
5523+ #endif
5524+
5525+ }
5526+
53035527 #endregion
53045528
53055529}
0 commit comments