chalkpy 2.94.5__py3-none-any.whl → 2.94.6__py3-none-any.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.
Files changed (71) hide show
  1. chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +37 -33
  2. chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +24 -3
  3. chalk/_gen/chalk/server/v1/benchmark_pb2.py +42 -11
  4. chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +86 -4
  5. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +180 -0
  6. chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +48 -0
  7. chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
  8. chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
  9. chalk/_gen/chalk/server/v1/builder_pb2.py +357 -296
  10. chalk/_gen/chalk/server/v1/builder_pb2.pyi +273 -6
  11. chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +225 -0
  12. chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +60 -0
  13. chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
  14. chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
  15. chalk/_gen/chalk/server/v1/cloud_components_pb2.py +137 -123
  16. chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +86 -4
  17. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +50 -44
  18. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +33 -1
  19. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +45 -0
  20. chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +12 -0
  21. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +38 -18
  22. chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +55 -10
  23. chalk/_gen/chalk/server/v1/deployment_pb2.py +6 -6
  24. chalk/_gen/chalk/server/v1/deployment_pb2.pyi +20 -0
  25. chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
  26. chalk/_gen/chalk/server/v1/graph_pb2.py +38 -26
  27. chalk/_gen/chalk/server/v1/graph_pb2.pyi +58 -0
  28. chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +47 -0
  29. chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +18 -0
  30. chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
  31. chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
  32. chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
  33. chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
  34. chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
  35. chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
  36. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
  37. chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
  38. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +10 -10
  39. chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +4 -1
  40. chalk/_gen/chalk/server/v1/scheduler_pb2.py +17 -5
  41. chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +42 -0
  42. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
  43. chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
  44. chalk/_gen/chalk/server/v1/script_tasks_pb2.py +15 -3
  45. chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +22 -0
  46. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
  47. chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
  48. chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
  49. chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
  50. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
  51. chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
  52. chalk/_gen/chalk/server/v1/team_pb2.py +142 -141
  53. chalk/_gen/chalk/server/v1/team_pb2.pyi +9 -2
  54. chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
  55. chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
  56. chalk/_gen/chalk/server/v1/trace_pb2.py +10 -10
  57. chalk/_gen/chalk/server/v1/trace_pb2.pyi +8 -0
  58. chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
  59. chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
  60. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
  61. chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
  62. chalk/_version.py +1 -1
  63. {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/METADATA +1 -1
  64. {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/RECORD +67 -59
  65. chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py +0 -38
  66. chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi +0 -25
  67. chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py +0 -80
  68. chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi +0 -36
  69. {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/WHEEL +0 -0
  70. {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/entry_points.txt +0 -0
  71. {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/top_level.txt +0 -0
@@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
20
20
 
21
21
 
22
22
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23
- b'\n\'chalk/server/v1/dataplanejobqueue.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\'chalk/kubernetes/v1/resourcequota.proto\x1a&chalk/kubernetes/v1/scaledobject.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x9c\t\n\x0cJobQueueItem\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x1e\n\x08job_name\x18\x05 \x01(\tH\x00R\x07jobName\x88\x01\x01\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x03R\nattemptIdx\x12\x34\n\x05state\x18\x07 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x42\n\x0cscheduled_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0bscheduledAt\x88\x01\x01\x12\x31\n\x04kind\x18\t \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x19\n\x08job_args\x18\n \x01(\x0cR\x07jobArgs\x12%\n\x0eresource_group\x18\x0b \x01(\tR\rresourceGroup\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x0b\x66inalizedAt\x88\x01\x01\x12K\n\x11last_attempted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\x0flastAttemptedAt\x88\x01\x01\x12!\n\x0c\x61ttempted_by\x18\x0e \x03(\tR\x0b\x61ttemptedBy\x12K\n\x11last_heartbeat_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\x0flastHeartbeatAt\x88\x01\x01\x12&\n\x0coperation_id\x18\x10 \x01(\tH\x05R\x0boperationId\x88\x01\x01\x12Y\n\x18\x63\x61ncelation_requested_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06R\x16\x63\x61ncelationRequestedAt\x88\x01\x01\x12!\n\x0cmax_attempts\x18\x12 \x01(\x03R\x0bmaxAttempts\x12\x34\n\x16mainline_deployment_id\x18\x13 \x01(\tR\x14mainlineDeploymentId\x12"\n\x08shard_id\x18\x14 \x01(\x03\x42\x02\x18\x01H\x07R\x07shardId\x88\x01\x01\x12 \n\tjob_index\x18\x15 \x01(\x03H\x08R\x08jobIndex\x88\x01\x01\x42\x0b\n\t_job_nameB\x0f\n\r_scheduled_atB\x0f\n\r_finalized_atB\x14\n\x12_last_attempted_atB\x14\n\x12_last_heartbeat_atB\x0f\n\r_operation_idB\x1b\n\x19_cancelation_requested_atB\x0b\n\t_shard_idB\x0c\n\n_job_index"-\n\x1bGetDataPlaneJobQueueRequest\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id"O\n\x1cGetDataPlaneJobQueueResponse\x12/\n\x03job\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.JobQueueItemR\x03job"\xa4\x02\n\x1cListDataPlaneJobQueueRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05state\x18\x03 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x31\n\x04kind\x18\x04 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x14\n\x05limit\x18\x05 \x01(\x05R\x05limit\x12\x16\n\x06offset\x18\x06 \x01(\x05R\x06offset\x12!\n\x0coperation_id\x18\x07 \x01(\tR\x0boperationId"h\n\x1dListDataPlaneJobQueueResponse\x12\x31\n\x04jobs\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.JobQueueItemR\x04jobs\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"t\n$GetJobQueueAuxiliaryResourcesRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12%\n\x0eresource_group\x18\x02 \x01(\tR\rresourceGroup"\x8f\x03\n%GetJobQueueAuxiliaryResourcesResponse\x12\x8f\x01\n\x19\x64\x65ployment_scaled_objects\x18\x01 \x03(\x0b\x32S.chalk.server.v1.GetJobQueueAuxiliaryResourcesResponse.DeploymentScaledObjectsEntryR\x17\x64\x65ploymentScaledObjects\x12W\n\x0eresource_quota\x18\x02 \x01(\x0b\x32\x30.chalk.kubernetes.v1.KubernetesResourceQuotaDataR\rresourceQuota\x1a{\n\x1c\x44\x65ploymentScaledObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32/.chalk.kubernetes.v1.KubernetesScaledObjectDataR\x05value:\x02\x38\x01"\xc5\x04\n\x12JobQueueRowSummary\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x05R\nattemptIdx\x12\x34\n\x05state\x18\x07 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0b\x66inalizedAt\x88\x01\x01\x12K\n\x11last_attempted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0flastAttemptedAt\x88\x01\x01\x12%\n\x0e\x61ttempter_idxs\x18\x0e \x03(\x05R\rattempterIdxs\x12K\n\x11last_heartbeat_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x0flastHeartbeatAt\x88\x01\x01\x12!\n\x0cmax_attempts\x18\x12 \x01(\x05R\x0bmaxAttempts\x12\x1c\n\x07job_idx\x18\x15 \x01(\x05H\x03R\x06jobIdx\x88\x01\x01\x42\x0f\n\r_finalized_atB\x14\n\x12_last_attempted_atB\x14\n\x12_last_heartbeat_atB\n\n\x08_job_idx"\xb8\x03\n\x18JobQueueOperationSummary\x12v\n\x15indexed_row_summaries\x18\x01 \x03(\x0b\x32\x42.chalk.server.v1.JobQueueOperationSummary.IndexedRowSummariesEntryR\x13indexedRowSummaries\x12.\n\x13resource_group_name\x18\x03 \x01(\tR\x11resourceGroupName\x12\x34\n\x16mainline_deployment_id\x18\x04 \x01(\tR\x14mainlineDeploymentId\x12\x31\n\x04kind\x18\x05 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x1e\n\nattempters\x18\x06 \x03(\tR\nattempters\x1ak\n\x18IndexedRowSummariesEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.chalk.server.v1.JobQueueRowSummaryR\x05value:\x02\x38\x01"\xbb\x01\n"GetJobQueueOperationSummaryRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12\x19\n\x05limit\x18\x03 \x01(\x05H\x00R\x05limit\x88\x01\x01\x12\x1b\n\x06offset\x18\x04 \x01(\x05H\x01R\x06offset\x88\x01\x01\x42\x08\n\x06_limitB\t\n\x07_offset"{\n#GetJobQueueOperationSummaryResponse\x12H\n\x07summary\x18\x01 \x01(\x0b\x32).chalk.server.v1.JobQueueOperationSummaryH\x00R\x07summary\x88\x01\x01\x42\n\n\x08_summary"\x94\x04\n\x0fJobQueueAttempt\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12 \n\x0cjob_queue_id\x18\x05 \x01(\x05R\njobQueueId\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x03R\nattemptIdx\x12\x37\n\tqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08queuedAt\x12>\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tstartedAt\x88\x01\x01\x12&\n\x0c\x61ttempted_by\x18\t \x01(\tH\x01R\x0b\x61ttemptedBy\x88\x01\x01\x12\x14\n\x05state\x18\n \x01(\x05R\x05state\x12@\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\nfinishedAt\x88\x01\x01\x42\r\n\x0b_started_atB\x0f\n\r_attempted_byB\x0e\n\x0c_finished_at"\x8e\x01\n\x1bListJobQueueAttemptsRequest\x12%\n\x0cjob_queue_id\x18\x01 \x01(\x05H\x00R\njobQueueId\x88\x01\x01\x12&\n\x0coperation_id\x18\x03 \x01(\tH\x01R\x0boperationId\x88\x01\x01\x42\x0f\n\r_job_queue_idB\x0f\n\r_operation_id"\\\n\x1cListJobQueueAttemptsResponse\x12<\n\x08\x61ttempts\x18\x01 \x03(\x0b\x32 .chalk.server.v1.JobQueueAttemptR\x08\x61ttempts"Q\n\x11OperationAndShard\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12\x19\n\x08shard_id\x18\x02 \x01(\x03R\x07shardId"\xff\x01\n\x1d\x46orceCancelJobQueueJobRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12*\n\x0f\x62y_job_queue_id\x18\x02 \x01(\x05H\x00R\x0c\x62yJobQueueId\x88\x01\x01\x12\\\n\x16\x62y_operation_and_shard\x18\x03 \x01(\x0b\x32".chalk.server.v1.OperationAndShardH\x01R\x13\x62yOperationAndShard\x88\x01\x01\x42\x12\n\x10_by_job_queue_idB\x19\n\x17_by_operation_and_shard" \n\x1e\x46orceCancelJobQueueJobResponse*\x81\x02\n\rJobQueueState\x12\x1f\n\x1bJOB_QUEUE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19JOB_QUEUE_STATE_SCHEDULED\x10\x01\x12\x1b\n\x17JOB_QUEUE_STATE_RUNNING\x10\x02\x12\x1d\n\x19JOB_QUEUE_STATE_COMPLETED\x10\x03\x12\x1a\n\x16JOB_QUEUE_STATE_FAILED\x10\x04\x12\x1c\n\x18JOB_QUEUE_STATE_CANCELED\x10\x05\x12\x1d\n\x19JOB_QUEUE_STATE_NOT_READY\x10\x06\x12\x1b\n\x17JOB_QUEUE_STATE_WAITING\x10\x07*\x9a\x01\n\x0cJobQueueKind\x12\x1e\n\x1aJOB_QUEUE_KIND_UNSPECIFIED\x10\x00\x12&\n"JOB_QUEUE_KIND_ASYNC_OFFLINE_QUERY\x10\x01\x12"\n\x1eJOB_QUEUE_KIND_SCHEDULED_QUERY\x10\x02\x12\x1e\n\x1aJOB_QUEUE_KIND_SCRIPT_TASK\x10\x03\x32\xc0\x06\n\x18\x44\x61taPlaneJobQueueService\x12{\n\x14GetDataPlaneJobQueue\x12,.chalk.server.v1.GetDataPlaneJobQueueRequest\x1a-.chalk.server.v1.GetDataPlaneJobQueueResponse"\x06\x90\x02\x01\x80}\x10\x12~\n\x15ListDataPlaneJobQueue\x12-.chalk.server.v1.ListDataPlaneJobQueueRequest\x1a..chalk.server.v1.ListDataPlaneJobQueueResponse"\x06\x90\x02\x01\x80}\x10\x12\x96\x01\n\x1dGetJobQueueAuxiliaryResources\x12\x35.chalk.server.v1.GetJobQueueAuxiliaryResourcesRequest\x1a\x36.chalk.server.v1.GetJobQueueAuxiliaryResourcesResponse"\x06\x90\x02\x01\x80}\x0b\x12\x90\x01\n\x1bGetJobQueueOperationSummary\x12\x33.chalk.server.v1.GetJobQueueOperationSummaryRequest\x1a\x34.chalk.server.v1.GetJobQueueOperationSummaryResponse"\x06\x90\x02\x01\x80}\x10\x12{\n\x14ListJobQueueAttempts\x12,.chalk.server.v1.ListJobQueueAttemptsRequest\x1a-.chalk.server.v1.ListJobQueueAttemptsResponse"\x06\x90\x02\x01\x80}\x10\x12~\n\x16\x46orceCancelJobQueueJob\x12..chalk.server.v1.ForceCancelJobQueueJobRequest\x1a/.chalk.server.v1.ForceCancelJobQueueJobResponse"\x03\x80}\x04\x42\x9f\x01\n\x13\x63om.chalk.server.v1B\x16\x44\x61taplanejobqueueProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
23
+ b'\n\'chalk/server/v1/dataplanejobqueue.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\'chalk/kubernetes/v1/resourcequota.proto\x1a&chalk/kubernetes/v1/scaledobject.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xae\n\n\x0cJobQueueItem\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x1e\n\x08job_name\x18\x05 \x01(\tH\x00R\x07jobName\x88\x01\x01\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x03R\nattemptIdx\x12\x34\n\x05state\x18\x07 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x42\n\x0cscheduled_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0bscheduledAt\x88\x01\x01\x12\x31\n\x04kind\x18\t \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x19\n\x08job_args\x18\n \x01(\x0cR\x07jobArgs\x12%\n\x0eresource_group\x18\x0b \x01(\tR\rresourceGroup\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x0b\x66inalizedAt\x88\x01\x01\x12K\n\x11last_attempted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\x0flastAttemptedAt\x88\x01\x01\x12!\n\x0c\x61ttempted_by\x18\x0e \x03(\tR\x0b\x61ttemptedBy\x12K\n\x11last_heartbeat_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\x0flastHeartbeatAt\x88\x01\x01\x12&\n\x0coperation_id\x18\x10 \x01(\tH\x05R\x0boperationId\x88\x01\x01\x12Y\n\x18\x63\x61ncelation_requested_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06R\x16\x63\x61ncelationRequestedAt\x88\x01\x01\x12!\n\x0cmax_attempts\x18\x12 \x01(\x03R\x0bmaxAttempts\x12\x34\n\x16mainline_deployment_id\x18\x13 \x01(\tR\x14mainlineDeploymentId\x12"\n\x08shard_id\x18\x14 \x01(\x03\x42\x02\x18\x01H\x07R\x07shardId\x88\x01\x01\x12 \n\tjob_index\x18\x15 \x01(\x03H\x08R\x08jobIndex\x88\x01\x01\x12*\n\x0e\x66\x65tch_priority\x18\x16 \x01(\x03H\tR\rfetchPriority\x88\x01\x01\x12\x37\n\x15workflow_execution_id\x18\x17 \x01(\tH\nR\x13workflowExecutionId\x88\x01\x01\x42\x0b\n\t_job_nameB\x0f\n\r_scheduled_atB\x0f\n\r_finalized_atB\x14\n\x12_last_attempted_atB\x14\n\x12_last_heartbeat_atB\x0f\n\r_operation_idB\x1b\n\x19_cancelation_requested_atB\x0b\n\t_shard_idB\x0c\n\n_job_indexB\x11\n\x0f_fetch_priorityB\x18\n\x16_workflow_execution_id"-\n\x1bGetDataPlaneJobQueueRequest\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id"O\n\x1cGetDataPlaneJobQueueResponse\x12/\n\x03job\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.JobQueueItemR\x03job"\xa4\x02\n\x1cListDataPlaneJobQueueRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12\x34\n\x05state\x18\x03 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x31\n\x04kind\x18\x04 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x14\n\x05limit\x18\x05 \x01(\x05R\x05limit\x12\x16\n\x06offset\x18\x06 \x01(\x05R\x06offset\x12!\n\x0coperation_id\x18\x07 \x01(\tR\x0boperationId"h\n\x1dListDataPlaneJobQueueResponse\x12\x31\n\x04jobs\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.JobQueueItemR\x04jobs\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"t\n$GetJobQueueAuxiliaryResourcesRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12%\n\x0eresource_group\x18\x02 \x01(\tR\rresourceGroup"\x8f\x03\n%GetJobQueueAuxiliaryResourcesResponse\x12\x8f\x01\n\x19\x64\x65ployment_scaled_objects\x18\x01 \x03(\x0b\x32S.chalk.server.v1.GetJobQueueAuxiliaryResourcesResponse.DeploymentScaledObjectsEntryR\x17\x64\x65ploymentScaledObjects\x12W\n\x0eresource_quota\x18\x02 \x01(\x0b\x32\x30.chalk.kubernetes.v1.KubernetesResourceQuotaDataR\rresourceQuota\x1a{\n\x1c\x44\x65ploymentScaledObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32/.chalk.kubernetes.v1.KubernetesScaledObjectDataR\x05value:\x02\x38\x01"\xc5\x04\n\x12JobQueueRowSummary\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x05R\nattemptIdx\x12\x34\n\x05state\x18\x07 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0b\x66inalizedAt\x88\x01\x01\x12K\n\x11last_attempted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0flastAttemptedAt\x88\x01\x01\x12%\n\x0e\x61ttempter_idxs\x18\x0e \x03(\x05R\rattempterIdxs\x12K\n\x11last_heartbeat_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\x0flastHeartbeatAt\x88\x01\x01\x12!\n\x0cmax_attempts\x18\x12 \x01(\x05R\x0bmaxAttempts\x12\x1c\n\x07job_idx\x18\x15 \x01(\x05H\x03R\x06jobIdx\x88\x01\x01\x42\x0f\n\r_finalized_atB\x14\n\x12_last_attempted_atB\x14\n\x12_last_heartbeat_atB\n\n\x08_job_idx"\xdc\x04\n\x18JobQueueOperationSummary\x12v\n\x15indexed_row_summaries\x18\x01 \x03(\x0b\x32\x42.chalk.server.v1.JobQueueOperationSummary.IndexedRowSummariesEntryR\x13indexedRowSummaries\x12.\n\x13resource_group_name\x18\x03 \x01(\tR\x11resourceGroupName\x12\x34\n\x16mainline_deployment_id\x18\x04 \x01(\tR\x14mainlineDeploymentId\x12\x31\n\x04kind\x18\x05 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x1e\n\nattempters\x18\x06 \x03(\tR\nattempters\x12\x37\n\x15workflow_execution_id\x18\x07 \x01(\tH\x00R\x13workflowExecutionId\x88\x01\x01\x12O\n$unsatisfied_dependency_operation_ids\x18\x08 \x03(\tR!unsatisfiedDependencyOperationIds\x1ak\n\x18IndexedRowSummariesEntry\x12\x10\n\x03key\x18\x01 \x01(\x05R\x03key\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32#.chalk.server.v1.JobQueueRowSummaryR\x05value:\x02\x38\x01\x42\x18\n\x16_workflow_execution_id"\xbb\x01\n"GetJobQueueOperationSummaryRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12\x19\n\x05limit\x18\x03 \x01(\x05H\x00R\x05limit\x88\x01\x01\x12\x1b\n\x06offset\x18\x04 \x01(\x05H\x01R\x06offset\x88\x01\x01\x42\x08\n\x06_limitB\t\n\x07_offset"{\n#GetJobQueueOperationSummaryResponse\x12H\n\x07summary\x18\x01 \x01(\x0b\x32).chalk.server.v1.JobQueueOperationSummaryH\x00R\x07summary\x88\x01\x01\x42\n\n\x08_summary"\x94\x04\n\x0fJobQueueAttempt\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12 \n\x0cjob_queue_id\x18\x05 \x01(\x05R\njobQueueId\x12\x1f\n\x0b\x61ttempt_idx\x18\x06 \x01(\x03R\nattemptIdx\x12\x37\n\tqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08queuedAt\x12>\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tstartedAt\x88\x01\x01\x12&\n\x0c\x61ttempted_by\x18\t \x01(\tH\x01R\x0b\x61ttemptedBy\x88\x01\x01\x12\x14\n\x05state\x18\n \x01(\x05R\x05state\x12@\n\x0b\x66inished_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\nfinishedAt\x88\x01\x01\x42\r\n\x0b_started_atB\x0f\n\r_attempted_byB\x0e\n\x0c_finished_at"\x8e\x01\n\x1bListJobQueueAttemptsRequest\x12%\n\x0cjob_queue_id\x18\x01 \x01(\x05H\x00R\njobQueueId\x88\x01\x01\x12&\n\x0coperation_id\x18\x03 \x01(\tH\x01R\x0boperationId\x88\x01\x01\x42\x0f\n\r_job_queue_idB\x0f\n\r_operation_id"\\\n\x1cListJobQueueAttemptsResponse\x12<\n\x08\x61ttempts\x18\x01 \x03(\x0b\x32 .chalk.server.v1.JobQueueAttemptR\x08\x61ttempts"Q\n\x11OperationAndShard\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12\x19\n\x08shard_id\x18\x02 \x01(\x03R\x07shardId"\xff\x01\n\x1d\x46orceCancelJobQueueJobRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12*\n\x0f\x62y_job_queue_id\x18\x02 \x01(\x05H\x00R\x0c\x62yJobQueueId\x88\x01\x01\x12\\\n\x16\x62y_operation_and_shard\x18\x03 \x01(\x0b\x32".chalk.server.v1.OperationAndShardH\x01R\x13\x62yOperationAndShard\x88\x01\x01\x42\x12\n\x10_by_job_queue_idB\x19\n\x17_by_operation_and_shard" \n\x1e\x46orceCancelJobQueueJobResponse"`\n\x1e\x43\x61ncelWorkflowExecutionRequest\x12\x34\n\x15workflow_execution_id\x18\x01 \x01(\tH\x00R\x13workflowExecutionIdB\x08\n\x06method"!\n\x1f\x43\x61ncelWorkflowExecutionResponse*\x81\x02\n\rJobQueueState\x12\x1f\n\x1bJOB_QUEUE_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19JOB_QUEUE_STATE_SCHEDULED\x10\x01\x12\x1b\n\x17JOB_QUEUE_STATE_RUNNING\x10\x02\x12\x1d\n\x19JOB_QUEUE_STATE_COMPLETED\x10\x03\x12\x1a\n\x16JOB_QUEUE_STATE_FAILED\x10\x04\x12\x1c\n\x18JOB_QUEUE_STATE_CANCELED\x10\x05\x12\x1d\n\x19JOB_QUEUE_STATE_NOT_READY\x10\x06\x12\x1b\n\x17JOB_QUEUE_STATE_WAITING\x10\x07*\x9a\x01\n\x0cJobQueueKind\x12\x1e\n\x1aJOB_QUEUE_KIND_UNSPECIFIED\x10\x00\x12&\n"JOB_QUEUE_KIND_ASYNC_OFFLINE_QUERY\x10\x01\x12"\n\x1eJOB_QUEUE_KIND_SCHEDULED_QUERY\x10\x02\x12\x1e\n\x1aJOB_QUEUE_KIND_SCRIPT_TASK\x10\x03\x32\xc4\x07\n\x18\x44\x61taPlaneJobQueueService\x12{\n\x14GetDataPlaneJobQueue\x12,.chalk.server.v1.GetDataPlaneJobQueueRequest\x1a-.chalk.server.v1.GetDataPlaneJobQueueResponse"\x06\x90\x02\x01\x80}\x10\x12~\n\x15ListDataPlaneJobQueue\x12-.chalk.server.v1.ListDataPlaneJobQueueRequest\x1a..chalk.server.v1.ListDataPlaneJobQueueResponse"\x06\x90\x02\x01\x80}\x10\x12\x96\x01\n\x1dGetJobQueueAuxiliaryResources\x12\x35.chalk.server.v1.GetJobQueueAuxiliaryResourcesRequest\x1a\x36.chalk.server.v1.GetJobQueueAuxiliaryResourcesResponse"\x06\x90\x02\x01\x80}\x0b\x12\x90\x01\n\x1bGetJobQueueOperationSummary\x12\x33.chalk.server.v1.GetJobQueueOperationSummaryRequest\x1a\x34.chalk.server.v1.GetJobQueueOperationSummaryResponse"\x06\x90\x02\x01\x80}\x10\x12{\n\x14ListJobQueueAttempts\x12,.chalk.server.v1.ListJobQueueAttemptsRequest\x1a-.chalk.server.v1.ListJobQueueAttemptsResponse"\x06\x90\x02\x01\x80}\x10\x12~\n\x16\x46orceCancelJobQueueJob\x12..chalk.server.v1.ForceCancelJobQueueJobRequest\x1a/.chalk.server.v1.ForceCancelJobQueueJobResponse"\x03\x80}\x04\x12\x81\x01\n\x17\x43\x61ncelWorkflowExecution\x12/.chalk.server.v1.CancelWorkflowExecutionRequest\x1a\x30.chalk.server.v1.CancelWorkflowExecutionResponse"\x03\x80}\x04\x42\x9f\x01\n\x13\x63om.chalk.server.v1B\x16\x44\x61taplanejobqueueProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
24
24
  )
25
25
 
26
26
  _globals = globals()
@@ -59,48 +59,54 @@ if _descriptor._USE_C_DESCRIPTORS == False:
59
59
  ]._serialized_options = b"\220\002\001\200}\020"
60
60
  _globals["_DATAPLANEJOBQUEUESERVICE"].methods_by_name["ForceCancelJobQueueJob"]._options = None
61
61
  _globals["_DATAPLANEJOBQUEUESERVICE"].methods_by_name["ForceCancelJobQueueJob"]._serialized_options = b"\200}\004"
62
- _globals["_JOBQUEUESTATE"]._serialized_start = 4931
63
- _globals["_JOBQUEUESTATE"]._serialized_end = 5188
64
- _globals["_JOBQUEUEKIND"]._serialized_start = 5191
65
- _globals["_JOBQUEUEKIND"]._serialized_end = 5345
62
+ _globals["_DATAPLANEJOBQUEUESERVICE"].methods_by_name["CancelWorkflowExecution"]._options = None
63
+ _globals["_DATAPLANEJOBQUEUESERVICE"].methods_by_name["CancelWorkflowExecution"]._serialized_options = b"\200}\004"
64
+ _globals["_JOBQUEUESTATE"]._serialized_start = 5374
65
+ _globals["_JOBQUEUESTATE"]._serialized_end = 5631
66
+ _globals["_JOBQUEUEKIND"]._serialized_start = 5634
67
+ _globals["_JOBQUEUEKIND"]._serialized_end = 5788
66
68
  _globals["_JOBQUEUEITEM"]._serialized_start = 208
67
- _globals["_JOBQUEUEITEM"]._serialized_end = 1388
68
- _globals["_GETDATAPLANEJOBQUEUEREQUEST"]._serialized_start = 1390
69
- _globals["_GETDATAPLANEJOBQUEUEREQUEST"]._serialized_end = 1435
70
- _globals["_GETDATAPLANEJOBQUEUERESPONSE"]._serialized_start = 1437
71
- _globals["_GETDATAPLANEJOBQUEUERESPONSE"]._serialized_end = 1516
72
- _globals["_LISTDATAPLANEJOBQUEUEREQUEST"]._serialized_start = 1519
73
- _globals["_LISTDATAPLANEJOBQUEUEREQUEST"]._serialized_end = 1811
74
- _globals["_LISTDATAPLANEJOBQUEUERESPONSE"]._serialized_start = 1813
75
- _globals["_LISTDATAPLANEJOBQUEUERESPONSE"]._serialized_end = 1917
76
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESREQUEST"]._serialized_start = 1919
77
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESREQUEST"]._serialized_end = 2035
78
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE"]._serialized_start = 2038
79
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE"]._serialized_end = 2437
80
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE_DEPLOYMENTSCALEDOBJECTSENTRY"]._serialized_start = 2314
81
- _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE_DEPLOYMENTSCALEDOBJECTSENTRY"]._serialized_end = 2437
82
- _globals["_JOBQUEUEROWSUMMARY"]._serialized_start = 2440
83
- _globals["_JOBQUEUEROWSUMMARY"]._serialized_end = 3021
84
- _globals["_JOBQUEUEOPERATIONSUMMARY"]._serialized_start = 3024
85
- _globals["_JOBQUEUEOPERATIONSUMMARY"]._serialized_end = 3464
86
- _globals["_JOBQUEUEOPERATIONSUMMARY_INDEXEDROWSUMMARIESENTRY"]._serialized_start = 3357
87
- _globals["_JOBQUEUEOPERATIONSUMMARY_INDEXEDROWSUMMARIESENTRY"]._serialized_end = 3464
88
- _globals["_GETJOBQUEUEOPERATIONSUMMARYREQUEST"]._serialized_start = 3467
89
- _globals["_GETJOBQUEUEOPERATIONSUMMARYREQUEST"]._serialized_end = 3654
90
- _globals["_GETJOBQUEUEOPERATIONSUMMARYRESPONSE"]._serialized_start = 3656
91
- _globals["_GETJOBQUEUEOPERATIONSUMMARYRESPONSE"]._serialized_end = 3779
92
- _globals["_JOBQUEUEATTEMPT"]._serialized_start = 3782
93
- _globals["_JOBQUEUEATTEMPT"]._serialized_end = 4314
94
- _globals["_LISTJOBQUEUEATTEMPTSREQUEST"]._serialized_start = 4317
95
- _globals["_LISTJOBQUEUEATTEMPTSREQUEST"]._serialized_end = 4459
96
- _globals["_LISTJOBQUEUEATTEMPTSRESPONSE"]._serialized_start = 4461
97
- _globals["_LISTJOBQUEUEATTEMPTSRESPONSE"]._serialized_end = 4553
98
- _globals["_OPERATIONANDSHARD"]._serialized_start = 4555
99
- _globals["_OPERATIONANDSHARD"]._serialized_end = 4636
100
- _globals["_FORCECANCELJOBQUEUEJOBREQUEST"]._serialized_start = 4639
101
- _globals["_FORCECANCELJOBQUEUEJOBREQUEST"]._serialized_end = 4894
102
- _globals["_FORCECANCELJOBQUEUEJOBRESPONSE"]._serialized_start = 4896
103
- _globals["_FORCECANCELJOBQUEUEJOBRESPONSE"]._serialized_end = 4928
104
- _globals["_DATAPLANEJOBQUEUESERVICE"]._serialized_start = 5348
105
- _globals["_DATAPLANEJOBQUEUESERVICE"]._serialized_end = 6180
69
+ _globals["_JOBQUEUEITEM"]._serialized_end = 1534
70
+ _globals["_GETDATAPLANEJOBQUEUEREQUEST"]._serialized_start = 1536
71
+ _globals["_GETDATAPLANEJOBQUEUEREQUEST"]._serialized_end = 1581
72
+ _globals["_GETDATAPLANEJOBQUEUERESPONSE"]._serialized_start = 1583
73
+ _globals["_GETDATAPLANEJOBQUEUERESPONSE"]._serialized_end = 1662
74
+ _globals["_LISTDATAPLANEJOBQUEUEREQUEST"]._serialized_start = 1665
75
+ _globals["_LISTDATAPLANEJOBQUEUEREQUEST"]._serialized_end = 1957
76
+ _globals["_LISTDATAPLANEJOBQUEUERESPONSE"]._serialized_start = 1959
77
+ _globals["_LISTDATAPLANEJOBQUEUERESPONSE"]._serialized_end = 2063
78
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESREQUEST"]._serialized_start = 2065
79
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESREQUEST"]._serialized_end = 2181
80
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE"]._serialized_start = 2184
81
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE"]._serialized_end = 2583
82
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE_DEPLOYMENTSCALEDOBJECTSENTRY"]._serialized_start = 2460
83
+ _globals["_GETJOBQUEUEAUXILIARYRESOURCESRESPONSE_DEPLOYMENTSCALEDOBJECTSENTRY"]._serialized_end = 2583
84
+ _globals["_JOBQUEUEROWSUMMARY"]._serialized_start = 2586
85
+ _globals["_JOBQUEUEROWSUMMARY"]._serialized_end = 3167
86
+ _globals["_JOBQUEUEOPERATIONSUMMARY"]._serialized_start = 3170
87
+ _globals["_JOBQUEUEOPERATIONSUMMARY"]._serialized_end = 3774
88
+ _globals["_JOBQUEUEOPERATIONSUMMARY_INDEXEDROWSUMMARIESENTRY"]._serialized_start = 3641
89
+ _globals["_JOBQUEUEOPERATIONSUMMARY_INDEXEDROWSUMMARIESENTRY"]._serialized_end = 3748
90
+ _globals["_GETJOBQUEUEOPERATIONSUMMARYREQUEST"]._serialized_start = 3777
91
+ _globals["_GETJOBQUEUEOPERATIONSUMMARYREQUEST"]._serialized_end = 3964
92
+ _globals["_GETJOBQUEUEOPERATIONSUMMARYRESPONSE"]._serialized_start = 3966
93
+ _globals["_GETJOBQUEUEOPERATIONSUMMARYRESPONSE"]._serialized_end = 4089
94
+ _globals["_JOBQUEUEATTEMPT"]._serialized_start = 4092
95
+ _globals["_JOBQUEUEATTEMPT"]._serialized_end = 4624
96
+ _globals["_LISTJOBQUEUEATTEMPTSREQUEST"]._serialized_start = 4627
97
+ _globals["_LISTJOBQUEUEATTEMPTSREQUEST"]._serialized_end = 4769
98
+ _globals["_LISTJOBQUEUEATTEMPTSRESPONSE"]._serialized_start = 4771
99
+ _globals["_LISTJOBQUEUEATTEMPTSRESPONSE"]._serialized_end = 4863
100
+ _globals["_OPERATIONANDSHARD"]._serialized_start = 4865
101
+ _globals["_OPERATIONANDSHARD"]._serialized_end = 4946
102
+ _globals["_FORCECANCELJOBQUEUEJOBREQUEST"]._serialized_start = 4949
103
+ _globals["_FORCECANCELJOBQUEUEJOBREQUEST"]._serialized_end = 5204
104
+ _globals["_FORCECANCELJOBQUEUEJOBRESPONSE"]._serialized_start = 5206
105
+ _globals["_FORCECANCELJOBQUEUEJOBRESPONSE"]._serialized_end = 5238
106
+ _globals["_CANCELWORKFLOWEXECUTIONREQUEST"]._serialized_start = 5240
107
+ _globals["_CANCELWORKFLOWEXECUTIONREQUEST"]._serialized_end = 5336
108
+ _globals["_CANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_start = 5338
109
+ _globals["_CANCELWORKFLOWEXECUTIONRESPONSE"]._serialized_end = 5371
110
+ _globals["_DATAPLANEJOBQUEUESERVICE"]._serialized_start = 5791
111
+ _globals["_DATAPLANEJOBQUEUESERVICE"]._serialized_end = 6755
106
112
  # @@protoc_insertion_point(module_scope)
@@ -70,6 +70,8 @@ class JobQueueItem(_message.Message):
70
70
  "mainline_deployment_id",
71
71
  "shard_id",
72
72
  "job_index",
73
+ "fetch_priority",
74
+ "workflow_execution_id",
73
75
  )
74
76
  ID_FIELD_NUMBER: _ClassVar[int]
75
77
  CREATED_AT_FIELD_NUMBER: _ClassVar[int]
@@ -92,6 +94,8 @@ class JobQueueItem(_message.Message):
92
94
  MAINLINE_DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
93
95
  SHARD_ID_FIELD_NUMBER: _ClassVar[int]
94
96
  JOB_INDEX_FIELD_NUMBER: _ClassVar[int]
97
+ FETCH_PRIORITY_FIELD_NUMBER: _ClassVar[int]
98
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
95
99
  id: int
96
100
  created_at: _timestamp_pb2.Timestamp
97
101
  environment_id: str
@@ -113,6 +117,8 @@ class JobQueueItem(_message.Message):
113
117
  mainline_deployment_id: str
114
118
  shard_id: int
115
119
  job_index: int
120
+ fetch_priority: int
121
+ workflow_execution_id: str
116
122
  def __init__(
117
123
  self,
118
124
  id: _Optional[int] = ...,
@@ -136,6 +142,8 @@ class JobQueueItem(_message.Message):
136
142
  mainline_deployment_id: _Optional[str] = ...,
137
143
  shard_id: _Optional[int] = ...,
138
144
  job_index: _Optional[int] = ...,
145
+ fetch_priority: _Optional[int] = ...,
146
+ workflow_execution_id: _Optional[str] = ...,
139
147
  ) -> None: ...
140
148
 
141
149
  class GetDataPlaneJobQueueRequest(_message.Message):
@@ -267,7 +275,15 @@ class JobQueueRowSummary(_message.Message):
267
275
  ) -> None: ...
268
276
 
269
277
  class JobQueueOperationSummary(_message.Message):
270
- __slots__ = ("indexed_row_summaries", "resource_group_name", "mainline_deployment_id", "kind", "attempters")
278
+ __slots__ = (
279
+ "indexed_row_summaries",
280
+ "resource_group_name",
281
+ "mainline_deployment_id",
282
+ "kind",
283
+ "attempters",
284
+ "workflow_execution_id",
285
+ "unsatisfied_dependency_operation_ids",
286
+ )
271
287
  class IndexedRowSummariesEntry(_message.Message):
272
288
  __slots__ = ("key", "value")
273
289
  KEY_FIELD_NUMBER: _ClassVar[int]
@@ -283,11 +299,15 @@ class JobQueueOperationSummary(_message.Message):
283
299
  MAINLINE_DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
284
300
  KIND_FIELD_NUMBER: _ClassVar[int]
285
301
  ATTEMPTERS_FIELD_NUMBER: _ClassVar[int]
302
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
303
+ UNSATISFIED_DEPENDENCY_OPERATION_IDS_FIELD_NUMBER: _ClassVar[int]
286
304
  indexed_row_summaries: _containers.MessageMap[int, JobQueueRowSummary]
287
305
  resource_group_name: str
288
306
  mainline_deployment_id: str
289
307
  kind: JobQueueKind
290
308
  attempters: _containers.RepeatedScalarFieldContainer[str]
309
+ workflow_execution_id: str
310
+ unsatisfied_dependency_operation_ids: _containers.RepeatedScalarFieldContainer[str]
291
311
  def __init__(
292
312
  self,
293
313
  indexed_row_summaries: _Optional[_Mapping[int, JobQueueRowSummary]] = ...,
@@ -295,6 +315,8 @@ class JobQueueOperationSummary(_message.Message):
295
315
  mainline_deployment_id: _Optional[str] = ...,
296
316
  kind: _Optional[_Union[JobQueueKind, str]] = ...,
297
317
  attempters: _Optional[_Iterable[str]] = ...,
318
+ workflow_execution_id: _Optional[str] = ...,
319
+ unsatisfied_dependency_operation_ids: _Optional[_Iterable[str]] = ...,
298
320
  ) -> None: ...
299
321
 
300
322
  class GetJobQueueOperationSummaryRequest(_message.Message):
@@ -412,3 +434,13 @@ class ForceCancelJobQueueJobRequest(_message.Message):
412
434
  class ForceCancelJobQueueJobResponse(_message.Message):
413
435
  __slots__ = ()
414
436
  def __init__(self) -> None: ...
437
+
438
+ class CancelWorkflowExecutionRequest(_message.Message):
439
+ __slots__ = ("workflow_execution_id",)
440
+ WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
441
+ workflow_execution_id: str
442
+ def __init__(self, workflow_execution_id: _Optional[str] = ...) -> None: ...
443
+
444
+ class CancelWorkflowExecutionResponse(_message.Message):
445
+ __slots__ = ()
446
+ def __init__(self) -> None: ...
@@ -45,6 +45,11 @@ class DataPlaneJobQueueServiceStub(object):
45
45
  request_serializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.ForceCancelJobQueueJobRequest.SerializeToString,
46
46
  response_deserializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.ForceCancelJobQueueJobResponse.FromString,
47
47
  )
48
+ self.CancelWorkflowExecution = channel.unary_unary(
49
+ "/chalk.server.v1.DataPlaneJobQueueService/CancelWorkflowExecution",
50
+ request_serializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionRequest.SerializeToString,
51
+ response_deserializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionResponse.FromString,
52
+ )
48
53
 
49
54
 
50
55
  class DataPlaneJobQueueServiceServicer(object):
@@ -86,6 +91,12 @@ class DataPlaneJobQueueServiceServicer(object):
86
91
  context.set_details("Method not implemented!")
87
92
  raise NotImplementedError("Method not implemented!")
88
93
 
94
+ def CancelWorkflowExecution(self, request, context):
95
+ """Missing associated documentation comment in .proto file."""
96
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
97
+ context.set_details("Method not implemented!")
98
+ raise NotImplementedError("Method not implemented!")
99
+
89
100
 
90
101
  def add_DataPlaneJobQueueServiceServicer_to_server(servicer, server):
91
102
  rpc_method_handlers = {
@@ -119,6 +130,11 @@ def add_DataPlaneJobQueueServiceServicer_to_server(servicer, server):
119
130
  request_deserializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.ForceCancelJobQueueJobRequest.FromString,
120
131
  response_serializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.ForceCancelJobQueueJobResponse.SerializeToString,
121
132
  ),
133
+ "CancelWorkflowExecution": grpc.unary_unary_rpc_method_handler(
134
+ servicer.CancelWorkflowExecution,
135
+ request_deserializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionRequest.FromString,
136
+ response_serializer=chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionResponse.SerializeToString,
137
+ ),
122
138
  }
123
139
  generic_handler = grpc.method_handlers_generic_handler(
124
140
  "chalk.server.v1.DataPlaneJobQueueService", rpc_method_handlers
@@ -303,3 +319,32 @@ class DataPlaneJobQueueService(object):
303
319
  timeout,
304
320
  metadata,
305
321
  )
322
+
323
+ @staticmethod
324
+ def CancelWorkflowExecution(
325
+ request,
326
+ target,
327
+ options=(),
328
+ channel_credentials=None,
329
+ call_credentials=None,
330
+ insecure=False,
331
+ compression=None,
332
+ wait_for_ready=None,
333
+ timeout=None,
334
+ metadata=None,
335
+ ):
336
+ return grpc.experimental.unary_unary(
337
+ request,
338
+ target,
339
+ "/chalk.server.v1.DataPlaneJobQueueService/CancelWorkflowExecution",
340
+ chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionRequest.SerializeToString,
341
+ chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2.CancelWorkflowExecutionResponse.FromString,
342
+ options,
343
+ channel_credentials,
344
+ insecure,
345
+ call_credentials,
346
+ compression,
347
+ wait_for_ready,
348
+ timeout,
349
+ metadata,
350
+ )
@@ -8,6 +8,8 @@ from abc import (
8
8
  abstractmethod,
9
9
  )
10
10
  from chalk._gen.chalk.server.v1.dataplanejobqueue_pb2 import (
11
+ CancelWorkflowExecutionRequest,
12
+ CancelWorkflowExecutionResponse,
11
13
  ForceCancelJobQueueJobRequest,
12
14
  ForceCancelJobQueueJobResponse,
13
15
  GetDataPlaneJobQueueRequest,
@@ -54,6 +56,10 @@ class DataPlaneJobQueueServiceStub:
54
56
  ForceCancelJobQueueJobRequest,
55
57
  ForceCancelJobQueueJobResponse,
56
58
  ]
59
+ CancelWorkflowExecution: UnaryUnaryMultiCallable[
60
+ CancelWorkflowExecutionRequest,
61
+ CancelWorkflowExecutionResponse,
62
+ ]
57
63
 
58
64
  class DataPlaneJobQueueServiceServicer(metaclass=ABCMeta):
59
65
  @abstractmethod
@@ -92,6 +98,12 @@ class DataPlaneJobQueueServiceServicer(metaclass=ABCMeta):
92
98
  request: ForceCancelJobQueueJobRequest,
93
99
  context: ServicerContext,
94
100
  ) -> ForceCancelJobQueueJobResponse: ...
101
+ @abstractmethod
102
+ def CancelWorkflowExecution(
103
+ self,
104
+ request: CancelWorkflowExecutionRequest,
105
+ context: ServicerContext,
106
+ ) -> CancelWorkflowExecutionResponse: ...
95
107
 
96
108
  def add_DataPlaneJobQueueServiceServicer_to_server(
97
109
  servicer: DataPlaneJobQueueServiceServicer, server: Server
@@ -20,7 +20,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
20
20
 
21
21
 
22
22
  DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
23
- b'\n(chalk/server/v1/dataplaneworkflows.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\'chalk/server/v1/dataplanejobqueue.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc5\x05\n\x11WorkflowExecution\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x05 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12$\n\x0b\x62ranch_name\x18\x07 \x01(\tH\x00R\nbranchName\x88\x01\x01\x12\x39\n\x16mainline_deployment_id\x18\x08 \x01(\tH\x01R\x14mainlineDeploymentId\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\t \x01(\tH\x02R\x07\x61gentId\x88\x01\x01\x12\x39\n\tmeta_data\x18\n \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x08metaData\x88\x01\x01\x12>\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\tupdatedAt\x88\x01\x01\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05R\x0b\x66inalizedAt\x88\x01\x01\x42\x0e\n\x0c_branch_nameB\x19\n\x17_mainline_deployment_idB\x0b\n\t_agent_idB\x0c\n\n_meta_dataB\r\n\x0b_updated_atB\x0f\n\r_finalized_at"-\n\x1bGetDataPlaneWorkflowRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x1cGetDataPlaneWorkflowResponse\x12>\n\x08workflow\x18\x01 \x01(\x0b\x32".chalk.server.v1.WorkflowExecutionR\x08workflow"\x8e\x02\n\x1dListDataPlaneWorkflowsRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x03 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x04 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12\x14\n\x05limit\x18\x05 \x01(\x05R\x05limit\x12\x16\n\x06offset\x18\x06 \x01(\x05R\x06offset"x\n\x1eListDataPlaneWorkflowsResponse\x12@\n\tworkflows\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowExecutionR\tworkflows\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"M\n\x17GetWorkflowGraphRequest\x12\x32\n\x15workflow_execution_id\x18\x01 \x01(\tR\x13workflowExecutionId"\xc3\x03\n\x11WorkflowGraphNode\x12 \n\x0cjob_queue_id\x18\x01 \x01(\x05R\njobQueueId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12\x19\n\x08job_name\x18\x03 \x01(\tR\x07jobName\x12 \n\tjob_index\x18\x04 \x01(\x03H\x00R\x08jobIndex\x88\x01\x01\x12\x34\n\x05state\x18\x05 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x31\n\x04kind\x18\x06 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x42\n\x0c\x66inalized_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0b\x66inalizedAt\x88\x01\x01\x12%\n\x0eresource_group\x18\t \x01(\tR\rresourceGroupB\x0c\n\n_job_indexB\x0f\n\r_finalized_at"\xc8\x01\n\x11WorkflowGraphEdge\x12.\n\x13source_operation_id\x18\x01 \x01(\tR\x11sourceOperationId\x12.\n\x13target_operation_id\x18\x02 \x01(\tR\x11targetOperationId\x12\x42\n\x0csatisfied_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0bsatisfiedAt\x88\x01\x01\x42\x0f\n\r_satisfied_at"\x8e\x01\n\x18GetWorkflowGraphResponse\x12\x38\n\x05nodes\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphNodeR\x05nodes\x12\x38\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphEdgeR\x05\x65\x64ges*_\n\x0cWorkflowKind\x12\x1d\n\x19WORKFLOW_KIND_UNSPECIFIED\x10\x00\x12\x18\n\x14WORKFLOW_KIND_MANUAL\x10\x01\x12\x16\n\x12WORKFLOW_KIND_CRON\x10\x02*\x88\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_EXECUTION_STATUS_QUEUED\x10\x01\x12%\n!WORKFLOW_EXECUTION_STATUS_WORKING\x10\x02\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x03\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x04\x12&\n"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x05\x32\x8d\x03\n\x19\x44\x61taPlaneWorkflowsService\x12{\n\x14GetDataPlaneWorkflow\x12,.chalk.server.v1.GetDataPlaneWorkflowRequest\x1a-.chalk.server.v1.GetDataPlaneWorkflowResponse"\x06\x90\x02\x01\x80}\x10\x12\x81\x01\n\x16ListDataPlaneWorkflows\x12..chalk.server.v1.ListDataPlaneWorkflowsRequest\x1a/.chalk.server.v1.ListDataPlaneWorkflowsResponse"\x06\x90\x02\x01\x80}\x10\x12o\n\x10GetWorkflowGraph\x12(.chalk.server.v1.GetWorkflowGraphRequest\x1a).chalk.server.v1.GetWorkflowGraphResponse"\x06\x90\x02\x01\x80}\x10\x42\xa0\x01\n\x13\x63om.chalk.server.v1B\x17\x44\x61taplaneworkflowsProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
23
+ b'\n(chalk/server/v1/dataplaneworkflows.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\'chalk/server/v1/dataplanejobqueue.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc5\x05\n\x11WorkflowExecution\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x05 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12$\n\x0b\x62ranch_name\x18\x07 \x01(\tH\x00R\nbranchName\x88\x01\x01\x12\x39\n\x16mainline_deployment_id\x18\x08 \x01(\tH\x01R\x14mainlineDeploymentId\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\t \x01(\tH\x02R\x07\x61gentId\x88\x01\x01\x12\x39\n\tmeta_data\x18\n \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x08metaData\x88\x01\x01\x12>\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\tupdatedAt\x88\x01\x01\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05R\x0b\x66inalizedAt\x88\x01\x01\x42\x0e\n\x0c_branch_nameB\x19\n\x17_mainline_deployment_idB\x0b\n\t_agent_idB\x0c\n\n_meta_dataB\r\n\x0b_updated_atB\x0f\n\r_finalized_at"-\n\x1bGetDataPlaneWorkflowRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x1cGetDataPlaneWorkflowResponse\x12>\n\x08workflow\x18\x01 \x01(\x0b\x32".chalk.server.v1.WorkflowExecutionR\x08workflow"\xc2\x02\n\x1dListDataPlaneWorkflowsRequest\x12)\n\x0e\x65nvironment_id\x18\x01 \x01(\tB\x02\x18\x01R\renvironmentId\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x03 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x04 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12\x14\n\x05limit\x18\x05 \x01(\x05R\x05limit\x12\x16\n\x06offset\x18\x06 \x01(\x05R\x06offset\x12 \n\tid_filter\x18\x07 \x01(\tH\x00R\x08idFilter\x88\x01\x01\x42\x0c\n\n_id_filter"x\n\x1eListDataPlaneWorkflowsResponse\x12@\n\tworkflows\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowExecutionR\tworkflows\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"M\n\x17GetWorkflowGraphRequest\x12\x32\n\x15workflow_execution_id\x18\x01 \x01(\tR\x13workflowExecutionId"\xae\x02\n\x1eJobQueueRowSummaryForWorkflows\x12\x0e\n\x02id\x18\x01 \x01(\x05R\x02id\x12\x19\n\x08job_name\x18\x02 \x01(\tR\x07jobName\x12\x34\n\x05state\x18\x03 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x1b\n\tjob_index\x18\x04 \x01(\x03R\x08jobIndex\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x42\n\x0c\x66inalized_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0b\x66inalizedAt\x88\x01\x01\x42\x0f\n\r_finalized_at"\xc3\x04\n\x11WorkflowGraphNode\x12$\n\x0cjob_queue_id\x18\x01 \x01(\x05\x42\x02\x18\x01R\njobQueueId\x12\x1d\n\x08job_name\x18\x03 \x01(\tB\x02\x18\x01R\x07jobName\x12$\n\tjob_index\x18\x04 \x01(\x03\x42\x02\x18\x01H\x00R\x08jobIndex\x88\x01\x01\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateB\x02\x18\x01R\x05state\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01R\tcreatedAt\x12\x46\n\x0c\x66inalized_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01H\x01R\x0b\x66inalizedAt\x88\x01\x01\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12\x31\n\x04kind\x18\x06 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12%\n\x0eresource_group\x18\t \x01(\tR\rresourceGroup\x12\x66\n\x17job_queue_row_summaries\x18\n \x03(\x0b\x32/.chalk.server.v1.JobQueueRowSummaryForWorkflowsR\x14jobQueueRowSummariesB\x0c\n\n_job_indexB\x0f\n\r_finalized_at"\xbe\x02\n\x11WorkflowGraphEdge\x12\x32\n\x13source_operation_id\x18\x01 \x01(\tB\x02\x18\x01R\x11sourceOperationId\x12\x32\n\x13target_operation_id\x18\x02 \x01(\tB\x02\x18\x01R\x11targetOperationId\x12\x42\n\x0csatisfied_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0bsatisfiedAt\x88\x01\x01\x12\x34\n\x16\x64\x65pendent_operation_id\x18\x04 \x01(\tR\x14\x64\x65pendentOperationId\x12\x36\n\x17\x64\x65pendency_operation_id\x18\x05 \x01(\tR\x15\x64\x65pendencyOperationIdB\x0f\n\r_satisfied_at"\x8e\x01\n\x18GetWorkflowGraphResponse\x12\x38\n\x05nodes\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphNodeR\x05nodes\x12\x38\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphEdgeR\x05\x65\x64ges*\x82\x01\n\x0cWorkflowKind\x12\x1d\n\x19WORKFLOW_KIND_UNSPECIFIED\x10\x00\x12\x18\n\x14WORKFLOW_KIND_MANUAL\x10\x01\x12\x16\n\x12WORKFLOW_KIND_CRON\x10\x02\x12!\n\x1dWORKFLOW_KIND_SCHEDULED_QUERY\x10\x03*\x88\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_EXECUTION_STATUS_QUEUED\x10\x01\x12%\n!WORKFLOW_EXECUTION_STATUS_WORKING\x10\x02\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x03\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x04\x12&\n"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x05\x32\x8d\x03\n\x19\x44\x61taPlaneWorkflowsService\x12{\n\x14GetDataPlaneWorkflow\x12,.chalk.server.v1.GetDataPlaneWorkflowRequest\x1a-.chalk.server.v1.GetDataPlaneWorkflowResponse"\x06\x90\x02\x01\x80}\x10\x12\x81\x01\n\x16ListDataPlaneWorkflows\x12..chalk.server.v1.ListDataPlaneWorkflowsRequest\x1a/.chalk.server.v1.ListDataPlaneWorkflowsResponse"\x06\x90\x02\x01\x80}\x10\x12o\n\x10GetWorkflowGraph\x12(.chalk.server.v1.GetWorkflowGraphRequest\x1a).chalk.server.v1.GetWorkflowGraphResponse"\x06\x90\x02\x01\x80}\x10\x42\xa0\x01\n\x13\x63om.chalk.server.v1B\x17\x44\x61taplaneworkflowsProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
24
24
  )
25
25
 
26
26
  _globals = globals()
@@ -31,6 +31,24 @@ if _descriptor._USE_C_DESCRIPTORS == False:
31
31
  _globals[
32
32
  "DESCRIPTOR"
33
33
  ]._serialized_options = b"\n\023com.chalk.server.v1B\027DataplaneworkflowsProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
34
+ _globals["_LISTDATAPLANEWORKFLOWSREQUEST"].fields_by_name["environment_id"]._options = None
35
+ _globals["_LISTDATAPLANEWORKFLOWSREQUEST"].fields_by_name["environment_id"]._serialized_options = b"\030\001"
36
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_queue_id"]._options = None
37
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_queue_id"]._serialized_options = b"\030\001"
38
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_name"]._options = None
39
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_name"]._serialized_options = b"\030\001"
40
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_index"]._options = None
41
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["job_index"]._serialized_options = b"\030\001"
42
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["state"]._options = None
43
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["state"]._serialized_options = b"\030\001"
44
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["created_at"]._options = None
45
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["created_at"]._serialized_options = b"\030\001"
46
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["finalized_at"]._options = None
47
+ _globals["_WORKFLOWGRAPHNODE"].fields_by_name["finalized_at"]._serialized_options = b"\030\001"
48
+ _globals["_WORKFLOWGRAPHEDGE"].fields_by_name["source_operation_id"]._options = None
49
+ _globals["_WORKFLOWGRAPHEDGE"].fields_by_name["source_operation_id"]._serialized_options = b"\030\001"
50
+ _globals["_WORKFLOWGRAPHEDGE"].fields_by_name["target_operation_id"]._options = None
51
+ _globals["_WORKFLOWGRAPHEDGE"].fields_by_name["target_operation_id"]._serialized_options = b"\030\001"
34
52
  _globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name["GetDataPlaneWorkflow"]._options = None
35
53
  _globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name[
36
54
  "GetDataPlaneWorkflow"
@@ -43,10 +61,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
43
61
  _globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name[
44
62
  "GetWorkflowGraph"
45
63
  ]._serialized_options = b"\220\002\001\200}\020"
46
- _globals["_WORKFLOWKIND"]._serialized_start = 2329
47
- _globals["_WORKFLOWKIND"]._serialized_end = 2424
48
- _globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_start = 2427
49
- _globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_end = 2691
64
+ _globals["_WORKFLOWKIND"]._serialized_start = 2933
65
+ _globals["_WORKFLOWKIND"]._serialized_end = 3063
66
+ _globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_start = 3066
67
+ _globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_end = 3330
50
68
  _globals["_WORKFLOWEXECUTION"]._serialized_start = 199
51
69
  _globals["_WORKFLOWEXECUTION"]._serialized_end = 908
52
70
  _globals["_GETDATAPLANEWORKFLOWREQUEST"]._serialized_start = 910
@@ -54,17 +72,19 @@ if _descriptor._USE_C_DESCRIPTORS == False:
54
72
  _globals["_GETDATAPLANEWORKFLOWRESPONSE"]._serialized_start = 957
55
73
  _globals["_GETDATAPLANEWORKFLOWRESPONSE"]._serialized_end = 1051
56
74
  _globals["_LISTDATAPLANEWORKFLOWSREQUEST"]._serialized_start = 1054
57
- _globals["_LISTDATAPLANEWORKFLOWSREQUEST"]._serialized_end = 1324
58
- _globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_start = 1326
59
- _globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_end = 1446
60
- _globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_start = 1448
61
- _globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_end = 1525
62
- _globals["_WORKFLOWGRAPHNODE"]._serialized_start = 1528
63
- _globals["_WORKFLOWGRAPHNODE"]._serialized_end = 1979
64
- _globals["_WORKFLOWGRAPHEDGE"]._serialized_start = 1982
65
- _globals["_WORKFLOWGRAPHEDGE"]._serialized_end = 2182
66
- _globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_start = 2185
67
- _globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_end = 2327
68
- _globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_start = 2694
69
- _globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_end = 3091
75
+ _globals["_LISTDATAPLANEWORKFLOWSREQUEST"]._serialized_end = 1376
76
+ _globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_start = 1378
77
+ _globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_end = 1498
78
+ _globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_start = 1500
79
+ _globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_end = 1577
80
+ _globals["_JOBQUEUEROWSUMMARYFORWORKFLOWS"]._serialized_start = 1580
81
+ _globals["_JOBQUEUEROWSUMMARYFORWORKFLOWS"]._serialized_end = 1882
82
+ _globals["_WORKFLOWGRAPHNODE"]._serialized_start = 1885
83
+ _globals["_WORKFLOWGRAPHNODE"]._serialized_end = 2464
84
+ _globals["_WORKFLOWGRAPHEDGE"]._serialized_start = 2467
85
+ _globals["_WORKFLOWGRAPHEDGE"]._serialized_end = 2785
86
+ _globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_start = 2788
87
+ _globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_end = 2930
88
+ _globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_start = 3333
89
+ _globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_end = 3730
70
90
  # @@protoc_insertion_point(module_scope)
@@ -21,6 +21,7 @@ class WorkflowKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
21
21
  WORKFLOW_KIND_UNSPECIFIED: _ClassVar[WorkflowKind]
22
22
  WORKFLOW_KIND_MANUAL: _ClassVar[WorkflowKind]
23
23
  WORKFLOW_KIND_CRON: _ClassVar[WorkflowKind]
24
+ WORKFLOW_KIND_SCHEDULED_QUERY: _ClassVar[WorkflowKind]
24
25
 
25
26
  class WorkflowExecutionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
26
27
  __slots__ = ()
@@ -34,6 +35,7 @@ class WorkflowExecutionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper)
34
35
  WORKFLOW_KIND_UNSPECIFIED: WorkflowKind
35
36
  WORKFLOW_KIND_MANUAL: WorkflowKind
36
37
  WORKFLOW_KIND_CRON: WorkflowKind
38
+ WORKFLOW_KIND_SCHEDULED_QUERY: WorkflowKind
37
39
  WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: WorkflowExecutionStatus
38
40
  WORKFLOW_EXECUTION_STATUS_QUEUED: WorkflowExecutionStatus
39
41
  WORKFLOW_EXECUTION_STATUS_WORKING: WorkflowExecutionStatus
@@ -109,19 +111,21 @@ class GetDataPlaneWorkflowResponse(_message.Message):
109
111
  def __init__(self, workflow: _Optional[_Union[WorkflowExecution, _Mapping]] = ...) -> None: ...
110
112
 
111
113
  class ListDataPlaneWorkflowsRequest(_message.Message):
112
- __slots__ = ("environment_id", "deployment_id", "kind", "status", "limit", "offset")
114
+ __slots__ = ("environment_id", "deployment_id", "kind", "status", "limit", "offset", "id_filter")
113
115
  ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
114
116
  DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
115
117
  KIND_FIELD_NUMBER: _ClassVar[int]
116
118
  STATUS_FIELD_NUMBER: _ClassVar[int]
117
119
  LIMIT_FIELD_NUMBER: _ClassVar[int]
118
120
  OFFSET_FIELD_NUMBER: _ClassVar[int]
121
+ ID_FILTER_FIELD_NUMBER: _ClassVar[int]
119
122
  environment_id: str
120
123
  deployment_id: str
121
124
  kind: WorkflowKind
122
125
  status: WorkflowExecutionStatus
123
126
  limit: int
124
127
  offset: int
128
+ id_filter: str
125
129
  def __init__(
126
130
  self,
127
131
  environment_id: _Optional[str] = ...,
@@ -130,6 +134,7 @@ class ListDataPlaneWorkflowsRequest(_message.Message):
130
134
  status: _Optional[_Union[WorkflowExecutionStatus, str]] = ...,
131
135
  limit: _Optional[int] = ...,
132
136
  offset: _Optional[int] = ...,
137
+ id_filter: _Optional[str] = ...,
133
138
  ) -> None: ...
134
139
 
135
140
  class ListDataPlaneWorkflowsResponse(_message.Message):
@@ -148,62 +153,102 @@ class GetWorkflowGraphRequest(_message.Message):
148
153
  workflow_execution_id: str
149
154
  def __init__(self, workflow_execution_id: _Optional[str] = ...) -> None: ...
150
155
 
156
+ class JobQueueRowSummaryForWorkflows(_message.Message):
157
+ __slots__ = ("id", "job_name", "state", "job_index", "created_at", "finalized_at")
158
+ ID_FIELD_NUMBER: _ClassVar[int]
159
+ JOB_NAME_FIELD_NUMBER: _ClassVar[int]
160
+ STATE_FIELD_NUMBER: _ClassVar[int]
161
+ JOB_INDEX_FIELD_NUMBER: _ClassVar[int]
162
+ CREATED_AT_FIELD_NUMBER: _ClassVar[int]
163
+ FINALIZED_AT_FIELD_NUMBER: _ClassVar[int]
164
+ id: int
165
+ job_name: str
166
+ state: _dataplanejobqueue_pb2.JobQueueState
167
+ job_index: int
168
+ created_at: _timestamp_pb2.Timestamp
169
+ finalized_at: _timestamp_pb2.Timestamp
170
+ def __init__(
171
+ self,
172
+ id: _Optional[int] = ...,
173
+ job_name: _Optional[str] = ...,
174
+ state: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueState, str]] = ...,
175
+ job_index: _Optional[int] = ...,
176
+ created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
177
+ finalized_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
178
+ ) -> None: ...
179
+
151
180
  class WorkflowGraphNode(_message.Message):
152
181
  __slots__ = (
153
182
  "job_queue_id",
154
- "operation_id",
155
183
  "job_name",
156
184
  "job_index",
157
185
  "state",
158
- "kind",
159
186
  "created_at",
160
187
  "finalized_at",
188
+ "operation_id",
189
+ "kind",
161
190
  "resource_group",
191
+ "job_queue_row_summaries",
162
192
  )
163
193
  JOB_QUEUE_ID_FIELD_NUMBER: _ClassVar[int]
164
- OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
165
194
  JOB_NAME_FIELD_NUMBER: _ClassVar[int]
166
195
  JOB_INDEX_FIELD_NUMBER: _ClassVar[int]
167
196
  STATE_FIELD_NUMBER: _ClassVar[int]
168
- KIND_FIELD_NUMBER: _ClassVar[int]
169
197
  CREATED_AT_FIELD_NUMBER: _ClassVar[int]
170
198
  FINALIZED_AT_FIELD_NUMBER: _ClassVar[int]
199
+ OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
200
+ KIND_FIELD_NUMBER: _ClassVar[int]
171
201
  RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int]
202
+ JOB_QUEUE_ROW_SUMMARIES_FIELD_NUMBER: _ClassVar[int]
172
203
  job_queue_id: int
173
- operation_id: str
174
204
  job_name: str
175
205
  job_index: int
176
206
  state: _dataplanejobqueue_pb2.JobQueueState
177
- kind: _dataplanejobqueue_pb2.JobQueueKind
178
207
  created_at: _timestamp_pb2.Timestamp
179
208
  finalized_at: _timestamp_pb2.Timestamp
209
+ operation_id: str
210
+ kind: _dataplanejobqueue_pb2.JobQueueKind
180
211
  resource_group: str
212
+ job_queue_row_summaries: _containers.RepeatedCompositeFieldContainer[JobQueueRowSummaryForWorkflows]
181
213
  def __init__(
182
214
  self,
183
215
  job_queue_id: _Optional[int] = ...,
184
- operation_id: _Optional[str] = ...,
185
216
  job_name: _Optional[str] = ...,
186
217
  job_index: _Optional[int] = ...,
187
218
  state: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueState, str]] = ...,
188
- kind: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueKind, str]] = ...,
189
219
  created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
190
220
  finalized_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
221
+ operation_id: _Optional[str] = ...,
222
+ kind: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueKind, str]] = ...,
191
223
  resource_group: _Optional[str] = ...,
224
+ job_queue_row_summaries: _Optional[_Iterable[_Union[JobQueueRowSummaryForWorkflows, _Mapping]]] = ...,
192
225
  ) -> None: ...
193
226
 
194
227
  class WorkflowGraphEdge(_message.Message):
195
- __slots__ = ("source_operation_id", "target_operation_id", "satisfied_at")
228
+ __slots__ = (
229
+ "source_operation_id",
230
+ "target_operation_id",
231
+ "satisfied_at",
232
+ "dependent_operation_id",
233
+ "dependency_operation_id",
234
+ )
196
235
  SOURCE_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
197
236
  TARGET_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
198
237
  SATISFIED_AT_FIELD_NUMBER: _ClassVar[int]
238
+ DEPENDENT_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
239
+ DEPENDENCY_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
199
240
  source_operation_id: str
200
241
  target_operation_id: str
201
242
  satisfied_at: _timestamp_pb2.Timestamp
243
+ dependent_operation_id: str
244
+ dependency_operation_id: str
202
245
  def __init__(
203
246
  self,
204
247
  source_operation_id: _Optional[str] = ...,
205
248
  target_operation_id: _Optional[str] = ...,
206
249
  satisfied_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
250
+ dependent_operation_id: _Optional[str] = ...,
251
+ dependency_operation_id: _Optional[str] = ...,
207
252
  ) -> None: ...
208
253
 
209
254
  class GetWorkflowGraphResponse(_message.Message):