chalk-remote-call-python 1.10.5__cp315-cp315-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.
- chalk_remote_call/__init__.py +4 -0
- chalk_remote_call/__main__.py +3 -0
- chalk_remote_call/_gen/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/auth/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/auth/v1/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2.py +115 -0
- chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2_grpc.py +4 -0
- chalk_remote_call/_gen/chalk/common/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/common/v1/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2.py +33 -0
- chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2_grpc.py +4 -0
- chalk_remote_call/_gen/chalk/runtime/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/runtime/v1/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2.py +53 -0
- chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2_grpc.py +138 -0
- chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2.py +104 -0
- chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2_grpc.py +363 -0
- chalk_remote_call/_gen/chalk/utils/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/utils/v1/__init__.py +0 -0
- chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2.py +32 -0
- chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2_grpc.py +4 -0
- chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2.py +29 -0
- chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk_remote_call/_gen/chalk/utils/v1/large_pb2.py +26 -0
- chalk_remote_call/_gen/chalk/utils/v1/large_pb2_grpc.py +4 -0
- chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2.py +26 -0
- chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2_grpc.py +4 -0
- chalk_remote_call/_native.cp315-win_amd64.pyd +0 -0
- chalk_remote_call/_native.pyi +13 -0
- chalk_remote_call/_version.py +1 -0
- chalk_remote_call/arrow_utils.py +21 -0
- chalk_remote_call/cli.py +160 -0
- chalk_remote_call/errors.py +118 -0
- chalk_remote_call/handler_loader.py +57 -0
- chalk_remote_call/input_transform.py +50 -0
- chalk_remote_call/logging.py +29 -0
- chalk_remote_call/server.py +117 -0
- chalk_remote_call/servicer.py +400 -0
- chalk_remote_call/tracing.py +445 -0
- chalk_remote_call_python-1.10.5.dist-info/METADATA +288 -0
- chalk_remote_call_python-1.10.5.dist-info/RECORD +45 -0
- chalk_remote_call_python-1.10.5.dist-info/WHEEL +5 -0
- chalk_remote_call_python-1.10.5.dist-info/entry_points.txt +2 -0
- chalk_remote_call_python-1.10.5.dist-info/top_level.txt +1 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/auth/v1/permissions.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from chalk_remote_call._gen.chalk.utils.v1 import encoding_pb2 as chalk_dot_utils_dot_v1_dot_encoding__pb2
|
|
16
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63halk/auth/v1/permissions.proto\x12\rchalk.auth.v1\x1a\x1d\x63halk/utils/v1/encoding.proto\x1a google/protobuf/descriptor.proto*c\n\x13PermissionPrincipal\x12$\n PERMISSION_PRINCIPAL_UNSPECIFIED\x10\x00\x12&\n\"PERMISSION_PRINCIPAL_SERVICE_TOKEN\x10\x01*\x8e%\n\nPermission\x12R\n\x16PERMISSION_UNSPECIFIED\x10\x00\x1a\x36\xca>%Default value -- should never be set.\xd2>\x0bunspecified\x12O\n#PERMISSION_INSECURE_UNAUTHENTICATED\x10\x01\x1a&\xca>\x18Unauthenticated endpoint\xd2>\x08insecure\x12\x66\n\x18PERMISSION_AUTHENTICATED\x10\x02\x1aH\xca>5User is authenticated, but no permissions are checked\xd2>\rauthenticated\x12I\n\x17PERMISSION_QUERY_ONLINE\x10\x03\x1a,\xca>\x16Query online features.\xd2>\x0cquery.online\xda>\x01\x01\x12L\n\x18PERMISSION_QUERY_OFFLINE\x10\x04\x1a.\xca>\x17Query offline features.\xd2>\rquery.offline\xda>\x01\x01\x12X\n\x1cPERMISSION_MONITORING_CREATE\x10\x05\x1a\x36\xca>\x1b\x43reate a new chart or alert\xd2>\x11monitoring.create\xda>\x01\x01\x12N\n\x1aPERMISSION_MONITORING_READ\x10\x06\x1a.\xca>\x15See charts and alerts\xd2>\x0fmonitoring.read\xda>\x01\x01\x12P\n\x13PERMISSION_TEAM_ADD\x10\x07\x1a\x37\xca>%Add team members to your organization\xd2>\x08team.add\xda>\x01\x01\x12\x45\n\x16PERMISSION_TEAM_DELETE\x10\x08\x1a)\xca>\x14Remove a team member\xd2>\x0bteam.delete\xda>\x01\x01\x12V\n\x14PERMISSION_TEAM_LIST\x10\t\x1a<\xca>)See the team members in your organization\xd2>\tteam.list\xda>\x01\x01\x12\x65\n\x15PERMISSION_TEAM_ADMIN\x10\n\x1aJ\xca>6Configure authentication options for your organization\xd2>\nteam.admin\xda>\x01\x01\x12T\n\x16PERMISSION_DEPLOY_READ\x10\x0b\x1a\x38\xca>#Read information about deployments.\xd2>\x0b\x64\x65ploy.read\xda>\x01\x01\x12M\n\x18PERMISSION_DEPLOY_CREATE\x10\x0c\x1a/\xca>\x18\x43reate a new deployment.\xd2>\rdeploy.create\xda>\x01\x01\x12V\n\x19PERMISSION_DEPLOY_PREVIEW\x10\r\x1a\x37\xca>\x1f\x43reate a new branch deployment.\xd2>\x0e\x64\x65ploy.preview\xda>\x01\x01\x12Y\n\x1aPERMISSION_DEPLOY_REDEPLOY\x10\x0e\x1a\x39\xca> Redeploy an existing deployment.\xd2>\x0f\x64\x65ploy.redeploy\xda>\x01\x01\x12\x46\n\x14PERMISSION_LOGS_LIST\x10\x0f\x1a,\xca>\x19Read logs from resolvers.\xd2>\tlogs.list\xda>\x01\x01\x12\x45\n\x14PERMISSION_CRON_READ\x10\x10\x1a+\xca>\x18Read the scheduled runs.\xd2>\tcron.read\xda>\x01\x01\x12M\n\x16PERMISSION_CRON_CREATE\x10\x11\x1a\x31\xca>\x1cTrigger a new scheduled run.\xd2>\x0b\x63ron.create\xda>\x01\x01\x12]\n\x18PERMISSION_SECRETS_WRITE\x10\x12\x1a?\xca>(Create, modify, or delete secret values.\xd2>\rsecrets.write\xda>\x01\x01\x12O\n\x1aPERMISSION_SECRETS_DECRYPT\x10\x13\x1a/\xca>\x16\x44\x65\x63rypt secret values.\xd2>\x0fsecrets.decrypt\xda>\x01\x01\x12\x8a\x01\n\x17PERMISSION_SECRETS_LIST\x10\x14\x1am\xca>WSee the list of available secrets. Reading secrets is not allowed with this permission.\xd2>\x0csecrets.list\xda>\x01\x01\x12\\\n\x17PERMISSION_TOKENS_WRITE\x10\x15\x1a?\xca>)Create, modify, or delete service tokens.\xd2>\x0ctokens.write\xda>\x01\x01\x12t\n\x16PERMISSION_TOKENS_LIST\x10\x16\x1aX\xca>CList the service tokens and see client ids, but not client secrets.\xd2>\x0btokens.list\xda>\x01\x01\x12U\n\x17PERMISSION_MIGRATE_READ\x10\x17\x1a\x38\xca>\"View information about migrations.\xd2>\x0cmigrate.read\xda>\x01\x01\x12K\n\x17PERMISSION_MIGRATE_PLAN\x10\x18\x1a.\xca>\x18\x43reate a migration plan.\xd2>\x0cmigrate.plan\xda>\x01\x01\x12R\n\x1aPERMISSION_MIGRATE_EXECUTE\x10\x19\x1a\x32\xca>\x19\x45xecute a migration plan.\xd2>\x0fmigrate.execute\xda>\x01\x01\x12K\n\x19PERMISSION_PROJECT_CREATE\x10\x1a\x1a,\xca>\x14\x43reate a new project\xd2>\x0eproject.create\xda>\x01\x01\x12=\n\x16PERMISSION_CHALK_ADMIN\x10\x1b\x1a!\xca>\x10\x41\x64minister Chalk\xd2>\x0b\x63halk.admin\x12K\n\x17PERMISSION_BILLING_READ\x10\x1c\x1a.\xca>\x18Read billing information\xd2>\x0c\x62illing.read\xda>\x01\x01\x12R\n\x1fPERMISSION_AUTH_SERVICE_MANAGER\x10\x1d\x1a-\xca>\x13Manage Auth Service\xd2>\x14\x61uth_service.manager\x12^\n\x1ePERMISSION_INFRASTRUCTURE_READ\x10\x1e\x1a:\xca>\x1dRead infrastructure workflows\xd2>\x13infrastructure.read\xda>\x01\x01\x12m\n\x1fPERMISSION_INFRASTRUCTURE_WRITE\x10\x1f\x1aH\xca>*Approve or cancel infrastructure workflows\xd2>\x14infrastructure.write\xda>\x01\x01\x12]\n\x1dPERMISSION_ENVIRONMENT_CREATE\x10 \x1a:\xca>\x1e\x43reate and manage environments\xd2>\x12\x65nvironment.create\xda>\x01\x01\x12\x9e\x01\n+PERMISSION_INTERNAL_DATAPLANE_STATUS_UPDATE\x10!\x1am\xca>GUpdate container and scaling group status from the dataplane controller\xd2> internal.dataplane_status_update\x12\x90\x01\n*PERMISSION_INTERNAL_WORKING_TOKEN_EXCHANGE\x10\"\x1a`\xca>;Use an exchange token to obtain a short-lived working token\xd2>\x1finternal.working_token_exchange\x12o\n\x18PERMISSION_BILLING_WRITE\x10#\x1aQ\xca>>Manage billing settings, payment methods, and credit purchases\xd2>\rbilling.write\x12\x61\n\x1dPERMISSION_QUERY_OFFLINE_READ\x10$\x1a>\xca>\"Read offline queries and datasets.\xd2>\x12query.offline_read\xda>\x01\x01\x12\xcd\x01\n\'PERMISSION_INTERNAL_RESOURCE_SHARE_VIEW\x10%\x1a\x9f\x01\xca>}Read a single shared resource through a share link. Held only by share-link tokens, never granted to a user or service token.\xd2>\x1cinternal.resource_share_view\x12\x66\n(PERMISSION_INTERNAL_EXCHANGE_TOKEN_RENEW\x10&\x1a\x38\xca>\x15Renew exchange tokens\xd2>\x1dinternal.exchange_token_renew\x12\x61\n\x17PERMISSION_AGENTS_WRITE\x10\'\x1a\x44\xca>.Create, modify, delete ai provider connections\xd2>\x0c\x61gents.write\xda>\x01\x01\x12G\n\x16PERMISSION_AGENTS_READ\x10(\x1a+\xca>\x16Use Chalk AI assistant\xd2>\x0b\x61gents.read\xda>\x01\x01\x1a\xd1\x06\xe2\xa1\'\xcc\x06\n\x1c\x08\x01\x12\x18insecure_unauthenticated\n\x11\x08\x02\x12\rauthenticated\n\x10\x08\x03\x12\x0cquery.online\n\x11\x08\x04\x12\rquery.offline\n\x15\x08\x05\x12\x11monitoring.create\n\x13\x08\x06\x12\x0fmonitoring.read\n\x0c\x08\x07\x12\x08team.add\n\x0f\x08\x08\x12\x0bteam.delete\n\r\x08\t\x12\tteam.list\n\x0e\x08\n\x12\nteam.admin\n\x0f\x08\x0b\x12\x0b\x64\x65ploy.read\n\x11\x08\x0c\x12\rdeploy.create\n\x12\x08\r\x12\x0e\x64\x65ploy.preview\n\x13\x08\x0e\x12\x0f\x64\x65ploy.redeploy\n\r\x08\x0f\x12\tlogs.list\n\r\x08\x10\x12\tcron.read\n\x0f\x08\x11\x12\x0b\x63ron.create\n\x11\x08\x12\x12\rsecrets.write\n\x13\x08\x13\x12\x0fsecrets.decrypt\n\x10\x08\x14\x12\x0csecrets.list\n\x10\x08\x15\x12\x0ctokens.write\n\x0f\x08\x16\x12\x0btokens.list\n\x10\x08\x17\x12\x0cmigrate.read\n\x10\x08\x18\x12\x0cmigrate.plan\n\x13\x08\x19\x12\x0fmigrate.execute\n\x12\x08\x1a\x12\x0eproject.create\n\x0f\x08\x1b\x12\x0b\x63halk.admin\n\x10\x08\x1c\x12\x0c\x62illing.read\n\x18\x08\x1d\x12\x14\x61uth_service.manager\n\x17\x08\x1e\x12\x13infrastructure.read\n\x18\x08\x1f\x12\x14infrastructure.write\n\x16\x08 \x12\x12\x65nvironment.create\n$\x08!\x12 internal.dataplane_status_update\n#\x08\"\x12\x1finternal.working_token_exchange\n\x11\x08#\x12\rbilling.write\n\x16\x08$\x12\x12query.offline_read\n \x08%\x12\x1cinternal.resource_share_view\n!\x08&\x12\x1dinternal.exchange_token_renew\n\x10\x08\'\x12\x0c\x61gents.write\n\x0f\x08(\x12\x0b\x61gents.read:D\n\x0b\x64\x65scription\x12!.google.protobuf.EnumValueOptions\x18\xe9\x07 \x01(\tR\x0b\x64\x65scription:6\n\x04slug\x12!.google.protobuf.EnumValueOptions\x18\xea\x07 \x01(\tR\x04slug:k\n\rassignable_to\x12!.google.protobuf.EnumValueOptions\x18\xeb\x07 \x03(\x0e\x32\".chalk.auth.v1.PermissionPrincipalR\x0c\x61ssignableTo:Z\n\npermission\x12\x1e.google.protobuf.MethodOptions\x18\xd0\x0f \x01(\x0e\x32\x19.chalk.auth.v1.PermissionR\npermission:c\n\x0fteam_permission\x12\x1e.google.protobuf.MethodOptions\x18\xd1\x0f \x01(\x0e\x32\x19.chalk.auth.v1.PermissionR\x0eteamPermission:z\n\x1b\x61\x64\x64itional_permissions_list\x12\x1e.google.protobuf.MethodOptions\x18\xd2\x0f \x03(\x0e\x32\x19.chalk.auth.v1.PermissionR\x19\x61\x64\x64itionalPermissionsListB\x8b\x01\n\x11\x63om.chalk.auth.v1B\x10PermissionsProtoP\x01Z\x0e\x61uth/v1;authv1\xa2\x02\x03\x43\x41X\xaa\x02\rChalk.Auth.V1\xca\x02\rChalk\\Auth\\V1\xe2\x02\x19\x43halk\\Auth\\V1\\GPBMetadata\xea\x02\x0f\x43halk::Auth::V1b\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.auth.v1.permissions_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\021com.chalk.auth.v1B\020PermissionsProtoP\001Z\016auth/v1;authv1\242\002\003CAX\252\002\rChalk.Auth.V1\312\002\rChalk\\Auth\\V1\342\002\031Chalk\\Auth\\V1\\GPBMetadata\352\002\017Chalk::Auth::V1'
|
|
27
|
+
_globals['_PERMISSION']._options = None
|
|
28
|
+
_globals['_PERMISSION']._serialized_options = b'\342\241\'\314\006\n\034\010\001\022\030insecure_unauthenticated\n\021\010\002\022\rauthenticated\n\020\010\003\022\014query.online\n\021\010\004\022\rquery.offline\n\025\010\005\022\021monitoring.create\n\023\010\006\022\017monitoring.read\n\014\010\007\022\010team.add\n\017\010\010\022\013team.delete\n\r\010\t\022\tteam.list\n\016\010\n\022\nteam.admin\n\017\010\013\022\013deploy.read\n\021\010\014\022\rdeploy.create\n\022\010\r\022\016deploy.preview\n\023\010\016\022\017deploy.redeploy\n\r\010\017\022\tlogs.list\n\r\010\020\022\tcron.read\n\017\010\021\022\013cron.create\n\021\010\022\022\rsecrets.write\n\023\010\023\022\017secrets.decrypt\n\020\010\024\022\014secrets.list\n\020\010\025\022\014tokens.write\n\017\010\026\022\013tokens.list\n\020\010\027\022\014migrate.read\n\020\010\030\022\014migrate.plan\n\023\010\031\022\017migrate.execute\n\022\010\032\022\016project.create\n\017\010\033\022\013chalk.admin\n\020\010\034\022\014billing.read\n\030\010\035\022\024auth_service.manager\n\027\010\036\022\023infrastructure.read\n\030\010\037\022\024infrastructure.write\n\026\010 \022\022environment.create\n$\010!\022 internal.dataplane_status_update\n#\010\"\022\037internal.working_token_exchange\n\021\010#\022\rbilling.write\n\026\010$\022\022query.offline_read\n \010%\022\034internal.resource_share_view\n!\010&\022\035internal.exchange_token_renew\n\020\010\'\022\014agents.write\n\017\010(\022\013agents.read'
|
|
29
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_UNSPECIFIED"]._options = None
|
|
30
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_UNSPECIFIED"]._serialized_options = b'\312>%Default value -- should never be set.\322>\013unspecified'
|
|
31
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INSECURE_UNAUTHENTICATED"]._options = None
|
|
32
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INSECURE_UNAUTHENTICATED"]._serialized_options = b'\312>\030Unauthenticated endpoint\322>\010insecure'
|
|
33
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AUTHENTICATED"]._options = None
|
|
34
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AUTHENTICATED"]._serialized_options = b'\312>5User is authenticated, but no permissions are checked\322>\rauthenticated'
|
|
35
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_ONLINE"]._options = None
|
|
36
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_ONLINE"]._serialized_options = b'\312>\026Query online features.\322>\014query.online\332>\001\001'
|
|
37
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_OFFLINE"]._options = None
|
|
38
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_OFFLINE"]._serialized_options = b'\312>\027Query offline features.\322>\rquery.offline\332>\001\001'
|
|
39
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MONITORING_CREATE"]._options = None
|
|
40
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MONITORING_CREATE"]._serialized_options = b'\312>\033Create a new chart or alert\322>\021monitoring.create\332>\001\001'
|
|
41
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MONITORING_READ"]._options = None
|
|
42
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MONITORING_READ"]._serialized_options = b'\312>\025See charts and alerts\322>\017monitoring.read\332>\001\001'
|
|
43
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_ADD"]._options = None
|
|
44
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_ADD"]._serialized_options = b'\312>%Add team members to your organization\322>\010team.add\332>\001\001'
|
|
45
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_DELETE"]._options = None
|
|
46
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_DELETE"]._serialized_options = b'\312>\024Remove a team member\322>\013team.delete\332>\001\001'
|
|
47
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_LIST"]._options = None
|
|
48
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_LIST"]._serialized_options = b'\312>)See the team members in your organization\322>\tteam.list\332>\001\001'
|
|
49
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_ADMIN"]._options = None
|
|
50
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TEAM_ADMIN"]._serialized_options = b'\312>6Configure authentication options for your organization\322>\nteam.admin\332>\001\001'
|
|
51
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_READ"]._options = None
|
|
52
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_READ"]._serialized_options = b'\312>#Read information about deployments.\322>\013deploy.read\332>\001\001'
|
|
53
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_CREATE"]._options = None
|
|
54
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_CREATE"]._serialized_options = b'\312>\030Create a new deployment.\322>\rdeploy.create\332>\001\001'
|
|
55
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_PREVIEW"]._options = None
|
|
56
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_PREVIEW"]._serialized_options = b'\312>\037Create a new branch deployment.\322>\016deploy.preview\332>\001\001'
|
|
57
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_REDEPLOY"]._options = None
|
|
58
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_DEPLOY_REDEPLOY"]._serialized_options = b'\312> Redeploy an existing deployment.\322>\017deploy.redeploy\332>\001\001'
|
|
59
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_LOGS_LIST"]._options = None
|
|
60
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_LOGS_LIST"]._serialized_options = b'\312>\031Read logs from resolvers.\322>\tlogs.list\332>\001\001'
|
|
61
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CRON_READ"]._options = None
|
|
62
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CRON_READ"]._serialized_options = b'\312>\030Read the scheduled runs.\322>\tcron.read\332>\001\001'
|
|
63
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CRON_CREATE"]._options = None
|
|
64
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CRON_CREATE"]._serialized_options = b'\312>\034Trigger a new scheduled run.\322>\013cron.create\332>\001\001'
|
|
65
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_WRITE"]._options = None
|
|
66
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_WRITE"]._serialized_options = b'\312>(Create, modify, or delete secret values.\322>\rsecrets.write\332>\001\001'
|
|
67
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_DECRYPT"]._options = None
|
|
68
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_DECRYPT"]._serialized_options = b'\312>\026Decrypt secret values.\322>\017secrets.decrypt\332>\001\001'
|
|
69
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_LIST"]._options = None
|
|
70
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_SECRETS_LIST"]._serialized_options = b'\312>WSee the list of available secrets. Reading secrets is not allowed with this permission.\322>\014secrets.list\332>\001\001'
|
|
71
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TOKENS_WRITE"]._options = None
|
|
72
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TOKENS_WRITE"]._serialized_options = b'\312>)Create, modify, or delete service tokens.\322>\014tokens.write\332>\001\001'
|
|
73
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TOKENS_LIST"]._options = None
|
|
74
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_TOKENS_LIST"]._serialized_options = b'\312>CList the service tokens and see client ids, but not client secrets.\322>\013tokens.list\332>\001\001'
|
|
75
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_READ"]._options = None
|
|
76
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_READ"]._serialized_options = b'\312>\"View information about migrations.\322>\014migrate.read\332>\001\001'
|
|
77
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_PLAN"]._options = None
|
|
78
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_PLAN"]._serialized_options = b'\312>\030Create a migration plan.\322>\014migrate.plan\332>\001\001'
|
|
79
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_EXECUTE"]._options = None
|
|
80
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_MIGRATE_EXECUTE"]._serialized_options = b'\312>\031Execute a migration plan.\322>\017migrate.execute\332>\001\001'
|
|
81
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_PROJECT_CREATE"]._options = None
|
|
82
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_PROJECT_CREATE"]._serialized_options = b'\312>\024Create a new project\322>\016project.create\332>\001\001'
|
|
83
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CHALK_ADMIN"]._options = None
|
|
84
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_CHALK_ADMIN"]._serialized_options = b'\312>\020Administer Chalk\322>\013chalk.admin'
|
|
85
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_BILLING_READ"]._options = None
|
|
86
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_BILLING_READ"]._serialized_options = b'\312>\030Read billing information\322>\014billing.read\332>\001\001'
|
|
87
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AUTH_SERVICE_MANAGER"]._options = None
|
|
88
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AUTH_SERVICE_MANAGER"]._serialized_options = b'\312>\023Manage Auth Service\322>\024auth_service.manager'
|
|
89
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INFRASTRUCTURE_READ"]._options = None
|
|
90
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INFRASTRUCTURE_READ"]._serialized_options = b'\312>\035Read infrastructure workflows\322>\023infrastructure.read\332>\001\001'
|
|
91
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INFRASTRUCTURE_WRITE"]._options = None
|
|
92
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INFRASTRUCTURE_WRITE"]._serialized_options = b'\312>*Approve or cancel infrastructure workflows\322>\024infrastructure.write\332>\001\001'
|
|
93
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_ENVIRONMENT_CREATE"]._options = None
|
|
94
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_ENVIRONMENT_CREATE"]._serialized_options = b'\312>\036Create and manage environments\322>\022environment.create\332>\001\001'
|
|
95
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_DATAPLANE_STATUS_UPDATE"]._options = None
|
|
96
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_DATAPLANE_STATUS_UPDATE"]._serialized_options = b'\312>GUpdate container and scaling group status from the dataplane controller\322> internal.dataplane_status_update'
|
|
97
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_WORKING_TOKEN_EXCHANGE"]._options = None
|
|
98
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_WORKING_TOKEN_EXCHANGE"]._serialized_options = b'\312>;Use an exchange token to obtain a short-lived working token\322>\037internal.working_token_exchange'
|
|
99
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_BILLING_WRITE"]._options = None
|
|
100
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_BILLING_WRITE"]._serialized_options = b'\312>>Manage billing settings, payment methods, and credit purchases\322>\rbilling.write'
|
|
101
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_OFFLINE_READ"]._options = None
|
|
102
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_QUERY_OFFLINE_READ"]._serialized_options = b'\312>\"Read offline queries and datasets.\322>\022query.offline_read\332>\001\001'
|
|
103
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_RESOURCE_SHARE_VIEW"]._options = None
|
|
104
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_RESOURCE_SHARE_VIEW"]._serialized_options = b'\312>}Read a single shared resource through a share link. Held only by share-link tokens, never granted to a user or service token.\322>\034internal.resource_share_view'
|
|
105
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_EXCHANGE_TOKEN_RENEW"]._options = None
|
|
106
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_INTERNAL_EXCHANGE_TOKEN_RENEW"]._serialized_options = b'\312>\025Renew exchange tokens\322>\035internal.exchange_token_renew'
|
|
107
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AGENTS_WRITE"]._options = None
|
|
108
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AGENTS_WRITE"]._serialized_options = b'\312>.Create, modify, delete ai provider connections\322>\014agents.write\332>\001\001'
|
|
109
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AGENTS_READ"]._options = None
|
|
110
|
+
_globals['_PERMISSION'].values_by_name["PERMISSION_AGENTS_READ"]._serialized_options = b'\312>\026Use Chalk AI assistant\322>\013agents.read\332>\001\001'
|
|
111
|
+
_globals['_PERMISSIONPRINCIPAL']._serialized_start=115
|
|
112
|
+
_globals['_PERMISSIONPRINCIPAL']._serialized_end=214
|
|
113
|
+
_globals['_PERMISSION']._serialized_start=217
|
|
114
|
+
_globals['_PERMISSION']._serialized_end=4967
|
|
115
|
+
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/common/v1/chalk_error.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!chalk/common/v1/chalk_error.proto\x12\x0f\x63halk.common.v1\"\x8f\x01\n\x0e\x43halkException\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x1e\n\nstacktrace\x18\x03 \x01(\tR\nstacktrace\x12/\n\x13internal_stacktrace\x18\x04 \x01(\tR\x12internalStacktrace\"\xe6\x03\n\nChalkError\x12.\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1a.chalk.common.v1.ErrorCodeR\x04\x63ode\x12>\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32\".chalk.common.v1.ErrorCodeCategoryR\x08\x63\x61tegory\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message\x12\x33\n\x13\x64isplay_primary_key\x18\x65 \x01(\tH\x00R\x11\x64isplayPrimaryKey\x88\x01\x01\x12:\n\x17\x64isplay_primary_key_fqn\x18\x66 \x01(\tH\x01R\x14\x64isplayPrimaryKeyFqn\x88\x01\x01\x12\x42\n\texception\x18g \x01(\x0b\x32\x1f.chalk.common.v1.ChalkExceptionH\x02R\texception\x88\x01\x01\x12\x1d\n\x07\x66\x65\x61ture\x18h \x01(\tH\x03R\x07\x66\x65\x61ture\x88\x01\x01\x12\x1f\n\x08resolver\x18i \x01(\tH\x04R\x08resolver\x88\x01\x01\x42\x16\n\x14_display_primary_keyB\x1a\n\x18_display_primary_key_fqnB\x0c\n\n_exceptionB\n\n\x08_featureB\x0b\n\t_resolver*\x99\x03\n\tErrorCode\x12\x30\n,ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45RROR_CODE_PARSE_FAILED\x10\x01\x12!\n\x1d\x45RROR_CODE_RESOLVER_NOT_FOUND\x10\x02\x12\x1c\n\x18\x45RROR_CODE_INVALID_QUERY\x10\x03\x12 \n\x1c\x45RROR_CODE_VALIDATION_FAILED\x10\x04\x12\x1e\n\x1a\x45RROR_CODE_RESOLVER_FAILED\x10\x05\x12!\n\x1d\x45RROR_CODE_RESOLVER_TIMED_OUT\x10\x06\x12\x1e\n\x1a\x45RROR_CODE_UPSTREAM_FAILED\x10\x07\x12\x1e\n\x1a\x45RROR_CODE_UNAUTHENTICATED\x10\x08\x12\x1b\n\x17\x45RROR_CODE_UNAUTHORIZED\x10\t\x12\x18\n\x14\x45RROR_CODE_CANCELLED\x10\n\x12 \n\x1c\x45RROR_CODE_DEADLINE_EXCEEDED\x10\x0b*\x80\x01\n\x11\x45rrorCodeCategory\x12+\n\'ERROR_CODE_CATEGORY_NETWORK_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x45RROR_CODE_CATEGORY_REQUEST\x10\x01\x12\x1d\n\x19\x45RROR_CODE_CATEGORY_FIELD\x10\x02\x42\x84\x01\n\x13\x63om.chalk.common.v1B\x0f\x43halkErrorProtoP\x01\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43halk.Common.V1\xca\x02\x0f\x43halk\\Common\\V1\xe2\x02\x1b\x43halk\\Common\\V1\\GPBMetadata\xea\x02\x11\x43halk::Common::V1b\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.common.v1.chalk_error_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
_globals['DESCRIPTOR']._options = None
|
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\023com.chalk.common.v1B\017ChalkErrorProtoP\001\242\002\003CCX\252\002\017Chalk.Common.V1\312\002\017Chalk\\Common\\V1\342\002\033Chalk\\Common\\V1\\GPBMetadata\352\002\021Chalk::Common::V1'
|
|
25
|
+
_globals['_ERRORCODE']._serialized_start=690
|
|
26
|
+
_globals['_ERRORCODE']._serialized_end=1099
|
|
27
|
+
_globals['_ERRORCODECATEGORY']._serialized_start=1102
|
|
28
|
+
_globals['_ERRORCODECATEGORY']._serialized_end=1230
|
|
29
|
+
_globals['_CHALKEXCEPTION']._serialized_start=55
|
|
30
|
+
_globals['_CHALKEXCEPTION']._serialized_end=198
|
|
31
|
+
_globals['_CHALKERROR']._serialized_start=201
|
|
32
|
+
_globals['_CHALKERROR']._serialized_end=687
|
|
33
|
+
# @@protoc_insertion_point(module_scope)
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/runtime/v1/fnq_consumer.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from chalk_remote_call._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v1_dot_chalk__error__pb2
|
|
16
|
+
from chalk_remote_call._gen.chalk.runtime.v1 import remote_python_call_pb2 as chalk_dot_runtime_dot_v1_dot_remote__python__call__pb2
|
|
17
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
18
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#chalk/runtime/v1/fnq_consumer.proto\x12\x10\x63halk.runtime.v1\x1a!chalk/common/v1/chalk_error.proto\x1a)chalk/runtime/v1/remote_python_call.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf3\x01\n\x12\x41\x63quireWorkRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12\x1b\n\tmax_calls\x18\x03 \x01(\rR\x08maxCalls\x12%\n\x0emax_concurrent\x18\x04 \x01(\rR\rmaxConcurrent\x12\x34\n\x16lease_duration_seconds\x18\x05 \x01(\rR\x14leaseDurationSeconds\x12\x1f\n\x0b\x63onsumer_id\x18\x06 \x01(\tR\nconsumerId\"\x83\x03\n\x07\x46nqWork\x12\x1f\n\x0bwork_handle\x18\x01 \x01(\tR\nworkHandle\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\x12\x39\n\x04\x63\x61ll\x18\x03 \x01(\x0b\x32%.chalk.runtime.v1.CallFunctionRequestR\x04\x63\x61ll\x12\x43\n\x08metadata\x18\x04 \x03(\x0b\x32\'.chalk.runtime.v1.FnqWork.MetadataEntryR\x08metadata\x12\x18\n\x07\x61ttempt\x18\x05 \x01(\x04R\x07\x61ttempt\x12!\n\x0cmax_attempts\x18\x06 \x01(\x04R\x0bmaxAttempts\x12\x44\n\x10lease_expires_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0eleaseExpiresAt\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"D\n\x13\x41\x63quireWorkResponse\x12-\n\x04work\x18\x01 \x01(\x0b\x32\x19.chalk.runtime.v1.FnqWorkR\x04work\"5\n\x10RenewWorkRequest\x12!\n\x0cwork_handles\x18\x01 \x03(\tR\x0bworkHandles\"\x81\x02\n\x11RenewWorkResponse\x12*\n\x11lost_work_handles\x18\x01 \x03(\tR\x0flostWorkHandles\x12\x61\n\x10lease_expires_at\x18\x02 \x03(\x0b\x32\x37.chalk.runtime.v1.RenewWorkResponse.LeaseExpiresAtEntryR\x0eleaseExpiresAt\x1a]\n\x13LeaseExpiresAtEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x05value:\x02\x38\x01\"\xba\x02\n\x14ReportResultsRequest\x12\x1f\n\x0bwork_handle\x18\x01 \x01(\tR\nworkHandle\x12\x1a\n\x08sequence\x18\x02 \x01(\x04R\x08sequence\x12.\n\x13processing_trace_id\x18\x03 \x01(\tR\x11processingTraceId\x12\x16\n\x05\x63hunk\x18\x04 \x01(\x0cH\x00R\x05\x63hunk\x12*\n\x03\x65nd\x18\x05 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x03\x65nd\x12\x37\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x1f.chalk.common.v1.ChalkExceptionH\x00R\x05\x65rror\x12.\n\x05retry\x18\x07 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00R\x05retryB\x08\n\x06result\"\x17\n\x15ReportResultsResponse2\xaa\x02\n\x12\x46nqConsumerService\x12\\\n\x0b\x41\x63quireWork\x12$.chalk.runtime.v1.AcquireWorkRequest\x1a%.chalk.runtime.v1.AcquireWorkResponse0\x01\x12T\n\tRenewWork\x12\".chalk.runtime.v1.RenewWorkRequest\x1a#.chalk.runtime.v1.RenewWorkResponse\x12`\n\rReportResults\x12&.chalk.runtime.v1.ReportResultsRequest\x1a\'.chalk.runtime.v1.ReportResultsResponseB\x8a\x01\n\x14\x63om.chalk.runtime.v1B\x10\x46nqConsumerProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x10\x43halk.Runtime.V1\xca\x02\x10\x43halk\\Runtime\\V1\xe2\x02\x1c\x43halk\\Runtime\\V1\\GPBMetadata\xea\x02\x12\x43halk::Runtime::V1b\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.runtime.v1.fnq_consumer_pb2', _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
_globals['DESCRIPTOR']._options = None
|
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\024com.chalk.runtime.v1B\020FnqConsumerProtoP\001\242\002\003CRX\252\002\020Chalk.Runtime.V1\312\002\020Chalk\\Runtime\\V1\342\002\034Chalk\\Runtime\\V1\\GPBMetadata\352\002\022Chalk::Runtime::V1'
|
|
29
|
+
_globals['_FNQWORK_METADATAENTRY']._options = None
|
|
30
|
+
_globals['_FNQWORK_METADATAENTRY']._serialized_options = b'8\001'
|
|
31
|
+
_globals['_RENEWWORKRESPONSE_LEASEEXPIRESATENTRY']._options = None
|
|
32
|
+
_globals['_RENEWWORKRESPONSE_LEASEEXPIRESATENTRY']._serialized_options = b'8\001'
|
|
33
|
+
_globals['_ACQUIREWORKREQUEST']._serialized_start=198
|
|
34
|
+
_globals['_ACQUIREWORKREQUEST']._serialized_end=441
|
|
35
|
+
_globals['_FNQWORK']._serialized_start=444
|
|
36
|
+
_globals['_FNQWORK']._serialized_end=831
|
|
37
|
+
_globals['_FNQWORK_METADATAENTRY']._serialized_start=772
|
|
38
|
+
_globals['_FNQWORK_METADATAENTRY']._serialized_end=831
|
|
39
|
+
_globals['_ACQUIREWORKRESPONSE']._serialized_start=833
|
|
40
|
+
_globals['_ACQUIREWORKRESPONSE']._serialized_end=901
|
|
41
|
+
_globals['_RENEWWORKREQUEST']._serialized_start=903
|
|
42
|
+
_globals['_RENEWWORKREQUEST']._serialized_end=956
|
|
43
|
+
_globals['_RENEWWORKRESPONSE']._serialized_start=959
|
|
44
|
+
_globals['_RENEWWORKRESPONSE']._serialized_end=1216
|
|
45
|
+
_globals['_RENEWWORKRESPONSE_LEASEEXPIRESATENTRY']._serialized_start=1123
|
|
46
|
+
_globals['_RENEWWORKRESPONSE_LEASEEXPIRESATENTRY']._serialized_end=1216
|
|
47
|
+
_globals['_REPORTRESULTSREQUEST']._serialized_start=1219
|
|
48
|
+
_globals['_REPORTRESULTSREQUEST']._serialized_end=1533
|
|
49
|
+
_globals['_REPORTRESULTSRESPONSE']._serialized_start=1535
|
|
50
|
+
_globals['_REPORTRESULTSRESPONSE']._serialized_end=1558
|
|
51
|
+
_globals['_FNQCONSUMERSERVICE']._serialized_start=1561
|
|
52
|
+
_globals['_FNQCONSUMERSERVICE']._serialized_end=1859
|
|
53
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from chalk_remote_call._gen.chalk.runtime.v1 import fnq_consumer_pb2 as chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class FnqConsumerServiceStub(object):
|
|
9
|
+
"""Authenticated worker access to environment-scoped function queues.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.AcquireWork = channel.unary_stream(
|
|
19
|
+
'/chalk.runtime.v1.FnqConsumerService/AcquireWork',
|
|
20
|
+
request_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkRequest.SerializeToString,
|
|
21
|
+
response_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.RenewWork = channel.unary_unary(
|
|
24
|
+
'/chalk.runtime.v1.FnqConsumerService/RenewWork',
|
|
25
|
+
request_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkRequest.SerializeToString,
|
|
26
|
+
response_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ReportResults = channel.unary_unary(
|
|
29
|
+
'/chalk.runtime.v1.FnqConsumerService/ReportResults',
|
|
30
|
+
request_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsRequest.SerializeToString,
|
|
31
|
+
response_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class FnqConsumerServiceServicer(object):
|
|
36
|
+
"""Authenticated worker access to environment-scoped function queues.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
def AcquireWork(self, request, context):
|
|
40
|
+
"""Lease queued calls for execution by this worker.
|
|
41
|
+
"""
|
|
42
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
43
|
+
context.set_details('Method not implemented!')
|
|
44
|
+
raise NotImplementedError('Method not implemented!')
|
|
45
|
+
|
|
46
|
+
def RenewWork(self, request, context):
|
|
47
|
+
"""Keep acquired work assigned to this worker while it executes.
|
|
48
|
+
"""
|
|
49
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
50
|
+
context.set_details('Method not implemented!')
|
|
51
|
+
raise NotImplementedError('Method not implemented!')
|
|
52
|
+
|
|
53
|
+
def ReportResults(self, request, context):
|
|
54
|
+
"""Report execution output, completion, failure, or a request to retry.
|
|
55
|
+
"""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def add_FnqConsumerServiceServicer_to_server(servicer, server):
|
|
62
|
+
rpc_method_handlers = {
|
|
63
|
+
'AcquireWork': grpc.unary_stream_rpc_method_handler(
|
|
64
|
+
servicer.AcquireWork,
|
|
65
|
+
request_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkRequest.FromString,
|
|
66
|
+
response_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkResponse.SerializeToString,
|
|
67
|
+
),
|
|
68
|
+
'RenewWork': grpc.unary_unary_rpc_method_handler(
|
|
69
|
+
servicer.RenewWork,
|
|
70
|
+
request_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkRequest.FromString,
|
|
71
|
+
response_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkResponse.SerializeToString,
|
|
72
|
+
),
|
|
73
|
+
'ReportResults': grpc.unary_unary_rpc_method_handler(
|
|
74
|
+
servicer.ReportResults,
|
|
75
|
+
request_deserializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsRequest.FromString,
|
|
76
|
+
response_serializer=chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsResponse.SerializeToString,
|
|
77
|
+
),
|
|
78
|
+
}
|
|
79
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
80
|
+
'chalk.runtime.v1.FnqConsumerService', rpc_method_handlers)
|
|
81
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
# This class is part of an EXPERIMENTAL API.
|
|
85
|
+
class FnqConsumerService(object):
|
|
86
|
+
"""Authenticated worker access to environment-scoped function queues.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
@staticmethod
|
|
90
|
+
def AcquireWork(request,
|
|
91
|
+
target,
|
|
92
|
+
options=(),
|
|
93
|
+
channel_credentials=None,
|
|
94
|
+
call_credentials=None,
|
|
95
|
+
insecure=False,
|
|
96
|
+
compression=None,
|
|
97
|
+
wait_for_ready=None,
|
|
98
|
+
timeout=None,
|
|
99
|
+
metadata=None):
|
|
100
|
+
return grpc.experimental.unary_stream(request, target, '/chalk.runtime.v1.FnqConsumerService/AcquireWork',
|
|
101
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkRequest.SerializeToString,
|
|
102
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.AcquireWorkResponse.FromString,
|
|
103
|
+
options, channel_credentials,
|
|
104
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
105
|
+
|
|
106
|
+
@staticmethod
|
|
107
|
+
def RenewWork(request,
|
|
108
|
+
target,
|
|
109
|
+
options=(),
|
|
110
|
+
channel_credentials=None,
|
|
111
|
+
call_credentials=None,
|
|
112
|
+
insecure=False,
|
|
113
|
+
compression=None,
|
|
114
|
+
wait_for_ready=None,
|
|
115
|
+
timeout=None,
|
|
116
|
+
metadata=None):
|
|
117
|
+
return grpc.experimental.unary_unary(request, target, '/chalk.runtime.v1.FnqConsumerService/RenewWork',
|
|
118
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkRequest.SerializeToString,
|
|
119
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.RenewWorkResponse.FromString,
|
|
120
|
+
options, channel_credentials,
|
|
121
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
122
|
+
|
|
123
|
+
@staticmethod
|
|
124
|
+
def ReportResults(request,
|
|
125
|
+
target,
|
|
126
|
+
options=(),
|
|
127
|
+
channel_credentials=None,
|
|
128
|
+
call_credentials=None,
|
|
129
|
+
insecure=False,
|
|
130
|
+
compression=None,
|
|
131
|
+
wait_for_ready=None,
|
|
132
|
+
timeout=None,
|
|
133
|
+
metadata=None):
|
|
134
|
+
return grpc.experimental.unary_unary(request, target, '/chalk.runtime.v1.FnqConsumerService/ReportResults',
|
|
135
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsRequest.SerializeToString,
|
|
136
|
+
chalk_dot_runtime_dot_v1_dot_fnq__consumer__pb2.ReportResultsResponse.FromString,
|
|
137
|
+
options, channel_credentials,
|
|
138
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/runtime/v1/remote_python_call.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from chalk_remote_call._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
16
|
+
from chalk_remote_call._gen.chalk.common.v1 import chalk_error_pb2 as chalk_dot_common_dot_v1_dot_chalk__error__pb2
|
|
17
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)chalk/runtime/v1/remote_python_call.proto\x12\x10\x63halk.runtime.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"P\n\x13\x43\x61llFunctionRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12%\n\x0e\x66\x65\x61ther_stream\x18\x02 \x01(\x0cR\rfeatherStream\"=\n\x14\x43\x61llFunctionResponse\x12%\n\x0e\x66\x65\x61ther_stream\x18\x01 \x01(\x0cR\rfeatherStream\"m\n\x0eRemoteCallArgs\x12%\n\rfeather_bytes\x18\x01 \x01(\x0cH\x00R\x0c\x66\x65\x61therBytes\x12,\n\x11storage_object_id\x18\x02 \x01(\tH\x00R\x0fstorageObjectIdB\x06\n\x04\x61rgs\"d\n\x18\x45nqueueRemoteCallRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x34\n\x04\x61rgs\x18\x02 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\"4\n\x19\x45nqueueRemoteCallResponse\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\"i\n\x13OpenRemoteCallBatch\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n\x08\x62\x61tch_id\x18\x02 \x01(\tR\x07\x62\x61tchId\x12#\n\rresult_cursor\x18\x03 \x01(\tR\x0cresultCursor\"\x9b\x01\n\x1aSubmitRemoteCallBatchChunk\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12&\n\x0f\x66irst_row_index\x18\x02 \x01(\x04R\rfirstRowIndex\x12\x34\n\x04\x61rgs\x18\x03 \x01(\x0b\x32 .chalk.runtime.v1.RemoteCallArgsR\x04\x61rgs\"!\n\x1f\x46inishRemoteCallBatchSubmission\"/\n\x15\x43\x61ncelRemoteCallBatch\x12\x16\n\x06reason\x18\x01 \x01(\tR\x06reason\"\xbe\x02\n\x1cStreamRemoteCallBatchRequest\x12;\n\x04open\x18\x01 \x01(\x0b\x32%.chalk.runtime.v1.OpenRemoteCallBatchH\x00R\x04open\x12\x46\n\x06submit\x18\x02 \x01(\x0b\x32,.chalk.runtime.v1.SubmitRemoteCallBatchChunkH\x00R\x06submit\x12K\n\x06\x66inish\x18\x03 \x01(\x0b\x32\x31.chalk.runtime.v1.FinishRemoteCallBatchSubmissionH\x00R\x06\x66inish\x12\x41\n\x06\x63\x61ncel\x18\x04 \x01(\x0b\x32\'.chalk.runtime.v1.CancelRemoteCallBatchH\x00R\x06\x63\x61ncelB\t\n\x07request\"\xb3\x01\n\x15RemoteCallBatchOpened\x12\x19\n\x08\x62\x61tch_id\x18\x01 \x01(\tR\x07\x62\x61tchId\x12/\n\x13submission_finished\x18\x02 \x01(\x08R\x12submissionFinished\x12(\n\x10next_chunk_index\x18\x03 \x01(\x04R\x0enextChunkIndex\x12$\n\x0enext_row_index\x18\x04 \x01(\x04R\x0cnextRowIndex\"K\n\x13RemoteCallBatchCall\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\"|\n\x1cRemoteCallBatchChunkAccepted\x12\x1f\n\x0b\x63hunk_index\x18\x01 \x01(\x04R\nchunkIndex\x12;\n\x05\x63\x61lls\x18\x02 \x03(\x0b\x32%.chalk.runtime.v1.RemoteCallBatchCallR\x05\x63\x61lls\"\x9a\x02\n\x15RemoteCallBatchResult\x12\x1b\n\trow_index\x18\x01 \x01(\x04R\x08rowIndex\x12\x17\n\x07\x63\x61ll_id\x18\x02 \x01(\tR\x06\x63\x61llId\x12\x1a\n\x08sequence\x18\x03 \x01(\x04R\x08sequence\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12>\n\x06result\x18\x05 \x01(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x06result\x12\x33\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"w\n\x1aRemoteCallBatchResultChunk\x12\x41\n\x07results\x18\x01 \x03(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchResultR\x07results\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\x87\x01\n\x18RemoteCallBatchCompleted\x12\x1f\n\x0btotal_calls\x18\x01 \x01(\x04R\ntotalCalls\x12\'\n\x0f\x63ompleted_calls\x18\x02 \x01(\x04R\x0e\x63ompletedCalls\x12!\n\x0c\x66\x61iled_calls\x18\x03 \x01(\x04R\x0b\x66\x61iledCalls\"\xd2\x02\n\x1dStreamRemoteCallBatchResponse\x12\x41\n\x06opened\x18\x01 \x01(\x0b\x32\'.chalk.runtime.v1.RemoteCallBatchOpenedH\x00R\x06opened\x12L\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x0b\x32..chalk.runtime.v1.RemoteCallBatchChunkAcceptedH\x00R\x08\x61\x63\x63\x65pted\x12H\n\x07results\x18\x03 \x01(\x0b\x32,.chalk.runtime.v1.RemoteCallBatchResultChunkH\x00R\x07results\x12J\n\tcompleted\x18\x04 \x01(\x0b\x32*.chalk.runtime.v1.RemoteCallBatchCompletedH\x00R\tcompletedB\n\n\x08response\"H\n\x15PollRemoteCallRequest\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x16\n\x06\x63ursor\x18\x02 \x01(\tR\x06\x63ursor\"\xe3\x01\n\x16PollRemoteCallResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12@\n\x07results\x18\x02 \x03(\x0b\x32&.chalk.runtime.v1.CallFunctionResponseR\x07results\x12\x16\n\x06\x63ursor\x18\x03 \x01(\tR\x06\x63ursor\x12\x33\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"Y\n\x11PurgeQueueRequest\x12%\n\rfunction_name\x18\x01 \x01(\tH\x00R\x0c\x66unctionName\x12\x12\n\x03\x61ll\x18\x02 \x01(\x08H\x00R\x03\x61llB\t\n\x07request\"\xdc\x01\n\x12PurgeQueueResponse\x12{\n\x19items_removed_by_function\x18\x01 \x03(\x0b\x32@.chalk.runtime.v1.PurgeQueueResponse.ItemsRemovedByFunctionEntryR\x16itemsRemovedByFunction\x1aI\n\x1bItemsRemovedByFunctionEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x04R\x05value:\x02\x38\x01\"\x8b\x02\n\x10\x46unctionCallInfo\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12#\n\rfunction_name\x18\x02 \x01(\tR\x0c\x66unctionName\x12;\n\x0b\x65nqueued_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nenqueuedAt\x12:\n\x06status\x18\x04 \x01(\x0e\x32\".chalk.runtime.v1.RemoteCallStatusR\x06status\x12%\n\x0eresult_summary\x18\x05 \x01(\tR\rresultSummary\x12\x19\n\x08trace_id\x18\x06 \x01(\tR\x07traceId\"q\n\x15GetRecentCallsRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\x12\x14\n\x05limit\x18\x02 \x01(\rR\x05limit\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"z\n\x16GetRecentCallsResponse\x12\x38\n\x05\x63\x61lls\x18\x01 \x03(\x0b\x32\".chalk.runtime.v1.FunctionCallInfoR\x05\x63\x61lls\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"2\n\x15GetCallResultsRequest\x12\x19\n\x08\x63\x61ll_ids\x18\x01 \x03(\tR\x07\x63\x61llIds\"\x90\x01\n\nCallResult\x12\x17\n\x07\x63\x61ll_id\x18\x01 \x01(\tR\x06\x63\x61llId\x12\x44\n\x08response\x18\x02 \x01(\x0b\x32(.chalk.runtime.v1.PollRemoteCallResponseR\x08response\x12#\n\rerror_message\x18\x03 \x01(\tR\x0c\x65rrorMessage\"P\n\x16GetCallResultsResponse\x12\x36\n\x07results\x18\x01 \x03(\x0b\x32\x1c.chalk.runtime.v1.CallResultR\x07results\":\n\x13GetCallCountRequest\x12#\n\rfunction_name\x18\x01 \x01(\tR\x0c\x66unctionName\",\n\x14GetCallCountResponse\x12\x14\n\x05\x63ount\x18\x01 \x01(\x04R\x05\x63ount*\xd7\x01\n\x10RemoteCallStatus\x12\"\n\x1eREMOTE_CALL_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1aREMOTE_CALL_STATUS_PENDING\x10\x01\x12\x1e\n\x1aREMOTE_CALL_STATUS_RUNNING\x10\x02\x12 \n\x1cREMOTE_CALL_STATUS_COMPLETED\x10\x03\x12\x1d\n\x19REMOTE_CALL_STATUS_FAILED\x10\x04\x12\x1e\n\x1aREMOTE_CALL_STATUS_EXPIRED\x10\x05\x32x\n\x11RemoteCallService\x12\x63\n\x0c\x43\x61llFunction\x12%.chalk.runtime.v1.CallFunctionRequest\x1a&.chalk.runtime.v1.CallFunctionResponse\"\x00(\x01\x30\x01\x32\xca\x03\n\x16\x41syncRemoteCallService\x12n\n\x11\x45nqueueRemoteCall\x12*.chalk.runtime.v1.EnqueueRemoteCallRequest\x1a+.chalk.runtime.v1.EnqueueRemoteCallResponse\"\x00\x12\x65\n\x0ePollRemoteCall\x12\'.chalk.runtime.v1.PollRemoteCallRequest\x1a(.chalk.runtime.v1.PollRemoteCallResponse\"\x00\x12~\n\x15StreamRemoteCallBatch\x12..chalk.runtime.v1.StreamRemoteCallBatchRequest\x1a/.chalk.runtime.v1.StreamRemoteCallBatchResponse\"\x00(\x01\x30\x01\x12Y\n\nPurgeQueue\x12#.chalk.runtime.v1.PurgeQueueRequest\x1a$.chalk.runtime.v1.PurgeQueueResponse\"\x00\x32\xd2\x02\n\x18\x46unctionQueueMetaService\x12h\n\x0eGetRecentCalls\x12\'.chalk.runtime.v1.GetRecentCallsRequest\x1a(.chalk.runtime.v1.GetRecentCallsResponse\"\x03\x80}\x03\x12h\n\x0eGetCallResults\x12\'.chalk.runtime.v1.GetCallResultsRequest\x1a(.chalk.runtime.v1.GetCallResultsResponse\"\x03\x80}\x03\x12\x62\n\x0cGetCallCount\x12%.chalk.runtime.v1.GetCallCountRequest\x1a&.chalk.runtime.v1.GetCallCountResponse\"\x03\x80}\x03\x42\x8f\x01\n\x14\x63om.chalk.runtime.v1B\x15RemotePythonCallProtoP\x01\xa2\x02\x03\x43RX\xaa\x02\x10\x43halk.Runtime.V1\xca\x02\x10\x43halk\\Runtime\\V1\xe2\x02\x1c\x43halk\\Runtime\\V1\\GPBMetadata\xea\x02\x12\x43halk::Runtime::V1b\x06proto3')
|
|
21
|
+
|
|
22
|
+
_globals = globals()
|
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chalk.runtime.v1.remote_python_call_pb2', _globals)
|
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
+
_globals['DESCRIPTOR']._options = None
|
|
27
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\024com.chalk.runtime.v1B\025RemotePythonCallProtoP\001\242\002\003CRX\252\002\020Chalk.Runtime.V1\312\002\020Chalk\\Runtime\\V1\342\002\034Chalk\\Runtime\\V1\\GPBMetadata\352\002\022Chalk::Runtime::V1'
|
|
28
|
+
_globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._options = None
|
|
29
|
+
_globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_options = b'8\001'
|
|
30
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._options = None
|
|
31
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetRecentCalls']._serialized_options = b'\200}\003'
|
|
32
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._options = None
|
|
33
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallResults']._serialized_options = b'\200}\003'
|
|
34
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._options = None
|
|
35
|
+
_globals['_FUNCTIONQUEUEMETASERVICE'].methods_by_name['GetCallCount']._serialized_options = b'\200}\003'
|
|
36
|
+
_globals['_REMOTECALLSTATUS']._serialized_start=4031
|
|
37
|
+
_globals['_REMOTECALLSTATUS']._serialized_end=4246
|
|
38
|
+
_globals['_CALLFUNCTIONREQUEST']._serialized_start=164
|
|
39
|
+
_globals['_CALLFUNCTIONREQUEST']._serialized_end=244
|
|
40
|
+
_globals['_CALLFUNCTIONRESPONSE']._serialized_start=246
|
|
41
|
+
_globals['_CALLFUNCTIONRESPONSE']._serialized_end=307
|
|
42
|
+
_globals['_REMOTECALLARGS']._serialized_start=309
|
|
43
|
+
_globals['_REMOTECALLARGS']._serialized_end=418
|
|
44
|
+
_globals['_ENQUEUEREMOTECALLREQUEST']._serialized_start=420
|
|
45
|
+
_globals['_ENQUEUEREMOTECALLREQUEST']._serialized_end=520
|
|
46
|
+
_globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_start=522
|
|
47
|
+
_globals['_ENQUEUEREMOTECALLRESPONSE']._serialized_end=574
|
|
48
|
+
_globals['_OPENREMOTECALLBATCH']._serialized_start=576
|
|
49
|
+
_globals['_OPENREMOTECALLBATCH']._serialized_end=681
|
|
50
|
+
_globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_start=684
|
|
51
|
+
_globals['_SUBMITREMOTECALLBATCHCHUNK']._serialized_end=839
|
|
52
|
+
_globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_start=841
|
|
53
|
+
_globals['_FINISHREMOTECALLBATCHSUBMISSION']._serialized_end=874
|
|
54
|
+
_globals['_CANCELREMOTECALLBATCH']._serialized_start=876
|
|
55
|
+
_globals['_CANCELREMOTECALLBATCH']._serialized_end=923
|
|
56
|
+
_globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_start=926
|
|
57
|
+
_globals['_STREAMREMOTECALLBATCHREQUEST']._serialized_end=1244
|
|
58
|
+
_globals['_REMOTECALLBATCHOPENED']._serialized_start=1247
|
|
59
|
+
_globals['_REMOTECALLBATCHOPENED']._serialized_end=1426
|
|
60
|
+
_globals['_REMOTECALLBATCHCALL']._serialized_start=1428
|
|
61
|
+
_globals['_REMOTECALLBATCHCALL']._serialized_end=1503
|
|
62
|
+
_globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_start=1505
|
|
63
|
+
_globals['_REMOTECALLBATCHCHUNKACCEPTED']._serialized_end=1629
|
|
64
|
+
_globals['_REMOTECALLBATCHRESULT']._serialized_start=1632
|
|
65
|
+
_globals['_REMOTECALLBATCHRESULT']._serialized_end=1914
|
|
66
|
+
_globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_start=1916
|
|
67
|
+
_globals['_REMOTECALLBATCHRESULTCHUNK']._serialized_end=2035
|
|
68
|
+
_globals['_REMOTECALLBATCHCOMPLETED']._serialized_start=2038
|
|
69
|
+
_globals['_REMOTECALLBATCHCOMPLETED']._serialized_end=2173
|
|
70
|
+
_globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_start=2176
|
|
71
|
+
_globals['_STREAMREMOTECALLBATCHRESPONSE']._serialized_end=2514
|
|
72
|
+
_globals['_POLLREMOTECALLREQUEST']._serialized_start=2516
|
|
73
|
+
_globals['_POLLREMOTECALLREQUEST']._serialized_end=2588
|
|
74
|
+
_globals['_POLLREMOTECALLRESPONSE']._serialized_start=2591
|
|
75
|
+
_globals['_POLLREMOTECALLRESPONSE']._serialized_end=2818
|
|
76
|
+
_globals['_PURGEQUEUEREQUEST']._serialized_start=2820
|
|
77
|
+
_globals['_PURGEQUEUEREQUEST']._serialized_end=2909
|
|
78
|
+
_globals['_PURGEQUEUERESPONSE']._serialized_start=2912
|
|
79
|
+
_globals['_PURGEQUEUERESPONSE']._serialized_end=3132
|
|
80
|
+
_globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_start=3059
|
|
81
|
+
_globals['_PURGEQUEUERESPONSE_ITEMSREMOVEDBYFUNCTIONENTRY']._serialized_end=3132
|
|
82
|
+
_globals['_FUNCTIONCALLINFO']._serialized_start=3135
|
|
83
|
+
_globals['_FUNCTIONCALLINFO']._serialized_end=3402
|
|
84
|
+
_globals['_GETRECENTCALLSREQUEST']._serialized_start=3404
|
|
85
|
+
_globals['_GETRECENTCALLSREQUEST']._serialized_end=3517
|
|
86
|
+
_globals['_GETRECENTCALLSRESPONSE']._serialized_start=3519
|
|
87
|
+
_globals['_GETRECENTCALLSRESPONSE']._serialized_end=3641
|
|
88
|
+
_globals['_GETCALLRESULTSREQUEST']._serialized_start=3643
|
|
89
|
+
_globals['_GETCALLRESULTSREQUEST']._serialized_end=3693
|
|
90
|
+
_globals['_CALLRESULT']._serialized_start=3696
|
|
91
|
+
_globals['_CALLRESULT']._serialized_end=3840
|
|
92
|
+
_globals['_GETCALLRESULTSRESPONSE']._serialized_start=3842
|
|
93
|
+
_globals['_GETCALLRESULTSRESPONSE']._serialized_end=3922
|
|
94
|
+
_globals['_GETCALLCOUNTREQUEST']._serialized_start=3924
|
|
95
|
+
_globals['_GETCALLCOUNTREQUEST']._serialized_end=3982
|
|
96
|
+
_globals['_GETCALLCOUNTRESPONSE']._serialized_start=3984
|
|
97
|
+
_globals['_GETCALLCOUNTRESPONSE']._serialized_end=4028
|
|
98
|
+
_globals['_REMOTECALLSERVICE']._serialized_start=4248
|
|
99
|
+
_globals['_REMOTECALLSERVICE']._serialized_end=4368
|
|
100
|
+
_globals['_ASYNCREMOTECALLSERVICE']._serialized_start=4371
|
|
101
|
+
_globals['_ASYNCREMOTECALLSERVICE']._serialized_end=4829
|
|
102
|
+
_globals['_FUNCTIONQUEUEMETASERVICE']._serialized_start=4832
|
|
103
|
+
_globals['_FUNCTIONQUEUEMETASERVICE']._serialized_end=5170
|
|
104
|
+
# @@protoc_insertion_point(module_scope)
|