chalk_ruby 0.1.3 → 0.2.0
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.
- checksums.yaml +4 -4
- data/README.dev.md +8 -0
- data/README.md +1 -1
- data/chalk_ruby.gemspec +1 -0
- data/lib/chalk_ruby/client.rb +17 -4
- data/lib/chalk_ruby/config.rb +5 -0
- data/lib/chalk_ruby/defaults.rb +1 -0
- data/lib/chalk_ruby/grpc/auth_interceptor.rb +62 -0
- data/lib/chalk_ruby/grpc_client.rb +340 -0
- data/lib/chalk_ruby/http/http_requester.rb +2 -1
- data/lib/chalk_ruby/http/http_requester_chalk.rb +11 -5
- data/lib/chalk_ruby/protos/chalk/aggregate/v1/backfill_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/aggregate/v1/service_pb.rb +36 -0
- data/lib/chalk_ruby/protos/chalk/aggregate/v1/service_services_pb.rb +42 -0
- data/lib/chalk_ruby/protos/chalk/aggregate/v1/timeseries_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/arrow/v1/arrow_pb.rb +41 -0
- data/lib/chalk_ruby/protos/chalk/artifacts/v1/cdc_pb.rb +20 -0
- data/lib/chalk_ruby/protos/chalk/artifacts/v1/chart_pb.rb +34 -0
- data/lib/chalk_ruby/protos/chalk/artifacts/v1/cron_query_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/artifacts/v1/deployment_pb.rb +25 -0
- data/lib/chalk_ruby/protos/chalk/artifacts/v1/export_pb.rb +35 -0
- data/lib/chalk_ruby/protos/chalk/auth/v1/agent_pb.rb +29 -0
- data/lib/chalk_ruby/protos/chalk/auth/v1/audit_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/auth/v1/displayagent_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/auth/v1/featurepermission_pb.rb +20 -0
- data/lib/chalk_ruby/protos/chalk/auth/v1/permissions_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/chalk_error_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/chart_pb.rb +20 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/dataset_response_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/feature_values_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/offline_query_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/online_query_pb.rb +44 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/operation_kind_pb.rb +19 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/query_log_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/query_status_pb.rb +19 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/query_values_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/common/v1/upload_features_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/bloom_filter_pb.rb +19 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_pb.rb +24 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/offline_store_service_services_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/plan_pb.rb +39 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/plan_server_pb.rb +25 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/plan_server_services_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/query_server_pb.rb +25 -0
- data/lib/chalk_ruby/protos/chalk/engine/v1/query_server_services_pb.rb +44 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/feature_values_chart_pb.rb +29 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/feature_values_pb.rb +27 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_pb.rb +25 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/offline_store_service_services_pb.rb +33 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/query_log_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/engine/v2/query_values_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/expression/v1/expression_pb.rb +76 -0
- data/lib/chalk_ruby/protos/chalk/graph/v1/graph_pb.rb +63 -0
- data/lib/chalk_ruby/protos/chalk/graph/v1/sources_pb.rb +41 -0
- data/lib/chalk_ruby/protos/chalk/graph/v2/sources_pb.rb +25 -0
- data/lib/chalk_ruby/protos/chalk/lsp/v1/lsp_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/audit_pb.rb +27 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/audit_services_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/auth_pb.rb +29 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/auth_services_pb.rb +29 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/authtesting_pb.rb +34 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/authtesting_services_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/billing_pb.rb +37 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/billing_services_pb.rb +43 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/bootstrap_pb.rb +24 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/builder_pb.rb +60 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/builder_services_pb.rb +50 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/chart_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/cli_pb.rb +23 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/cli_services_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/deploy_pb.rb +36 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/deploy_services_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/deployment_pb.rb +23 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/environment_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/flag_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/flag_services_pb.rb +27 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/graph_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/graph_services_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/kube_pb.rb +22 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/kube_services_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/link_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/log_pb.rb +21 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/metrics_pb.rb +23 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/metrics_services_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/monitoring_pb.rb +45 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/monitoring_services_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/named_query_pb.rb +27 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/named_query_services_pb.rb +28 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/pod_request_pb.rb +26 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/status_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/status_services_pb.rb +31 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/team_pb.rb +78 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/team_services_pb.rb +49 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/timeserieschart_pb.rb +24 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/topic_pb.rb +21 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/topicpush_pb.rb +32 -0
- data/lib/chalk_ruby/protos/chalk/server/v1/topicpush_services_pb.rb +30 -0
- data/lib/chalk_ruby/protos/chalk/utils/v1/encoding_pb.rb +21 -0
- data/lib/chalk_ruby/protos/chalk/utils/v1/sensitive_pb.rb +20 -0
- data/lib/chalk_ruby/version.rb +1 -1
- data/sig/chalk_ruby/client.rbs +2 -1
- metadata +113 -2
@@ -0,0 +1,44 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/online_query.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/chalk_error_pb'
|
8
|
+
require 'google/protobuf/duration_pb'
|
9
|
+
require 'google/protobuf/struct_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n\"chalk/common/v1/online_query.proto\x12\x0f\x63halk.common.v1\x1a!chalk/common/v1/chalk_error.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\x04\n\x12OnlineQueryRequest\x12G\n\x06inputs\x18\x01 \x03(\x0b\x32/.chalk.common.v1.OnlineQueryRequest.InputsEntryR\x06inputs\x12\x35\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.OutputExprR\x07outputs\x12\x31\n\x03now\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x03now\x88\x01\x01\x12P\n\tstaleness\x18\x04 \x03(\x0b\x32\x32.chalk.common.v1.OnlineQueryRequest.StalenessEntryR\tstaleness\x12=\n\x07\x63ontext\x18\x05 \x01(\x0b\x32#.chalk.common.v1.OnlineQueryContextR\x07\x63ontext\x12V\n\x10response_options\x18\x06 \x01(\x0b\x32+.chalk.common.v1.OnlineQueryResponseOptionsR\x0fresponseOptions\x1aQ\n\x0bInputsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x05value:\x02\x38\x01\x1a<\n\x0eStalenessEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x06\n\x04_now\"\x8e\x04\n\x16OnlineQueryBulkRequest\x12%\n\x0einputs_feather\x18\x01 \x01(\x0cR\rinputsFeather\x12\x35\n\x07outputs\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.OutputExprR\x07outputs\x12,\n\x03now\x18\x03 \x03(\x0b\x32\x1a.google.protobuf.TimestampR\x03now\x12T\n\tstaleness\x18\x04 \x03(\x0b\x32\x36.chalk.common.v1.OnlineQueryBulkRequest.StalenessEntryR\tstaleness\x12=\n\x07\x63ontext\x18\x05 \x01(\x0b\x32#.chalk.common.v1.OnlineQueryContextR\x07\x63ontext\x12V\n\x10response_options\x18\x06 \x01(\x0b\x32+.chalk.common.v1.OnlineQueryResponseOptionsR\x0fresponseOptions\x12=\n\tbody_type\x18\x07 \x01(\x0e\x32 .chalk.common.v1.FeatherBodyTypeR\x08\x62odyType\x1a<\n\x0eStalenessEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xb9\x01\n\x12GenericSingleQuery\x12L\n\x0esingle_request\x18\x01 \x01(\x0b\x32#.chalk.common.v1.OnlineQueryRequestH\x00R\rsingleRequest\x12L\n\x0c\x62ulk_request\x18\x02 \x01(\x0b\x32\'.chalk.common.v1.OnlineQueryBulkRequestH\x00R\x0b\x62ulkRequestB\x07\n\x05query\"X\n\x17OnlineQueryMultiRequest\x12=\n\x07queries\x18\x01 \x03(\x0b\x32#.chalk.common.v1.GenericSingleQueryR\x07queries\"7\n\nOutputExpr\x12!\n\x0b\x66\x65\x61ture_fqn\x18\x01 \x01(\tH\x00R\nfeatureFqnB\x06\n\x04\x65xpr\"\xb3\x05\n\x12OnlineQueryContext\x12$\n\x0b\x65nvironment\x18\x01 \x01(\tB\x02\x18\x01R\x0b\x65nvironment\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12\x34\n\x16required_resolver_tags\x18\x03 \x03(\tR\x14requiredResolverTags\x12,\n\rdeployment_id\x18\x04 \x01(\tB\x02\x18\x01H\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12$\n\tbranch_id\x18\x05 \x01(\tB\x02\x18\x01H\x01R\x08\x62ranchId\x88\x01\x01\x12*\n\x0e\x63orrelation_id\x18\x06 \x01(\tH\x02R\rcorrelationId\x88\x01\x01\x12\"\n\nquery_name\x18\x07 \x01(\tH\x03R\tqueryName\x88\x01\x01\x12\x31\n\x12query_name_version\x18\x08 \x01(\tH\x04R\x10queryNameVersion\x88\x01\x01\x12J\n\x07options\x18\t \x03(\x0b\x32\x30.chalk.common.v1.OnlineQueryContext.OptionsEntryR\x07options\x12]\n\x1dvalue_metrics_tag_by_features\x18\n \x03(\x0b\x32\x1b.chalk.common.v1.OutputExprR\x19valueMetricsTagByFeatures\x1aR\n\x0cOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x05value:\x02\x38\x01\x42\x10\n\x0e_deployment_idB\x0c\n\n_branch_idB\x11\n\x0f_correlation_idB\r\n\x0b_query_nameB\x15\n\x13_query_name_version\"\xe2\x02\n\x1aOnlineQueryResponseOptions\x12!\n\x0cinclude_meta\x18\x01 \x01(\x08R\x0bincludeMeta\x12\x39\n\x07\x65xplain\x18\x02 \x01(\x0b\x32\x1f.chalk.common.v1.ExplainOptionsR\x07\x65xplain\x12R\n\x10\x65ncoding_options\x18\x03 \x01(\x0b\x32\'.chalk.common.v1.FeatureEncodingOptionsR\x0f\x65ncodingOptions\x12U\n\x08metadata\x18\x04 \x03(\x0b\x32\x39.chalk.common.v1.OnlineQueryResponseOptions.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x10\n\x0e\x45xplainOptions\"S\n\x16\x46\x65\x61tureEncodingOptions\x12\x39\n\x19\x65ncode_structs_as_objects\x18\x01 \x01(\x08R\x16\x65ncodeStructsAsObjects\"\xcd\x01\n\x13OnlineQueryResponse\x12\x36\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\".chalk.common.v1.OnlineQueryResultR\x04\x64\x61ta\x12\x33\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\x12I\n\rresponse_meta\x18\x03 \x01(\x0b\x32$.chalk.common.v1.OnlineQueryMetadataR\x0cresponseMeta\"\xd6\x02\n\x17OnlineQueryBulkResponse\x12!\n\x0cscalars_data\x18\x01 \x01(\x0cR\x0bscalarsData\x12Y\n\x0bgroups_data\x18\x02 \x03(\x0b\x32\x38.chalk.common.v1.OnlineQueryBulkResponse.GroupsDataEntryR\ngroupsData\x12\x33\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\x12I\n\rresponse_meta\x18\x04 \x01(\x0b\x32$.chalk.common.v1.OnlineQueryMetadataR\x0cresponseMeta\x1a=\n\x0fGroupsDataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x0cR\x05value:\x02\x38\x01\"\xc2\x01\n\x15GenericSingleResponse\x12O\n\x0fsingle_response\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OnlineQueryResponseH\x00R\x0esingleResponse\x12O\n\rbulk_response\x18\x02 \x01(\x0b\x32(.chalk.common.v1.OnlineQueryBulkResponseH\x00R\x0c\x62ulkResponseB\x07\n\x05query\"\x95\x01\n\x18OnlineQueryMultiResponse\x12\x44\n\tresponses\x18\x01 \x03(\x0b\x32&.chalk.common.v1.GenericSingleResponseR\tresponses\x12\x33\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\"M\n\x11OnlineQueryResult\x12\x38\n\x07results\x18\x01 \x03(\x0b\x32\x1e.chalk.common.v1.FeatureResultR\x07results\"\xb9\x02\n\rFeatureResult\x12\x14\n\x05\x66ield\x18\x01 \x01(\tR\x05\x66ield\x12*\n\x04pkey\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueR\x04pkey\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x05value\x12\x36\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x1b.chalk.common.v1.ChalkErrorH\x00R\x05\x65rror\x88\x01\x01\x12/\n\x02ts\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x02ts\x88\x01\x01\x12\x35\n\x04meta\x18\x05 \x01(\x0b\x32\x1c.chalk.common.v1.FeatureMetaH\x02R\x04meta\x88\x01\x01\x42\x08\n\x06_errorB\x05\n\x03_tsB\x07\n\x05_meta\"\x9b\x01\n\x0b\x46\x65\x61tureMeta\x12.\n\x13\x63hosen_resolver_fqn\x18\x01 \x01(\tR\x11\x63hosenResolverFqn\x12\x1b\n\tcache_hit\x18\x02 \x01(\x08R\x08\x63\x61\x63heHit\x12%\n\x0eprimitive_type\x18\x03 \x01(\tR\rprimitiveType\x12\x18\n\x07version\x18\x04 \x01(\x03R\x07version\"\xfa\x05\n\x13OnlineQueryMetadata\x12H\n\x12\x65xecution_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationR\x11\x65xecutionDuration\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12)\n\x10\x65nvironment_name\x18\x04 \x01(\tR\x0f\x65nvironmentName\x12\x19\n\x08query_id\x18\x05 \x01(\tR\x07queryId\x12\x43\n\x0fquery_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0equeryTimestamp\x12\x1d\n\nquery_hash\x18\x07 \x01(\tR\tqueryHash\x12H\n\x0e\x65xplain_output\x18\x08 \x01(\x0b\x32!.chalk.common.v1.QueryExplainInfoR\rexplainOutput\x12N\n\x08metadata\x18\t \x03(\x0b\x32\x32.chalk.common.v1.OnlineQueryMetadata.MetadataEntryR\x08metadata\x12m\n\x13\x61\x64\x64itional_metadata\x18\n \x03(\x0b\x32<.chalk.common.v1.OnlineQueryMetadata.AdditionalMetadataEntryR\x12\x61\x64\x64itionalMetadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a]\n\x17\x41\x64\x64itionalMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x05value:\x02\x38\x01\"H\n\x10QueryExplainInfo\x12$\n\x0bplan_string\x18\x01 \x01(\tH\x00R\nplanString\x88\x01\x01\x42\x0e\n\x0c_plan_string\"\x81\x01\n\x19UploadFeaturesBulkRequest\x12%\n\x0einputs_feather\x18\x01 \x01(\x0cR\rinputsFeather\x12=\n\tbody_type\x18\x07 \x01(\x0e\x32 .chalk.common.v1.FeatherBodyTypeR\x08\x62odyType\"Q\n\x1aUploadFeaturesBulkResponse\x12\x33\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors*w\n\x0f\x46\x65\x61therBodyType\x12!\n\x1d\x46\x45\x41THER_BODY_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x46\x45\x41THER_BODY_TYPE_TABLE\x10\x01\x12$\n FEATHER_BODY_TYPE_RECORD_BATCHES\x10\x02\x42\x85\x01\n\x13\x63om.chalk.common.v1B\x10OnlineQueryProtoP\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"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
|
18
|
+
module Chalk
|
19
|
+
module Common
|
20
|
+
module V1
|
21
|
+
OnlineQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryRequest").msgclass
|
22
|
+
OnlineQueryBulkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryBulkRequest").msgclass
|
23
|
+
GenericSingleQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GenericSingleQuery").msgclass
|
24
|
+
OnlineQueryMultiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryMultiRequest").msgclass
|
25
|
+
OutputExpr = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OutputExpr").msgclass
|
26
|
+
OnlineQueryContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryContext").msgclass
|
27
|
+
OnlineQueryResponseOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryResponseOptions").msgclass
|
28
|
+
ExplainOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.ExplainOptions").msgclass
|
29
|
+
FeatureEncodingOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.FeatureEncodingOptions").msgclass
|
30
|
+
OnlineQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryResponse").msgclass
|
31
|
+
OnlineQueryBulkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryBulkResponse").msgclass
|
32
|
+
GenericSingleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GenericSingleResponse").msgclass
|
33
|
+
OnlineQueryMultiResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryMultiResponse").msgclass
|
34
|
+
OnlineQueryResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryResult").msgclass
|
35
|
+
FeatureResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.FeatureResult").msgclass
|
36
|
+
FeatureMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.FeatureMeta").msgclass
|
37
|
+
OnlineQueryMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OnlineQueryMetadata").msgclass
|
38
|
+
QueryExplainInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.QueryExplainInfo").msgclass
|
39
|
+
UploadFeaturesBulkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.UploadFeaturesBulkRequest").msgclass
|
40
|
+
UploadFeaturesBulkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.UploadFeaturesBulkResponse").msgclass
|
41
|
+
FeatherBodyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.FeatherBodyType").enummodule
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/operation_kind.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n$chalk/common/v1/operation_kind.proto\x12\x0f\x63halk.common.v1*\x94\x02\n\rOperationKind\x12\x1e\n\x1aOPERATION_KIND_UNSPECIFIED\x10\x00\x12\x1f\n\x1bOPERATION_KIND_ONLINE_QUERY\x10\x01\x12\x1c\n\x18OPERATION_KIND_MIGRATION\x10\x02\x12\x17\n\x13OPERATION_KIND_CRON\x10\x03\x12\x1c\n\x18OPERATION_KIND_STREAMING\x10\x04\x12$\n OPERATION_KIND_MIGRATION_SAMPLER\x10\x05\x12%\n!OPERATION_KIND_WINDOWED_STREAMING\x10\x06\x12 \n\x1cOPERATION_KIND_OFFLINE_QUERY\x10\x07\x42\x87\x01\n\x13\x63om.chalk.common.v1B\x12OperationKindProtoP\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"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Chalk
|
14
|
+
module Common
|
15
|
+
module V1
|
16
|
+
OperationKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OperationKind").enummodule
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/query_log.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/operation_kind_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/common/v1/query_status_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n\x1f\x63halk/common/v1/query_log.proto\x12\x0f\x63halk.common.v1\x1a$chalk/common/v1/operation_kind.proto\x1a\"chalk/common/v1/query_status.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x01\n\x12VersionedQueryName\x12\x1d\n\nquery_name\x18\x01 \x01(\tR\tqueryName\x12\x31\n\x12query_name_version\x18\x02 \x01(\tH\x00R\x10queryNameVersion\x88\x01\x01:\x02\x18\x01\x42\x15\n\x13_query_name_version\"\xf3\x03\n\x0fQueryLogFilters\x12!\n\x0coperation_id\x18\x01 \x03(\tR\x0boperationId\x12\x45\n\x0eoperation_kind\x18\x02 \x03(\x0e\x32\x1e.chalk.common.v1.OperationKindR\roperationKind\x12\x42\n\nquery_name\x18\x03 \x03(\x0b\x32#.chalk.common.v1.VersionedQueryNameR\tqueryName\x12\x19\n\x08\x61gent_id\x18\x05 \x03(\tR\x07\x61gentId\x12\x1f\n\x0b\x62ranch_name\x18\x06 \x03(\tR\nbranchName\x12%\n\x0e\x63orrelation_id\x18\x07 \x03(\tR\rcorrelationId\x12\x19\n\x08trace_id\x18\x08 \x03(\tR\x07traceId\x12\"\n\rquery_plan_id\x18\t \x03(\tR\x0bqueryPlanId\x12#\n\rdeployment_id\x18\n \x03(\tR\x0c\x64\x65ploymentId\x12?\n\x0cquery_status\x18\x0b \x03(\x0e\x32\x1c.chalk.common.v1.QueryStatusR\x0bqueryStatus\x12&\n\x0fmeta_query_hash\x18\x0c \x03(\tR\rmetaQueryHash:\x02\x18\x01\"\x97\x01\n\x1bGetQueryLogEntriesPageToken\x12(\n\x10operation_id_hwm\x18\x01 \x01(\tR\x0eoperationIdHwm\x12J\n\x13query_timestamp_hwm\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x11queryTimestampHwm:\x02\x18\x01\"\xa2\x03\n\x19GetQueryLogEntriesRequest\x12l\n%query_timestamp_lower_bound_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR!queryTimestampLowerBoundInclusive\x12q\n%query_timestamp_upper_bound_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R!queryTimestampUpperBoundExclusive\x88\x01\x01\x12:\n\x07\x66ilters\x18\x03 \x01(\x0b\x32 .chalk.common.v1.QueryLogFiltersR\x07\x66ilters\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x05 \x01(\tR\tpageToken:\x02\x18\x01\x42(\n&_query_timestamp_upper_bound_exclusive\"\xa7\x06\n\rQueryLogEntry\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x03 \x01(\tR\x0c\x64\x65ploymentId\x12\x45\n\x0eoperation_kind\x18\x04 \x01(\x0e\x32\x1e.chalk.common.v1.OperationKindR\roperationKind\x12\x43\n\x0fquery_timestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0equeryTimestamp\x12L\n\x14\x65xecution_started_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x12\x65xecutionStartedAt\x12N\n\x15\x65xecution_finished_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x13\x65xecutionFinishedAt\x12?\n\x0cquery_status\x18\x08 \x01(\x0e\x32\x1c.chalk.common.v1.QueryStatusR\x0bqueryStatus\x12\x1d\n\nquery_name\x18\t \x01(\tR\tqueryName\x12,\n\x12query_name_version\x18\n \x01(\tR\x10queryNameVersion\x12\x19\n\x08\x61gent_id\x18\x0b \x01(\tR\x07\x61gentId\x12\x1f\n\x0b\x62ranch_name\x18\x0c \x01(\tR\nbranchName\x12%\n\x0e\x63orrelation_id\x18\r \x01(\tR\rcorrelationId\x12\x19\n\x08trace_id\x18\x0e \x01(\tR\x07traceId\x12\"\n\rquery_plan_id\x18\x0f \x01(\tR\x0bqueryPlanId\x12!\n\x0cvalue_tables\x18\x10 \x03(\tR\x0bvalueTables\x12&\n\x0fmeta_query_hash\x18\x11 \x01(\tR\rmetaQueryHash:\x02\x18\x01\"\x82\x01\n\x1aGetQueryLogEntriesResponse\x12\x38\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1e.chalk.common.v1.QueryLogEntryR\x07\x65ntries\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken:\x02\x18\x01\x42\x82\x01\n\x13\x63om.chalk.common.v1B\rQueryLogProtoP\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"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
|
17
|
+
module Chalk
|
18
|
+
module Common
|
19
|
+
module V1
|
20
|
+
VersionedQueryName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.VersionedQueryName").msgclass
|
21
|
+
QueryLogFilters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.QueryLogFilters").msgclass
|
22
|
+
GetQueryLogEntriesPageToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryLogEntriesPageToken").msgclass
|
23
|
+
GetQueryLogEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryLogEntriesRequest").msgclass
|
24
|
+
QueryLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.QueryLogEntry").msgclass
|
25
|
+
GetQueryLogEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryLogEntriesResponse").msgclass
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/query_status.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n\"chalk/common/v1/query_status.proto\x12\x0f\x63halk.common.v1*\xa3\x02\n\x0bQueryStatus\x12\x1c\n\x18QUERY_STATUS_UNSPECIFIED\x10\x00\x12#\n\x1fQUERY_STATUS_PENDING_SUBMISSION\x10\x01\x12\x1a\n\x16QUERY_STATUS_SUBMITTED\x10\x02\x12\x18\n\x14QUERY_STATUS_RUNNING\x10\x03\x12\x16\n\x12QUERY_STATUS_ERROR\x10\x04\x12\x18\n\x14QUERY_STATUS_EXPIRED\x10\x05\x12\x1a\n\x16QUERY_STATUS_CANCELLED\x10\x06\x12\x1b\n\x17QUERY_STATUS_SUCCESSFUL\x10\x07\x12\x30\n,QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS\x10\x08\x42\x85\x01\n\x13\x63om.chalk.common.v1B\x10QueryStatusProtoP\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"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Chalk
|
14
|
+
module Common
|
15
|
+
module V1
|
16
|
+
QueryStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.QueryStatus").enummodule
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/query_values.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/query_log_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n\"chalk/common/v1/query_values.proto\x12\x0f\x63halk.common.v1\x1a\x1f\x63halk/common/v1/query_log.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"C\n\x1aOperationIdTableIdentifier\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId:\x02\x18\x01\"y\n\x18TableNameTableIdentifier\x12\x1d\n\ntable_name\x18\x01 \x01(\tR\ttableName\x12:\n\x07\x66ilters\x18\x02 \x01(\x0b\x32 .chalk.common.v1.QueryLogFiltersR\x07\x66ilters:\x02\x18\x01\"\xb1\x01\n\x17GetQueryValuesPageToken\x12J\n\x13query_timestamp_hwm\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x11queryTimestampHwm\x12(\n\x10operation_id_hwm\x18\x02 \x01(\tR\x0eoperationIdHwm\x12\x1c\n\nrow_id_hwm\x18\x03 \x01(\x03R\x08rowIdHwm:\x02\x18\x01\"\xda\x04\n\x15GetQueryValuesRequest\x12\x65\n\x17operation_id_identifier\x18\x01 \x01(\x0b\x32+.chalk.common.v1.OperationIdTableIdentifierH\x00R\x15operationIdIdentifier\x12_\n\x15table_name_identifier\x18\x02 \x01(\x0b\x32).chalk.common.v1.TableNameTableIdentifierH\x00R\x13tableNameIdentifier\x12l\n%query_timestamp_lower_bound_inclusive\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR!queryTimestampLowerBoundInclusive\x12q\n%query_timestamp_upper_bound_exclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R!queryTimestampUpperBoundExclusive\x88\x01\x01\x12\x1a\n\x08\x66\x65\x61tures\x18\x05 \x03(\tR\x08\x66\x65\x61tures\x12\x1b\n\tpage_size\x18\x07 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x08 \x01(\tR\tpageToken:\x02\x18\x01\x42\x12\n\x10table_identifierB(\n&_query_timestamp_upper_bound_exclusive\"k\n\x16GetQueryValuesResponse\x12&\n\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken\x12\x1a\n\x07parquet\x18\x02 \x01(\x0cH\x00R\x07parquet:\x02\x18\x01\x42\t\n\x07payloadB\x85\x01\n\x13\x63om.chalk.common.v1B\x10QueryValuesProtoP\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"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
15
|
+
|
16
|
+
module Chalk
|
17
|
+
module Common
|
18
|
+
module V1
|
19
|
+
OperationIdTableIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.OperationIdTableIdentifier").msgclass
|
20
|
+
TableNameTableIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.TableNameTableIdentifier").msgclass
|
21
|
+
GetQueryValuesPageToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryValuesPageToken").msgclass
|
22
|
+
GetQueryValuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryValuesRequest").msgclass
|
23
|
+
GetQueryValuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.GetQueryValuesResponse").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/common/v1/upload_features.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/chalk_error_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n%chalk/common/v1/upload_features.proto\x12\x0f\x63halk.common.v1\x1a!chalk/common/v1/chalk_error.proto\":\n\x15UploadFeaturesRequest\x12!\n\x0cinputs_table\x18\x01 \x01(\x0cR\x0binputsTable\"p\n\x16UploadFeaturesResponse\x12\x33\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x1b.chalk.common.v1.ChalkErrorR\x06\x65rrors\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationIdB\x88\x01\n\x13\x63om.chalk.common.v1B\x13UploadFeaturesProtoP\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"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Chalk
|
16
|
+
module Common
|
17
|
+
module V1
|
18
|
+
UploadFeaturesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.UploadFeaturesRequest").msgclass
|
19
|
+
UploadFeaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.common.v1.UploadFeaturesResponse").msgclass
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v1/bloom_filter.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
|
8
|
+
descriptor_data = "\n\"chalk/engine/v1/bloom_filter.proto\x12\x0f\x63halk.engine.v1\"\xf2\x01\n\x0b\x42loomFilter\x12 \n\x0b\x65nvironment\x18\x01 \x01(\tR\x0b\x65nvironment\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x1f\n\x0bnum_entries\x18\x03 \x01(\x04R\nnumEntries\x12\x30\n\x14num_expected_entries\x18\x04 \x01(\x04R\x12numExpectedEntries\x12\x1d\n\nnum_hashes\x18\x05 \x01(\x04R\tnumHashes\x12\x1d\n\nsize_bytes\x18\x06 \x01(\x04R\tsizeBytes\x12\x12\n\x04\x64\x61ta\x18\x07 \x01(\x0cR\x04\x64\x61taB\x85\x01\n\x13\x63om.chalk.engine.v1B\x10\x42loomFilterProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
12
|
+
|
13
|
+
module Chalk
|
14
|
+
module Engine
|
15
|
+
module V1
|
16
|
+
BloomFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.BloomFilter").msgclass
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v1/offline_store_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/auth/v1/permissions_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/common/v1/feature_values_pb'
|
9
|
+
require 'chalk_ruby/protos/chalk/common/v1/query_log_pb'
|
10
|
+
require 'chalk_ruby/protos/chalk/common/v1/query_values_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n+chalk/engine/v1/offline_store_service.proto\x12\x0f\x63halk.engine.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a$chalk/common/v1/feature_values.proto\x1a\x1f\x63halk/common/v1/query_log.proto\x1a\"chalk/common/v1/query_values.proto\"\x1a\n\x18OfflineStoreServiceDummy2\xba\x05\n\x13OfflineStoreService\x12r\n\x12GetQueryLogEntries\x12*.chalk.common.v1.GetQueryLogEntriesRequest\x1a+.chalk.common.v1.GetQueryLogEntriesResponse\"\x03\x80}\x04\x12\x66\n\x0eGetQueryValues\x12&.chalk.common.v1.GetQueryValuesRequest\x1a\'.chalk.common.v1.GetQueryValuesResponse\"\x03\x80}\x04\x12~\n\x15GetFeatureValuesChart\x12-.chalk.common.v1.GetFeatureValuesChartRequest\x1a..chalk.common.v1.GetFeatureValuesChartResponse\"\x06\x88\x02\x01\x80}\x04\x12\x9c\x01\n\x1fGetFeatureValuesTimeSeriesChart\x12\x37.chalk.common.v1.GetFeatureValuesTimeSeriesChartRequest\x1a\x38.chalk.common.v1.GetFeatureValuesTimeSeriesChartResponse\"\x06\x88\x02\x01\x80}\x04\x12\xa2\x01\n!GetFeatureValuesTimeSeriesChartV2\x12\x39.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Request\x1a:.chalk.common.v1.GetFeatureValuesTimeSeriesChartV2Response\"\x06\x88\x02\x01\x80}\x04\x1a\x03\x88\x02\x01\x42\x8d\x01\n\x13\x63om.chalk.engine.v1B\x18OfflineStoreServiceProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
|
18
|
+
module Chalk
|
19
|
+
module Engine
|
20
|
+
module V1
|
21
|
+
OfflineStoreServiceDummy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.OfflineStoreServiceDummy").msgclass
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: chalk/engine/v1/offline_store_service.proto for package 'Chalk.Engine.V1'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'chalk_ruby/protos/chalk/engine/v1/offline_store_service_pb'
|
6
|
+
|
7
|
+
module Chalk
|
8
|
+
module Engine
|
9
|
+
module V1
|
10
|
+
module OfflineStoreService
|
11
|
+
# This service exposes endpoints for dealing with the offline store. It should never depend on the python graph.
|
12
|
+
class Service
|
13
|
+
|
14
|
+
include ::GRPC::GenericService
|
15
|
+
|
16
|
+
self.marshal_class_method = :encode
|
17
|
+
self.unmarshal_class_method = :decode
|
18
|
+
self.service_name = 'chalk.engine.v1.OfflineStoreService'
|
19
|
+
|
20
|
+
rpc :GetQueryLogEntries, ::Chalk::Common::V1::GetQueryLogEntriesRequest, ::Chalk::Common::V1::GetQueryLogEntriesResponse
|
21
|
+
rpc :GetQueryValues, ::Chalk::Common::V1::GetQueryValuesRequest, ::Chalk::Common::V1::GetQueryValuesResponse
|
22
|
+
rpc :GetFeatureValuesChart, ::Chalk::Common::V1::GetFeatureValuesChartRequest, ::Chalk::Common::V1::GetFeatureValuesChartResponse
|
23
|
+
rpc :GetFeatureValuesTimeSeriesChart, ::Chalk::Common::V1::GetFeatureValuesTimeSeriesChartRequest, ::Chalk::Common::V1::GetFeatureValuesTimeSeriesChartResponse
|
24
|
+
rpc :GetFeatureValuesTimeSeriesChartV2, ::Chalk::Common::V1::GetFeatureValuesTimeSeriesChartV2Request, ::Chalk::Common::V1::GetFeatureValuesTimeSeriesChartV2Response
|
25
|
+
end
|
26
|
+
|
27
|
+
Stub = Service.rpc_stub_class
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v1/plan.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/arrow/v1/arrow_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n\x1a\x63halk/engine/v1/plan.proto\x12\x0f\x63halk.engine.v1\x1a\x1a\x63halk/arrow/v1/arrow.proto\"\"\n\x0cRawColumnKey\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\"-\n\x10\x46\x65\x61tureColumnKey\x12\x19\n\x08root_fqn\x18\x01 \x01(\tR\x07rootFqn\"Z\n\x11HasManyFeatureKey\x12\x19\n\x08root_fqn\x18\x01 \x01(\tR\x07rootFqn\x12*\n\x02\x64\x66\x18\x02 \x01(\x0b\x32\x1a.chalk.engine.v1.DataFrameR\x02\x64\x66\"h\n\x13\x44\x61taFrameFeatureKey\x12%\n\x0eroot_namespace\x18\x01 \x01(\tR\rrootNamespace\x12*\n\x02\x64\x66\x18\x02 \x01(\x0b\x32\x1a.chalk.engine.v1.DataFrameR\x02\x64\x66\"\xcc\x01\n\tDataFrame\x12L\n\x10optional_columns\x18\x01 \x03(\x0b\x32!.chalk.engine.v1.FeatureColumnKeyR\x0foptionalColumns\x12L\n\x10required_columns\x18\x02 \x03(\x0b\x32!.chalk.engine.v1.FeatureColumnKeyR\x0frequiredColumns\x12\x19\n\x05limit\x18\x03 \x01(\x04H\x00R\x05limit\x88\x01\x01\x42\x08\n\x06_limit\"\x84\x01\n\tColumnKey\x12=\n\x07\x66\x65\x61ture\x18\x01 \x01(\x0b\x32!.chalk.engine.v1.FeatureColumnKeyH\x00R\x07\x66\x65\x61ture\x12\x31\n\x03raw\x18\x02 \x01(\x0b\x32\x1d.chalk.engine.v1.RawColumnKeyH\x00R\x03rawB\x05\n\x03key\"\x99\x01\n\x08TableKey\x12?\n\x08has_many\x18\x01 \x01(\x0b\x32\".chalk.engine.v1.HasManyFeatureKeyH\x00R\x07hasMany\x12\x45\n\ndata_frame\x18\x02 \x01(\x0b\x32$.chalk.engine.v1.DataFrameFeatureKeyH\x00R\tdataFrameB\x05\n\x03key\"\x91\x02\n\x03Key\x12>\n\nraw_column\x18\x01 \x01(\x0b\x32\x1d.chalk.engine.v1.RawColumnKeyH\x00R\trawColumn\x12;\n\x06scalar\x18\x02 \x01(\x0b\x32!.chalk.engine.v1.FeatureColumnKeyH\x00R\x06scalar\x12?\n\x08has_many\x18\x03 \x01(\x0b\x32\".chalk.engine.v1.HasManyFeatureKeyH\x00R\x07hasMany\x12\x44\n\tdataframe\x18\x04 \x01(\x0b\x32$.chalk.engine.v1.DataFrameFeatureKeyH\x00R\tdataframeB\x06\n\x04impl\"\xee\x03\n\rPyArrowSchema\x12\x45\n\x07scalars\x18\x01 \x03(\x0b\x32+.chalk.engine.v1.PyArrowSchema.ColumnSchemaR\x07scalars\x12\x42\n\x06groups\x18\x02 \x03(\x0b\x32*.chalk.engine.v1.PyArrowSchema.TableSchemaR\x06groups\x1a\xe0\x01\n\x0bTableSchema\x12+\n\x03key\x18\x01 \x01(\x0b\x32\x19.chalk.engine.v1.TableKeyR\x03key\x12N\n\x06schema\x18\x02 \x03(\x0b\x32\x36.chalk.engine.v1.PyArrowSchema.TableSchema.SchemaEntryR\x06schema\x1aT\n\x0bSchemaEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12/\n\x05value\x18\x02 \x01(\x0b\x32\x19.chalk.arrow.v1.ArrowTypeR\x05value:\x02\x38\x01\x1ao\n\x0c\x43olumnSchema\x12,\n\x03key\x18\x01 \x01(\x0b\x32\x1a.chalk.engine.v1.ColumnKeyR\x03key\x12\x31\n\x06schema\x18\x02 \x01(\x0b\x32\x19.chalk.arrow.v1.ArrowTypeR\x06schema\"\x9e\x01\n\x04Plan\x12+\n\x05nodes\x18\x01 \x03(\x0b\x32\x15.chalk.engine.v1.NodeR\x05nodes\x12\"\n\rroot_node_idx\x18\x02 \x01(\rR\x0brootNodeIdx\x12\x45\n\x0epyarrow_schema\x18\x03 \x01(\x0b\x32\x1e.chalk.engine.v1.PyArrowSchemaR\rpyarrowSchema\"`\n\x04Node\x12)\n\x10\x63hildren_indices\x18\x01 \x03(\rR\x0f\x63hildrenIndices\x12-\n\x04impl\x18\x02 \x01(\x0b\x32\x19.chalk.engine.v1.NodeImplR\x04impl\"\xd7\x02\n\x08NodeImpl\x12\x38\n\x07unknown\x18\x01 \x01(\x0b\x32\x1c.chalk.engine.v1.UnknownNodeH\x00R\x07unknown\x12>\n\x0bgivens_scan\x18\x02 \x01(\x0b\x32\x1b.chalk.engine.v1.GivensScanH\x00R\ngivensScan\x12\x34\n\x07project\x18\x03 \x01(\x0b\x32\x18.chalk.engine.v1.ProjectH\x00R\x07project\x12\x44\n\rchalk_project\x18\x04 \x01(\x0b\x32\x1d.chalk.engine.v1.ChalkProjectH\x00R\x0c\x63halkProject\x12M\n\x10\x64\x65\x66\x61ult_injector\x18\x05 \x01(\x0b\x32 .chalk.engine.v1.DefaultInjectorH\x00R\x0f\x64\x65\x66\x61ultInjectorB\x06\n\x04impl\"*\n\x0bUnknownNode\x12\x1b\n\ttype_name\x18\x01 \x01(\tR\x08typeName\":\n\nGivensScan\x12,\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x14.chalk.engine.v1.KeyR\x06\x66ields\"x\n\x0c\x43halkProject\x12,\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x14.chalk.engine.v1.KeyR\x06\x66ields\x12:\n\x1apromote_ts_to_feature_time\x18\x02 \x01(\x08R\x16promoteTsToFeatureTime\"7\n\x07Project\x12,\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x14.chalk.engine.v1.KeyR\x06\x66ields\"X\n\x0f\x44\x65\x66\x61ultInjector\x12\x45\n\x13\x64\x65\x66\x61ulting_features\x18\x01 \x03(\x0b\x32\x14.chalk.engine.v1.KeyR\x12\x64\x65\x66\x61ultingFeaturesB~\n\x13\x63om.chalk.engine.v1B\tPlanProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Chalk
|
16
|
+
module Engine
|
17
|
+
module V1
|
18
|
+
RawColumnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.RawColumnKey").msgclass
|
19
|
+
FeatureColumnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.FeatureColumnKey").msgclass
|
20
|
+
HasManyFeatureKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.HasManyFeatureKey").msgclass
|
21
|
+
DataFrameFeatureKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.DataFrameFeatureKey").msgclass
|
22
|
+
DataFrame = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.DataFrame").msgclass
|
23
|
+
ColumnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.ColumnKey").msgclass
|
24
|
+
TableKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.TableKey").msgclass
|
25
|
+
Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.Key").msgclass
|
26
|
+
PyArrowSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.PyArrowSchema").msgclass
|
27
|
+
PyArrowSchema::TableSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.PyArrowSchema.TableSchema").msgclass
|
28
|
+
PyArrowSchema::ColumnSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.PyArrowSchema.ColumnSchema").msgclass
|
29
|
+
Plan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.Plan").msgclass
|
30
|
+
Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.Node").msgclass
|
31
|
+
NodeImpl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.NodeImpl").msgclass
|
32
|
+
UnknownNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.UnknownNode").msgclass
|
33
|
+
GivensScan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.GivensScan").msgclass
|
34
|
+
ChalkProject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.ChalkProject").msgclass
|
35
|
+
Project = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.Project").msgclass
|
36
|
+
DefaultInjector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.DefaultInjector").msgclass
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v1/plan_server.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/online_query_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/engine/v1/plan_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n!chalk/engine/v1/plan_server.proto\x12\x0f\x63halk.engine.v1\x1a\"chalk/common/v1/online_query.proto\x1a\x1a\x63halk/engine/v1/plan.proto\"g\n\x0eGetPlanRequest\x12U\n\x14online_query_request\x18\x01 \x01(\x0b\x32#.chalk.common.v1.OnlineQueryRequestR\x12onlineQueryRequest\"<\n\x0fGetPlanResponse\x12)\n\x04plan\x18\x01 \x01(\x0b\x32\x15.chalk.engine.v1.PlanR\x04plan\"l\n\x13\x45xecuteQueryRequest\x12U\n\x14online_query_request\x18\x01 \x01(\x0b\x32#.chalk.common.v1.OnlineQueryRequestR\x12onlineQueryRequest\"p\n\x14\x45xecuteQueryResponse\x12X\n\x15online_query_response\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OnlineQueryResponseR\x13onlineQueryResponse2\xbc\x01\n\x0bPlanService\x12N\n\x07GetPlan\x12\x1f.chalk.engine.v1.GetPlanRequest\x1a .chalk.engine.v1.GetPlanResponse\"\x00\x12]\n\x0c\x45xecuteQuery\x12$.chalk.engine.v1.ExecuteQueryRequest\x1a%.chalk.engine.v1.ExecuteQueryResponse\"\x00\x42\x84\x01\n\x13\x63om.chalk.engine.v1B\x0fPlanServerProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
15
|
+
|
16
|
+
module Chalk
|
17
|
+
module Engine
|
18
|
+
module V1
|
19
|
+
GetPlanRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.GetPlanRequest").msgclass
|
20
|
+
GetPlanResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.GetPlanResponse").msgclass
|
21
|
+
ExecuteQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.ExecuteQueryRequest").msgclass
|
22
|
+
ExecuteQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.ExecuteQueryResponse").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: chalk/engine/v1/plan_server.proto for package 'Chalk.Engine.V1'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'chalk_ruby/protos/chalk/engine/v1/plan_server_pb'
|
6
|
+
|
7
|
+
module Chalk
|
8
|
+
module Engine
|
9
|
+
module V1
|
10
|
+
module PlanService
|
11
|
+
class Service
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
14
|
+
|
15
|
+
self.marshal_class_method = :encode
|
16
|
+
self.unmarshal_class_method = :decode
|
17
|
+
self.service_name = 'chalk.engine.v1.PlanService'
|
18
|
+
|
19
|
+
rpc :GetPlan, ::Chalk::Engine::V1::GetPlanRequest, ::Chalk::Engine::V1::GetPlanResponse
|
20
|
+
# Fall-back for executing queries on the python engine
|
21
|
+
rpc :ExecuteQuery, ::Chalk::Engine::V1::ExecuteQueryRequest, ::Chalk::Engine::V1::ExecuteQueryResponse
|
22
|
+
end
|
23
|
+
|
24
|
+
Stub = Service.rpc_stub_class
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v1/query_server.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/aggregate/v1/service_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/auth/v1/permissions_pb'
|
9
|
+
require 'chalk_ruby/protos/chalk/common/v1/online_query_pb'
|
10
|
+
require 'chalk_ruby/protos/chalk/common/v1/upload_features_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n\"chalk/engine/v1/query_server.proto\x12\x0f\x63halk.engine.v1\x1a chalk/aggregate/v1/service.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\"chalk/common/v1/online_query.proto\x1a%chalk/common/v1/upload_features.proto\"\x1f\n\x0bPingRequest\x12\x10\n\x03num\x18\x01 \x01(\x05R\x03num\" \n\x0cPingResponse\x12\x10\n\x03num\x18\x01 \x01(\x05R\x03num2\xe4\x06\n\x0cQueryService\x12K\n\x04Ping\x12\x1c.chalk.engine.v1.PingRequest\x1a\x1d.chalk.engine.v1.PingResponse\"\x06\x90\x02\x01\x80}\x01\x12]\n\x0bOnlineQuery\x12#.chalk.common.v1.OnlineQueryRequest\x1a$.chalk.common.v1.OnlineQueryResponse\"\x03\x80}\x03\x12i\n\x0fOnlineQueryBulk\x12\'.chalk.common.v1.OnlineQueryBulkRequest\x1a(.chalk.common.v1.OnlineQueryBulkResponse\"\x03\x80}\x03\x12l\n\x10OnlineQueryMulti\x12(.chalk.common.v1.OnlineQueryMultiRequest\x1a).chalk.common.v1.OnlineQueryMultiResponse\"\x03\x80}\x03\x12r\n\x12UploadFeaturesBulk\x12*.chalk.common.v1.UploadFeaturesBulkRequest\x1a+.chalk.common.v1.UploadFeaturesBulkResponse\"\x03\x80}\x03\x12\x66\n\x0eUploadFeatures\x12&.chalk.common.v1.UploadFeaturesRequest\x1a\'.chalk.common.v1.UploadFeaturesResponse\"\x03\x80}\x03\x12\x84\x01\n\x15PlanAggregateBackfill\x12\x30.chalk.aggregate.v1.PlanAggregateBackfillRequest\x1a\x31.chalk.aggregate.v1.PlanAggregateBackfillResponse\"\x06\x90\x02\x01\x80}\x0c\x12l\n\rGetAggregates\x12(.chalk.aggregate.v1.GetAggregatesRequest\x1a).chalk.aggregate.v1.GetAggregatesResponse\"\x06\x90\x02\x01\x80}\x0b\x42\x85\x01\n\x13\x63om.chalk.engine.v1B\x10QueryServerProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V1\xca\x02\x0f\x43halk\\Engine\\V1\xe2\x02\x1b\x43halk\\Engine\\V1\\GPBMetadata\xea\x02\x11\x43halk::Engine::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
|
18
|
+
module Chalk
|
19
|
+
module Engine
|
20
|
+
module V1
|
21
|
+
PingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.PingRequest").msgclass
|
22
|
+
PingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v1.PingResponse").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: chalk/engine/v1/query_server.proto for package 'Chalk.Engine.V1'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'chalk_ruby/protos/chalk/engine/v1/query_server_pb'
|
6
|
+
|
7
|
+
module Chalk
|
8
|
+
module Engine
|
9
|
+
module V1
|
10
|
+
module QueryService
|
11
|
+
class Service
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
14
|
+
|
15
|
+
self.marshal_class_method = :encode
|
16
|
+
self.unmarshal_class_method = :decode
|
17
|
+
self.service_name = 'chalk.engine.v1.QueryService'
|
18
|
+
|
19
|
+
rpc :Ping, ::Chalk::Engine::V1::PingRequest, ::Chalk::Engine::V1::PingResponse
|
20
|
+
rpc :OnlineQuery, ::Chalk::Common::V1::OnlineQueryRequest, ::Chalk::Common::V1::OnlineQueryResponse
|
21
|
+
rpc :OnlineQueryBulk, ::Chalk::Common::V1::OnlineQueryBulkRequest, ::Chalk::Common::V1::OnlineQueryBulkResponse
|
22
|
+
rpc :OnlineQueryMulti, ::Chalk::Common::V1::OnlineQueryMultiRequest, ::Chalk::Common::V1::OnlineQueryMultiResponse
|
23
|
+
rpc :UploadFeaturesBulk, ::Chalk::Common::V1::UploadFeaturesBulkRequest, ::Chalk::Common::V1::UploadFeaturesBulkResponse
|
24
|
+
rpc :UploadFeatures, ::Chalk::Common::V1::UploadFeaturesRequest, ::Chalk::Common::V1::UploadFeaturesResponse
|
25
|
+
# PlanAggregateBackfill determines the estimated resources needed to backfill
|
26
|
+
# an aggregate.
|
27
|
+
#
|
28
|
+
# This method is a duplicate of the PlanAggregateBackfill method
|
29
|
+
# in the query_server.proto file. We should remove the query_server.proto method
|
30
|
+
# and move that request to this service instead.
|
31
|
+
# buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
32
|
+
rpc :PlanAggregateBackfill, ::Chalk::Aggregate::V1::PlanAggregateBackfillRequest, ::Chalk::Aggregate::V1::PlanAggregateBackfillResponse
|
33
|
+
# This method is a duplicate of the PlanAggregateBackfill method
|
34
|
+
# in the query_server.proto file. We should remove the query_server.proto method
|
35
|
+
# and move that request to this service instead.
|
36
|
+
# buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
|
37
|
+
rpc :GetAggregates, ::Chalk::Aggregate::V1::GetAggregatesRequest, ::Chalk::Aggregate::V1::GetAggregatesResponse
|
38
|
+
end
|
39
|
+
|
40
|
+
Stub = Service.rpc_stub_class
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v2/feature_values_chart.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/chart/v1/densetimeserieschart_pb'
|
8
|
+
require 'google/protobuf/duration_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n*chalk/engine/v2/feature_values_chart.proto\x12\x0f\x63halk.engine.v2\x1a)chalk/chart/v1/densetimeserieschart.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"F\n$FeatureValuePercentileWindowFunction\x12\x1e\n\npercentile\x18\x01 \x01(\x01R\npercentile\"\xdd\x02\n\x12\x46\x65\x61tureValueSeries\x12\x1f\n\x0b\x66\x65\x61ture_fqn\x18\x01 \x01(\tR\nfeatureFqn\x12&\n\x0cseries_title\x18\x02 \x01(\tH\x01R\x0bseriesTitle\x88\x01\x01\x12\x63\n\x14\x62\x61se_window_function\x18\x03 \x01(\x0e\x32/.chalk.engine.v2.FeatureValueBaseWindowFunctionH\x00R\x12\x62\x61seWindowFunction\x12u\n\x1apercentile_window_function\x18\x04 \x01(\x0b\x32\x35.chalk.engine.v2.FeatureValuePercentileWindowFunctionH\x00R\x18percentileWindowFunctionB\x11\n\x0fwindow_functionB\x0f\n\r_series_title\"\x89\x05\n&GetFeatureValuesTimeSeriesChartRequest\x12\x19\n\x05title\x18\x01 \x01(\tH\x00R\x05title\x88\x01\x01\x12;\n\x06series\x18\x02 \x03(\x0b\x32#.chalk.engine.v2.FeatureValueSeriesR\x06series\x12>\n\rwindow_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\x0cwindowPeriod\x12V\n\x19start_timestamp_inclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x17startTimestampInclusive\x12W\n\x17\x65nd_timestamp_exclusive\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x15\x65ndTimestampExclusive\x88\x01\x01\x12M\n\x0btime_series\x18\x06 \x01(\x0e\x32\'.chalk.engine.v2.FeatureValueTimeSeriesH\x02R\ntimeSeries\x88\x01\x01\x12?\n\x08group_by\x18\x07 \x03(\x0e\x32$.chalk.engine.v2.FeatureValueGroupByR\x07groupBy\x12\x36\n\x15group_by_series_limit\x18\x08 \x01(\x05H\x03R\x12groupBySeriesLimit\x88\x01\x01\x42\x08\n\x06_titleB\x1a\n\x18_end_timestamp_exclusiveB\x0e\n\x0c_time_seriesB\x18\n\x16_group_by_series_limit\"e\n\'GetFeatureValuesTimeSeriesChartResponse\x12:\n\x05\x63hart\x18\x01 \x01(\x0b\x32$.chalk.chart.v1.DenseTimeSeriesChartR\x05\x63hart*\xc6\x03\n\x1e\x46\x65\x61tureValueBaseWindowFunction\x12\x32\n.FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNSPECIFIED\x10\x00\x12\x34\n0FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_VALUES\x10\x01\x12\x39\n5FEATURE_VALUE_BASE_WINDOW_FUNCTION_TOTAL_OBSERVATIONS\x10\x02\x12\x36\n2FEATURE_VALUE_BASE_WINDOW_FUNCTION_NULL_PERCENTAGE\x10\x03\x12\x30\n,FEATURE_VALUE_BASE_WINDOW_FUNCTION_MAX_VALUE\x10\x04\x12\x30\n,FEATURE_VALUE_BASE_WINDOW_FUNCTION_MIN_VALUE\x10\x05\x12.\n*FEATURE_VALUE_BASE_WINDOW_FUNCTION_AVERAGE\x10\x06\x12\x33\n/FEATURE_VALUE_BASE_WINDOW_FUNCTION_UNIQUE_PKEYS\x10\x07*\xe2\x02\n\x13\x46\x65\x61tureValueGroupBy\x12&\n\"FEATURE_VALUE_GROUP_BY_UNSPECIFIED\x10\x00\x12,\n(FEATURE_VALUE_GROUP_BY_CATEGORICAL_VALUE\x10\x01\x12&\n\"FEATURE_VALUE_GROUP_BY_PRIMARY_KEY\x10\x02\x12(\n$FEATURE_VALUE_GROUP_BY_DEPLOYMENT_ID\x10\x03\x12#\n\x1f\x46\x45\x41TURE_VALUE_GROUP_BY_RESOLVER\x10\x04\x12)\n%FEATURE_VALUE_GROUP_BY_OPERATION_KIND\x10\x05\x12\'\n#FEATURE_VALUE_GROUP_BY_OPERATION_ID\x10\x06\x12*\n&FEATURE_VALUE_GROUP_BY_FEATURE_VERSION\x10\x07*\x99\x01\n\x16\x46\x65\x61tureValueTimeSeries\x12)\n%FEATURE_VALUE_TIME_SERIES_UNSPECIFIED\x10\x00\x12)\n%FEATURE_VALUE_TIME_SERIES_INSERTED_AT\x10\x01\x12)\n%FEATURE_VALUE_TIME_SERIES_OBSERVED_AT\x10\x02\x42\x8c\x01\n\x13\x63om.chalk.engine.v2B\x17\x46\x65\x61tureValuesChartProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V2\xca\x02\x0f\x43halk\\Engine\\V2\xe2\x02\x1b\x43halk\\Engine\\V2\\GPBMetadata\xea\x02\x11\x43halk::Engine::V2b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
|
17
|
+
module Chalk
|
18
|
+
module Engine
|
19
|
+
module V2
|
20
|
+
FeatureValuePercentileWindowFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValuePercentileWindowFunction").msgclass
|
21
|
+
FeatureValueSeries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValueSeries").msgclass
|
22
|
+
GetFeatureValuesTimeSeriesChartRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest").msgclass
|
23
|
+
GetFeatureValuesTimeSeriesChartResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse").msgclass
|
24
|
+
FeatureValueBaseWindowFunction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValueBaseWindowFunction").enummodule
|
25
|
+
FeatureValueGroupBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValueGroupBy").enummodule
|
26
|
+
FeatureValueTimeSeries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValueTimeSeries").enummodule
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v2/feature_values.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/arrow/v1/arrow_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/common/v1/operation_kind_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n$chalk/engine/v2/feature_values.proto\x12\x0f\x63halk.engine.v2\x1a\x1a\x63halk/arrow/v1/arrow.proto\x1a$chalk/common/v1/operation_kind.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x02\n\x13\x46\x65\x61tureValueFilters\x12!\n\x0cresolver_fqn\x18\x01 \x03(\tR\x0bresolverFqn\x12#\n\rdeployment_id\x18\x02 \x03(\tR\x0c\x64\x65ploymentId\x12!\n\x0coperation_id\x18\x03 \x03(\tR\x0boperationId\x12\x45\n\x0eoperation_kind\x18\x04 \x03(\x0e\x32\x1e.chalk.common.v1.OperationKindR\roperationKind\x12<\n\x0bprimary_key\x18\x05 \x03(\x0b\x32\x1b.chalk.arrow.v1.ScalarValueR\nprimaryKey\"\xb4\x01\n\x19GetFeatureValuesPageToken\x12?\n\rtimestamp_hwm\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0ctimestampHwm\x12(\n\x10operation_id_hwm\x18\x02 \x01(\tR\x0eoperationIdHwm\x12,\n\x12observation_id_hwm\x18\x03 \x01(\tR\x10observationIdHwm\"\xaa\x03\n\x17GetFeatureValuesRequest\x12\x1f\n\x0b\x66\x65\x61ture_fqn\x18\x01 \x01(\tR\nfeatureFqn\x12R\n\x0etimestamp_type\x18\x02 \x01(\x0e\x32+.chalk.engine.v2.FeatureValuesTimestampTypeR\rtimestampType\x12N\n\x15lower_bound_inclusive\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x13lowerBoundInclusive\x12N\n\x15upper_bound_exclusive\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x13upperBoundExclusive\x12>\n\x07\x66ilters\x18\x05 \x01(\x0b\x32$.chalk.engine.v2.FeatureValueFiltersR\x07\x66ilters\x12\x1b\n\tpage_size\x18\x06 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x07 \x01(\tR\tpageToken\"\x88\x01\n\x18GetFeatureValuesResponse\x12&\n\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken\x12\x1d\n\ntotal_size\x18\x02 \x01(\x05R\ttotalSize\x12\x1a\n\x07parquet\x18\x03 \x01(\x0cH\x00R\x07parquetB\t\n\x07payload*\xa9\x01\n\x1a\x46\x65\x61tureValuesTimestampType\x12-\n)FEATURE_VALUES_TIMESTAMP_TYPE_UNSPECIFIED\x10\x00\x12-\n)FEATURE_VALUES_TIMESTAMP_TYPE_INSERTED_AT\x10\x01\x12-\n)FEATURE_VALUES_TIMESTAMP_TYPE_OBSERVED_AT\x10\x02\x42\x87\x01\n\x13\x63om.chalk.engine.v2B\x12\x46\x65\x61tureValuesProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V2\xca\x02\x0f\x43halk\\Engine\\V2\xe2\x02\x1b\x43halk\\Engine\\V2\\GPBMetadata\xea\x02\x11\x43halk::Engine::V2b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
|
17
|
+
module Chalk
|
18
|
+
module Engine
|
19
|
+
module V2
|
20
|
+
FeatureValueFilters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValueFilters").msgclass
|
21
|
+
GetFeatureValuesPageToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetFeatureValuesPageToken").msgclass
|
22
|
+
GetFeatureValuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetFeatureValuesRequest").msgclass
|
23
|
+
GetFeatureValuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetFeatureValuesResponse").msgclass
|
24
|
+
FeatureValuesTimestampType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.FeatureValuesTimestampType").enummodule
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v2/offline_store_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/auth/v1/permissions_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/engine/v2/feature_values_pb'
|
9
|
+
require 'chalk_ruby/protos/chalk/engine/v2/feature_values_chart_pb'
|
10
|
+
require 'chalk_ruby/protos/chalk/engine/v2/query_log_pb'
|
11
|
+
require 'chalk_ruby/protos/chalk/engine/v2/query_values_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n+chalk/engine/v2/offline_store_service.proto\x12\x0f\x63halk.engine.v2\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a$chalk/engine/v2/feature_values.proto\x1a*chalk/engine/v2/feature_values_chart.proto\x1a\x1f\x63halk/engine/v2/query_log.proto\x1a\"chalk/engine/v2/query_values.proto\"\x1a\n\x18OfflineStoreServiceDummy2\xfb\x03\n\x13OfflineStoreService\x12r\n\x12GetQueryLogEntries\x12*.chalk.engine.v2.GetQueryLogEntriesRequest\x1a+.chalk.engine.v2.GetQueryLogEntriesResponse\"\x03\x80}\x04\x12\x66\n\x0eGetQueryValues\x12&.chalk.engine.v2.GetQueryValuesRequest\x1a\'.chalk.engine.v2.GetQueryValuesResponse\"\x03\x80}\x04\x12\x99\x01\n\x1fGetFeatureValuesTimeSeriesChart\x12\x37.chalk.engine.v2.GetFeatureValuesTimeSeriesChartRequest\x1a\x38.chalk.engine.v2.GetFeatureValuesTimeSeriesChartResponse\"\x03\x80}\x04\x12l\n\x10GetFeatureValues\x12(.chalk.engine.v2.GetFeatureValuesRequest\x1a).chalk.engine.v2.GetFeatureValuesResponse\"\x03\x80}\x04\x42\x8d\x01\n\x13\x63om.chalk.engine.v2B\x18OfflineStoreServiceProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V2\xca\x02\x0f\x43halk\\Engine\\V2\xe2\x02\x1b\x43halk\\Engine\\V2\\GPBMetadata\xea\x02\x11\x43halk::Engine::V2b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
|
19
|
+
module Chalk
|
20
|
+
module Engine
|
21
|
+
module V2
|
22
|
+
OfflineStoreServiceDummy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.OfflineStoreServiceDummy").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: chalk/engine/v2/offline_store_service.proto for package 'Chalk.Engine.V2'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'chalk_ruby/protos/chalk/engine/v2/offline_store_service_pb'
|
6
|
+
|
7
|
+
module Chalk
|
8
|
+
module Engine
|
9
|
+
module V2
|
10
|
+
module OfflineStoreService
|
11
|
+
# This service exposes endpoints for dealing with the offline store. It should never depend on the python graph.
|
12
|
+
# v2 introduces two breaking changes:
|
13
|
+
# Uses messages from engine.v2 instead of common.v1 (common is not meant for engine-specific messages)
|
14
|
+
# Removes certain endpoints added and had to be immediately deprecated due to deprecation
|
15
|
+
class Service
|
16
|
+
|
17
|
+
include ::GRPC::GenericService
|
18
|
+
|
19
|
+
self.marshal_class_method = :encode
|
20
|
+
self.unmarshal_class_method = :decode
|
21
|
+
self.service_name = 'chalk.engine.v2.OfflineStoreService'
|
22
|
+
|
23
|
+
rpc :GetQueryLogEntries, ::Chalk::Engine::V2::GetQueryLogEntriesRequest, ::Chalk::Engine::V2::GetQueryLogEntriesResponse
|
24
|
+
rpc :GetQueryValues, ::Chalk::Engine::V2::GetQueryValuesRequest, ::Chalk::Engine::V2::GetQueryValuesResponse
|
25
|
+
rpc :GetFeatureValuesTimeSeriesChart, ::Chalk::Engine::V2::GetFeatureValuesTimeSeriesChartRequest, ::Chalk::Engine::V2::GetFeatureValuesTimeSeriesChartResponse
|
26
|
+
rpc :GetFeatureValues, ::Chalk::Engine::V2::GetFeatureValuesRequest, ::Chalk::Engine::V2::GetFeatureValuesResponse
|
27
|
+
end
|
28
|
+
|
29
|
+
Stub = Service.rpc_stub_class
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: chalk/engine/v2/query_log.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'chalk_ruby/protos/chalk/common/v1/operation_kind_pb'
|
8
|
+
require 'chalk_ruby/protos/chalk/common/v1/query_status_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n\x1f\x63halk/engine/v2/query_log.proto\x12\x0f\x63halk.engine.v2\x1a$chalk/common/v1/operation_kind.proto\x1a\"chalk/common/v1/query_status.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"}\n\x12VersionedQueryName\x12\x1d\n\nquery_name\x18\x01 \x01(\tR\tqueryName\x12\x31\n\x12query_name_version\x18\x02 \x01(\tH\x00R\x10queryNameVersion\x88\x01\x01\x42\x15\n\x13_query_name_version\"\xef\x03\n\x0fQueryLogFilters\x12!\n\x0coperation_id\x18\x01 \x03(\tR\x0boperationId\x12\x45\n\x0eoperation_kind\x18\x02 \x03(\x0e\x32\x1e.chalk.common.v1.OperationKindR\roperationKind\x12\x42\n\nquery_name\x18\x03 \x03(\x0b\x32#.chalk.engine.v2.VersionedQueryNameR\tqueryName\x12\x19\n\x08\x61gent_id\x18\x05 \x03(\tR\x07\x61gentId\x12\x1f\n\x0b\x62ranch_name\x18\x06 \x03(\tR\nbranchName\x12%\n\x0e\x63orrelation_id\x18\x07 \x03(\tR\rcorrelationId\x12\x19\n\x08trace_id\x18\x08 \x03(\tR\x07traceId\x12\"\n\rquery_plan_id\x18\t \x03(\tR\x0bqueryPlanId\x12#\n\rdeployment_id\x18\n \x03(\tR\x0c\x64\x65ploymentId\x12?\n\x0cquery_status\x18\x0b \x03(\x0e\x32\x1c.chalk.common.v1.QueryStatusR\x0bqueryStatus\x12&\n\x0fmeta_query_hash\x18\x0c \x03(\tR\rmetaQueryHash\"\x93\x01\n\x1bGetQueryLogEntriesPageToken\x12(\n\x10operation_id_hwm\x18\x01 \x01(\tR\x0eoperationIdHwm\x12J\n\x13query_timestamp_hwm\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x11queryTimestampHwm\"\x9e\x03\n\x19GetQueryLogEntriesRequest\x12l\n%query_timestamp_lower_bound_inclusive\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR!queryTimestampLowerBoundInclusive\x12q\n%query_timestamp_upper_bound_exclusive\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R!queryTimestampUpperBoundExclusive\x88\x01\x01\x12:\n\x07\x66ilters\x18\x03 \x01(\x0b\x32 .chalk.engine.v2.QueryLogFiltersR\x07\x66ilters\x12\x1b\n\tpage_size\x18\x04 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x05 \x01(\tR\tpageTokenB(\n&_query_timestamp_upper_bound_exclusive\"\xa3\x06\n\rQueryLogEntry\x12!\n\x0coperation_id\x18\x01 \x01(\tR\x0boperationId\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x03 \x01(\tR\x0c\x64\x65ploymentId\x12\x45\n\x0eoperation_kind\x18\x04 \x01(\x0e\x32\x1e.chalk.common.v1.OperationKindR\roperationKind\x12\x43\n\x0fquery_timestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0equeryTimestamp\x12L\n\x14\x65xecution_started_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x12\x65xecutionStartedAt\x12N\n\x15\x65xecution_finished_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x13\x65xecutionFinishedAt\x12?\n\x0cquery_status\x18\x08 \x01(\x0e\x32\x1c.chalk.common.v1.QueryStatusR\x0bqueryStatus\x12\x1d\n\nquery_name\x18\t \x01(\tR\tqueryName\x12,\n\x12query_name_version\x18\n \x01(\tR\x10queryNameVersion\x12\x19\n\x08\x61gent_id\x18\x0b \x01(\tR\x07\x61gentId\x12\x1f\n\x0b\x62ranch_name\x18\x0c \x01(\tR\nbranchName\x12%\n\x0e\x63orrelation_id\x18\r \x01(\tR\rcorrelationId\x12\x19\n\x08trace_id\x18\x0e \x01(\tR\x07traceId\x12\"\n\rquery_plan_id\x18\x0f \x01(\tR\x0bqueryPlanId\x12!\n\x0cvalue_tables\x18\x10 \x03(\tR\x0bvalueTables\x12&\n\x0fmeta_query_hash\x18\x11 \x01(\tR\rmetaQueryHash\"~\n\x1aGetQueryLogEntriesResponse\x12\x38\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1e.chalk.engine.v2.QueryLogEntryR\x07\x65ntries\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageTokenB\x82\x01\n\x13\x63om.chalk.engine.v2B\rQueryLogProtoP\x01\xa2\x02\x03\x43\x45X\xaa\x02\x0f\x43halk.Engine.V2\xca\x02\x0f\x43halk\\Engine\\V2\xe2\x02\x1b\x43halk\\Engine\\V2\\GPBMetadata\xea\x02\x11\x43halk::Engine::V2b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
|
17
|
+
module Chalk
|
18
|
+
module Engine
|
19
|
+
module V2
|
20
|
+
VersionedQueryName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.VersionedQueryName").msgclass
|
21
|
+
QueryLogFilters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.QueryLogFilters").msgclass
|
22
|
+
GetQueryLogEntriesPageToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetQueryLogEntriesPageToken").msgclass
|
23
|
+
GetQueryLogEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetQueryLogEntriesRequest").msgclass
|
24
|
+
QueryLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.QueryLogEntry").msgclass
|
25
|
+
GetQueryLogEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("chalk.engine.v2.GetQueryLogEntriesResponse").msgclass
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|