ringo-task-queue 0.1.0.dev3__py3-none-win_amd64.whl → 0.1.0.dev5__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  # Generated by the protocol buffer compiler. DO NOT EDIT!
4
4
  # NO CHECKED-IN PROTOBUF GENCODE
5
5
  # source: ringo_task_queue/_proto/ringo/v1/queue.proto
6
- # Protobuf Python Version: 5.29.0
6
+ # Protobuf Python Version: 6.33.5
7
7
  """Generated protocol buffer code."""
8
8
  from google.protobuf import descriptor as _descriptor
9
9
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,9 +12,9 @@ from google.protobuf import symbol_database as _symbol_database
12
12
  from google.protobuf.internal import builder as _builder
13
13
  _runtime_version.ValidateProtobufRuntimeVersion(
14
14
  _runtime_version.Domain.PUBLIC,
15
+ 6,
16
+ 33,
15
17
  5,
16
- 29,
17
- 0,
18
18
  '',
19
19
  'ringo_task_queue/_proto/ringo/v1/queue.proto'
20
20
  )
@@ -28,7 +28,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
28
28
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
29
29
 
30
30
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ringo_task_queue/_proto/ringo/v1/queue.proto\x12\x08ringo.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x10NegotiateRequest\x12\x10\n\x08sdk_name\x18\x01 \x01(\t\x12\x13\n\x0bsdk_version\x18\x02 \x01(\t\x12\x16\n\x0eprotocol_major\x18\x03 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x04 \x01(\r\"\x88\x01\n\x11NegotiateResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12\x16\n\x0eprotocol_major\x18\x02 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x03 \x01(\r\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\x12\x15\n\rsession_token\x18\x05 \x01(\t\"W\n\x0eRequestContext\x12\x16\n\x0eprotocol_major\x18\x01 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x02 \x01(\r\x12\x15\n\rsession_token\x18\x03 \x01(\t\"\xbd\x01\n\x0b\x45rrorDetail\x12!\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x13.ringo.v1.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x35\n\x08metadata\x18\x04 \x03(\x0b\x32#.ringo.v1.ErrorDetail.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xed\x01\n\x0bRetryPolicy\x12\x14\n\x0cmax_attempts\x18\x01 \x01(\r\x12)\n\x08strategy\x18\x02 \x01(\x0e\x32\x17.ringo.v1.RetryStrategy\x12\x30\n\rinitial_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12,\n\tmax_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nmultiplier\x18\x05 \x01(\x01\x12\x0e\n\x06jitter\x18\x06 \x01(\x01\x12\x19\n\x11\x64\x65\x63rease_priority\x18\x07 \x01(\x08\"\xc6\x01\n\x08TaskSpec\x12\x12\n\nunique_key\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\'\n\x07payload\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x10\n\x08priority\x18\x04 \x01(\x05\x12+\n\x0cretry_policy\x18\x05 \x01(\x0b\x32\x15.ringo.v1.RetryPolicy\x12\x30\n\x0c\x61vailable_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb8\x04\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05queue\x18\x02 \x01(\t\x12\x12\n\nunique_key\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\'\n\x07payload\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x10\n\x08priority\x18\x06 \x01(\x05\x12$\n\x06status\x18\x07 \x01(\x0e\x32\x14.ringo.v1.TaskStatus\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\r\x12\x14\n\x0cmax_attempts\x18\t \x01(\r\x12\x30\n\x0c\x61vailable_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nlast_error\x18\x0e \x01(\t\x12\x1c\n\x14last_error_truncated\x18\x0f \x01(\x08\x12#\n\x08\x61ttempts\x18\x10 \x03(\x0b\x32\x11.ringo.v1.Attempt\x12$\n\x08progress\x18\x11 \x01(\x0b\x32\x12.ringo.v1.Progress\x12*\n\rcurrent_lease\x18\x12 \x01(\x0b\x32\x13.ringo.v1.LeaseInfo\"\xc6\x01\n\x07\x41ttempt\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12.\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07outcome\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\x12\x17\n\x0f\x65rror_truncated\x18\x07 \x01(\x08\"k\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x01\x12\r\n\x05total\x18\x02 \x01(\x01\x12\x0f\n\x07message\x18\x03 \x01(\t\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"Z\n\tLeaseInfo\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12)\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"|\n\x05Lease\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0blease_token\x18\x03 \x01(\t\x12\x11\n\tworker_id\x18\x04 \x01(\t\x12)\n\x05until\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\nLeasedTask\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\x12\x1e\n\x05lease\x18\x02 \x01(\x0b\x32\x0f.ringo.v1.Lease\"l\n\x0e\x45nqueueRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12 \n\x04task\x18\x02 \x01(\x0b\x32\x12.ringo.v1.TaskSpec\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"O\n\rEnqueueResult\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x63reated\x18\x02 \x01(\x08\x12\x1c\n\x04task\x18\x03 \x01(\x0b\x32\x0e.ringo.v1.Task\":\n\x0f\x45nqueueResponse\x12\'\n\x06result\x18\x01 \x01(\x0b\x32\x17.ringo.v1.EnqueueResult\"q\n\x12\x45nqueueManyRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12!\n\x05tasks\x18\x02 \x03(\x0b\x32\x12.ringo.v1.TaskSpec\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"o\n\x13\x45nqueueManyResponse\x12(\n\x07results\x18\x01 \x03(\x0b\x32\x17.ringo.v1.EnqueueResult\x12\x15\n\rcreated_count\x18\x02 \x01(\r\x12\x17\n\x0f\x64uplicate_count\x18\x03 \x01(\r\"z\n\x0eGetTaskRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\x07task_id\x18\x02 \x01(\tH\x00\x12\x14\n\nunique_key\x18\x03 \x01(\tH\x00\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContextB\x05\n\x03key\"/\n\x0fGetTaskResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"g\n\x17GetQueueActivityRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x12\n\ntask_types\x18\x02 \x03(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"5\n\x18GetQueueActivityResponse\x12\x19\n\x11\x61\x63tive_task_count\x18\x01 \x01(\x04\"|\n\x10RetryTaskRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\x07task_id\x18\x02 \x01(\tH\x00\x12\x14\n\nunique_key\x18\x03 \x01(\tH\x00\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContextB\x05\n\x03key\"1\n\x11RetryTaskResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"\xe2\x01\n\x0c\x43laimRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12\x12\n\ntask_types\x18\x03 \x03(\t\x12\r\n\x05limit\x18\x04 \x01(\r\x12/\n\x0cwait_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0elease_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"4\n\rClaimResponse\x12#\n\x05tasks\x18\x01 \x03(\x0b\x32\x14.ringo.v1.LeasedTask\"A\n\x08LeaseRef\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0blease_token\x18\x03 \x01(\t\"Z\n\nAckRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"\r\n\x0b\x41\x63kResponse\"\xa3\x01\n\x0bNackRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x37\n\x14retry_delay_override\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\",\n\x0cNackResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"l\n\rRejectRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\".\n\x0eRejectResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"\x90\x01\n\x12\x45xtendLeaseRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12,\n\textension\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"5\n\x13\x45xtendLeaseResponse\x12\x1e\n\x05lease\x18\x01 \x01(\x0b\x32\x0f.ringo.v1.Lease\"\x96\x01\n\x15ReportProgressRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\x01\x12\r\n\x05total\x18\x03 \x01(\x01\x12\x0f\n\x07message\x18\x04 \x01(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"\x18\n\x16ReportProgressResponse\"\xc1\x01\n\x12WorkerRegistration\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12\x12\n\ntask_types\x18\x03 \x03(\t\x12\x17\n\x0fmax_concurrency\x18\x04 \x01(\r\x12\x31\n\x0elease_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"!\n\x0c\x43reditUpdate\x12\x11\n\tavailable\x18\x01 \x01(\r\"\x1c\n\x0bWorkerDrain\x12\r\n\x05\x62\x65gin\x18\x01 \x01(\x08\"q\n\x10WorkerRegistered\x12\x11\n\tworker_id\x18\x01 \x01(\t\x12\x17\n\x0fmax_concurrency\x18\x02 \x01(\r\x12\x31\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x8f\x03\n\x0bWorkRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x30\n\x08register\x18\x02 \x01(\x0b\x32\x1c.ringo.v1.WorkerRegistrationH\x00\x12(\n\x06\x63redit\x18\x03 \x01(\x0b\x32\x16.ringo.v1.CreditUpdateH\x00\x12#\n\x03\x61\x63k\x18\x04 \x01(\x0b\x32\x14.ringo.v1.AckRequestH\x00\x12%\n\x04nack\x18\x05 \x01(\x0b\x32\x15.ringo.v1.NackRequestH\x00\x12)\n\x06reject\x18\x06 \x01(\x0b\x32\x17.ringo.v1.RejectRequestH\x00\x12\x34\n\x0c\x65xtend_lease\x18\x07 \x01(\x0b\x32\x1c.ringo.v1.ExtendLeaseRequestH\x00\x12\x33\n\x08progress\x18\x08 \x01(\x0b\x32\x1f.ringo.v1.ReportProgressRequestH\x00\x12&\n\x05\x64rain\x18\t \x01(\x0b\x32\x15.ringo.v1.WorkerDrainH\x00\x42\x06\n\x04\x62ody\"F\n\nWorkResult\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x15.ringo.v1.ErrorDetail\"\xc7\x01\n\x0cWorkResponse\x12$\n\x04task\x18\x01 \x01(\x0b\x32\x14.ringo.v1.LeasedTaskH\x00\x12&\n\x06result\x18\x02 \x01(\x0b\x32\x14.ringo.v1.WorkResultH\x00\x12/\n\theartbeat\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x30\n\nregistered\x18\x04 \x01(\x0b\x32\x1a.ringo.v1.WorkerRegisteredH\x00\x42\x06\n\x04\x62ody*\xbf\x01\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15TASK_STATUS_SCHEDULED\x10\x01\x12\x15\n\x11TASK_STATUS_READY\x10\x02\x12\x16\n\x12TASK_STATUS_LEASED\x10\x03\x12\x19\n\x15TASK_STATUS_SUCCEEDED\x10\x04\x12\x14\n\x10TASK_STATUS_DEAD\x10\x05\x12\x19\n\x15TASK_STATUS_CANCELLED\x10\x06*i\n\rRetryStrategy\x12\x1e\n\x1aRETRY_STRATEGY_UNSPECIFIED\x10\x00\x12\x18\n\x14RETRY_STRATEGY_FIXED\x10\x01\x12\x1e\n\x1aRETRY_STRATEGY_EXPONENTIAL\x10\x02*\xac\x02\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45RROR_CODE_INVALID_ARGUMENT\x10\x01\x12\x18\n\x14\x45RROR_CODE_DUPLICATE\x10\x02\x12\x18\n\x14\x45RROR_CODE_NOT_FOUND\x10\x03\x12\x17\n\x13\x45RROR_CODE_CONFLICT\x10\x04\x12\x19\n\x15\x45RROR_CODE_LEASE_LOST\x10\x05\x12\x1a\n\x16\x45RROR_CODE_UNAVAILABLE\x10\x06\x12 \n\x1c\x45RROR_CODE_DEADLINE_EXCEEDED\x10\x07\x12#\n\x1f\x45RROR_CODE_INCOMPATIBLE_VERSION\x10\x08\x12\x17\n\x13\x45RROR_CODE_INTERNAL\x10\t2\xff\x06\n\x0cQueueService\x12\x44\n\tNegotiate\x12\x1a.ringo.v1.NegotiateRequest\x1a\x1b.ringo.v1.NegotiateResponse\x12>\n\x07\x45nqueue\x12\x18.ringo.v1.EnqueueRequest\x1a\x19.ringo.v1.EnqueueResponse\x12J\n\x0b\x45nqueueMany\x12\x1c.ringo.v1.EnqueueManyRequest\x1a\x1d.ringo.v1.EnqueueManyResponse\x12>\n\x07GetTask\x12\x18.ringo.v1.GetTaskRequest\x1a\x19.ringo.v1.GetTaskResponse\x12Y\n\x10GetQueueActivity\x12!.ringo.v1.GetQueueActivityRequest\x1a\".ringo.v1.GetQueueActivityResponse\x12\x44\n\tRetryTask\x12\x1a.ringo.v1.RetryTaskRequest\x1a\x1b.ringo.v1.RetryTaskResponse\x12\x38\n\x05\x43laim\x12\x16.ringo.v1.ClaimRequest\x1a\x17.ringo.v1.ClaimResponse\x12\x32\n\x03\x41\x63k\x12\x14.ringo.v1.AckRequest\x1a\x15.ringo.v1.AckResponse\x12\x35\n\x04Nack\x12\x15.ringo.v1.NackRequest\x1a\x16.ringo.v1.NackResponse\x12;\n\x06Reject\x12\x17.ringo.v1.RejectRequest\x1a\x18.ringo.v1.RejectResponse\x12J\n\x0b\x45xtendLease\x12\x1c.ringo.v1.ExtendLeaseRequest\x1a\x1d.ringo.v1.ExtendLeaseResponse\x12S\n\x0eReportProgress\x12\x1f.ringo.v1.ReportProgressRequest\x1a .ringo.v1.ReportProgressResponse\x12\x39\n\x04Work\x12\x15.ringo.v1.WorkRequest\x1a\x16.ringo.v1.WorkResponse(\x01\x30\x01\x42l\n\x16\x64\x65v.ringo.taskqueue.v1B\nQueueProtoP\x01ZDgithub.com/ringo-task-queue/ringo-task-queue/gen/go/ringo/v1;ringov1b\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,ringo_task_queue/_proto/ringo/v1/queue.proto\x12\x08ringo.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"(\n\x12\x41ttachLocalRequest\x12\x12\n\ngeneration\x18\x01 \x01(\t\")\n\x13\x41ttachLocalResponse\x12\x12\n\ngeneration\x18\x01 \x01(\t\"i\n\x10NegotiateRequest\x12\x10\n\x08sdk_name\x18\x01 \x01(\t\x12\x13\n\x0bsdk_version\x18\x02 \x01(\t\x12\x16\n\x0eprotocol_major\x18\x03 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x04 \x01(\r\"\x88\x01\n\x11NegotiateResponse\x12\x16\n\x0eserver_version\x18\x01 \x01(\t\x12\x16\n\x0eprotocol_major\x18\x02 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x03 \x01(\r\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\x12\x15\n\rsession_token\x18\x05 \x01(\t\"W\n\x0eRequestContext\x12\x16\n\x0eprotocol_major\x18\x01 \x01(\r\x12\x16\n\x0eprotocol_minor\x18\x02 \x01(\r\x12\x15\n\rsession_token\x18\x03 \x01(\t\"\xbd\x01\n\x0b\x45rrorDetail\x12!\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x13.ringo.v1.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x35\n\x08metadata\x18\x04 \x03(\x0b\x32#.ringo.v1.ErrorDetail.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xed\x01\n\x0bRetryPolicy\x12\x14\n\x0cmax_attempts\x18\x01 \x01(\r\x12)\n\x08strategy\x18\x02 \x01(\x0e\x32\x17.ringo.v1.RetryStrategy\x12\x30\n\rinitial_delay\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12,\n\tmax_delay\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nmultiplier\x18\x05 \x01(\x01\x12\x0e\n\x06jitter\x18\x06 \x01(\x01\x12\x19\n\x11\x64\x65\x63rease_priority\x18\x07 \x01(\x08\"\xc6\x01\n\x08TaskSpec\x12\x12\n\nunique_key\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\'\n\x07payload\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x10\n\x08priority\x18\x04 \x01(\x05\x12+\n\x0cretry_policy\x18\x05 \x01(\x0b\x32\x15.ringo.v1.RetryPolicy\x12\x30\n\x0c\x61vailable_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb8\x04\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05queue\x18\x02 \x01(\t\x12\x12\n\nunique_key\x18\x03 \x01(\t\x12\x0c\n\x04type\x18\x04 \x01(\t\x12\'\n\x07payload\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x10\n\x08priority\x18\x06 \x01(\x05\x12$\n\x06status\x18\x07 \x01(\x0e\x32\x14.ringo.v1.TaskStatus\x12\x0f\n\x07\x61ttempt\x18\x08 \x01(\r\x12\x14\n\x0cmax_attempts\x18\t \x01(\r\x12\x30\n\x0c\x61vailable_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nlast_error\x18\x0e \x01(\t\x12\x1c\n\x14last_error_truncated\x18\x0f \x01(\x08\x12#\n\x08\x61ttempts\x18\x10 \x03(\x0b\x32\x11.ringo.v1.Attempt\x12$\n\x08progress\x18\x11 \x01(\x0b\x32\x12.ringo.v1.Progress\x12*\n\rcurrent_lease\x18\x12 \x01(\x0b\x32\x13.ringo.v1.LeaseInfo\"\xc6\x01\n\x07\x41ttempt\x12\x0e\n\x06number\x18\x01 \x01(\r\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12.\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07outcome\x18\x05 \x01(\t\x12\r\n\x05\x65rror\x18\x06 \x01(\t\x12\x17\n\x0f\x65rror_truncated\x18\x07 \x01(\x08\"k\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x01\x12\r\n\x05total\x18\x02 \x01(\x01\x12\x0f\n\x07message\x18\x03 \x01(\t\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"Z\n\tLeaseInfo\x12\x0f\n\x07\x61ttempt\x18\x01 \x01(\r\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12)\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"|\n\x05Lease\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0blease_token\x18\x03 \x01(\t\x12\x11\n\tworker_id\x18\x04 \x01(\t\x12)\n\x05until\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\nLeasedTask\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\x12\x1e\n\x05lease\x18\x02 \x01(\x0b\x32\x0f.ringo.v1.Lease\"l\n\x0e\x45nqueueRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12 \n\x04task\x18\x02 \x01(\x0b\x32\x12.ringo.v1.TaskSpec\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"O\n\rEnqueueResult\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x63reated\x18\x02 \x01(\x08\x12\x1c\n\x04task\x18\x03 \x01(\x0b\x32\x0e.ringo.v1.Task\":\n\x0f\x45nqueueResponse\x12\'\n\x06result\x18\x01 \x01(\x0b\x32\x17.ringo.v1.EnqueueResult\"q\n\x12\x45nqueueManyRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12!\n\x05tasks\x18\x02 \x03(\x0b\x32\x12.ringo.v1.TaskSpec\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"o\n\x13\x45nqueueManyResponse\x12(\n\x07results\x18\x01 \x03(\x0b\x32\x17.ringo.v1.EnqueueResult\x12\x15\n\rcreated_count\x18\x02 \x01(\r\x12\x17\n\x0f\x64uplicate_count\x18\x03 \x01(\r\"z\n\x0eGetTaskRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\x07task_id\x18\x02 \x01(\tH\x00\x12\x14\n\nunique_key\x18\x03 \x01(\tH\x00\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContextB\x05\n\x03key\"/\n\x0fGetTaskResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"g\n\x17GetQueueActivityRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x12\n\ntask_types\x18\x02 \x03(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"5\n\x18GetQueueActivityResponse\x12\x19\n\x11\x61\x63tive_task_count\x18\x01 \x01(\x04\"|\n\x10RetryTaskRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\x07task_id\x18\x02 \x01(\tH\x00\x12\x14\n\nunique_key\x18\x03 \x01(\tH\x00\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContextB\x05\n\x03key\"1\n\x11RetryTaskResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"\xe2\x01\n\x0c\x43laimRequest\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12\x12\n\ntask_types\x18\x03 \x03(\t\x12\r\n\x05limit\x18\x04 \x01(\r\x12/\n\x0cwait_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0elease_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"4\n\rClaimResponse\x12#\n\x05tasks\x18\x01 \x03(\x0b\x32\x14.ringo.v1.LeasedTask\"A\n\x08LeaseRef\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\r\x12\x13\n\x0blease_token\x18\x03 \x01(\t\"Z\n\nAckRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"\r\n\x0b\x41\x63kResponse\"\xa3\x01\n\x0bNackRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x37\n\x14retry_delay_override\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\",\n\x0cNackResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"l\n\rRejectRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\".\n\x0eRejectResponse\x12\x1c\n\x04task\x18\x01 \x01(\x0b\x32\x0e.ringo.v1.Task\"\x90\x01\n\x12\x45xtendLeaseRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12,\n\textension\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"5\n\x13\x45xtendLeaseResponse\x12\x1e\n\x05lease\x18\x01 \x01(\x0b\x32\x0f.ringo.v1.Lease\"\x96\x01\n\x15ReportProgressRequest\x12!\n\x05lease\x18\x01 \x01(\x0b\x32\x12.ringo.v1.LeaseRef\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\x01\x12\r\n\x05total\x18\x03 \x01(\x01\x12\x0f\n\x07message\x18\x04 \x01(\t\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"\x18\n\x16ReportProgressResponse\"\xc1\x01\n\x12WorkerRegistration\x12\r\n\x05queue\x18\x01 \x01(\t\x12\x11\n\tworker_id\x18\x02 \x01(\t\x12\x12\n\ntask_types\x18\x03 \x03(\t\x12\x17\n\x0fmax_concurrency\x18\x04 \x01(\r\x12\x31\n\x0elease_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x07\x63ontext\x18\x0f \x01(\x0b\x32\x18.ringo.v1.RequestContext\"Y\n\x0c\x43reditUpdate\x12\x11\n\tavailable\x18\x01 \x01(\r\x12\x1f\n\x12target_concurrency\x18\x02 \x01(\rH\x00\x88\x01\x01\x42\x15\n\x13_target_concurrency\"\x1c\n\x0bWorkerDrain\x12\r\n\x05\x62\x65gin\x18\x01 \x01(\x08\"q\n\x10WorkerRegistered\x12\x11\n\tworker_id\x18\x01 \x01(\t\x12\x17\n\x0fmax_concurrency\x18\x02 \x01(\r\x12\x31\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x8f\x03\n\x0bWorkRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x30\n\x08register\x18\x02 \x01(\x0b\x32\x1c.ringo.v1.WorkerRegistrationH\x00\x12(\n\x06\x63redit\x18\x03 \x01(\x0b\x32\x16.ringo.v1.CreditUpdateH\x00\x12#\n\x03\x61\x63k\x18\x04 \x01(\x0b\x32\x14.ringo.v1.AckRequestH\x00\x12%\n\x04nack\x18\x05 \x01(\x0b\x32\x15.ringo.v1.NackRequestH\x00\x12)\n\x06reject\x18\x06 \x01(\x0b\x32\x17.ringo.v1.RejectRequestH\x00\x12\x34\n\x0c\x65xtend_lease\x18\x07 \x01(\x0b\x32\x1c.ringo.v1.ExtendLeaseRequestH\x00\x12\x33\n\x08progress\x18\x08 \x01(\x0b\x32\x1f.ringo.v1.ReportProgressRequestH\x00\x12&\n\x05\x64rain\x18\t \x01(\x0b\x32\x15.ringo.v1.WorkerDrainH\x00\x42\x06\n\x04\x62ody\"F\n\nWorkResult\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12$\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x15.ringo.v1.ErrorDetail\"\xc7\x01\n\x0cWorkResponse\x12$\n\x04task\x18\x01 \x01(\x0b\x32\x14.ringo.v1.LeasedTaskH\x00\x12&\n\x06result\x18\x02 \x01(\x0b\x32\x14.ringo.v1.WorkResultH\x00\x12/\n\theartbeat\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x30\n\nregistered\x18\x04 \x01(\x0b\x32\x1a.ringo.v1.WorkerRegisteredH\x00\x42\x06\n\x04\x62ody*\xbf\x01\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15TASK_STATUS_SCHEDULED\x10\x01\x12\x15\n\x11TASK_STATUS_READY\x10\x02\x12\x16\n\x12TASK_STATUS_LEASED\x10\x03\x12\x19\n\x15TASK_STATUS_SUCCEEDED\x10\x04\x12\x14\n\x10TASK_STATUS_DEAD\x10\x05\x12\x19\n\x15TASK_STATUS_CANCELLED\x10\x06*i\n\rRetryStrategy\x12\x1e\n\x1aRETRY_STRATEGY_UNSPECIFIED\x10\x00\x12\x18\n\x14RETRY_STRATEGY_FIXED\x10\x01\x12\x1e\n\x1aRETRY_STRATEGY_EXPONENTIAL\x10\x02*\xac\x02\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45RROR_CODE_INVALID_ARGUMENT\x10\x01\x12\x18\n\x14\x45RROR_CODE_DUPLICATE\x10\x02\x12\x18\n\x14\x45RROR_CODE_NOT_FOUND\x10\x03\x12\x17\n\x13\x45RROR_CODE_CONFLICT\x10\x04\x12\x19\n\x15\x45RROR_CODE_LEASE_LOST\x10\x05\x12\x1a\n\x16\x45RROR_CODE_UNAVAILABLE\x10\x06\x12 \n\x1c\x45RROR_CODE_DEADLINE_EXCEEDED\x10\x07\x12#\n\x1f\x45RROR_CODE_INCOMPATIBLE_VERSION\x10\x08\x12\x17\n\x13\x45RROR_CODE_INTERNAL\x10\t2\xcd\x07\n\x0cQueueService\x12\x44\n\tNegotiate\x12\x1a.ringo.v1.NegotiateRequest\x1a\x1b.ringo.v1.NegotiateResponse\x12>\n\x07\x45nqueue\x12\x18.ringo.v1.EnqueueRequest\x1a\x19.ringo.v1.EnqueueResponse\x12J\n\x0b\x45nqueueMany\x12\x1c.ringo.v1.EnqueueManyRequest\x1a\x1d.ringo.v1.EnqueueManyResponse\x12>\n\x07GetTask\x12\x18.ringo.v1.GetTaskRequest\x1a\x19.ringo.v1.GetTaskResponse\x12Y\n\x10GetQueueActivity\x12!.ringo.v1.GetQueueActivityRequest\x1a\".ringo.v1.GetQueueActivityResponse\x12\x44\n\tRetryTask\x12\x1a.ringo.v1.RetryTaskRequest\x1a\x1b.ringo.v1.RetryTaskResponse\x12\x38\n\x05\x43laim\x12\x16.ringo.v1.ClaimRequest\x1a\x17.ringo.v1.ClaimResponse\x12\x32\n\x03\x41\x63k\x12\x14.ringo.v1.AckRequest\x1a\x15.ringo.v1.AckResponse\x12\x35\n\x04Nack\x12\x15.ringo.v1.NackRequest\x1a\x16.ringo.v1.NackResponse\x12;\n\x06Reject\x12\x17.ringo.v1.RejectRequest\x1a\x18.ringo.v1.RejectResponse\x12J\n\x0b\x45xtendLease\x12\x1c.ringo.v1.ExtendLeaseRequest\x1a\x1d.ringo.v1.ExtendLeaseResponse\x12S\n\x0eReportProgress\x12\x1f.ringo.v1.ReportProgressRequest\x1a .ringo.v1.ReportProgressResponse\x12\x39\n\x04Work\x12\x15.ringo.v1.WorkRequest\x1a\x16.ringo.v1.WorkResponse(\x01\x30\x01\x12L\n\x0b\x41ttachLocal\x12\x1c.ringo.v1.AttachLocalRequest\x1a\x1d.ringo.v1.AttachLocalResponse0\x01\x42l\n\x16\x64\x65v.ringo.taskqueue.v1B\nQueueProtoP\x01ZDgithub.com/ringo-task-queue/ringo-task-queue/gen/go/ringo/v1;ringov1b\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -38,100 +38,104 @@ if not _descriptor._USE_C_DESCRIPTORS:
38
38
  _globals['DESCRIPTOR']._serialized_options = b'\n\026dev.ringo.taskqueue.v1B\nQueueProtoP\001ZDgithub.com/ringo-task-queue/ringo-task-queue/gen/go/ringo/v1;ringov1'
39
39
  _globals['_ERRORDETAIL_METADATAENTRY']._loaded_options = None
40
40
  _globals['_ERRORDETAIL_METADATAENTRY']._serialized_options = b'8\001'
41
- _globals['_TASKSTATUS']._serialized_start=5546
42
- _globals['_TASKSTATUS']._serialized_end=5737
43
- _globals['_RETRYSTRATEGY']._serialized_start=5739
44
- _globals['_RETRYSTRATEGY']._serialized_end=5844
45
- _globals['_ERRORCODE']._serialized_start=5847
46
- _globals['_ERRORCODE']._serialized_end=6147
47
- _globals['_NEGOTIATEREQUEST']._serialized_start=153
48
- _globals['_NEGOTIATEREQUEST']._serialized_end=258
49
- _globals['_NEGOTIATERESPONSE']._serialized_start=261
50
- _globals['_NEGOTIATERESPONSE']._serialized_end=397
51
- _globals['_REQUESTCONTEXT']._serialized_start=399
52
- _globals['_REQUESTCONTEXT']._serialized_end=486
53
- _globals['_ERRORDETAIL']._serialized_start=489
54
- _globals['_ERRORDETAIL']._serialized_end=678
55
- _globals['_ERRORDETAIL_METADATAENTRY']._serialized_start=631
56
- _globals['_ERRORDETAIL_METADATAENTRY']._serialized_end=678
57
- _globals['_RETRYPOLICY']._serialized_start=681
58
- _globals['_RETRYPOLICY']._serialized_end=918
59
- _globals['_TASKSPEC']._serialized_start=921
60
- _globals['_TASKSPEC']._serialized_end=1119
61
- _globals['_TASK']._serialized_start=1122
62
- _globals['_TASK']._serialized_end=1690
63
- _globals['_ATTEMPT']._serialized_start=1693
64
- _globals['_ATTEMPT']._serialized_end=1891
65
- _globals['_PROGRESS']._serialized_start=1893
66
- _globals['_PROGRESS']._serialized_end=2000
67
- _globals['_LEASEINFO']._serialized_start=2002
68
- _globals['_LEASEINFO']._serialized_end=2092
69
- _globals['_LEASE']._serialized_start=2094
70
- _globals['_LEASE']._serialized_end=2218
71
- _globals['_LEASEDTASK']._serialized_start=2220
72
- _globals['_LEASEDTASK']._serialized_end=2294
73
- _globals['_ENQUEUEREQUEST']._serialized_start=2296
74
- _globals['_ENQUEUEREQUEST']._serialized_end=2404
75
- _globals['_ENQUEUERESULT']._serialized_start=2406
76
- _globals['_ENQUEUERESULT']._serialized_end=2485
77
- _globals['_ENQUEUERESPONSE']._serialized_start=2487
78
- _globals['_ENQUEUERESPONSE']._serialized_end=2545
79
- _globals['_ENQUEUEMANYREQUEST']._serialized_start=2547
80
- _globals['_ENQUEUEMANYREQUEST']._serialized_end=2660
81
- _globals['_ENQUEUEMANYRESPONSE']._serialized_start=2662
82
- _globals['_ENQUEUEMANYRESPONSE']._serialized_end=2773
83
- _globals['_GETTASKREQUEST']._serialized_start=2775
84
- _globals['_GETTASKREQUEST']._serialized_end=2897
85
- _globals['_GETTASKRESPONSE']._serialized_start=2899
86
- _globals['_GETTASKRESPONSE']._serialized_end=2946
87
- _globals['_GETQUEUEACTIVITYREQUEST']._serialized_start=2948
88
- _globals['_GETQUEUEACTIVITYREQUEST']._serialized_end=3051
89
- _globals['_GETQUEUEACTIVITYRESPONSE']._serialized_start=3053
90
- _globals['_GETQUEUEACTIVITYRESPONSE']._serialized_end=3106
91
- _globals['_RETRYTASKREQUEST']._serialized_start=3108
92
- _globals['_RETRYTASKREQUEST']._serialized_end=3232
93
- _globals['_RETRYTASKRESPONSE']._serialized_start=3234
94
- _globals['_RETRYTASKRESPONSE']._serialized_end=3283
95
- _globals['_CLAIMREQUEST']._serialized_start=3286
96
- _globals['_CLAIMREQUEST']._serialized_end=3512
97
- _globals['_CLAIMRESPONSE']._serialized_start=3514
98
- _globals['_CLAIMRESPONSE']._serialized_end=3566
99
- _globals['_LEASEREF']._serialized_start=3568
100
- _globals['_LEASEREF']._serialized_end=3633
101
- _globals['_ACKREQUEST']._serialized_start=3635
102
- _globals['_ACKREQUEST']._serialized_end=3725
103
- _globals['_ACKRESPONSE']._serialized_start=3727
104
- _globals['_ACKRESPONSE']._serialized_end=3740
105
- _globals['_NACKREQUEST']._serialized_start=3743
106
- _globals['_NACKREQUEST']._serialized_end=3906
107
- _globals['_NACKRESPONSE']._serialized_start=3908
108
- _globals['_NACKRESPONSE']._serialized_end=3952
109
- _globals['_REJECTREQUEST']._serialized_start=3954
110
- _globals['_REJECTREQUEST']._serialized_end=4062
111
- _globals['_REJECTRESPONSE']._serialized_start=4064
112
- _globals['_REJECTRESPONSE']._serialized_end=4110
113
- _globals['_EXTENDLEASEREQUEST']._serialized_start=4113
114
- _globals['_EXTENDLEASEREQUEST']._serialized_end=4257
115
- _globals['_EXTENDLEASERESPONSE']._serialized_start=4259
116
- _globals['_EXTENDLEASERESPONSE']._serialized_end=4312
117
- _globals['_REPORTPROGRESSREQUEST']._serialized_start=4315
118
- _globals['_REPORTPROGRESSREQUEST']._serialized_end=4465
119
- _globals['_REPORTPROGRESSRESPONSE']._serialized_start=4467
120
- _globals['_REPORTPROGRESSRESPONSE']._serialized_end=4491
121
- _globals['_WORKERREGISTRATION']._serialized_start=4494
122
- _globals['_WORKERREGISTRATION']._serialized_end=4687
123
- _globals['_CREDITUPDATE']._serialized_start=4689
124
- _globals['_CREDITUPDATE']._serialized_end=4722
125
- _globals['_WORKERDRAIN']._serialized_start=4724
126
- _globals['_WORKERDRAIN']._serialized_end=4752
127
- _globals['_WORKERREGISTERED']._serialized_start=4754
128
- _globals['_WORKERREGISTERED']._serialized_end=4867
129
- _globals['_WORKREQUEST']._serialized_start=4870
130
- _globals['_WORKREQUEST']._serialized_end=5269
131
- _globals['_WORKRESULT']._serialized_start=5271
132
- _globals['_WORKRESULT']._serialized_end=5341
133
- _globals['_WORKRESPONSE']._serialized_start=5344
134
- _globals['_WORKRESPONSE']._serialized_end=5543
135
- _globals['_QUEUESERVICE']._serialized_start=6150
136
- _globals['_QUEUESERVICE']._serialized_end=7045
41
+ _globals['_TASKSTATUS']._serialized_start=5687
42
+ _globals['_TASKSTATUS']._serialized_end=5878
43
+ _globals['_RETRYSTRATEGY']._serialized_start=5880
44
+ _globals['_RETRYSTRATEGY']._serialized_end=5985
45
+ _globals['_ERRORCODE']._serialized_start=5988
46
+ _globals['_ERRORCODE']._serialized_end=6288
47
+ _globals['_ATTACHLOCALREQUEST']._serialized_start=153
48
+ _globals['_ATTACHLOCALREQUEST']._serialized_end=193
49
+ _globals['_ATTACHLOCALRESPONSE']._serialized_start=195
50
+ _globals['_ATTACHLOCALRESPONSE']._serialized_end=236
51
+ _globals['_NEGOTIATEREQUEST']._serialized_start=238
52
+ _globals['_NEGOTIATEREQUEST']._serialized_end=343
53
+ _globals['_NEGOTIATERESPONSE']._serialized_start=346
54
+ _globals['_NEGOTIATERESPONSE']._serialized_end=482
55
+ _globals['_REQUESTCONTEXT']._serialized_start=484
56
+ _globals['_REQUESTCONTEXT']._serialized_end=571
57
+ _globals['_ERRORDETAIL']._serialized_start=574
58
+ _globals['_ERRORDETAIL']._serialized_end=763
59
+ _globals['_ERRORDETAIL_METADATAENTRY']._serialized_start=716
60
+ _globals['_ERRORDETAIL_METADATAENTRY']._serialized_end=763
61
+ _globals['_RETRYPOLICY']._serialized_start=766
62
+ _globals['_RETRYPOLICY']._serialized_end=1003
63
+ _globals['_TASKSPEC']._serialized_start=1006
64
+ _globals['_TASKSPEC']._serialized_end=1204
65
+ _globals['_TASK']._serialized_start=1207
66
+ _globals['_TASK']._serialized_end=1775
67
+ _globals['_ATTEMPT']._serialized_start=1778
68
+ _globals['_ATTEMPT']._serialized_end=1976
69
+ _globals['_PROGRESS']._serialized_start=1978
70
+ _globals['_PROGRESS']._serialized_end=2085
71
+ _globals['_LEASEINFO']._serialized_start=2087
72
+ _globals['_LEASEINFO']._serialized_end=2177
73
+ _globals['_LEASE']._serialized_start=2179
74
+ _globals['_LEASE']._serialized_end=2303
75
+ _globals['_LEASEDTASK']._serialized_start=2305
76
+ _globals['_LEASEDTASK']._serialized_end=2379
77
+ _globals['_ENQUEUEREQUEST']._serialized_start=2381
78
+ _globals['_ENQUEUEREQUEST']._serialized_end=2489
79
+ _globals['_ENQUEUERESULT']._serialized_start=2491
80
+ _globals['_ENQUEUERESULT']._serialized_end=2570
81
+ _globals['_ENQUEUERESPONSE']._serialized_start=2572
82
+ _globals['_ENQUEUERESPONSE']._serialized_end=2630
83
+ _globals['_ENQUEUEMANYREQUEST']._serialized_start=2632
84
+ _globals['_ENQUEUEMANYREQUEST']._serialized_end=2745
85
+ _globals['_ENQUEUEMANYRESPONSE']._serialized_start=2747
86
+ _globals['_ENQUEUEMANYRESPONSE']._serialized_end=2858
87
+ _globals['_GETTASKREQUEST']._serialized_start=2860
88
+ _globals['_GETTASKREQUEST']._serialized_end=2982
89
+ _globals['_GETTASKRESPONSE']._serialized_start=2984
90
+ _globals['_GETTASKRESPONSE']._serialized_end=3031
91
+ _globals['_GETQUEUEACTIVITYREQUEST']._serialized_start=3033
92
+ _globals['_GETQUEUEACTIVITYREQUEST']._serialized_end=3136
93
+ _globals['_GETQUEUEACTIVITYRESPONSE']._serialized_start=3138
94
+ _globals['_GETQUEUEACTIVITYRESPONSE']._serialized_end=3191
95
+ _globals['_RETRYTASKREQUEST']._serialized_start=3193
96
+ _globals['_RETRYTASKREQUEST']._serialized_end=3317
97
+ _globals['_RETRYTASKRESPONSE']._serialized_start=3319
98
+ _globals['_RETRYTASKRESPONSE']._serialized_end=3368
99
+ _globals['_CLAIMREQUEST']._serialized_start=3371
100
+ _globals['_CLAIMREQUEST']._serialized_end=3597
101
+ _globals['_CLAIMRESPONSE']._serialized_start=3599
102
+ _globals['_CLAIMRESPONSE']._serialized_end=3651
103
+ _globals['_LEASEREF']._serialized_start=3653
104
+ _globals['_LEASEREF']._serialized_end=3718
105
+ _globals['_ACKREQUEST']._serialized_start=3720
106
+ _globals['_ACKREQUEST']._serialized_end=3810
107
+ _globals['_ACKRESPONSE']._serialized_start=3812
108
+ _globals['_ACKRESPONSE']._serialized_end=3825
109
+ _globals['_NACKREQUEST']._serialized_start=3828
110
+ _globals['_NACKREQUEST']._serialized_end=3991
111
+ _globals['_NACKRESPONSE']._serialized_start=3993
112
+ _globals['_NACKRESPONSE']._serialized_end=4037
113
+ _globals['_REJECTREQUEST']._serialized_start=4039
114
+ _globals['_REJECTREQUEST']._serialized_end=4147
115
+ _globals['_REJECTRESPONSE']._serialized_start=4149
116
+ _globals['_REJECTRESPONSE']._serialized_end=4195
117
+ _globals['_EXTENDLEASEREQUEST']._serialized_start=4198
118
+ _globals['_EXTENDLEASEREQUEST']._serialized_end=4342
119
+ _globals['_EXTENDLEASERESPONSE']._serialized_start=4344
120
+ _globals['_EXTENDLEASERESPONSE']._serialized_end=4397
121
+ _globals['_REPORTPROGRESSREQUEST']._serialized_start=4400
122
+ _globals['_REPORTPROGRESSREQUEST']._serialized_end=4550
123
+ _globals['_REPORTPROGRESSRESPONSE']._serialized_start=4552
124
+ _globals['_REPORTPROGRESSRESPONSE']._serialized_end=4576
125
+ _globals['_WORKERREGISTRATION']._serialized_start=4579
126
+ _globals['_WORKERREGISTRATION']._serialized_end=4772
127
+ _globals['_CREDITUPDATE']._serialized_start=4774
128
+ _globals['_CREDITUPDATE']._serialized_end=4863
129
+ _globals['_WORKERDRAIN']._serialized_start=4865
130
+ _globals['_WORKERDRAIN']._serialized_end=4893
131
+ _globals['_WORKERREGISTERED']._serialized_start=4895
132
+ _globals['_WORKERREGISTERED']._serialized_end=5008
133
+ _globals['_WORKREQUEST']._serialized_start=5011
134
+ _globals['_WORKREQUEST']._serialized_end=5410
135
+ _globals['_WORKRESULT']._serialized_start=5412
136
+ _globals['_WORKRESULT']._serialized_end=5482
137
+ _globals['_WORKRESPONSE']._serialized_start=5485
138
+ _globals['_WORKRESPONSE']._serialized_end=5684
139
+ _globals['_QUEUESERVICE']._serialized_start=6291
140
+ _globals['_QUEUESERVICE']._serialized_end=7264
137
141
  # @@protoc_insertion_point(module_scope)
@@ -6,7 +6,7 @@ import warnings
6
6
 
7
7
  from ringo_task_queue._proto.ringo.v1 import queue_pb2 as ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2
8
8
 
9
- GRPC_GENERATED_VERSION = '1.71.0'
9
+ GRPC_GENERATED_VERSION = '1.81.1'
10
10
  GRPC_VERSION = grpc.__version__
11
11
  _version_not_supported = False
12
12
 
@@ -19,14 +19,14 @@ except ImportError:
19
19
  if _version_not_supported:
20
20
  raise RuntimeError(
21
21
  f'The grpc package installed is at version {GRPC_VERSION},'
22
- + f' but the generated code in ringo_task_queue/_proto/ringo/v1/queue_pb2_grpc.py depends on'
22
+ + ' but the generated code in ringo_task_queue/_proto/ringo/v1/queue_pb2_grpc.py depends on'
23
23
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
24
24
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
25
25
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
26
26
  )
27
27
 
28
28
 
29
- class QueueServiceStub(object):
29
+ class QueueServiceStub:
30
30
  """QueueService is the versioned data plane used by every SDK.
31
31
  """
32
32
 
@@ -101,9 +101,14 @@ class QueueServiceStub(object):
101
101
  request_serializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.WorkRequest.SerializeToString,
102
102
  response_deserializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.WorkResponse.FromString,
103
103
  _registered_method=True)
104
+ self.AttachLocal = channel.unary_stream(
105
+ '/ringo.v1.QueueService/AttachLocal',
106
+ request_serializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalRequest.SerializeToString,
107
+ response_deserializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalResponse.FromString,
108
+ _registered_method=True)
104
109
 
105
110
 
106
- class QueueServiceServicer(object):
111
+ class QueueServiceServicer:
107
112
  """QueueService is the versioned data plane used by every SDK.
108
113
  """
109
114
 
@@ -187,6 +192,14 @@ class QueueServiceServicer(object):
187
192
  context.set_details('Method not implemented!')
188
193
  raise NotImplementedError('Method not implemented!')
189
194
 
195
+ def AttachLocal(self, request, context):
196
+ """Local-only lifecycle stream. Each open stream owns exactly one shared-local
197
+ SDK attachment; remote and private-daemon instances reject this RPC.
198
+ """
199
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
200
+ context.set_details('Method not implemented!')
201
+ raise NotImplementedError('Method not implemented!')
202
+
190
203
 
191
204
  def add_QueueServiceServicer_to_server(servicer, server):
192
205
  rpc_method_handlers = {
@@ -255,6 +268,11 @@ def add_QueueServiceServicer_to_server(servicer, server):
255
268
  request_deserializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.WorkRequest.FromString,
256
269
  response_serializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.WorkResponse.SerializeToString,
257
270
  ),
271
+ 'AttachLocal': grpc.unary_stream_rpc_method_handler(
272
+ servicer.AttachLocal,
273
+ request_deserializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalRequest.FromString,
274
+ response_serializer=ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalResponse.SerializeToString,
275
+ ),
258
276
  }
259
277
  generic_handler = grpc.method_handlers_generic_handler(
260
278
  'ringo.v1.QueueService', rpc_method_handlers)
@@ -263,7 +281,7 @@ def add_QueueServiceServicer_to_server(servicer, server):
263
281
 
264
282
 
265
283
  # This class is part of an EXPERIMENTAL API.
266
- class QueueService(object):
284
+ class QueueService:
267
285
  """QueueService is the versioned data plane used by every SDK.
268
286
  """
269
287
 
@@ -617,3 +635,30 @@ class QueueService(object):
617
635
  timeout,
618
636
  metadata,
619
637
  _registered_method=True)
638
+
639
+ @staticmethod
640
+ def AttachLocal(request,
641
+ target,
642
+ options=(),
643
+ channel_credentials=None,
644
+ call_credentials=None,
645
+ insecure=False,
646
+ compression=None,
647
+ wait_for_ready=None,
648
+ timeout=None,
649
+ metadata=None):
650
+ return grpc.experimental.unary_stream(
651
+ request,
652
+ target,
653
+ '/ringo.v1.QueueService/AttachLocal',
654
+ ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalRequest.SerializeToString,
655
+ ringo__task__queue_dot___proto_dot_ringo_dot_v1_dot_queue__pb2.AttachLocalResponse.FromString,
656
+ options,
657
+ channel_credentials,
658
+ insecure,
659
+ call_credentials,
660
+ compression,
661
+ wait_for_ready,
662
+ timeout,
663
+ metadata,
664
+ _registered_method=True)
@@ -1,15 +1,17 @@
1
- """Release-line constants shared by runtime packaging checks."""
2
-
3
- SDK_VERSION = "0.1.0.dev3"
4
- PROTOCOL_MAJOR = 1
5
- PROTOCOL_MINOR = 1
6
- SCHEMA_VERSION = 3
7
-
8
-
9
- def daemon_version_for_sdk(version: str = SDK_VERSION) -> str:
10
- """Map the Python package line to the canonical Go daemon line."""
11
- if ".dev" in version:
12
- base, _, suffix = version.rpartition(".dev")
13
- if suffix.isdigit():
14
- return f"{base}-dev"
15
- return version
1
+ """Release-line constants shared by runtime packaging checks."""
2
+
3
+ SDK_VERSION = "0.1.0.dev5"
4
+ PROTOCOL_MAJOR = 1
5
+ PROTOCOL_MINOR = 3
6
+ SCHEMA_VERSION = 3
7
+
8
+
9
+ def daemon_version_for_sdk(version: str = SDK_VERSION) -> str:
10
+ """Map the Python package line to the canonical Go daemon line."""
11
+ if ".dev" in version:
12
+ base, _, suffix = version.rpartition(".dev")
13
+ if suffix.isdigit():
14
+ # Keep the historical dev0 daemon spelling while preserving the
15
+ # release-candidate sequence used by later development wheels.
16
+ return f"{base}-dev" if suffix == "0" else f"{base}-dev.{suffix}"
17
+ return version
@@ -4,17 +4,17 @@
4
4
  "arch": "amd64",
5
5
  "filename": "ringo-task-queue-windows-amd64.exe",
6
6
  "os": "windows",
7
- "sha256": "4b353f8838f8843a179d8a8e8b1c514034ea7aae44106668dfd0eb67d2b51313",
8
- "size": 22874624
7
+ "sha256": "02a6370d1af51f8e9c2628d6a54498ed635dc172d9f911e605568e5096ef5ab3",
8
+ "size": 22962688
9
9
  }
10
10
  ],
11
- "buildCommit": "b133229",
12
- "buildDate": "2026-03-01T00:00:00Z",
11
+ "buildCommit": "27104ab36ac5316bb62ef4d5e968760609f59cd2",
12
+ "buildDate": "2026-09-23T09:43:27Z",
13
13
  "manifestVersion": 1,
14
14
  "name": "ringo-task-queue",
15
15
  "protocolMajor": 1,
16
- "protocolMinor": 1,
17
- "releaseManifestSha256": "45ef0cbdb704f803ed38e6bcec5ddd002e768e37c1d4501c7a9effcf7e408aea",
16
+ "protocolMinor": 3,
17
+ "releaseManifestSha256": "0645c28ea8ca0a01348721d19355f758fb5d1ff1b65e196552001e43f3e4a09b",
18
18
  "schemaVersion": 3,
19
- "version": "0.1.0-dev.3"
19
+ "version": "0.1.0-dev.5"
20
20
  }