@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,393 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/assets/v1beta2/dashboard.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 { Event } from "./common";
|
|
14
|
+
import { Lineage } from "./common";
|
|
15
|
+
import { Owner } from "./common";
|
|
16
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
17
|
+
import { Struct } from "../../../google/protobuf/struct";
|
|
18
|
+
/**
|
|
19
|
+
* Dashboard is a resource that represents a dashboard.
|
|
20
|
+
*
|
|
21
|
+
* @generated from protobuf message raystack.assets.v1beta2.Dashboard
|
|
22
|
+
*/
|
|
23
|
+
export interface Dashboard {
|
|
24
|
+
/**
|
|
25
|
+
* The list of the charts in the dashboard.
|
|
26
|
+
* For an example, check the schema of the chart.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.Chart charts = 1
|
|
29
|
+
*/
|
|
30
|
+
charts: Chart[];
|
|
31
|
+
/**
|
|
32
|
+
* List of attributes the model has.
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf field: google.protobuf.Struct attributes = 8
|
|
35
|
+
*/
|
|
36
|
+
attributes?: Struct;
|
|
37
|
+
/**
|
|
38
|
+
* The timestamp of the dashboard's creation.
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf field: google.protobuf.Timestamp create_time = 101
|
|
41
|
+
*/
|
|
42
|
+
createTime?: Timestamp;
|
|
43
|
+
/**
|
|
44
|
+
* The timestamp when the dashboard was last modified.
|
|
45
|
+
*
|
|
46
|
+
* @generated from protobuf field: google.protobuf.Timestamp update_time = 102
|
|
47
|
+
*/
|
|
48
|
+
updateTime?: Timestamp;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf message raystack.assets.v1beta2.Chart
|
|
52
|
+
*/
|
|
53
|
+
export interface Chart {
|
|
54
|
+
/**
|
|
55
|
+
* The URN of the chart.
|
|
56
|
+
* Example: `chart:1`.
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf field: string urn = 1
|
|
59
|
+
*/
|
|
60
|
+
urn: string;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the chart.
|
|
63
|
+
* Example: `My Chart`.
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf field: string name = 2
|
|
66
|
+
*/
|
|
67
|
+
name: string;
|
|
68
|
+
/**
|
|
69
|
+
* The type of the chart.
|
|
70
|
+
* Example: `line`.
|
|
71
|
+
*
|
|
72
|
+
* @generated from protobuf field: string type = 3
|
|
73
|
+
*/
|
|
74
|
+
type: string;
|
|
75
|
+
/**
|
|
76
|
+
* The source of the chart.
|
|
77
|
+
* Example: `metabase`.
|
|
78
|
+
*
|
|
79
|
+
* @generated from protobuf field: string source = 4
|
|
80
|
+
*/
|
|
81
|
+
source: string;
|
|
82
|
+
/**
|
|
83
|
+
* The description of the chart.
|
|
84
|
+
* Example: `This is a chart for my dashboard.`
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf field: string description = 5
|
|
87
|
+
*/
|
|
88
|
+
description: string;
|
|
89
|
+
/**
|
|
90
|
+
* The url of the chart.
|
|
91
|
+
* Example: `http://metabase.com/charts/mychart`.
|
|
92
|
+
*
|
|
93
|
+
* @generated from protobuf field: string url = 6
|
|
94
|
+
*/
|
|
95
|
+
url: string;
|
|
96
|
+
/**
|
|
97
|
+
* The raw query of the chart.
|
|
98
|
+
* Example: `SELECT * FROM my_table`.
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf field: string raw_query = 7
|
|
101
|
+
*/
|
|
102
|
+
rawQuery: string;
|
|
103
|
+
/**
|
|
104
|
+
* The source of the data.
|
|
105
|
+
* Example: `bigquery,graphite`.
|
|
106
|
+
*
|
|
107
|
+
* @generated from protobuf field: string data_source = 8
|
|
108
|
+
*/
|
|
109
|
+
dataSource: string;
|
|
110
|
+
/**
|
|
111
|
+
* The dashboard ur of the chart.
|
|
112
|
+
* Example: `dashboard:1`.
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf field: string dashboard_urn = 9
|
|
115
|
+
*/
|
|
116
|
+
dashboardUrn: string;
|
|
117
|
+
/**
|
|
118
|
+
* The source of the dashboard of the chart.
|
|
119
|
+
* Example: `metabase`.
|
|
120
|
+
*
|
|
121
|
+
* @generated from protobuf field: string dashboard_source = 10
|
|
122
|
+
*/
|
|
123
|
+
dashboardSource: string;
|
|
124
|
+
/**
|
|
125
|
+
* The ownership of the dashboard.
|
|
126
|
+
* For an example check out ownership.
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.Owner owners = 31
|
|
129
|
+
*/
|
|
130
|
+
owners: Owner[];
|
|
131
|
+
/**
|
|
132
|
+
* List of properties the model has.
|
|
133
|
+
*
|
|
134
|
+
* @generated from protobuf field: google.protobuf.Struct attributes = 32
|
|
135
|
+
*/
|
|
136
|
+
attributes?: Struct;
|
|
137
|
+
/**
|
|
138
|
+
* The lineage of the chart.
|
|
139
|
+
* For an example check out lineage schema.
|
|
140
|
+
*
|
|
141
|
+
* @generated from protobuf field: raystack.assets.v1beta2.Lineage lineage = 33
|
|
142
|
+
*/
|
|
143
|
+
lineage?: Lineage;
|
|
144
|
+
/**
|
|
145
|
+
* The timestamp when the object was created.
|
|
146
|
+
*
|
|
147
|
+
* @generated from protobuf field: google.protobuf.Timestamp create_time = 34
|
|
148
|
+
*/
|
|
149
|
+
createTime?: Timestamp;
|
|
150
|
+
/**
|
|
151
|
+
* The timestamp when the object was last modified.
|
|
152
|
+
*
|
|
153
|
+
* @generated from protobuf field: google.protobuf.Timestamp update_time = 35
|
|
154
|
+
*/
|
|
155
|
+
updateTime?: Timestamp;
|
|
156
|
+
/**
|
|
157
|
+
* The timestamp of the generated event.
|
|
158
|
+
* Event schemas is defined in the common event schema.
|
|
159
|
+
*
|
|
160
|
+
* @generated from protobuf field: raystack.assets.v1beta2.Event event = 100
|
|
161
|
+
*/
|
|
162
|
+
event?: Event;
|
|
163
|
+
}
|
|
164
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
165
|
+
class Dashboard$Type extends MessageType<Dashboard> {
|
|
166
|
+
constructor() {
|
|
167
|
+
super("raystack.assets.v1beta2.Dashboard", [
|
|
168
|
+
{ no: 1, name: "charts", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Chart },
|
|
169
|
+
{ no: 8, name: "attributes", kind: "message", T: () => Struct },
|
|
170
|
+
{ no: 101, name: "create_time", kind: "message", T: () => Timestamp },
|
|
171
|
+
{ no: 102, name: "update_time", kind: "message", T: () => Timestamp }
|
|
172
|
+
]);
|
|
173
|
+
}
|
|
174
|
+
create(value?: PartialMessage<Dashboard>): Dashboard {
|
|
175
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
176
|
+
message.charts = [];
|
|
177
|
+
if (value !== undefined)
|
|
178
|
+
reflectionMergePartial<Dashboard>(this, message, value);
|
|
179
|
+
return message;
|
|
180
|
+
}
|
|
181
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Dashboard): Dashboard {
|
|
182
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
183
|
+
while (reader.pos < end) {
|
|
184
|
+
let [fieldNo, wireType] = reader.tag();
|
|
185
|
+
switch (fieldNo) {
|
|
186
|
+
case /* repeated raystack.assets.v1beta2.Chart charts */ 1:
|
|
187
|
+
message.charts.push(Chart.internalBinaryRead(reader, reader.uint32(), options));
|
|
188
|
+
break;
|
|
189
|
+
case /* google.protobuf.Struct attributes */ 8:
|
|
190
|
+
message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
191
|
+
break;
|
|
192
|
+
case /* google.protobuf.Timestamp create_time */ 101:
|
|
193
|
+
message.createTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
|
|
194
|
+
break;
|
|
195
|
+
case /* google.protobuf.Timestamp update_time */ 102:
|
|
196
|
+
message.updateTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
|
|
197
|
+
break;
|
|
198
|
+
default:
|
|
199
|
+
let u = options.readUnknownField;
|
|
200
|
+
if (u === "throw")
|
|
201
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
202
|
+
let d = reader.skip(wireType);
|
|
203
|
+
if (u !== false)
|
|
204
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
return message;
|
|
208
|
+
}
|
|
209
|
+
internalBinaryWrite(message: Dashboard, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
210
|
+
/* repeated raystack.assets.v1beta2.Chart charts = 1; */
|
|
211
|
+
for (let i = 0; i < message.charts.length; i++)
|
|
212
|
+
Chart.internalBinaryWrite(message.charts[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
213
|
+
/* google.protobuf.Struct attributes = 8; */
|
|
214
|
+
if (message.attributes)
|
|
215
|
+
Struct.internalBinaryWrite(message.attributes, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
216
|
+
/* google.protobuf.Timestamp create_time = 101; */
|
|
217
|
+
if (message.createTime)
|
|
218
|
+
Timestamp.internalBinaryWrite(message.createTime, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
|
219
|
+
/* google.protobuf.Timestamp update_time = 102; */
|
|
220
|
+
if (message.updateTime)
|
|
221
|
+
Timestamp.internalBinaryWrite(message.updateTime, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
|
|
222
|
+
let u = options.writeUnknownFields;
|
|
223
|
+
if (u !== false)
|
|
224
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
225
|
+
return writer;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.Dashboard
|
|
230
|
+
*/
|
|
231
|
+
export const Dashboard = new Dashboard$Type();
|
|
232
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
233
|
+
class Chart$Type extends MessageType<Chart> {
|
|
234
|
+
constructor() {
|
|
235
|
+
super("raystack.assets.v1beta2.Chart", [
|
|
236
|
+
{ no: 1, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
237
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
238
|
+
{ no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
239
|
+
{ no: 4, name: "source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
240
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
241
|
+
{ no: 6, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
242
|
+
{ no: 7, name: "raw_query", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
243
|
+
{ no: 8, name: "data_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
244
|
+
{ no: 9, name: "dashboard_urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
245
|
+
{ no: 10, name: "dashboard_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
246
|
+
{ no: 31, name: "owners", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Owner },
|
|
247
|
+
{ no: 32, name: "attributes", kind: "message", T: () => Struct },
|
|
248
|
+
{ no: 33, name: "lineage", kind: "message", T: () => Lineage },
|
|
249
|
+
{ no: 34, name: "create_time", kind: "message", T: () => Timestamp },
|
|
250
|
+
{ no: 35, name: "update_time", kind: "message", T: () => Timestamp },
|
|
251
|
+
{ no: 100, name: "event", kind: "message", T: () => Event }
|
|
252
|
+
]);
|
|
253
|
+
}
|
|
254
|
+
create(value?: PartialMessage<Chart>): Chart {
|
|
255
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
256
|
+
message.urn = "";
|
|
257
|
+
message.name = "";
|
|
258
|
+
message.type = "";
|
|
259
|
+
message.source = "";
|
|
260
|
+
message.description = "";
|
|
261
|
+
message.url = "";
|
|
262
|
+
message.rawQuery = "";
|
|
263
|
+
message.dataSource = "";
|
|
264
|
+
message.dashboardUrn = "";
|
|
265
|
+
message.dashboardSource = "";
|
|
266
|
+
message.owners = [];
|
|
267
|
+
if (value !== undefined)
|
|
268
|
+
reflectionMergePartial<Chart>(this, message, value);
|
|
269
|
+
return message;
|
|
270
|
+
}
|
|
271
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Chart): Chart {
|
|
272
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
273
|
+
while (reader.pos < end) {
|
|
274
|
+
let [fieldNo, wireType] = reader.tag();
|
|
275
|
+
switch (fieldNo) {
|
|
276
|
+
case /* string urn */ 1:
|
|
277
|
+
message.urn = reader.string();
|
|
278
|
+
break;
|
|
279
|
+
case /* string name */ 2:
|
|
280
|
+
message.name = reader.string();
|
|
281
|
+
break;
|
|
282
|
+
case /* string type */ 3:
|
|
283
|
+
message.type = reader.string();
|
|
284
|
+
break;
|
|
285
|
+
case /* string source */ 4:
|
|
286
|
+
message.source = reader.string();
|
|
287
|
+
break;
|
|
288
|
+
case /* string description */ 5:
|
|
289
|
+
message.description = reader.string();
|
|
290
|
+
break;
|
|
291
|
+
case /* string url */ 6:
|
|
292
|
+
message.url = reader.string();
|
|
293
|
+
break;
|
|
294
|
+
case /* string raw_query */ 7:
|
|
295
|
+
message.rawQuery = reader.string();
|
|
296
|
+
break;
|
|
297
|
+
case /* string data_source */ 8:
|
|
298
|
+
message.dataSource = reader.string();
|
|
299
|
+
break;
|
|
300
|
+
case /* string dashboard_urn */ 9:
|
|
301
|
+
message.dashboardUrn = reader.string();
|
|
302
|
+
break;
|
|
303
|
+
case /* string dashboard_source */ 10:
|
|
304
|
+
message.dashboardSource = reader.string();
|
|
305
|
+
break;
|
|
306
|
+
case /* repeated raystack.assets.v1beta2.Owner owners */ 31:
|
|
307
|
+
message.owners.push(Owner.internalBinaryRead(reader, reader.uint32(), options));
|
|
308
|
+
break;
|
|
309
|
+
case /* google.protobuf.Struct attributes */ 32:
|
|
310
|
+
message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
311
|
+
break;
|
|
312
|
+
case /* raystack.assets.v1beta2.Lineage lineage */ 33:
|
|
313
|
+
message.lineage = Lineage.internalBinaryRead(reader, reader.uint32(), options, message.lineage);
|
|
314
|
+
break;
|
|
315
|
+
case /* google.protobuf.Timestamp create_time */ 34:
|
|
316
|
+
message.createTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
|
|
317
|
+
break;
|
|
318
|
+
case /* google.protobuf.Timestamp update_time */ 35:
|
|
319
|
+
message.updateTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
|
|
320
|
+
break;
|
|
321
|
+
case /* raystack.assets.v1beta2.Event event */ 100:
|
|
322
|
+
message.event = Event.internalBinaryRead(reader, reader.uint32(), options, message.event);
|
|
323
|
+
break;
|
|
324
|
+
default:
|
|
325
|
+
let u = options.readUnknownField;
|
|
326
|
+
if (u === "throw")
|
|
327
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
328
|
+
let d = reader.skip(wireType);
|
|
329
|
+
if (u !== false)
|
|
330
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
return message;
|
|
334
|
+
}
|
|
335
|
+
internalBinaryWrite(message: Chart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
336
|
+
/* string urn = 1; */
|
|
337
|
+
if (message.urn !== "")
|
|
338
|
+
writer.tag(1, WireType.LengthDelimited).string(message.urn);
|
|
339
|
+
/* string name = 2; */
|
|
340
|
+
if (message.name !== "")
|
|
341
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
342
|
+
/* string type = 3; */
|
|
343
|
+
if (message.type !== "")
|
|
344
|
+
writer.tag(3, WireType.LengthDelimited).string(message.type);
|
|
345
|
+
/* string source = 4; */
|
|
346
|
+
if (message.source !== "")
|
|
347
|
+
writer.tag(4, WireType.LengthDelimited).string(message.source);
|
|
348
|
+
/* string description = 5; */
|
|
349
|
+
if (message.description !== "")
|
|
350
|
+
writer.tag(5, WireType.LengthDelimited).string(message.description);
|
|
351
|
+
/* string url = 6; */
|
|
352
|
+
if (message.url !== "")
|
|
353
|
+
writer.tag(6, WireType.LengthDelimited).string(message.url);
|
|
354
|
+
/* string raw_query = 7; */
|
|
355
|
+
if (message.rawQuery !== "")
|
|
356
|
+
writer.tag(7, WireType.LengthDelimited).string(message.rawQuery);
|
|
357
|
+
/* string data_source = 8; */
|
|
358
|
+
if (message.dataSource !== "")
|
|
359
|
+
writer.tag(8, WireType.LengthDelimited).string(message.dataSource);
|
|
360
|
+
/* string dashboard_urn = 9; */
|
|
361
|
+
if (message.dashboardUrn !== "")
|
|
362
|
+
writer.tag(9, WireType.LengthDelimited).string(message.dashboardUrn);
|
|
363
|
+
/* string dashboard_source = 10; */
|
|
364
|
+
if (message.dashboardSource !== "")
|
|
365
|
+
writer.tag(10, WireType.LengthDelimited).string(message.dashboardSource);
|
|
366
|
+
/* repeated raystack.assets.v1beta2.Owner owners = 31; */
|
|
367
|
+
for (let i = 0; i < message.owners.length; i++)
|
|
368
|
+
Owner.internalBinaryWrite(message.owners[i], writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
|
369
|
+
/* google.protobuf.Struct attributes = 32; */
|
|
370
|
+
if (message.attributes)
|
|
371
|
+
Struct.internalBinaryWrite(message.attributes, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
|
|
372
|
+
/* raystack.assets.v1beta2.Lineage lineage = 33; */
|
|
373
|
+
if (message.lineage)
|
|
374
|
+
Lineage.internalBinaryWrite(message.lineage, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
|
|
375
|
+
/* google.protobuf.Timestamp create_time = 34; */
|
|
376
|
+
if (message.createTime)
|
|
377
|
+
Timestamp.internalBinaryWrite(message.createTime, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
|
|
378
|
+
/* google.protobuf.Timestamp update_time = 35; */
|
|
379
|
+
if (message.updateTime)
|
|
380
|
+
Timestamp.internalBinaryWrite(message.updateTime, writer.tag(35, WireType.LengthDelimited).fork(), options).join();
|
|
381
|
+
/* raystack.assets.v1beta2.Event event = 100; */
|
|
382
|
+
if (message.event)
|
|
383
|
+
Event.internalBinaryWrite(message.event, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
|
|
384
|
+
let u = options.writeUnknownFields;
|
|
385
|
+
if (u !== false)
|
|
386
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
387
|
+
return writer;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.Chart
|
|
392
|
+
*/
|
|
393
|
+
export const Chart = new Chart$Type();
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/assets/v1beta2/dashboard.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
import { Event, Lineage, Owner } from "./common_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Dashboard is a resource that represents a dashboard.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message raystack.assets.v1beta2.Dashboard
|
|
14
|
+
*/
|
|
15
|
+
export class Dashboard extends Message<Dashboard> {
|
|
16
|
+
/**
|
|
17
|
+
* The list of the charts in the dashboard.
|
|
18
|
+
* For an example, check the schema of the chart.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: repeated raystack.assets.v1beta2.Chart charts = 1;
|
|
21
|
+
*/
|
|
22
|
+
charts: Chart[] = [];
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* List of attributes the model has.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: google.protobuf.Struct attributes = 8;
|
|
28
|
+
*/
|
|
29
|
+
attributes?: Struct;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* The timestamp of the dashboard's creation.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: google.protobuf.Timestamp create_time = 101;
|
|
35
|
+
*/
|
|
36
|
+
createTime?: Timestamp;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The timestamp when the dashboard was last modified.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
42
|
+
*/
|
|
43
|
+
updateTime?: Timestamp;
|
|
44
|
+
|
|
45
|
+
constructor(data?: PartialMessage<Dashboard>) {
|
|
46
|
+
super();
|
|
47
|
+
proto3.util.initPartial(data, this);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
51
|
+
static readonly typeName = "raystack.assets.v1beta2.Dashboard";
|
|
52
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
53
|
+
{ no: 1, name: "charts", kind: "message", T: Chart, repeated: true },
|
|
54
|
+
{ no: 8, name: "attributes", kind: "message", T: Struct },
|
|
55
|
+
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
56
|
+
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
57
|
+
]);
|
|
58
|
+
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Dashboard {
|
|
60
|
+
return new Dashboard().fromBinary(bytes, options);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Dashboard {
|
|
64
|
+
return new Dashboard().fromJson(jsonValue, options);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Dashboard {
|
|
68
|
+
return new Dashboard().fromJsonString(jsonString, options);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static equals(a: Dashboard | PlainMessage<Dashboard> | undefined, b: Dashboard | PlainMessage<Dashboard> | undefined): boolean {
|
|
72
|
+
return proto3.util.equals(Dashboard, a, b);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message raystack.assets.v1beta2.Chart
|
|
78
|
+
*/
|
|
79
|
+
export class Chart extends Message<Chart> {
|
|
80
|
+
/**
|
|
81
|
+
* The URN of the chart.
|
|
82
|
+
* Example: `chart:1`.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string urn = 1;
|
|
85
|
+
*/
|
|
86
|
+
urn = "";
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The name of the chart.
|
|
90
|
+
* Example: `My Chart`.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: string name = 2;
|
|
93
|
+
*/
|
|
94
|
+
name = "";
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The type of the chart.
|
|
98
|
+
* Example: `line`.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string type = 3;
|
|
101
|
+
*/
|
|
102
|
+
type = "";
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The source of the chart.
|
|
106
|
+
* Example: `metabase`.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string source = 4;
|
|
109
|
+
*/
|
|
110
|
+
source = "";
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The description of the chart.
|
|
114
|
+
* Example: `This is a chart for my dashboard.`
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: string description = 5;
|
|
117
|
+
*/
|
|
118
|
+
description = "";
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The url of the chart.
|
|
122
|
+
* Example: `http://metabase.com/charts/mychart`.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: string url = 6;
|
|
125
|
+
*/
|
|
126
|
+
url = "";
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The raw query of the chart.
|
|
130
|
+
* Example: `SELECT * FROM my_table`.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string raw_query = 7;
|
|
133
|
+
*/
|
|
134
|
+
rawQuery = "";
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The source of the data.
|
|
138
|
+
* Example: `bigquery,graphite`.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string data_source = 8;
|
|
141
|
+
*/
|
|
142
|
+
dataSource = "";
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The dashboard ur of the chart.
|
|
146
|
+
* Example: `dashboard:1`.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string dashboard_urn = 9;
|
|
149
|
+
*/
|
|
150
|
+
dashboardUrn = "";
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* The source of the dashboard of the chart.
|
|
154
|
+
* Example: `metabase`.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: string dashboard_source = 10;
|
|
157
|
+
*/
|
|
158
|
+
dashboardSource = "";
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The ownership of the dashboard.
|
|
162
|
+
* For an example check out ownership.
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: repeated raystack.assets.v1beta2.Owner owners = 31;
|
|
165
|
+
*/
|
|
166
|
+
owners: Owner[] = [];
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* List of properties the model has.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: google.protobuf.Struct attributes = 32;
|
|
172
|
+
*/
|
|
173
|
+
attributes?: Struct;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* The lineage of the chart.
|
|
177
|
+
* For an example check out lineage schema.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: raystack.assets.v1beta2.Lineage lineage = 33;
|
|
180
|
+
*/
|
|
181
|
+
lineage?: Lineage;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The timestamp when the object was created.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: google.protobuf.Timestamp create_time = 34;
|
|
187
|
+
*/
|
|
188
|
+
createTime?: Timestamp;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* The timestamp when the object was last modified.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: google.protobuf.Timestamp update_time = 35;
|
|
194
|
+
*/
|
|
195
|
+
updateTime?: Timestamp;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The timestamp of the generated event.
|
|
199
|
+
* Event schemas is defined in the common event schema.
|
|
200
|
+
*
|
|
201
|
+
* @generated from field: raystack.assets.v1beta2.Event event = 100;
|
|
202
|
+
*/
|
|
203
|
+
event?: Event;
|
|
204
|
+
|
|
205
|
+
constructor(data?: PartialMessage<Chart>) {
|
|
206
|
+
super();
|
|
207
|
+
proto3.util.initPartial(data, this);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
211
|
+
static readonly typeName = "raystack.assets.v1beta2.Chart";
|
|
212
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
213
|
+
{ no: 1, name: "urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
+
{ no: 4, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
+
{ no: 6, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
219
|
+
{ no: 7, name: "raw_query", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
220
|
+
{ no: 8, name: "data_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
221
|
+
{ no: 9, name: "dashboard_urn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
222
|
+
{ no: 10, name: "dashboard_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
223
|
+
{ no: 31, name: "owners", kind: "message", T: Owner, repeated: true },
|
|
224
|
+
{ no: 32, name: "attributes", kind: "message", T: Struct },
|
|
225
|
+
{ no: 33, name: "lineage", kind: "message", T: Lineage },
|
|
226
|
+
{ no: 34, name: "create_time", kind: "message", T: Timestamp },
|
|
227
|
+
{ no: 35, name: "update_time", kind: "message", T: Timestamp },
|
|
228
|
+
{ no: 100, name: "event", kind: "message", T: Event },
|
|
229
|
+
]);
|
|
230
|
+
|
|
231
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Chart {
|
|
232
|
+
return new Chart().fromBinary(bytes, options);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Chart {
|
|
236
|
+
return new Chart().fromJson(jsonValue, options);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Chart {
|
|
240
|
+
return new Chart().fromJsonString(jsonString, options);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
static equals(a: Chart | PlainMessage<Chart> | undefined, b: Chart | PlainMessage<Chart> | undefined): boolean {
|
|
244
|
+
return proto3.util.equals(Chart, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|