@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6
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.
- package/google/api/annotations_pb.ts +33 -0
- package/google/api/field_behavior.ts +95 -0
- package/google/api/field_behavior_pb.ts +139 -0
- package/google/api/http.ts +695 -0
- package/google/api/http_pb.ts +547 -0
- package/google/api/httpbody.ts +159 -0
- package/google/api/httpbody_pb.ts +122 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/struct.ts +484 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/google/protobuf/wrappers.ts +752 -0
- package/package.json +47 -0
- package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
- package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/raystack/assets/index.ts +29 -0
- package/raystack/assets/v1beta1/bucket.ts +362 -0
- package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
- package/raystack/assets/v1beta1/dashboard.ts +426 -0
- package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
- package/raystack/assets/v1beta1/event.ts +105 -0
- package/raystack/assets/v1beta1/event_pb.ts +70 -0
- package/raystack/assets/v1beta1/group.ts +223 -0
- package/raystack/assets/v1beta1/group_pb.ts +149 -0
- package/raystack/assets/v1beta1/job.ts +147 -0
- package/raystack/assets/v1beta1/job_pb.ts +100 -0
- package/raystack/assets/v1beta1/lineage.ts +90 -0
- package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
- package/raystack/assets/v1beta1/ownership.ts +179 -0
- package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
- package/raystack/assets/v1beta1/preview.ts +87 -0
- package/raystack/assets/v1beta1/preview_pb.ts +58 -0
- package/raystack/assets/v1beta1/properties.ts +116 -0
- package/raystack/assets/v1beta1/properties_pb.ts +63 -0
- package/raystack/assets/v1beta1/resource.ts +149 -0
- package/raystack/assets/v1beta1/resource_pb.ts +96 -0
- package/raystack/assets/v1beta1/schema.ts +421 -0
- package/raystack/assets/v1beta1/schema_pb.ts +262 -0
- package/raystack/assets/v1beta1/table.ts +408 -0
- package/raystack/assets/v1beta1/table_pb.ts +266 -0
- package/raystack/assets/v1beta1/timestamp.ts +158 -0
- package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
- package/raystack/assets/v1beta1/topic.ts +253 -0
- package/raystack/assets/v1beta1/topic_pb.ts +171 -0
- package/raystack/assets/v1beta1/user.ts +451 -0
- package/raystack/assets/v1beta1/user_pb.ts +292 -0
- package/raystack/assets/v1beta2/application.ts +125 -0
- package/raystack/assets/v1beta2/application_pb.ts +79 -0
- package/raystack/assets/v1beta2/asset.ts +269 -0
- package/raystack/assets/v1beta2/asset_pb.ts +157 -0
- package/raystack/assets/v1beta2/bucket.ts +341 -0
- package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
- package/raystack/assets/v1beta2/common.ts +392 -0
- package/raystack/assets/v1beta2/common_pb.ts +258 -0
- package/raystack/assets/v1beta2/dashboard.ts +393 -0
- package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
- package/raystack/assets/v1beta2/experiment.ts +274 -0
- package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
- package/raystack/assets/v1beta2/feature_table.ts +387 -0
- package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
- package/raystack/assets/v1beta2/group.ts +178 -0
- package/raystack/assets/v1beta2/group_pb.ts +118 -0
- package/raystack/assets/v1beta2/job.ts +99 -0
- package/raystack/assets/v1beta2/job_pb.ts +65 -0
- package/raystack/assets/v1beta2/metric.ts +163 -0
- package/raystack/assets/v1beta2/metric_pb.ts +105 -0
- package/raystack/assets/v1beta2/model.ts +519 -0
- package/raystack/assets/v1beta2/model_pb.ts +322 -0
- package/raystack/assets/v1beta2/table.ts +663 -0
- package/raystack/assets/v1beta2/table_pb.ts +409 -0
- package/raystack/assets/v1beta2/topic.ts +275 -0
- package/raystack/assets/v1beta2/topic_pb.ts +181 -0
- package/raystack/assets/v1beta2/user.ts +433 -0
- package/raystack/assets/v1beta2/user_pb.ts +277 -0
- package/raystack/common/index.ts +3 -0
- package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
- package/raystack/common/v1/service.client.ts +37 -0
- package/raystack/common/v1/service.ts +245 -0
- package/raystack/common/v1/service_connect.ts +26 -0
- package/raystack/common/v1/service_pb.ts +149 -0
- package/raystack/compass/index.ts +3 -0
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
- package/raystack/compass/v1beta1/service.client.ts +594 -0
- package/raystack/compass/v1beta1/service.ts +8169 -0
- package/raystack/compass/v1beta1/service_connect.ts +407 -0
- package/raystack/compass/v1beta1/service_pb.ts +4975 -0
- package/raystack/entropy/index.ts +6 -0
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
- package/raystack/entropy/v1beta1/module.client.ts +89 -0
- package/raystack/entropy/v1beta1/module.ts +692 -0
- package/raystack/entropy/v1beta1/module_connect.ts +62 -0
- package/raystack/entropy/v1beta1/module_pb.ts +445 -0
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
- package/raystack/entropy/v1beta1/resource.client.ts +129 -0
- package/raystack/entropy/v1beta1/resource.ts +1817 -0
- package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
- package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
- package/raystack/frontier/index.ts +7 -0
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
- package/raystack/frontier/v1beta1/admin.client.ts +849 -0
- package/raystack/frontier/v1beta1/admin.ts +9007 -0
- package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
- package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
- package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
- package/raystack/frontier/v1beta1/frontier.ts +23706 -0
- package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
- package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
- package/raystack/frontier/v1beta1/models.ts +7433 -0
- package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
- package/raystack/guardian/index.ts +3 -0
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
- package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
- package/raystack/guardian/v1beta1/guardian.ts +9688 -0
- package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
- package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
- package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
- package/raystack/optimus/core/v1beta1/backup.ts +708 -0
- package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
- package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
- package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
- package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
- package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
- package/raystack/optimus/core/v1beta1/project.ts +520 -0
- package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
- package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
- package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
- package/raystack/optimus/core/v1beta1/replay.ts +881 -0
- package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
- package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
- package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
- package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
- package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
- package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
- package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
- package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
- package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
- package/raystack/optimus/core/v1beta1/secret.ts +619 -0
- package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
- package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
- package/raystack/optimus/core/v1beta1/status.ts +113 -0
- package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
- package/raystack/optimus/integration/v1beta1/event.ts +531 -0
- package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
- package/raystack/predator/index.ts +2 -0
- package/raystack/predator/v1beta1/metrics_log.ts +457 -0
- package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
- package/raystack/predator/v1beta1/result_log.ts +390 -0
- package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
- package/raystack/raccoon/index.ts +3 -0
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
- package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
- package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
- package/raystack/siren/index.ts +3 -0
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
- package/raystack/siren/v1beta1/siren.client.ts +479 -0
- package/raystack/siren/v1beta1/siren.ts +6507 -0
- package/raystack/siren/v1beta1/siren_connect.ts +332 -0
- package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
- package/raystack/stencil/index.ts +3 -0
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
- package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
- package/raystack/stencil/v1beta1/stencil.ts +2716 -0
- package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
- package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
- package/validate/validate.ts +4130 -0
- package/validate/validate_pb.ts +2621 -0
|
@@ -0,0 +1,663 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/assets/v1beta2/table.proto" (package "raystack.assets.v1beta2", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
14
|
+
import { Struct } from "../../../google/protobuf/struct";
|
|
15
|
+
import { ListValue } from "../../../google/protobuf/struct";
|
|
16
|
+
/**
|
|
17
|
+
* Table is a table in a database.
|
|
18
|
+
* It can be a file, a table, a view, a materialized view, a temporary table, or a virtual table.
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf message raystack.assets.v1beta2.Table
|
|
21
|
+
*/
|
|
22
|
+
export interface Table {
|
|
23
|
+
/**
|
|
24
|
+
* The metrics about the table.
|
|
25
|
+
* For example check the profile schem.
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf field: raystack.assets.v1beta2.TableProfile profile = 1
|
|
28
|
+
*/
|
|
29
|
+
profile?: TableProfile;
|
|
30
|
+
/**
|
|
31
|
+
* The columns of the table.
|
|
32
|
+
* Example: 'id', `name`, `age'.
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.Column columns = 2
|
|
35
|
+
*/
|
|
36
|
+
columns: Column[];
|
|
37
|
+
/**
|
|
38
|
+
* preview_fields of the table.
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf field: repeated string preview_fields = 3
|
|
41
|
+
*/
|
|
42
|
+
previewFields: string[];
|
|
43
|
+
/**
|
|
44
|
+
* preview_rows is a multidimensional array containing preview of table
|
|
45
|
+
*
|
|
46
|
+
* @generated from protobuf field: google.protobuf.ListValue preview_rows = 4
|
|
47
|
+
*/
|
|
48
|
+
previewRows?: ListValue;
|
|
49
|
+
/**
|
|
50
|
+
* List of attributes the model has.
|
|
51
|
+
*
|
|
52
|
+
* @generated from protobuf field: google.protobuf.Struct attributes = 10
|
|
53
|
+
*/
|
|
54
|
+
attributes?: Struct;
|
|
55
|
+
/**
|
|
56
|
+
* The timestamp of the table's creation.
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf field: google.protobuf.Timestamp create_time = 101
|
|
59
|
+
*/
|
|
60
|
+
createTime?: Timestamp;
|
|
61
|
+
/**
|
|
62
|
+
* The timestamp when the table was last modified.
|
|
63
|
+
*
|
|
64
|
+
* @generated from protobuf field: google.protobuf.Timestamp update_time = 102
|
|
65
|
+
*/
|
|
66
|
+
updateTime?: Timestamp;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* TableProfile is the metrics about the table.
|
|
70
|
+
*
|
|
71
|
+
* @generated from protobuf message raystack.assets.v1beta2.TableProfile
|
|
72
|
+
*/
|
|
73
|
+
export interface TableProfile {
|
|
74
|
+
/**
|
|
75
|
+
* The number of rows in the table.
|
|
76
|
+
* Example: `100`.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: int64 total_rows = 1
|
|
79
|
+
*/
|
|
80
|
+
totalRows: bigint;
|
|
81
|
+
/**
|
|
82
|
+
* The number of rows in the table that are not deleted.
|
|
83
|
+
* Example: `event_timestamp`.
|
|
84
|
+
*
|
|
85
|
+
* @generated from protobuf field: string partition_key = 2
|
|
86
|
+
*/
|
|
87
|
+
partitionKey: string;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf field: string partition_value = 3
|
|
90
|
+
*/
|
|
91
|
+
partitionValue: string;
|
|
92
|
+
/**
|
|
93
|
+
* The number of how many times table is being used
|
|
94
|
+
*
|
|
95
|
+
* @generated from protobuf field: int64 usage_count = 4
|
|
96
|
+
*/
|
|
97
|
+
usageCount: bigint;
|
|
98
|
+
/**
|
|
99
|
+
* The information of `join` applied to the table
|
|
100
|
+
*
|
|
101
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.TableCommonJoin common_joins = 5
|
|
102
|
+
*/
|
|
103
|
+
commonJoins: TableCommonJoin[];
|
|
104
|
+
/**
|
|
105
|
+
* The information of `filter` applied to the table
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf field: repeated string filters = 6
|
|
108
|
+
*/
|
|
109
|
+
filters: string[];
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Join is the metric of which are other tables that are joined with this table
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf message raystack.assets.v1beta2.TableCommonJoin
|
|
115
|
+
*/
|
|
116
|
+
export interface TableCommonJoin {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from protobuf field: string urn = 1
|
|
119
|
+
*/
|
|
120
|
+
urn: string;
|
|
121
|
+
/**
|
|
122
|
+
* The number of how many times table is being joined with a certain table urn
|
|
123
|
+
*
|
|
124
|
+
* @generated from protobuf field: int64 count = 2
|
|
125
|
+
*/
|
|
126
|
+
count: bigint;
|
|
127
|
+
/**
|
|
128
|
+
* The information of `join conditions` applied to the table
|
|
129
|
+
*
|
|
130
|
+
* @generated from protobuf field: repeated string conditions = 3
|
|
131
|
+
*/
|
|
132
|
+
conditions: string[];
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Column represents a column in a table or a file.
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf message raystack.assets.v1beta2.Column
|
|
138
|
+
*/
|
|
139
|
+
export interface Column {
|
|
140
|
+
/**
|
|
141
|
+
* The name of the column.
|
|
142
|
+
* Example: `customer_id`.
|
|
143
|
+
*
|
|
144
|
+
* @generated from protobuf field: string name = 1
|
|
145
|
+
*/
|
|
146
|
+
name: string;
|
|
147
|
+
/**
|
|
148
|
+
* The description of the column.
|
|
149
|
+
* Example: `The unique id of the customer`
|
|
150
|
+
*
|
|
151
|
+
* @generated from protobuf field: string description = 2
|
|
152
|
+
*/
|
|
153
|
+
description: string;
|
|
154
|
+
// The data type of the column.
|
|
155
|
+
// Example: `INT64`.
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf field: string data_type = 3
|
|
159
|
+
*/
|
|
160
|
+
dataType: string;
|
|
161
|
+
/**
|
|
162
|
+
* The format of the column.
|
|
163
|
+
* Example: `true`.
|
|
164
|
+
*
|
|
165
|
+
* @generated from protobuf field: bool is_nullable = 4
|
|
166
|
+
*/
|
|
167
|
+
isNullable: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* The length of the column.
|
|
170
|
+
* Example: `10`.
|
|
171
|
+
*
|
|
172
|
+
* @generated from protobuf field: int64 length = 5
|
|
173
|
+
*/
|
|
174
|
+
length: bigint;
|
|
175
|
+
/**
|
|
176
|
+
* The profile of the column.
|
|
177
|
+
*
|
|
178
|
+
* @generated from protobuf field: raystack.assets.v1beta2.ColumnProfile profile = 6
|
|
179
|
+
*/
|
|
180
|
+
profile?: ColumnProfile;
|
|
181
|
+
/**
|
|
182
|
+
* To capture nested columns.
|
|
183
|
+
*
|
|
184
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.Column columns = 7
|
|
185
|
+
*/
|
|
186
|
+
columns: Column[];
|
|
187
|
+
/**
|
|
188
|
+
* Representation of the column properties.
|
|
189
|
+
* Properties facet can be used to set custom properties, tags and labels for a column.
|
|
190
|
+
*
|
|
191
|
+
* @generated from protobuf field: google.protobuf.Struct attributes = 31
|
|
192
|
+
*/
|
|
193
|
+
attributes?: Struct;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @generated from protobuf message raystack.assets.v1beta2.ColumnProfile
|
|
197
|
+
*/
|
|
198
|
+
export interface ColumnProfile {
|
|
199
|
+
/**
|
|
200
|
+
* @generated from protobuf field: string min = 1
|
|
201
|
+
*/
|
|
202
|
+
min: string;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from protobuf field: string max = 2
|
|
205
|
+
*/
|
|
206
|
+
max: string;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from protobuf field: double avg = 3
|
|
209
|
+
*/
|
|
210
|
+
avg: number;
|
|
211
|
+
/**
|
|
212
|
+
* @generated from protobuf field: double med = 4
|
|
213
|
+
*/
|
|
214
|
+
med: number;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from protobuf field: int64 unique = 5
|
|
217
|
+
*/
|
|
218
|
+
unique: bigint;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from protobuf field: int64 count = 6
|
|
221
|
+
*/
|
|
222
|
+
count: bigint;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from protobuf field: string top = 7
|
|
225
|
+
*/
|
|
226
|
+
top: string;
|
|
227
|
+
}
|
|
228
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
229
|
+
class Table$Type extends MessageType<Table> {
|
|
230
|
+
constructor() {
|
|
231
|
+
super("raystack.assets.v1beta2.Table", [
|
|
232
|
+
{ no: 1, name: "profile", kind: "message", T: () => TableProfile },
|
|
233
|
+
{ no: 2, name: "columns", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Column },
|
|
234
|
+
{ no: 3, name: "preview_fields", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
235
|
+
{ no: 4, name: "preview_rows", kind: "message", T: () => ListValue },
|
|
236
|
+
{ no: 10, name: "attributes", kind: "message", T: () => Struct },
|
|
237
|
+
{ no: 101, name: "create_time", kind: "message", T: () => Timestamp },
|
|
238
|
+
{ no: 102, name: "update_time", kind: "message", T: () => Timestamp }
|
|
239
|
+
]);
|
|
240
|
+
}
|
|
241
|
+
create(value?: PartialMessage<Table>): Table {
|
|
242
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
243
|
+
message.columns = [];
|
|
244
|
+
message.previewFields = [];
|
|
245
|
+
if (value !== undefined)
|
|
246
|
+
reflectionMergePartial<Table>(this, message, value);
|
|
247
|
+
return message;
|
|
248
|
+
}
|
|
249
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Table): Table {
|
|
250
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
251
|
+
while (reader.pos < end) {
|
|
252
|
+
let [fieldNo, wireType] = reader.tag();
|
|
253
|
+
switch (fieldNo) {
|
|
254
|
+
case /* raystack.assets.v1beta2.TableProfile profile */ 1:
|
|
255
|
+
message.profile = TableProfile.internalBinaryRead(reader, reader.uint32(), options, message.profile);
|
|
256
|
+
break;
|
|
257
|
+
case /* repeated raystack.assets.v1beta2.Column columns */ 2:
|
|
258
|
+
message.columns.push(Column.internalBinaryRead(reader, reader.uint32(), options));
|
|
259
|
+
break;
|
|
260
|
+
case /* repeated string preview_fields */ 3:
|
|
261
|
+
message.previewFields.push(reader.string());
|
|
262
|
+
break;
|
|
263
|
+
case /* google.protobuf.ListValue preview_rows */ 4:
|
|
264
|
+
message.previewRows = ListValue.internalBinaryRead(reader, reader.uint32(), options, message.previewRows);
|
|
265
|
+
break;
|
|
266
|
+
case /* google.protobuf.Struct attributes */ 10:
|
|
267
|
+
message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
268
|
+
break;
|
|
269
|
+
case /* google.protobuf.Timestamp create_time */ 101:
|
|
270
|
+
message.createTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
|
|
271
|
+
break;
|
|
272
|
+
case /* google.protobuf.Timestamp update_time */ 102:
|
|
273
|
+
message.updateTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
|
|
274
|
+
break;
|
|
275
|
+
default:
|
|
276
|
+
let u = options.readUnknownField;
|
|
277
|
+
if (u === "throw")
|
|
278
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
279
|
+
let d = reader.skip(wireType);
|
|
280
|
+
if (u !== false)
|
|
281
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return message;
|
|
285
|
+
}
|
|
286
|
+
internalBinaryWrite(message: Table, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
287
|
+
/* raystack.assets.v1beta2.TableProfile profile = 1; */
|
|
288
|
+
if (message.profile)
|
|
289
|
+
TableProfile.internalBinaryWrite(message.profile, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
290
|
+
/* repeated raystack.assets.v1beta2.Column columns = 2; */
|
|
291
|
+
for (let i = 0; i < message.columns.length; i++)
|
|
292
|
+
Column.internalBinaryWrite(message.columns[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
293
|
+
/* repeated string preview_fields = 3; */
|
|
294
|
+
for (let i = 0; i < message.previewFields.length; i++)
|
|
295
|
+
writer.tag(3, WireType.LengthDelimited).string(message.previewFields[i]);
|
|
296
|
+
/* google.protobuf.ListValue preview_rows = 4; */
|
|
297
|
+
if (message.previewRows)
|
|
298
|
+
ListValue.internalBinaryWrite(message.previewRows, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
299
|
+
/* google.protobuf.Struct attributes = 10; */
|
|
300
|
+
if (message.attributes)
|
|
301
|
+
Struct.internalBinaryWrite(message.attributes, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
302
|
+
/* google.protobuf.Timestamp create_time = 101; */
|
|
303
|
+
if (message.createTime)
|
|
304
|
+
Timestamp.internalBinaryWrite(message.createTime, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
|
305
|
+
/* google.protobuf.Timestamp update_time = 102; */
|
|
306
|
+
if (message.updateTime)
|
|
307
|
+
Timestamp.internalBinaryWrite(message.updateTime, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
|
|
308
|
+
let u = options.writeUnknownFields;
|
|
309
|
+
if (u !== false)
|
|
310
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
311
|
+
return writer;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.Table
|
|
316
|
+
*/
|
|
317
|
+
export const Table = new Table$Type();
|
|
318
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
319
|
+
class TableProfile$Type extends MessageType<TableProfile> {
|
|
320
|
+
constructor() {
|
|
321
|
+
super("raystack.assets.v1beta2.TableProfile", [
|
|
322
|
+
{ no: 1, name: "total_rows", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
323
|
+
{ no: 2, name: "partition_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
324
|
+
{ no: 3, name: "partition_value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
325
|
+
{ no: 4, name: "usage_count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
326
|
+
{ no: 5, name: "common_joins", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TableCommonJoin },
|
|
327
|
+
{ no: 6, name: "filters", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
328
|
+
]);
|
|
329
|
+
}
|
|
330
|
+
create(value?: PartialMessage<TableProfile>): TableProfile {
|
|
331
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
332
|
+
message.totalRows = 0n;
|
|
333
|
+
message.partitionKey = "";
|
|
334
|
+
message.partitionValue = "";
|
|
335
|
+
message.usageCount = 0n;
|
|
336
|
+
message.commonJoins = [];
|
|
337
|
+
message.filters = [];
|
|
338
|
+
if (value !== undefined)
|
|
339
|
+
reflectionMergePartial<TableProfile>(this, message, value);
|
|
340
|
+
return message;
|
|
341
|
+
}
|
|
342
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableProfile): TableProfile {
|
|
343
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
344
|
+
while (reader.pos < end) {
|
|
345
|
+
let [fieldNo, wireType] = reader.tag();
|
|
346
|
+
switch (fieldNo) {
|
|
347
|
+
case /* int64 total_rows */ 1:
|
|
348
|
+
message.totalRows = reader.int64().toBigInt();
|
|
349
|
+
break;
|
|
350
|
+
case /* string partition_key */ 2:
|
|
351
|
+
message.partitionKey = reader.string();
|
|
352
|
+
break;
|
|
353
|
+
case /* string partition_value */ 3:
|
|
354
|
+
message.partitionValue = reader.string();
|
|
355
|
+
break;
|
|
356
|
+
case /* int64 usage_count */ 4:
|
|
357
|
+
message.usageCount = reader.int64().toBigInt();
|
|
358
|
+
break;
|
|
359
|
+
case /* repeated raystack.assets.v1beta2.TableCommonJoin common_joins */ 5:
|
|
360
|
+
message.commonJoins.push(TableCommonJoin.internalBinaryRead(reader, reader.uint32(), options));
|
|
361
|
+
break;
|
|
362
|
+
case /* repeated string filters */ 6:
|
|
363
|
+
message.filters.push(reader.string());
|
|
364
|
+
break;
|
|
365
|
+
default:
|
|
366
|
+
let u = options.readUnknownField;
|
|
367
|
+
if (u === "throw")
|
|
368
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
369
|
+
let d = reader.skip(wireType);
|
|
370
|
+
if (u !== false)
|
|
371
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
return message;
|
|
375
|
+
}
|
|
376
|
+
internalBinaryWrite(message: TableProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
377
|
+
/* int64 total_rows = 1; */
|
|
378
|
+
if (message.totalRows !== 0n)
|
|
379
|
+
writer.tag(1, WireType.Varint).int64(message.totalRows);
|
|
380
|
+
/* string partition_key = 2; */
|
|
381
|
+
if (message.partitionKey !== "")
|
|
382
|
+
writer.tag(2, WireType.LengthDelimited).string(message.partitionKey);
|
|
383
|
+
/* string partition_value = 3; */
|
|
384
|
+
if (message.partitionValue !== "")
|
|
385
|
+
writer.tag(3, WireType.LengthDelimited).string(message.partitionValue);
|
|
386
|
+
/* int64 usage_count = 4; */
|
|
387
|
+
if (message.usageCount !== 0n)
|
|
388
|
+
writer.tag(4, WireType.Varint).int64(message.usageCount);
|
|
389
|
+
/* repeated raystack.assets.v1beta2.TableCommonJoin common_joins = 5; */
|
|
390
|
+
for (let i = 0; i < message.commonJoins.length; i++)
|
|
391
|
+
TableCommonJoin.internalBinaryWrite(message.commonJoins[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
392
|
+
/* repeated string filters = 6; */
|
|
393
|
+
for (let i = 0; i < message.filters.length; i++)
|
|
394
|
+
writer.tag(6, WireType.LengthDelimited).string(message.filters[i]);
|
|
395
|
+
let u = options.writeUnknownFields;
|
|
396
|
+
if (u !== false)
|
|
397
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
398
|
+
return writer;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.TableProfile
|
|
403
|
+
*/
|
|
404
|
+
export const TableProfile = new TableProfile$Type();
|
|
405
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
406
|
+
class TableCommonJoin$Type extends MessageType<TableCommonJoin> {
|
|
407
|
+
constructor() {
|
|
408
|
+
super("raystack.assets.v1beta2.TableCommonJoin", [
|
|
409
|
+
{ no: 1, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
410
|
+
{ no: 2, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
411
|
+
{ no: 3, name: "conditions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
412
|
+
]);
|
|
413
|
+
}
|
|
414
|
+
create(value?: PartialMessage<TableCommonJoin>): TableCommonJoin {
|
|
415
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
416
|
+
message.urn = "";
|
|
417
|
+
message.count = 0n;
|
|
418
|
+
message.conditions = [];
|
|
419
|
+
if (value !== undefined)
|
|
420
|
+
reflectionMergePartial<TableCommonJoin>(this, message, value);
|
|
421
|
+
return message;
|
|
422
|
+
}
|
|
423
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableCommonJoin): TableCommonJoin {
|
|
424
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
425
|
+
while (reader.pos < end) {
|
|
426
|
+
let [fieldNo, wireType] = reader.tag();
|
|
427
|
+
switch (fieldNo) {
|
|
428
|
+
case /* string urn */ 1:
|
|
429
|
+
message.urn = reader.string();
|
|
430
|
+
break;
|
|
431
|
+
case /* int64 count */ 2:
|
|
432
|
+
message.count = reader.int64().toBigInt();
|
|
433
|
+
break;
|
|
434
|
+
case /* repeated string conditions */ 3:
|
|
435
|
+
message.conditions.push(reader.string());
|
|
436
|
+
break;
|
|
437
|
+
default:
|
|
438
|
+
let u = options.readUnknownField;
|
|
439
|
+
if (u === "throw")
|
|
440
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
441
|
+
let d = reader.skip(wireType);
|
|
442
|
+
if (u !== false)
|
|
443
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
return message;
|
|
447
|
+
}
|
|
448
|
+
internalBinaryWrite(message: TableCommonJoin, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
449
|
+
/* string urn = 1; */
|
|
450
|
+
if (message.urn !== "")
|
|
451
|
+
writer.tag(1, WireType.LengthDelimited).string(message.urn);
|
|
452
|
+
/* int64 count = 2; */
|
|
453
|
+
if (message.count !== 0n)
|
|
454
|
+
writer.tag(2, WireType.Varint).int64(message.count);
|
|
455
|
+
/* repeated string conditions = 3; */
|
|
456
|
+
for (let i = 0; i < message.conditions.length; i++)
|
|
457
|
+
writer.tag(3, WireType.LengthDelimited).string(message.conditions[i]);
|
|
458
|
+
let u = options.writeUnknownFields;
|
|
459
|
+
if (u !== false)
|
|
460
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
461
|
+
return writer;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.TableCommonJoin
|
|
466
|
+
*/
|
|
467
|
+
export const TableCommonJoin = new TableCommonJoin$Type();
|
|
468
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
469
|
+
class Column$Type extends MessageType<Column> {
|
|
470
|
+
constructor() {
|
|
471
|
+
super("raystack.assets.v1beta2.Column", [
|
|
472
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
473
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
474
|
+
{ no: 3, name: "data_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
475
|
+
{ no: 4, name: "is_nullable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
476
|
+
{ no: 5, name: "length", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
477
|
+
{ no: 6, name: "profile", kind: "message", T: () => ColumnProfile },
|
|
478
|
+
{ no: 7, name: "columns", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Column },
|
|
479
|
+
{ no: 31, name: "attributes", kind: "message", T: () => Struct }
|
|
480
|
+
]);
|
|
481
|
+
}
|
|
482
|
+
create(value?: PartialMessage<Column>): Column {
|
|
483
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
484
|
+
message.name = "";
|
|
485
|
+
message.description = "";
|
|
486
|
+
message.dataType = "";
|
|
487
|
+
message.isNullable = false;
|
|
488
|
+
message.length = 0n;
|
|
489
|
+
message.columns = [];
|
|
490
|
+
if (value !== undefined)
|
|
491
|
+
reflectionMergePartial<Column>(this, message, value);
|
|
492
|
+
return message;
|
|
493
|
+
}
|
|
494
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Column): Column {
|
|
495
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
496
|
+
while (reader.pos < end) {
|
|
497
|
+
let [fieldNo, wireType] = reader.tag();
|
|
498
|
+
switch (fieldNo) {
|
|
499
|
+
case /* string name */ 1:
|
|
500
|
+
message.name = reader.string();
|
|
501
|
+
break;
|
|
502
|
+
case /* string description */ 2:
|
|
503
|
+
message.description = reader.string();
|
|
504
|
+
break;
|
|
505
|
+
case /* string data_type */ 3:
|
|
506
|
+
message.dataType = reader.string();
|
|
507
|
+
break;
|
|
508
|
+
case /* bool is_nullable */ 4:
|
|
509
|
+
message.isNullable = reader.bool();
|
|
510
|
+
break;
|
|
511
|
+
case /* int64 length */ 5:
|
|
512
|
+
message.length = reader.int64().toBigInt();
|
|
513
|
+
break;
|
|
514
|
+
case /* raystack.assets.v1beta2.ColumnProfile profile */ 6:
|
|
515
|
+
message.profile = ColumnProfile.internalBinaryRead(reader, reader.uint32(), options, message.profile);
|
|
516
|
+
break;
|
|
517
|
+
case /* repeated raystack.assets.v1beta2.Column columns */ 7:
|
|
518
|
+
message.columns.push(Column.internalBinaryRead(reader, reader.uint32(), options));
|
|
519
|
+
break;
|
|
520
|
+
case /* google.protobuf.Struct attributes */ 31:
|
|
521
|
+
message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
522
|
+
break;
|
|
523
|
+
default:
|
|
524
|
+
let u = options.readUnknownField;
|
|
525
|
+
if (u === "throw")
|
|
526
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
527
|
+
let d = reader.skip(wireType);
|
|
528
|
+
if (u !== false)
|
|
529
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
return message;
|
|
533
|
+
}
|
|
534
|
+
internalBinaryWrite(message: Column, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
535
|
+
/* string name = 1; */
|
|
536
|
+
if (message.name !== "")
|
|
537
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
538
|
+
/* string description = 2; */
|
|
539
|
+
if (message.description !== "")
|
|
540
|
+
writer.tag(2, WireType.LengthDelimited).string(message.description);
|
|
541
|
+
/* string data_type = 3; */
|
|
542
|
+
if (message.dataType !== "")
|
|
543
|
+
writer.tag(3, WireType.LengthDelimited).string(message.dataType);
|
|
544
|
+
/* bool is_nullable = 4; */
|
|
545
|
+
if (message.isNullable !== false)
|
|
546
|
+
writer.tag(4, WireType.Varint).bool(message.isNullable);
|
|
547
|
+
/* int64 length = 5; */
|
|
548
|
+
if (message.length !== 0n)
|
|
549
|
+
writer.tag(5, WireType.Varint).int64(message.length);
|
|
550
|
+
/* raystack.assets.v1beta2.ColumnProfile profile = 6; */
|
|
551
|
+
if (message.profile)
|
|
552
|
+
ColumnProfile.internalBinaryWrite(message.profile, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
553
|
+
/* repeated raystack.assets.v1beta2.Column columns = 7; */
|
|
554
|
+
for (let i = 0; i < message.columns.length; i++)
|
|
555
|
+
Column.internalBinaryWrite(message.columns[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
556
|
+
/* google.protobuf.Struct attributes = 31; */
|
|
557
|
+
if (message.attributes)
|
|
558
|
+
Struct.internalBinaryWrite(message.attributes, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
|
559
|
+
let u = options.writeUnknownFields;
|
|
560
|
+
if (u !== false)
|
|
561
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
562
|
+
return writer;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.Column
|
|
567
|
+
*/
|
|
568
|
+
export const Column = new Column$Type();
|
|
569
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
570
|
+
class ColumnProfile$Type extends MessageType<ColumnProfile> {
|
|
571
|
+
constructor() {
|
|
572
|
+
super("raystack.assets.v1beta2.ColumnProfile", [
|
|
573
|
+
{ no: 1, name: "min", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
574
|
+
{ no: 2, name: "max", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
575
|
+
{ no: 3, name: "avg", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
|
|
576
|
+
{ no: 4, name: "med", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
|
|
577
|
+
{ no: 5, name: "unique", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
578
|
+
{ no: 6, name: "count", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
579
|
+
{ no: 7, name: "top", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
580
|
+
]);
|
|
581
|
+
}
|
|
582
|
+
create(value?: PartialMessage<ColumnProfile>): ColumnProfile {
|
|
583
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
584
|
+
message.min = "";
|
|
585
|
+
message.max = "";
|
|
586
|
+
message.avg = 0;
|
|
587
|
+
message.med = 0;
|
|
588
|
+
message.unique = 0n;
|
|
589
|
+
message.count = 0n;
|
|
590
|
+
message.top = "";
|
|
591
|
+
if (value !== undefined)
|
|
592
|
+
reflectionMergePartial<ColumnProfile>(this, message, value);
|
|
593
|
+
return message;
|
|
594
|
+
}
|
|
595
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ColumnProfile): ColumnProfile {
|
|
596
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
597
|
+
while (reader.pos < end) {
|
|
598
|
+
let [fieldNo, wireType] = reader.tag();
|
|
599
|
+
switch (fieldNo) {
|
|
600
|
+
case /* string min */ 1:
|
|
601
|
+
message.min = reader.string();
|
|
602
|
+
break;
|
|
603
|
+
case /* string max */ 2:
|
|
604
|
+
message.max = reader.string();
|
|
605
|
+
break;
|
|
606
|
+
case /* double avg */ 3:
|
|
607
|
+
message.avg = reader.double();
|
|
608
|
+
break;
|
|
609
|
+
case /* double med */ 4:
|
|
610
|
+
message.med = reader.double();
|
|
611
|
+
break;
|
|
612
|
+
case /* int64 unique */ 5:
|
|
613
|
+
message.unique = reader.int64().toBigInt();
|
|
614
|
+
break;
|
|
615
|
+
case /* int64 count */ 6:
|
|
616
|
+
message.count = reader.int64().toBigInt();
|
|
617
|
+
break;
|
|
618
|
+
case /* string top */ 7:
|
|
619
|
+
message.top = reader.string();
|
|
620
|
+
break;
|
|
621
|
+
default:
|
|
622
|
+
let u = options.readUnknownField;
|
|
623
|
+
if (u === "throw")
|
|
624
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
625
|
+
let d = reader.skip(wireType);
|
|
626
|
+
if (u !== false)
|
|
627
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
return message;
|
|
631
|
+
}
|
|
632
|
+
internalBinaryWrite(message: ColumnProfile, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
633
|
+
/* string min = 1; */
|
|
634
|
+
if (message.min !== "")
|
|
635
|
+
writer.tag(1, WireType.LengthDelimited).string(message.min);
|
|
636
|
+
/* string max = 2; */
|
|
637
|
+
if (message.max !== "")
|
|
638
|
+
writer.tag(2, WireType.LengthDelimited).string(message.max);
|
|
639
|
+
/* double avg = 3; */
|
|
640
|
+
if (message.avg !== 0)
|
|
641
|
+
writer.tag(3, WireType.Bit64).double(message.avg);
|
|
642
|
+
/* double med = 4; */
|
|
643
|
+
if (message.med !== 0)
|
|
644
|
+
writer.tag(4, WireType.Bit64).double(message.med);
|
|
645
|
+
/* int64 unique = 5; */
|
|
646
|
+
if (message.unique !== 0n)
|
|
647
|
+
writer.tag(5, WireType.Varint).int64(message.unique);
|
|
648
|
+
/* int64 count = 6; */
|
|
649
|
+
if (message.count !== 0n)
|
|
650
|
+
writer.tag(6, WireType.Varint).int64(message.count);
|
|
651
|
+
/* string top = 7; */
|
|
652
|
+
if (message.top !== "")
|
|
653
|
+
writer.tag(7, WireType.LengthDelimited).string(message.top);
|
|
654
|
+
let u = options.writeUnknownFields;
|
|
655
|
+
if (u !== false)
|
|
656
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
657
|
+
return writer;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.ColumnProfile
|
|
662
|
+
*/
|
|
663
|
+
export const ColumnProfile = new ColumnProfile$Type();
|