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.
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +37 -33
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +24 -3
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +42 -11
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +86 -4
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
- chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
- chalk/_gen/chalk/server/v1/builder_pb2.py +357 -296
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +273 -6
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +225 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +137 -123
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +86 -4
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +50 -44
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +33 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +38 -18
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +55 -10
- chalk/_gen/chalk/server/v1/deployment_pb2.py +6 -6
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/graph_pb2.py +38 -26
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +58 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +47 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +18 -0
- chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
- chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +4 -1
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +17 -5
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +42 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2.py +15 -3
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +22 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
- chalk/_gen/chalk/server/v1/team_pb2.py +142 -141
- chalk/_gen/chalk/server/v1/team_pb2.pyi +9 -2
- chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
- chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/trace_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +8 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
- chalk/_version.py +1 -1
- {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/METADATA +1 -1
- {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/RECORD +67 -59
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.py +0 -38
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2.pyi +0 -25
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.py +0 -80
- chalk/_gen/chalk/engine/v1/query_planning_server_pb2_grpc.pyi +0 -36
- {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/WHEEL +0 -0
- {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.94.5.dist-info → chalkpy-2.94.6.dist-info}/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
-
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xb2\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\
|
|
21
|
+
b'\n chalk/server/v1/deployment.proto\x12\x0f\x63halk.server.v1\x1a!chalk/server/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x88\x01\n\x0eInstanceSizing\x12(\n\rmin_instances\x18\x01 \x01(\rH\x00R\x0cminInstances\x88\x01\x01\x12(\n\rmax_instances\x18\x02 \x01(\rH\x01R\x0cmaxInstances\x88\x01\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instances"\xa3\x01\n\x0fSourceImageSpec\x12"\n\x0crequirements\x18\x01 \x01(\tR\x0crequirements\x12+\n\x11\x64\x65pendencies_hash\x18\x02 \x01(\tR\x10\x64\x65pendenciesHash\x12\x18\n\x07runtime\x18\x03 \x01(\tR\x07runtime\x12%\n\x0epython_version\x18\x04 \x01(\tR\rpythonVersion"\xb2\x01\n\x10SourceImageSpecs\x12\x42\n\x05specs\x18\x01 \x03(\x0b\x32,.chalk.server.v1.SourceImageSpecs.SpecsEntryR\x05specs\x1aZ\n\nSpecsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32 .chalk.server.v1.SourceImageSpecR\x05value:\x02\x38\x01"\xc2\x10\n\nDeployment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12\x39\n\x06status\x18\x03 \x01(\x0e\x32!.chalk.server.v1.DeploymentStatusR\x06status\x12\'\n\x0f\x64\x65ployment_tags\x18\x04 \x03(\tR\x0e\x64\x65ploymentTags\x12$\n\x0e\x63loud_build_id\x18\x05 \x01(\tR\x0c\x63loudBuildId\x12!\n\x0ctriggered_by\x18\x06 \x01(\tR\x0btriggeredBy\x12\x38\n\x15requirements_filepath\x18\x07 \x01(\tH\x00R\x14requirementsFilepath\x88\x01\x01\x12\x34\n\x13\x64ockerfile_filepath\x18\x08 \x01(\tH\x01R\x12\x64ockerfileFilepath\x88\x01\x01\x12\x1d\n\x07runtime\x18\t \x01(\tH\x02R\x07runtime\x88\x01\x01\x12\'\n\x0f\x63halkpy_version\x18\n \x01(\tR\x0e\x63halkpyVersion\x12.\n\x13raw_dependency_hash\x18\x0b \x01(\tR\x11rawDependencyHash\x12\x37\n\x15\x66inal_dependency_hash\x18\x0c \x01(\tH\x03R\x13\x66inalDependencyHash\x88\x01\x01\x12\x37\n\x15is_preview_deployment\x18\r \x01(\x08H\x04R\x13isPreviewDeployment\x88\x01\x01\x12\x39\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1d\n\ngit_commit\x18\x10 \x01(\tR\tgitCommit\x12\x15\n\x06git_pr\x18\x11 \x01(\tR\x05gitPr\x12\x1d\n\ngit_branch\x18\x12 \x01(\tR\tgitBranch\x12(\n\x10git_author_email\x18\x13 \x01(\tR\x0egitAuthorEmail\x12\x16\n\x06\x62ranch\x18\x14 \x01(\tR\x06\x62ranch\x12)\n\x10project_settings\x18\x15 \x01(\tR\x0fprojectSettings\x12\x32\n\x12requirements_files\x18\x16 \x01(\tH\x05R\x11requirementsFiles\x88\x01\x01\x12\x17\n\x07git_tag\x18\x17 \x01(\tR\x06gitTag\x12$\n\x0e\x62\x61se_image_sha\x18\x18 \x01(\tR\x0c\x62\x61seImageSha\x12\x46\n\x11status_changed_at\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0fstatusChangedAt\x12;\n\x17pinned_platform_version\x18\x1a \x01(\tH\x06R\x15pinnedPlatformVersion\x88\x01\x01\x12\x39\n\x16preview_deployment_tag\x18\x1b \x01(\tH\x07R\x14previewDeploymentTag\x88\x01\x01\x12X\n\x0eprofiling_mode\x18\x1c \x01(\x0e\x32(.chalk.server.v1.DeploymentProfilingModeB\x02\x18\x01H\x08R\rprofilingMode\x88\x01\x01\x12\x31\n\x12source_image_specs\x18\x1d \x01(\x0cH\tR\x10sourceImageSpecs\x88\x01\x01\x12\x39\n\x19uses_uploaded_proto_graph\x18\x1e \x01(\x08R\x16usesUploadedProtoGraph\x12Q\n\rbuild_profile\x18\x1f \x01(\x0e\x32\'.chalk.server.v1.DeploymentBuildProfileH\nR\x0c\x62uildProfile\x88\x01\x01\x12\x36\n\x15\x63ustomer_cicd_job_url\x18 \x01(\tH\x0bR\x12\x63ustomerCicdJobUrl\x88\x01\x01\x12\x30\n\x11\x63ustomer_metadata\x18! \x01(\tH\x0cR\x10\x63ustomerMetadata\x88\x01\x01\x12-\n\x10\x63ustomer_vcs_url\x18" \x01(\tH\rR\x0e\x63ustomerVcsUrl\x88\x01\x01\x12\x34\n\x13\x64isplay_description\x18# \x01(\tH\x0eR\x12\x64isplayDescription\x88\x01\x01\x12\x31\n\x12git_commit_message\x18$ \x01(\tH\x0fR\x10gitCommitMessage\x88\x01\x01\x42\x18\n\x16_requirements_filepathB\x16\n\x14_dockerfile_filepathB\n\n\x08_runtimeB\x18\n\x16_final_dependency_hashB\x18\n\x16_is_preview_deploymentB\x15\n\x13_requirements_filesB\x1a\n\x18_pinned_platform_versionB\x19\n\x17_preview_deployment_tagB\x11\n\x0f_profiling_modeB\x15\n\x13_source_image_specsB\x10\n\x0e_build_profileB\x18\n\x16_customer_cicd_job_urlB\x14\n\x12_customer_metadataB\x13\n\x11_customer_vcs_urlB\x16\n\x14_display_descriptionB\x15\n\x13_git_commit_message*\xde\x03\n\x10\x44\x65ploymentStatus\x12!\n\x1d\x44\x45PLOYMENT_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_UNKNOWN\x10\x01\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_PENDING\x10\x02\x12\x1c\n\x18\x44\x45PLOYMENT_STATUS_QUEUED\x10\x03\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_WORKING\x10\x04\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_SUCCESS\x10\x05\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_FAILURE\x10\x06\x12$\n DEPLOYMENT_STATUS_INTERNAL_ERROR\x10\x07\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_TIMEOUT\x10\x08\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_CANCELLED\x10\t\x12\x1d\n\x19\x44\x45PLOYMENT_STATUS_EXPIRED\x10\n\x12!\n\x1d\x44\x45PLOYMENT_STATUS_BOOT_ERRORS\x10\x0b\x12%\n!DEPLOYMENT_STATUS_AWAITING_SOURCE\x10\x0c\x12\x1f\n\x1b\x44\x45PLOYMENT_STATUS_DEPLOYING\x10\r*\x8e\x01\n\x17\x44\x65ploymentProfilingMode\x12)\n%DEPLOYMENT_PROFILING_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x44\x45PLOYMENT_PROFILING_MODE_NONE\x10\x01\x12 \n\x1c\x44\x45PLOYMENT_PROFILING_MODE_O2\x10\x02\x1a\x02\x18\x01\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0f\x44\x65ploymentProtoP\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'
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
@@ -35,10 +35,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
35
35
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_options = b"8\001"
|
|
36
36
|
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._options = None
|
|
37
37
|
_globals["_DEPLOYMENT"].fields_by_name["profiling_mode"]._serialized_options = b"\030\001"
|
|
38
|
-
_globals["_DEPLOYMENTSTATUS"]._serialized_start =
|
|
39
|
-
_globals["_DEPLOYMENTSTATUS"]._serialized_end =
|
|
40
|
-
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start =
|
|
41
|
-
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end =
|
|
38
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_start = 2725
|
|
39
|
+
_globals["_DEPLOYMENTSTATUS"]._serialized_end = 3203
|
|
40
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_start = 3206
|
|
41
|
+
_globals["_DEPLOYMENTPROFILINGMODE"]._serialized_end = 3348
|
|
42
42
|
_globals["_INSTANCESIZING"]._serialized_start = 122
|
|
43
43
|
_globals["_INSTANCESIZING"]._serialized_end = 258
|
|
44
44
|
_globals["_SOURCEIMAGESPEC"]._serialized_start = 261
|
|
@@ -48,5 +48,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
48
48
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_start = 515
|
|
49
49
|
_globals["_SOURCEIMAGESPECS_SPECSENTRY"]._serialized_end = 605
|
|
50
50
|
_globals["_DEPLOYMENT"]._serialized_start = 608
|
|
51
|
-
_globals["_DEPLOYMENT"]._serialized_end =
|
|
51
|
+
_globals["_DEPLOYMENT"]._serialized_end = 2722
|
|
52
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -130,6 +130,11 @@ class Deployment(_message.Message):
|
|
|
130
130
|
"source_image_specs",
|
|
131
131
|
"uses_uploaded_proto_graph",
|
|
132
132
|
"build_profile",
|
|
133
|
+
"customer_cicd_job_url",
|
|
134
|
+
"customer_metadata",
|
|
135
|
+
"customer_vcs_url",
|
|
136
|
+
"display_description",
|
|
137
|
+
"git_commit_message",
|
|
133
138
|
)
|
|
134
139
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
135
140
|
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -162,6 +167,11 @@ class Deployment(_message.Message):
|
|
|
162
167
|
SOURCE_IMAGE_SPECS_FIELD_NUMBER: _ClassVar[int]
|
|
163
168
|
USES_UPLOADED_PROTO_GRAPH_FIELD_NUMBER: _ClassVar[int]
|
|
164
169
|
BUILD_PROFILE_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
CUSTOMER_CICD_JOB_URL_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
+
CUSTOMER_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
CUSTOMER_VCS_URL_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
+
DISPLAY_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
GIT_COMMIT_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
165
175
|
id: str
|
|
166
176
|
environment_id: str
|
|
167
177
|
status: DeploymentStatus
|
|
@@ -193,6 +203,11 @@ class Deployment(_message.Message):
|
|
|
193
203
|
source_image_specs: bytes
|
|
194
204
|
uses_uploaded_proto_graph: bool
|
|
195
205
|
build_profile: _environment_pb2.DeploymentBuildProfile
|
|
206
|
+
customer_cicd_job_url: str
|
|
207
|
+
customer_metadata: str
|
|
208
|
+
customer_vcs_url: str
|
|
209
|
+
display_description: str
|
|
210
|
+
git_commit_message: str
|
|
196
211
|
def __init__(
|
|
197
212
|
self,
|
|
198
213
|
id: _Optional[str] = ...,
|
|
@@ -226,4 +241,9 @@ class Deployment(_message.Message):
|
|
|
226
241
|
source_image_specs: _Optional[bytes] = ...,
|
|
227
242
|
uses_uploaded_proto_graph: bool = ...,
|
|
228
243
|
build_profile: _Optional[_Union[_environment_pb2.DeploymentBuildProfile, str]] = ...,
|
|
244
|
+
customer_cicd_job_url: _Optional[str] = ...,
|
|
245
|
+
customer_metadata: _Optional[str] = ...,
|
|
246
|
+
customer_vcs_url: _Optional[str] = ...,
|
|
247
|
+
display_description: _Optional[str] = ...,
|
|
248
|
+
git_commit_message: _Optional[str] = ...,
|
|
229
249
|
) -> None: ...
|
|
@@ -18,7 +18,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
21
|
-
b'\n\x1e\x63halk/server/v1/eventbus.proto\x12\x0f\x63halk.server.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xdd\x02\n\x10\x45ventBusEnvelope\x12\x19\n\x08\x65vent_id\x18\x01 \x01(\tR\x07\x65ventId\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\x07message\x18\x04 \x01(\x0b\x32 .chalk.server.v1.EventBusMessageR\x07message\x12Q\n\nattributes\x18\x05 \x03(\x0b\x32\x31.chalk.server.v1.EventBusEnvelope.AttributesEntryR\nattributes\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"b\n\x0f\x45ventBusMessage\x12\x44\n\rwebhook_event\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.WebhookEventH\x00R\x0cwebhookEventB\t\n\x07payload"\
|
|
21
|
+
b'\n\x1e\x63halk/server/v1/eventbus.proto\x12\x0f\x63halk.server.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xdd\x02\n\x10\x45ventBusEnvelope\x12\x19\n\x08\x65vent_id\x18\x01 \x01(\tR\x07\x65ventId\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\x07message\x18\x04 \x01(\x0b\x32 .chalk.server.v1.EventBusMessageR\x07message\x12Q\n\nattributes\x18\x05 \x03(\x0b\x32\x31.chalk.server.v1.EventBusEnvelope.AttributesEntryR\nattributes\x1a=\n\x0f\x41ttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01"b\n\x0f\x45ventBusMessage\x12\x44\n\rwebhook_event\x18\x01 \x01(\x0b\x32\x1d.chalk.server.v1.WebhookEventH\x00R\x0cwebhookEventB\t\n\x07payload"\x8f\x02\n\x0cWebhookEvent\x12!\n\nwebhook_id\x18\x01 \x01(\tB\x02\x18\x01R\twebhookId\x12"\n\x0csubscription\x18\x02 \x01(\tR\x0csubscription\x12\x31\n\x07payload\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x07payload\x12\x43\n\x0f\x65vent_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0e\x65ventTimestamp\x12,\n\x0fidempotency_key\x18\x05 \x01(\tH\x00R\x0eidempotencyKey\x88\x01\x01\x42\x12\n\x10_idempotency_keyB\x96\x01\n\x13\x63om.chalk.server.v1B\rEventbusProtoP\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'
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
@@ -31,6 +31,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
31
31
|
]._serialized_options = b"\n\023com.chalk.server.v1B\rEventbusProtoP\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"
|
|
32
32
|
_globals["_EVENTBUSENVELOPE_ATTRIBUTESENTRY"]._options = None
|
|
33
33
|
_globals["_EVENTBUSENVELOPE_ATTRIBUTESENTRY"]._serialized_options = b"8\001"
|
|
34
|
+
_globals["_WEBHOOKEVENT"].fields_by_name["webhook_id"]._options = None
|
|
35
|
+
_globals["_WEBHOOKEVENT"].fields_by_name["webhook_id"]._serialized_options = b"\030\001"
|
|
34
36
|
_globals["_EVENTBUSENVELOPE"]._serialized_start = 115
|
|
35
37
|
_globals["_EVENTBUSENVELOPE"]._serialized_end = 464
|
|
36
38
|
_globals["_EVENTBUSENVELOPE_ATTRIBUTESENTRY"]._serialized_start = 403
|
|
@@ -38,5 +40,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
38
40
|
_globals["_EVENTBUSMESSAGE"]._serialized_start = 466
|
|
39
41
|
_globals["_EVENTBUSMESSAGE"]._serialized_end = 564
|
|
40
42
|
_globals["_WEBHOOKEVENT"]._serialized_start = 567
|
|
41
|
-
_globals["_WEBHOOKEVENT"]._serialized_end =
|
|
43
|
+
_globals["_WEBHOOKEVENT"]._serialized_end = 838
|
|
42
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -21,7 +21,7 @@ from chalk._gen.chalk.graph.v1 import graph_pb2 as chalk_dot_graph_dot_v1_dot_gr
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
24
|
-
b'\n\x1b\x63halk/server/v1/graph.proto\x12\x0f\x63halk.server.v1\x1a\x1a\x63halk/arrow/v1/arrow.proto\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto"\xd8\x04\n\nFeatureSQL\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12(\n\rdeployment_id\x18\x03 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x10\n\x03\x66qn\x18\x04 \x01(\tR\x03\x66qn\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x06 \x01(\tR\tnamespace\x12(\n\rmax_staleness\x18\x07 \x01(\tH\x01R\x0cmaxStaleness\x88\x01\x01\x12\x31\n\x15\x65tl_offline_to_online\x18\x08 \x01(\x08R\x12\x65tlOfflineToOnline\x12%\n\x0b\x64\x65scription\x18\t \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x19\n\x05owner\x18\n \x01(\tH\x03R\x05owner\x88\x01\x01\x12\x12\n\x04tags\x18\x0b \x03(\tR\x04tags\x12\x1b\n\tkind_enum\x18\x0c \x01(\tR\x08kindEnum\x12\x12\n\x04kind\x18\r \x01(\tR\x04kind\x12\x1b\n\twas_reset\x18\x0e \x01(\x08R\x08wasReset\x12.\n\x10internal_version\x18\x0f \x01(\x03H\x04R\x0finternalVersion\x88\x01\x01\x12!\n\x0cis_singleton\x18\x10 \x01(\x08R\x0bisSingletonB\x10\n\x0e_deployment_idB\x10\n\x0e_max_stalenessB\x0e\n\x0c_descriptionB\x08\n\x06_ownerB\x13\n\x11_internal_version"P\n\x15GetFeatureSQLResponse\x12\x37\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.FeatureSQLR\x08\x66\x65\x61tures";\n\x14GetFeatureSQLRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"\x86\x03\n\x0f\x46\x65\x61tureMetadata\x12\x10\n\x03\x66qn\x18\x01 \x01(\tR\x03\x66qn\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x03 \x01(\tR\tnamespace\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x19\n\x05owner\x18\x05 \x01(\tH\x01R\x05owner\x88\x01\x01\x12\x12\n\x04tags\x18\x06 \x03(\tR\x04tags\x12(\n\rmax_staleness\x18\x07 \x01(\tH\x02R\x0cmaxStaleness\x88\x01\x01\x12\x31\n\x15\x65tl_offline_to_online\x18\x08 \x01(\x08R\x12\x65tlOfflineToOnline\x12\x34\n\x08pa_dtype\x18\t \x01(\x0b\x32\x19.chalk.arrow.v1.ArrowTypeR\x07paDtype\x12\x1a\n\x08nullable\x18\n \x01(\x08R\x08nullableB\x0e\n\x0c_descriptionB\x08\n\x06_ownerB\x10\n\x0e_max_staleness"\xa7\x01\n\x1bGetFeaturesMetadataResponse\x12<\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32 .chalk.server.v1.FeatureMetadataR\x08\x66\x65\x61tures\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x03 \x01(\tR\x0c\x64\x65ploymentId"=\n\x1aGetFeaturesMetadataRequest\x12\x1f\n\x0b\x66qns_filter\x18\x01 \x03(\tR\nfqnsFilter"\xe6\x01\n\x12UpdateGraphRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12/\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01R\x05graph\x12\'\n\x0f\x63halkpy_version\x18\x03 \x01(\tR\x0e\x63halkpyVersion\x12\x15\n\x03tag\x18\x04 \x01(\tH\x00R\x03tag\x88\x01\x01\x12\x32\n\x06\x65xport\x18\x05 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xportB\x06\n\x04_tag"\x15\n\x13UpdateGraphResponse"6\n\x0fGetGraphRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"\xe4\x01\n\x10GetGraphResponse\x12/\n\x05graph\x18\x01 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01R\x05graph\x12\'\n\x0f\x63halkpy_version\x18\x02 \x01(\tR\x0e\x63halkpyVersion\x12\x15\n\x03tag\x18\x03 \x01(\tH\x00R\x03tag\x88\x01\x01\x12\x32\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xport\x12#\n\rdeployment_id\x18\x05 \x01(\tR\x0c\x64\x65ploymentIdB\x06\n\x04_tag"Q\n\rPythonVersion\x12\x14\n\x05major\x18\x01 \x01(\x03R\x05major\x12\x14\n\x05minor\x18\x02 \x01(\x03R\x05minor\x12\x14\n\x05patch\x18\x03 \x01(\x03R\x05patch"\xe7\x01\n"GetCodegenFeaturesFromGraphRequest\x12(\n\rdeployment_id\x18\x01 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x1b\n\x06\x62ranch\x18\x02 \x01(\tH\x01R\x06\x62ranch\x88\x01\x01\x12J\n\x0epython_version\x18\x03 \x01(\x0b\x32\x1e.chalk.server.v1.PythonVersionH\x02R\rpythonVersion\x88\x01\x01\x42\x10\n\x0e_deployment_idB\t\n\x07_branchB\x11\n\x0f_python_version"t\n#GetCodegenFeaturesFromGraphResponse\x12\x18\n\x07\x63odegen\x18\x01 \x01(\tR\x07\x63odegen\x12\x33\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\
|
|
24
|
+
b'\n\x1b\x63halk/server/v1/graph.proto\x12\x0f\x63halk.server.v1\x1a\x1a\x63halk/arrow/v1/arrow.proto\x1a\x1f\x63halk/artifacts/v1/export.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a!chalk/common/v1/chalk_error.proto\x1a\x1a\x63halk/graph/v1/graph.proto"\xd8\x04\n\nFeatureSQL\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12(\n\rdeployment_id\x18\x03 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x10\n\x03\x66qn\x18\x04 \x01(\tR\x03\x66qn\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x06 \x01(\tR\tnamespace\x12(\n\rmax_staleness\x18\x07 \x01(\tH\x01R\x0cmaxStaleness\x88\x01\x01\x12\x31\n\x15\x65tl_offline_to_online\x18\x08 \x01(\x08R\x12\x65tlOfflineToOnline\x12%\n\x0b\x64\x65scription\x18\t \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x19\n\x05owner\x18\n \x01(\tH\x03R\x05owner\x88\x01\x01\x12\x12\n\x04tags\x18\x0b \x03(\tR\x04tags\x12\x1b\n\tkind_enum\x18\x0c \x01(\tR\x08kindEnum\x12\x12\n\x04kind\x18\r \x01(\tR\x04kind\x12\x1b\n\twas_reset\x18\x0e \x01(\x08R\x08wasReset\x12.\n\x10internal_version\x18\x0f \x01(\x03H\x04R\x0finternalVersion\x88\x01\x01\x12!\n\x0cis_singleton\x18\x10 \x01(\x08R\x0bisSingletonB\x10\n\x0e_deployment_idB\x10\n\x0e_max_stalenessB\x0e\n\x0c_descriptionB\x08\n\x06_ownerB\x13\n\x11_internal_version"P\n\x15GetFeatureSQLResponse\x12\x37\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x1b.chalk.server.v1.FeatureSQLR\x08\x66\x65\x61tures";\n\x14GetFeatureSQLRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"\x86\x03\n\x0f\x46\x65\x61tureMetadata\x12\x10\n\x03\x66qn\x18\x01 \x01(\tR\x03\x66qn\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x03 \x01(\tR\tnamespace\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x19\n\x05owner\x18\x05 \x01(\tH\x01R\x05owner\x88\x01\x01\x12\x12\n\x04tags\x18\x06 \x03(\tR\x04tags\x12(\n\rmax_staleness\x18\x07 \x01(\tH\x02R\x0cmaxStaleness\x88\x01\x01\x12\x31\n\x15\x65tl_offline_to_online\x18\x08 \x01(\x08R\x12\x65tlOfflineToOnline\x12\x34\n\x08pa_dtype\x18\t \x01(\x0b\x32\x19.chalk.arrow.v1.ArrowTypeR\x07paDtype\x12\x1a\n\x08nullable\x18\n \x01(\x08R\x08nullableB\x0e\n\x0c_descriptionB\x08\n\x06_ownerB\x10\n\x0e_max_staleness"\xa7\x01\n\x1bGetFeaturesMetadataResponse\x12<\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32 .chalk.server.v1.FeatureMetadataR\x08\x66\x65\x61tures\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x03 \x01(\tR\x0c\x64\x65ploymentId"=\n\x1aGetFeaturesMetadataRequest\x12\x1f\n\x0b\x66qns_filter\x18\x01 \x03(\tR\nfqnsFilter"\xe6\x01\n\x12UpdateGraphRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12/\n\x05graph\x18\x02 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01R\x05graph\x12\'\n\x0f\x63halkpy_version\x18\x03 \x01(\tR\x0e\x63halkpyVersion\x12\x15\n\x03tag\x18\x04 \x01(\tH\x00R\x03tag\x88\x01\x01\x12\x32\n\x06\x65xport\x18\x05 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xportB\x06\n\x04_tag"\x15\n\x13UpdateGraphResponse"6\n\x0fGetGraphRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId"\xe4\x01\n\x10GetGraphResponse\x12/\n\x05graph\x18\x01 \x01(\x0b\x32\x15.chalk.graph.v1.GraphB\x02\x18\x01R\x05graph\x12\'\n\x0f\x63halkpy_version\x18\x02 \x01(\tR\x0e\x63halkpyVersion\x12\x15\n\x03tag\x18\x03 \x01(\tH\x00R\x03tag\x88\x01\x01\x12\x32\n\x06\x65xport\x18\x04 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xport\x12#\n\rdeployment_id\x18\x05 \x01(\tR\x0c\x64\x65ploymentIdB\x06\n\x04_tag"Q\n\rPythonVersion\x12\x14\n\x05major\x18\x01 \x01(\x03R\x05major\x12\x14\n\x05minor\x18\x02 \x01(\x03R\x05minor\x12\x14\n\x05patch\x18\x03 \x01(\x03R\x05patch"\xe7\x01\n"GetCodegenFeaturesFromGraphRequest\x12(\n\rdeployment_id\x18\x01 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x1b\n\x06\x62ranch\x18\x02 \x01(\tH\x01R\x06\x62ranch\x88\x01\x01\x12J\n\x0epython_version\x18\x03 \x01(\x0b\x32\x1e.chalk.server.v1.PythonVersionH\x02R\rpythonVersion\x88\x01\x01\x42\x10\n\x0e_deployment_idB\t\n\x07_branchB\x11\n\x0f_python_version"t\n#GetCodegenFeaturesFromGraphResponse\x12\x18\n\x07\x63odegen\x18\x01 \x01(\tR\x07\x63odegen\x12\x33\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors"\xe7\x07\n\rGraphMutation\x12]\n\x16\x61\x64\x64_streaming_resolver\x18\x01 \x01(\x0b\x32%.chalk.server.v1.AddStreamingResolverH\x00R\x14\x61\x64\x64StreamingResolver\x12\x66\n\x19update_streaming_resolver\x18\x02 \x01(\x0b\x32(.chalk.server.v1.UpdateStreamingResolverH\x00R\x17updateStreamingResolver\x12\x66\n\x19\x64\x65lete_streaming_resolver\x18\x03 \x01(\x0b\x32(.chalk.server.v1.DeleteStreamingResolverH\x00R\x17\x64\x65leteStreamingResolver\x12>\n\x0b\x61\x64\x64_feature\x18\x04 \x01(\x0b\x32\x1b.chalk.server.v1.AddFeatureH\x00R\naddFeature\x12G\n\x0eupdate_feature\x18\x05 \x01(\x0b\x32\x1e.chalk.server.v1.UpdateFeatureH\x00R\rupdateFeature\x12G\n\x0e\x64\x65lete_feature\x18\x06 \x01(\x0b\x32\x1e.chalk.server.v1.DeleteFeatureH\x00R\rdeleteFeature\x12H\n\x0f\x61\x64\x64_feature_set\x18\x07 \x01(\x0b\x32\x1e.chalk.server.v1.AddFeatureSetH\x00R\raddFeatureSet\x12Q\n\x12update_feature_set\x18\x08 \x01(\x0b\x32!.chalk.server.v1.UpdateFeatureSetH\x00R\x10updateFeatureSet\x12Q\n\x12\x64\x65lete_feature_set\x18\t \x01(\x0b\x32!.chalk.server.v1.DeleteFeatureSetH\x00R\x10\x64\x65leteFeatureSet\x12\x41\n\x0c\x61\x64\x64_resolver\x18\n \x01(\x0b\x32\x1c.chalk.server.v1.AddResolverH\x00R\x0b\x61\x64\x64Resolver\x12J\n\x0fupdate_resolver\x18\x0b \x01(\x0b\x32\x1f.chalk.server.v1.UpdateResolverH\x00R\x0eupdateResolver\x12J\n\x0f\x64\x65lete_resolver\x18\x0c \x01(\x0b\x32\x1f.chalk.server.v1.DeleteResolverH\x00R\x0e\x64\x65leteResolverB\n\n\x08mutation"R\n\x14\x41\x64\x64StreamingResolver\x12:\n\x08resolver\x18\x01 \x01(\x0b\x32\x1e.chalk.graph.v1.StreamResolverR\x08resolver"z\n\x17UpdateStreamingResolver\x12#\n\rresolver_name\x18\x01 \x01(\tR\x0cresolverName\x12:\n\x08resolver\x18\x02 \x01(\x0b\x32\x1e.chalk.graph.v1.StreamResolverR\x08resolver">\n\x17\x44\x65leteStreamingResolver\x12#\n\rresolver_name\x18\x01 \x01(\tR\x0cresolverName"C\n\x0b\x41\x64\x64Resolver\x12\x34\n\x08resolver\x18\x01 \x01(\x0b\x32\x18.chalk.graph.v1.ResolverR\x08resolver"k\n\x0eUpdateResolver\x12#\n\rresolver_name\x18\x01 \x01(\tR\x0cresolverName\x12\x34\n\x08resolver\x18\x02 \x01(\x0b\x32\x18.chalk.graph.v1.ResolverR\x08resolver"5\n\x0e\x44\x65leteResolver\x12#\n\rresolver_name\x18\x01 \x01(\tR\x0cresolverName"m\n\nAddFeature\x12(\n\x10\x66\x65\x61ture_set_name\x18\x01 \x01(\tR\x0e\x66\x65\x61tureSetName\x12\x35\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x1b.chalk.graph.v1.FeatureTypeR\x07\x66\x65\x61ture"X\n\rUpdateFeature\x12\x10\n\x03\x66qn\x18\x01 \x01(\tR\x03\x66qn\x12\x35\n\x07\x66\x65\x61ture\x18\x02 \x01(\x0b\x32\x1b.chalk.graph.v1.FeatureTypeR\x07\x66\x65\x61ture"!\n\rDeleteFeature\x12\x10\n\x03\x66qn\x18\x01 \x01(\tR\x03\x66qn"L\n\rAddFeatureSet\x12;\n\x0b\x66\x65\x61ture_set\x18\x01 \x01(\x0b\x32\x1a.chalk.graph.v1.FeatureSetR\nfeatureSet"y\n\x10UpdateFeatureSet\x12(\n\x10\x66\x65\x61ture_set_name\x18\x01 \x01(\tR\x0e\x66\x65\x61tureSetName\x12;\n\x0b\x66\x65\x61ture_set\x18\x02 \x01(\x0b\x32\x1a.chalk.graph.v1.FeatureSetR\nfeatureSet"<\n\x10\x44\x65leteFeatureSet\x12(\n\x10\x66\x65\x61ture_set_name\x18\x01 \x01(\tR\x0e\x66\x65\x61tureSetName"}\n\x18\x41pplyGraphUpdatesRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12<\n\tmutations\x18\x02 \x03(\x0b\x32\x1e.chalk.server.v1.GraphMutationR\tmutations"\x1b\n\x19\x41pplyGraphUpdatesResponse"~\n\x19TestGraphMutationsRequest\x12#\n\rdeployment_id\x18\x01 \x01(\tR\x0c\x64\x65ploymentId\x12<\n\tmutations\x18\x02 \x03(\x0b\x32\x1e.chalk.server.v1.GraphMutationR\tmutations"\x85\x01\n\x1aTestGraphMutationsResponse\x12\x32\n\x06\x65xport\x18\x01 \x01(\x0b\x32\x1a.chalk.artifacts.v1.ExportR\x06\x65xport\x12\x33\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors2\xa3\x06\n\x0cGraphService\x12\x66\n\rGetFeatureSQL\x12%.chalk.server.v1.GetFeatureSQLRequest\x1a&.chalk.server.v1.GetFeatureSQLResponse"\x06\x90\x02\x01\x80}\x0b\x12x\n\x13GetFeaturesMetadata\x12+.chalk.server.v1.GetFeaturesMetadataRequest\x1a,.chalk.server.v1.GetFeaturesMetadataResponse"\x06\x90\x02\x01\x80}\x0b\x12W\n\x08GetGraph\x12 .chalk.server.v1.GetGraphRequest\x1a!.chalk.server.v1.GetGraphResponse"\x06\x90\x02\x01\x80}\x0b\x12]\n\x0bUpdateGraph\x12#.chalk.server.v1.UpdateGraphRequest\x1a$.chalk.server.v1.UpdateGraphResponse"\x03\x80}\x0c\x12\x90\x01\n\x1bGetCodegenFeaturesFromGraph\x12\x33.chalk.server.v1.GetCodegenFeaturesFromGraphRequest\x1a\x34.chalk.server.v1.GetCodegenFeaturesFromGraphResponse"\x06\x90\x02\x01\x80}\x0b\x12o\n\x11\x41pplyGraphUpdates\x12).chalk.server.v1.ApplyGraphUpdatesRequest\x1a*.chalk.server.v1.ApplyGraphUpdatesResponse"\x03\x80}\x0c\x12u\n\x12TestGraphMutations\x12*.chalk.server.v1.TestGraphMutationsRequest\x1a+.chalk.server.v1.TestGraphMutationsResponse"\x06\x90\x02\x01\x80}\x0b\x42\x93\x01\n\x13\x63om.chalk.server.v1B\nGraphProtoP\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'
|
|
25
25
|
)
|
|
26
26
|
|
|
27
27
|
_globals = globals()
|
|
@@ -50,6 +50,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
50
50
|
]._serialized_options = b"\220\002\001\200}\013"
|
|
51
51
|
_globals["_GRAPHSERVICE"].methods_by_name["ApplyGraphUpdates"]._options = None
|
|
52
52
|
_globals["_GRAPHSERVICE"].methods_by_name["ApplyGraphUpdates"]._serialized_options = b"\200}\014"
|
|
53
|
+
_globals["_GRAPHSERVICE"].methods_by_name["TestGraphMutations"]._options = None
|
|
54
|
+
_globals["_GRAPHSERVICE"].methods_by_name["TestGraphMutations"]._serialized_options = b"\220\002\001\200}\013"
|
|
53
55
|
_globals["_FEATURESQL"]._serialized_start = 206
|
|
54
56
|
_globals["_FEATURESQL"]._serialized_end = 806
|
|
55
57
|
_globals["_GETFEATURESQLRESPONSE"]._serialized_start = 808
|
|
@@ -77,29 +79,39 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
77
79
|
_globals["_GETCODEGENFEATURESFROMGRAPHRESPONSE"]._serialized_start = 2437
|
|
78
80
|
_globals["_GETCODEGENFEATURESFROMGRAPHRESPONSE"]._serialized_end = 2553
|
|
79
81
|
_globals["_GRAPHMUTATION"]._serialized_start = 2556
|
|
80
|
-
_globals["_GRAPHMUTATION"]._serialized_end =
|
|
81
|
-
_globals["_ADDSTREAMINGRESOLVER"]._serialized_start =
|
|
82
|
-
_globals["_ADDSTREAMINGRESOLVER"]._serialized_end =
|
|
83
|
-
_globals["_UPDATESTREAMINGRESOLVER"]._serialized_start =
|
|
84
|
-
_globals["_UPDATESTREAMINGRESOLVER"]._serialized_end =
|
|
85
|
-
_globals["_DELETESTREAMINGRESOLVER"]._serialized_start =
|
|
86
|
-
_globals["_DELETESTREAMINGRESOLVER"]._serialized_end =
|
|
87
|
-
_globals["
|
|
88
|
-
_globals["
|
|
89
|
-
_globals["
|
|
90
|
-
_globals["
|
|
91
|
-
_globals["
|
|
92
|
-
_globals["
|
|
93
|
-
_globals["
|
|
94
|
-
_globals["
|
|
95
|
-
_globals["
|
|
96
|
-
_globals["
|
|
97
|
-
_globals["
|
|
98
|
-
_globals["
|
|
99
|
-
_globals["
|
|
100
|
-
_globals["
|
|
101
|
-
_globals["
|
|
102
|
-
_globals["
|
|
103
|
-
_globals["
|
|
104
|
-
_globals["
|
|
82
|
+
_globals["_GRAPHMUTATION"]._serialized_end = 3555
|
|
83
|
+
_globals["_ADDSTREAMINGRESOLVER"]._serialized_start = 3557
|
|
84
|
+
_globals["_ADDSTREAMINGRESOLVER"]._serialized_end = 3639
|
|
85
|
+
_globals["_UPDATESTREAMINGRESOLVER"]._serialized_start = 3641
|
|
86
|
+
_globals["_UPDATESTREAMINGRESOLVER"]._serialized_end = 3763
|
|
87
|
+
_globals["_DELETESTREAMINGRESOLVER"]._serialized_start = 3765
|
|
88
|
+
_globals["_DELETESTREAMINGRESOLVER"]._serialized_end = 3827
|
|
89
|
+
_globals["_ADDRESOLVER"]._serialized_start = 3829
|
|
90
|
+
_globals["_ADDRESOLVER"]._serialized_end = 3896
|
|
91
|
+
_globals["_UPDATERESOLVER"]._serialized_start = 3898
|
|
92
|
+
_globals["_UPDATERESOLVER"]._serialized_end = 4005
|
|
93
|
+
_globals["_DELETERESOLVER"]._serialized_start = 4007
|
|
94
|
+
_globals["_DELETERESOLVER"]._serialized_end = 4060
|
|
95
|
+
_globals["_ADDFEATURE"]._serialized_start = 4062
|
|
96
|
+
_globals["_ADDFEATURE"]._serialized_end = 4171
|
|
97
|
+
_globals["_UPDATEFEATURE"]._serialized_start = 4173
|
|
98
|
+
_globals["_UPDATEFEATURE"]._serialized_end = 4261
|
|
99
|
+
_globals["_DELETEFEATURE"]._serialized_start = 4263
|
|
100
|
+
_globals["_DELETEFEATURE"]._serialized_end = 4296
|
|
101
|
+
_globals["_ADDFEATURESET"]._serialized_start = 4298
|
|
102
|
+
_globals["_ADDFEATURESET"]._serialized_end = 4374
|
|
103
|
+
_globals["_UPDATEFEATURESET"]._serialized_start = 4376
|
|
104
|
+
_globals["_UPDATEFEATURESET"]._serialized_end = 4497
|
|
105
|
+
_globals["_DELETEFEATURESET"]._serialized_start = 4499
|
|
106
|
+
_globals["_DELETEFEATURESET"]._serialized_end = 4559
|
|
107
|
+
_globals["_APPLYGRAPHUPDATESREQUEST"]._serialized_start = 4561
|
|
108
|
+
_globals["_APPLYGRAPHUPDATESREQUEST"]._serialized_end = 4686
|
|
109
|
+
_globals["_APPLYGRAPHUPDATESRESPONSE"]._serialized_start = 4688
|
|
110
|
+
_globals["_APPLYGRAPHUPDATESRESPONSE"]._serialized_end = 4715
|
|
111
|
+
_globals["_TESTGRAPHMUTATIONSREQUEST"]._serialized_start = 4717
|
|
112
|
+
_globals["_TESTGRAPHMUTATIONSREQUEST"]._serialized_end = 4843
|
|
113
|
+
_globals["_TESTGRAPHMUTATIONSRESPONSE"]._serialized_start = 4846
|
|
114
|
+
_globals["_TESTGRAPHMUTATIONSRESPONSE"]._serialized_end = 4979
|
|
115
|
+
_globals["_GRAPHSERVICE"]._serialized_start = 4982
|
|
116
|
+
_globals["_GRAPHSERVICE"]._serialized_end = 5785
|
|
105
117
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -269,6 +269,9 @@ class GraphMutation(_message.Message):
|
|
|
269
269
|
"add_feature_set",
|
|
270
270
|
"update_feature_set",
|
|
271
271
|
"delete_feature_set",
|
|
272
|
+
"add_resolver",
|
|
273
|
+
"update_resolver",
|
|
274
|
+
"delete_resolver",
|
|
272
275
|
)
|
|
273
276
|
ADD_STREAMING_RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
274
277
|
UPDATE_STREAMING_RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -279,6 +282,9 @@ class GraphMutation(_message.Message):
|
|
|
279
282
|
ADD_FEATURE_SET_FIELD_NUMBER: _ClassVar[int]
|
|
280
283
|
UPDATE_FEATURE_SET_FIELD_NUMBER: _ClassVar[int]
|
|
281
284
|
DELETE_FEATURE_SET_FIELD_NUMBER: _ClassVar[int]
|
|
285
|
+
ADD_RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
286
|
+
UPDATE_RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
287
|
+
DELETE_RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
282
288
|
add_streaming_resolver: AddStreamingResolver
|
|
283
289
|
update_streaming_resolver: UpdateStreamingResolver
|
|
284
290
|
delete_streaming_resolver: DeleteStreamingResolver
|
|
@@ -288,6 +294,9 @@ class GraphMutation(_message.Message):
|
|
|
288
294
|
add_feature_set: AddFeatureSet
|
|
289
295
|
update_feature_set: UpdateFeatureSet
|
|
290
296
|
delete_feature_set: DeleteFeatureSet
|
|
297
|
+
add_resolver: AddResolver
|
|
298
|
+
update_resolver: UpdateResolver
|
|
299
|
+
delete_resolver: DeleteResolver
|
|
291
300
|
def __init__(
|
|
292
301
|
self,
|
|
293
302
|
add_streaming_resolver: _Optional[_Union[AddStreamingResolver, _Mapping]] = ...,
|
|
@@ -299,6 +308,9 @@ class GraphMutation(_message.Message):
|
|
|
299
308
|
add_feature_set: _Optional[_Union[AddFeatureSet, _Mapping]] = ...,
|
|
300
309
|
update_feature_set: _Optional[_Union[UpdateFeatureSet, _Mapping]] = ...,
|
|
301
310
|
delete_feature_set: _Optional[_Union[DeleteFeatureSet, _Mapping]] = ...,
|
|
311
|
+
add_resolver: _Optional[_Union[AddResolver, _Mapping]] = ...,
|
|
312
|
+
update_resolver: _Optional[_Union[UpdateResolver, _Mapping]] = ...,
|
|
313
|
+
delete_resolver: _Optional[_Union[DeleteResolver, _Mapping]] = ...,
|
|
302
314
|
) -> None: ...
|
|
303
315
|
|
|
304
316
|
class AddStreamingResolver(_message.Message):
|
|
@@ -325,6 +337,28 @@ class DeleteStreamingResolver(_message.Message):
|
|
|
325
337
|
resolver_name: str
|
|
326
338
|
def __init__(self, resolver_name: _Optional[str] = ...) -> None: ...
|
|
327
339
|
|
|
340
|
+
class AddResolver(_message.Message):
|
|
341
|
+
__slots__ = ("resolver",)
|
|
342
|
+
RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
343
|
+
resolver: _graph_pb2.Resolver
|
|
344
|
+
def __init__(self, resolver: _Optional[_Union[_graph_pb2.Resolver, _Mapping]] = ...) -> None: ...
|
|
345
|
+
|
|
346
|
+
class UpdateResolver(_message.Message):
|
|
347
|
+
__slots__ = ("resolver_name", "resolver")
|
|
348
|
+
RESOLVER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
349
|
+
RESOLVER_FIELD_NUMBER: _ClassVar[int]
|
|
350
|
+
resolver_name: str
|
|
351
|
+
resolver: _graph_pb2.Resolver
|
|
352
|
+
def __init__(
|
|
353
|
+
self, resolver_name: _Optional[str] = ..., resolver: _Optional[_Union[_graph_pb2.Resolver, _Mapping]] = ...
|
|
354
|
+
) -> None: ...
|
|
355
|
+
|
|
356
|
+
class DeleteResolver(_message.Message):
|
|
357
|
+
__slots__ = ("resolver_name",)
|
|
358
|
+
RESOLVER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
359
|
+
resolver_name: str
|
|
360
|
+
def __init__(self, resolver_name: _Optional[str] = ...) -> None: ...
|
|
361
|
+
|
|
328
362
|
class AddFeature(_message.Message):
|
|
329
363
|
__slots__ = ("feature_set_name", "feature")
|
|
330
364
|
FEATURE_SET_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -390,3 +424,27 @@ class ApplyGraphUpdatesRequest(_message.Message):
|
|
|
390
424
|
class ApplyGraphUpdatesResponse(_message.Message):
|
|
391
425
|
__slots__ = ()
|
|
392
426
|
def __init__(self) -> None: ...
|
|
427
|
+
|
|
428
|
+
class TestGraphMutationsRequest(_message.Message):
|
|
429
|
+
__slots__ = ("deployment_id", "mutations")
|
|
430
|
+
DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
431
|
+
MUTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
432
|
+
deployment_id: str
|
|
433
|
+
mutations: _containers.RepeatedCompositeFieldContainer[GraphMutation]
|
|
434
|
+
def __init__(
|
|
435
|
+
self,
|
|
436
|
+
deployment_id: _Optional[str] = ...,
|
|
437
|
+
mutations: _Optional[_Iterable[_Union[GraphMutation, _Mapping]]] = ...,
|
|
438
|
+
) -> None: ...
|
|
439
|
+
|
|
440
|
+
class TestGraphMutationsResponse(_message.Message):
|
|
441
|
+
__slots__ = ("export", "errors")
|
|
442
|
+
EXPORT_FIELD_NUMBER: _ClassVar[int]
|
|
443
|
+
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
444
|
+
export: _export_pb2.Export
|
|
445
|
+
errors: _containers.RepeatedCompositeFieldContainer[_chalk_error_pb2.ChalkError]
|
|
446
|
+
def __init__(
|
|
447
|
+
self,
|
|
448
|
+
export: _Optional[_Union[_export_pb2.Export, _Mapping]] = ...,
|
|
449
|
+
errors: _Optional[_Iterable[_Union[_chalk_error_pb2.ChalkError, _Mapping]]] = ...,
|
|
450
|
+
) -> None: ...
|
|
@@ -45,6 +45,11 @@ class GraphServiceStub(object):
|
|
|
45
45
|
request_serializer=chalk_dot_server_dot_v1_dot_graph__pb2.ApplyGraphUpdatesRequest.SerializeToString,
|
|
46
46
|
response_deserializer=chalk_dot_server_dot_v1_dot_graph__pb2.ApplyGraphUpdatesResponse.FromString,
|
|
47
47
|
)
|
|
48
|
+
self.TestGraphMutations = channel.unary_unary(
|
|
49
|
+
"/chalk.server.v1.GraphService/TestGraphMutations",
|
|
50
|
+
request_serializer=chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsRequest.SerializeToString,
|
|
51
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsResponse.FromString,
|
|
52
|
+
)
|
|
48
53
|
|
|
49
54
|
|
|
50
55
|
class GraphServiceServicer(object):
|
|
@@ -86,6 +91,14 @@ class GraphServiceServicer(object):
|
|
|
86
91
|
context.set_details("Method not implemented!")
|
|
87
92
|
raise NotImplementedError("Method not implemented!")
|
|
88
93
|
|
|
94
|
+
def TestGraphMutations(self, request, context):
|
|
95
|
+
"""TestGraphMutations applies a series of mutations to a deployment's graph without persisting state
|
|
96
|
+
This allows testing graph updates before actually applying them
|
|
97
|
+
"""
|
|
98
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
99
|
+
context.set_details("Method not implemented!")
|
|
100
|
+
raise NotImplementedError("Method not implemented!")
|
|
101
|
+
|
|
89
102
|
|
|
90
103
|
def add_GraphServiceServicer_to_server(servicer, server):
|
|
91
104
|
rpc_method_handlers = {
|
|
@@ -119,6 +132,11 @@ def add_GraphServiceServicer_to_server(servicer, server):
|
|
|
119
132
|
request_deserializer=chalk_dot_server_dot_v1_dot_graph__pb2.ApplyGraphUpdatesRequest.FromString,
|
|
120
133
|
response_serializer=chalk_dot_server_dot_v1_dot_graph__pb2.ApplyGraphUpdatesResponse.SerializeToString,
|
|
121
134
|
),
|
|
135
|
+
"TestGraphMutations": grpc.unary_unary_rpc_method_handler(
|
|
136
|
+
servicer.TestGraphMutations,
|
|
137
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsRequest.FromString,
|
|
138
|
+
response_serializer=chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsResponse.SerializeToString,
|
|
139
|
+
),
|
|
122
140
|
}
|
|
123
141
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.GraphService", rpc_method_handlers)
|
|
124
142
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -301,3 +319,32 @@ class GraphService(object):
|
|
|
301
319
|
timeout,
|
|
302
320
|
metadata,
|
|
303
321
|
)
|
|
322
|
+
|
|
323
|
+
@staticmethod
|
|
324
|
+
def TestGraphMutations(
|
|
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.GraphService/TestGraphMutations",
|
|
340
|
+
chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsRequest.SerializeToString,
|
|
341
|
+
chalk_dot_server_dot_v1_dot_graph__pb2.TestGraphMutationsResponse.FromString,
|
|
342
|
+
options,
|
|
343
|
+
channel_credentials,
|
|
344
|
+
insecure,
|
|
345
|
+
call_credentials,
|
|
346
|
+
compression,
|
|
347
|
+
wait_for_ready,
|
|
348
|
+
timeout,
|
|
349
|
+
metadata,
|
|
350
|
+
)
|
|
@@ -18,6 +18,8 @@ from chalk._gen.chalk.server.v1.graph_pb2 import (
|
|
|
18
18
|
GetFeaturesMetadataResponse,
|
|
19
19
|
GetGraphRequest,
|
|
20
20
|
GetGraphResponse,
|
|
21
|
+
TestGraphMutationsRequest,
|
|
22
|
+
TestGraphMutationsResponse,
|
|
21
23
|
UpdateGraphRequest,
|
|
22
24
|
UpdateGraphResponse,
|
|
23
25
|
)
|
|
@@ -58,6 +60,13 @@ class GraphServiceStub:
|
|
|
58
60
|
ApplyGraphUpdatesResponse,
|
|
59
61
|
]
|
|
60
62
|
"""ApplyGraphUpdates applies a series of mutations to a deployment's graph"""
|
|
63
|
+
TestGraphMutations: UnaryUnaryMultiCallable[
|
|
64
|
+
TestGraphMutationsRequest,
|
|
65
|
+
TestGraphMutationsResponse,
|
|
66
|
+
]
|
|
67
|
+
"""TestGraphMutations applies a series of mutations to a deployment's graph without persisting state
|
|
68
|
+
This allows testing graph updates before actually applying them
|
|
69
|
+
"""
|
|
61
70
|
|
|
62
71
|
class GraphServiceServicer(metaclass=ABCMeta):
|
|
63
72
|
@abstractmethod
|
|
@@ -100,5 +109,14 @@ class GraphServiceServicer(metaclass=ABCMeta):
|
|
|
100
109
|
context: ServicerContext,
|
|
101
110
|
) -> ApplyGraphUpdatesResponse:
|
|
102
111
|
"""ApplyGraphUpdates applies a series of mutations to a deployment's graph"""
|
|
112
|
+
@abstractmethod
|
|
113
|
+
def TestGraphMutations(
|
|
114
|
+
self,
|
|
115
|
+
request: TestGraphMutationsRequest,
|
|
116
|
+
context: ServicerContext,
|
|
117
|
+
) -> TestGraphMutationsResponse:
|
|
118
|
+
"""TestGraphMutations applies a series of mutations to a deployment's graph without persisting state
|
|
119
|
+
This allows testing graph updates before actually applying them
|
|
120
|
+
"""
|
|
103
121
|
|
|
104
122
|
def add_GraphServiceServicer_to_server(servicer: GraphServiceServicer, server: Server) -> None: ...
|
|
@@ -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\x19\x63halk/server/v1/log.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a)chalk/chart/v1/densetimeserieschart.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf7\x04\n\x08LogEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x08severity\x18\x02 \x01(\tH\x00R\x08severity\x88\x01\x01\x12\x38\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x18\n\x07message\x18\x04 \x01(\tR\x07message\x12(\n\rfunction_name\x18\x05 \x01(\tH\x01R\x0c\x66unctionName\x88\x01\x01\x12&\n\x0coperation_id\x18\x06 \x01(\tH\x02R\x0boperationId\x88\x01\x01\x12$\n\x0blogger_name\x18\x07 \x01(\tH\x03R\nloggerName\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\x08 \x01(\tH\x04R\x07\x61gentId\x88\x01\x01\x12\x32\n\x12operation_producer\x18\t \x01(\tH\x05R\x11operationProducer\x88\x01\x01\x12)\n\x0eis_user_logger\x18\n \x01(\x08H\x06R\x0cisUserLogger\x88\x01\x01\x12=\n\x06labels\x18\x0b \x03(\x0b\x32%.chalk.server.v1.LogEntry.LabelsEntryR\x06labels\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_severityB\x10\n\x0e_function_nameB\x0f\n\r_operation_idB\x0e\n\x0c_logger_nameB\x0b\n\t_agent_idB\x15\n\x13_operation_producerB\x11\n\x0f_is_user_logger"C\n\x19SearchLogEntriesPageToken\x12&\n\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken"\x8f\x02\n\x17SearchLogEntriesRequest\x12\x19\n\x05query\x18\x01 \x01(\tH\x00R\x05query\x88\x01\x01\x12N\n\npage_token\x18\x02 \x01(\x0b\x32*.chalk.server.v1.SearchLogEntriesPageTokenH\x01R\tpageToken\x88\x01\x01\x12\x39\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTimeB\x08\n\x06_queryB\r\n\x0b_page_token"\xea\x01\n\x18SearchLogEntriesResponse\x12:\n\x0blog_entries\x18\x01 \x03(\x0b\x32\x19.chalk.server.v1.LogEntryR\nlogEntries\x12W\n\x0fnext_page_token\x18\x02 \x01(\x0b\x32*.chalk.server.v1.SearchLogEntriesPageTokenH\x00R\rnextPageToken\x88\x01\x01\x12%\n\x0elogging_client\x18\x03 \x01(\tR\rloggingClientB\x12\n\x10_next_page_token"\xfa\x01\n!SearchLogEntriesAggregatedRequest\x12\x19\n\x05query\x18\x01 \x01(\tH\x00R\x05query\x88\x01\x01\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12>\n\rwindow_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cwindowPeriodB\x08\n\x06_query"`\n"SearchLogEntriesAggregatedResponse\x12:\n\x05\x63hart\x18\x01 \x01(\x0b\x32$.chalk.chart.v1.DenseTimeSeriesChartR\x05\
|
|
23
|
+
b'\n\x19\x63halk/server/v1/log.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a)chalk/chart/v1/densetimeserieschart.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf7\x04\n\x08LogEntry\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x08severity\x18\x02 \x01(\tH\x00R\x08severity\x88\x01\x01\x12\x38\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x18\n\x07message\x18\x04 \x01(\tR\x07message\x12(\n\rfunction_name\x18\x05 \x01(\tH\x01R\x0c\x66unctionName\x88\x01\x01\x12&\n\x0coperation_id\x18\x06 \x01(\tH\x02R\x0boperationId\x88\x01\x01\x12$\n\x0blogger_name\x18\x07 \x01(\tH\x03R\nloggerName\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\x08 \x01(\tH\x04R\x07\x61gentId\x88\x01\x01\x12\x32\n\x12operation_producer\x18\t \x01(\tH\x05R\x11operationProducer\x88\x01\x01\x12)\n\x0eis_user_logger\x18\n \x01(\x08H\x06R\x0cisUserLogger\x88\x01\x01\x12=\n\x06labels\x18\x0b \x03(\x0b\x32%.chalk.server.v1.LogEntry.LabelsEntryR\x06labels\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_severityB\x10\n\x0e_function_nameB\x0f\n\r_operation_idB\x0e\n\x0c_logger_nameB\x0b\n\t_agent_idB\x15\n\x13_operation_producerB\x11\n\x0f_is_user_logger"C\n\x19SearchLogEntriesPageToken\x12&\n\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken"\x8f\x02\n\x17SearchLogEntriesRequest\x12\x19\n\x05query\x18\x01 \x01(\tH\x00R\x05query\x88\x01\x01\x12N\n\npage_token\x18\x02 \x01(\x0b\x32*.chalk.server.v1.SearchLogEntriesPageTokenH\x01R\tpageToken\x88\x01\x01\x12\x39\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTimeB\x08\n\x06_queryB\r\n\x0b_page_token"\xea\x01\n\x18SearchLogEntriesResponse\x12:\n\x0blog_entries\x18\x01 \x03(\x0b\x32\x19.chalk.server.v1.LogEntryR\nlogEntries\x12W\n\x0fnext_page_token\x18\x02 \x01(\x0b\x32*.chalk.server.v1.SearchLogEntriesPageTokenH\x00R\rnextPageToken\x88\x01\x01\x12%\n\x0elogging_client\x18\x03 \x01(\tR\rloggingClientB\x12\n\x10_next_page_token"\xfa\x01\n!SearchLogEntriesAggregatedRequest\x12\x19\n\x05query\x18\x01 \x01(\tH\x00R\x05query\x88\x01\x01\x12\x39\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartTime\x12\x35\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12>\n\rwindow_period\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cwindowPeriodB\x08\n\x06_query"`\n"SearchLogEntriesAggregatedResponse\x12:\n\x05\x63hart\x18\x01 \x01(\x0b\x32$.chalk.chart.v1.DenseTimeSeriesChartR\x05\x63hart"\x15\n\x13GetLogFacetsRequest"p\n\x08LogFacet\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12<\n\nfacet_type\x18\x03 \x01(\x0e\x32\x1d.chalk.server.v1.LogFacetTypeR\tfacetType"I\n\x14GetLogFacetsResponse\x12\x31\n\x06\x66\x61\x63\x65ts\x18\x01 \x03(\x0b\x32\x19.chalk.server.v1.LogFacetR\x06\x66\x61\x63\x65ts"\xeb\x01\n\x18GetLogFacetValuesRequest\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12>\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tstartTime\x88\x01\x01\x12:\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x07\x65ndTime\x88\x01\x01\x12\x19\n\x05limit\x18\x04 \x01(\x05H\x02R\x05limit\x88\x01\x01\x42\r\n\x0b_start_timeB\x0b\n\t_end_timeB\x08\n\x06_limit";\n\rLogFacetValue\x12\x14\n\x05value\x18\x01 \x01(\tR\x05value\x12\x14\n\x05\x63ount\x18\x02 \x01(\x03R\x05\x63ount"S\n\x19GetLogFacetValuesResponse\x12\x36\n\x06values\x18\x01 \x03(\x0b\x32\x1e.chalk.server.v1.LogFacetValueR\x06values*a\n\x0cLogFacetType\x12\x1e\n\x1aLOG_FACET_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13LOG_FACET_TYPE_LIST\x10\x01\x12\x18\n\x14LOG_FACET_TYPE_RANGE\x10\x02\x32\xec\x03\n\x10LogSearchService\x12o\n\x10SearchLogEntries\x12(.chalk.server.v1.SearchLogEntriesRequest\x1a).chalk.server.v1.SearchLogEntriesResponse"\x06\x90\x02\x01\x80}\x06\x12\x8d\x01\n\x1aSearchLogEntriesAggregated\x12\x32.chalk.server.v1.SearchLogEntriesAggregatedRequest\x1a\x33.chalk.server.v1.SearchLogEntriesAggregatedResponse"\x06\x90\x02\x01\x80}\x06\x12\x63\n\x0cGetLogFacets\x12$.chalk.server.v1.GetLogFacetsRequest\x1a%.chalk.server.v1.GetLogFacetsResponse"\x06\x90\x02\x01\x80}\x06\x12r\n\x11GetLogFacetValues\x12).chalk.server.v1.GetLogFacetValuesRequest\x1a*.chalk.server.v1.GetLogFacetValuesResponse"\x06\x90\x02\x01\x80}\x06\x42\x91\x01\n\x13\x63om.chalk.server.v1B\x08LogProtoP\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()
|
|
@@ -39,6 +39,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
39
39
|
_globals["_LOGSEARCHSERVICE"].methods_by_name[
|
|
40
40
|
"SearchLogEntriesAggregated"
|
|
41
41
|
]._serialized_options = b"\220\002\001\200}\006"
|
|
42
|
+
_globals["_LOGSEARCHSERVICE"].methods_by_name["GetLogFacets"]._options = None
|
|
43
|
+
_globals["_LOGSEARCHSERVICE"].methods_by_name["GetLogFacets"]._serialized_options = b"\220\002\001\200}\006"
|
|
44
|
+
_globals["_LOGSEARCHSERVICE"].methods_by_name["GetLogFacetValues"]._options = None
|
|
45
|
+
_globals["_LOGSEARCHSERVICE"].methods_by_name["GetLogFacetValues"]._serialized_options = b"\220\002\001\200}\006"
|
|
46
|
+
_globals["_LOGFACETTYPE"]._serialized_start = 2348
|
|
47
|
+
_globals["_LOGFACETTYPE"]._serialized_end = 2445
|
|
42
48
|
_globals["_LOGENTRY"]._serialized_start = 188
|
|
43
49
|
_globals["_LOGENTRY"]._serialized_end = 819
|
|
44
50
|
_globals["_LOGENTRY_LABELSENTRY"]._serialized_start = 643
|
|
@@ -53,6 +59,18 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
53
59
|
_globals["_SEARCHLOGENTRIESAGGREGATEDREQUEST"]._serialized_end = 1652
|
|
54
60
|
_globals["_SEARCHLOGENTRIESAGGREGATEDRESPONSE"]._serialized_start = 1654
|
|
55
61
|
_globals["_SEARCHLOGENTRIESAGGREGATEDRESPONSE"]._serialized_end = 1750
|
|
56
|
-
_globals["
|
|
57
|
-
_globals["
|
|
62
|
+
_globals["_GETLOGFACETSREQUEST"]._serialized_start = 1752
|
|
63
|
+
_globals["_GETLOGFACETSREQUEST"]._serialized_end = 1773
|
|
64
|
+
_globals["_LOGFACET"]._serialized_start = 1775
|
|
65
|
+
_globals["_LOGFACET"]._serialized_end = 1887
|
|
66
|
+
_globals["_GETLOGFACETSRESPONSE"]._serialized_start = 1889
|
|
67
|
+
_globals["_GETLOGFACETSRESPONSE"]._serialized_end = 1962
|
|
68
|
+
_globals["_GETLOGFACETVALUESREQUEST"]._serialized_start = 1965
|
|
69
|
+
_globals["_GETLOGFACETVALUESREQUEST"]._serialized_end = 2200
|
|
70
|
+
_globals["_LOGFACETVALUE"]._serialized_start = 2202
|
|
71
|
+
_globals["_LOGFACETVALUE"]._serialized_end = 2261
|
|
72
|
+
_globals["_GETLOGFACETVALUESRESPONSE"]._serialized_start = 2263
|
|
73
|
+
_globals["_GETLOGFACETVALUESRESPONSE"]._serialized_end = 2346
|
|
74
|
+
_globals["_LOGSEARCHSERVICE"]._serialized_start = 2448
|
|
75
|
+
_globals["_LOGSEARCHSERVICE"]._serialized_end = 2940
|
|
58
76
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -3,6 +3,7 @@ from chalk._gen.chalk.chart.v1 import densetimeserieschart_pb2 as _densetimeseri
|
|
|
3
3
|
from google.protobuf import duration_pb2 as _duration_pb2
|
|
4
4
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
5
|
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import message as _message
|
|
8
9
|
from typing import (
|
|
@@ -15,6 +16,16 @@ from typing import (
|
|
|
15
16
|
|
|
16
17
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
17
18
|
|
|
19
|
+
class LogFacetType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
20
|
+
__slots__ = ()
|
|
21
|
+
LOG_FACET_TYPE_UNSPECIFIED: _ClassVar[LogFacetType]
|
|
22
|
+
LOG_FACET_TYPE_LIST: _ClassVar[LogFacetType]
|
|
23
|
+
LOG_FACET_TYPE_RANGE: _ClassVar[LogFacetType]
|
|
24
|
+
|
|
25
|
+
LOG_FACET_TYPE_UNSPECIFIED: LogFacetType
|
|
26
|
+
LOG_FACET_TYPE_LIST: LogFacetType
|
|
27
|
+
LOG_FACET_TYPE_RANGE: LogFacetType
|
|
28
|
+
|
|
18
29
|
class LogEntry(_message.Message):
|
|
19
30
|
__slots__ = (
|
|
20
31
|
"id",
|
|
@@ -138,3 +149,60 @@ class SearchLogEntriesAggregatedResponse(_message.Message):
|
|
|
138
149
|
def __init__(
|
|
139
150
|
self, chart: _Optional[_Union[_densetimeserieschart_pb2.DenseTimeSeriesChart, _Mapping]] = ...
|
|
140
151
|
) -> None: ...
|
|
152
|
+
|
|
153
|
+
class GetLogFacetsRequest(_message.Message):
|
|
154
|
+
__slots__ = ()
|
|
155
|
+
def __init__(self) -> None: ...
|
|
156
|
+
|
|
157
|
+
class LogFacet(_message.Message):
|
|
158
|
+
__slots__ = ("path", "name", "facet_type")
|
|
159
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
FACET_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
path: str
|
|
163
|
+
name: str
|
|
164
|
+
facet_type: LogFacetType
|
|
165
|
+
def __init__(
|
|
166
|
+
self,
|
|
167
|
+
path: _Optional[str] = ...,
|
|
168
|
+
name: _Optional[str] = ...,
|
|
169
|
+
facet_type: _Optional[_Union[LogFacetType, str]] = ...,
|
|
170
|
+
) -> None: ...
|
|
171
|
+
|
|
172
|
+
class GetLogFacetsResponse(_message.Message):
|
|
173
|
+
__slots__ = ("facets",)
|
|
174
|
+
FACETS_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
facets: _containers.RepeatedCompositeFieldContainer[LogFacet]
|
|
176
|
+
def __init__(self, facets: _Optional[_Iterable[_Union[LogFacet, _Mapping]]] = ...) -> None: ...
|
|
177
|
+
|
|
178
|
+
class GetLogFacetValuesRequest(_message.Message):
|
|
179
|
+
__slots__ = ("path", "start_time", "end_time", "limit")
|
|
180
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
+
START_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
182
|
+
END_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
184
|
+
path: str
|
|
185
|
+
start_time: _timestamp_pb2.Timestamp
|
|
186
|
+
end_time: _timestamp_pb2.Timestamp
|
|
187
|
+
limit: int
|
|
188
|
+
def __init__(
|
|
189
|
+
self,
|
|
190
|
+
path: _Optional[str] = ...,
|
|
191
|
+
start_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
192
|
+
end_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
193
|
+
limit: _Optional[int] = ...,
|
|
194
|
+
) -> None: ...
|
|
195
|
+
|
|
196
|
+
class LogFacetValue(_message.Message):
|
|
197
|
+
__slots__ = ("value", "count")
|
|
198
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
199
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
value: str
|
|
201
|
+
count: int
|
|
202
|
+
def __init__(self, value: _Optional[str] = ..., count: _Optional[int] = ...) -> None: ...
|
|
203
|
+
|
|
204
|
+
class GetLogFacetValuesResponse(_message.Message):
|
|
205
|
+
__slots__ = ("values",)
|
|
206
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
207
|
+
values: _containers.RepeatedCompositeFieldContainer[LogFacetValue]
|
|
208
|
+
def __init__(self, values: _Optional[_Iterable[_Union[LogFacetValue, _Mapping]]] = ...) -> None: ...
|