@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,387 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/assets/v1beta2/feature_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
|
+
/**
|
|
16
|
+
* Feature is a Machine Learning(ML) feature. In machine learning, a feature
|
|
17
|
+
* is an individual measurable property, typically represented by a column,
|
|
18
|
+
* that serves as an input for Machine Learning (ML) algorithms.
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf message raystack.assets.v1beta2.Feature
|
|
21
|
+
*/
|
|
22
|
+
export interface Feature {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the field.
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: string name = 1
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* The data type associated with an individual ML Feature.
|
|
31
|
+
*
|
|
32
|
+
* @generated from protobuf field: string data_type = 2
|
|
33
|
+
*/
|
|
34
|
+
dataType: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional: Name of the algorithm used to compute the feature, e.g., PCA,
|
|
37
|
+
* bucketing etc.
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf field: string algorithm = 3
|
|
40
|
+
*/
|
|
41
|
+
algorithm: string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional: Name of the entity instance.
|
|
44
|
+
*
|
|
45
|
+
* @generated from protobuf field: string entity_name = 4
|
|
46
|
+
*/
|
|
47
|
+
entityName: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* FeatureTable is a Machine Learning(ML) feature table or view that
|
|
51
|
+
* represents a logical group of time-series feature data as it is found in a
|
|
52
|
+
* data source.
|
|
53
|
+
*
|
|
54
|
+
* @generated from protobuf message raystack.assets.v1beta2.FeatureTable
|
|
55
|
+
*/
|
|
56
|
+
export interface FeatureTable {
|
|
57
|
+
/**
|
|
58
|
+
* Optional: Feature store's namespace or project.
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf field: string namespace = 1
|
|
61
|
+
*/
|
|
62
|
+
namespace: string;
|
|
63
|
+
/**
|
|
64
|
+
* Optional: The list of entities that this feature view is associated with.
|
|
65
|
+
*
|
|
66
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.FeatureTable.Entity entities = 2
|
|
67
|
+
*/
|
|
68
|
+
entities: FeatureTable_Entity[];
|
|
69
|
+
/**
|
|
70
|
+
* Features that are part of the table, akin to columns in a table.
|
|
71
|
+
*
|
|
72
|
+
* @generated from protobuf field: repeated raystack.assets.v1beta2.Feature features = 3
|
|
73
|
+
*/
|
|
74
|
+
features: Feature[];
|
|
75
|
+
/**
|
|
76
|
+
* List of attributes the model has.
|
|
77
|
+
*
|
|
78
|
+
* @generated from protobuf field: google.protobuf.Struct attributes = 4
|
|
79
|
+
*/
|
|
80
|
+
attributes?: Struct;
|
|
81
|
+
/**
|
|
82
|
+
* The timestamp when the feature table was created.
|
|
83
|
+
*
|
|
84
|
+
* @generated from protobuf field: google.protobuf.Timestamp create_time = 101
|
|
85
|
+
*/
|
|
86
|
+
createTime?: Timestamp;
|
|
87
|
+
/**
|
|
88
|
+
* The timestamp when the feature table was last modified.
|
|
89
|
+
*
|
|
90
|
+
* @generated from protobuf field: google.protobuf.Timestamp update_time = 102
|
|
91
|
+
*/
|
|
92
|
+
updateTime?: Timestamp;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* An entity is a collection of semantically related features. Users define
|
|
96
|
+
* entities to map to the domain of their use case. For example, a
|
|
97
|
+
* ride-hailing service could have customers and drivers as their entities,
|
|
98
|
+
* which group related features that correspond to these customers and drivers.
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf message raystack.assets.v1beta2.FeatureTable.Entity
|
|
101
|
+
*/
|
|
102
|
+
export interface FeatureTable_Entity {
|
|
103
|
+
/**
|
|
104
|
+
* The unique name of the entity.
|
|
105
|
+
*
|
|
106
|
+
* @generated from protobuf field: string name = 1
|
|
107
|
+
*/
|
|
108
|
+
name: string;
|
|
109
|
+
/**
|
|
110
|
+
* A property that uniquely identifies different entities within the
|
|
111
|
+
* collection. The join_key property is typically used for joining entities
|
|
112
|
+
* with their associated features.
|
|
113
|
+
*
|
|
114
|
+
* @generated from protobuf field: repeated string join_keys = 2
|
|
115
|
+
*/
|
|
116
|
+
joinKeys: string[];
|
|
117
|
+
/**
|
|
118
|
+
* Optional: Arbitrary metadata.
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf field: map<string, string> labels = 3
|
|
121
|
+
*/
|
|
122
|
+
labels: {
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Optional: Description of the entity.
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: string description = 4
|
|
129
|
+
*/
|
|
130
|
+
description: string;
|
|
131
|
+
/**
|
|
132
|
+
* Optional: Data type of the entity.
|
|
133
|
+
*
|
|
134
|
+
* @generated from protobuf field: string type = 5
|
|
135
|
+
*/
|
|
136
|
+
type: string;
|
|
137
|
+
}
|
|
138
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
139
|
+
class Feature$Type extends MessageType<Feature> {
|
|
140
|
+
constructor() {
|
|
141
|
+
super("raystack.assets.v1beta2.Feature", [
|
|
142
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
143
|
+
{ no: 2, name: "data_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
144
|
+
{ no: 3, name: "algorithm", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
145
|
+
{ no: 4, name: "entity_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
146
|
+
]);
|
|
147
|
+
}
|
|
148
|
+
create(value?: PartialMessage<Feature>): Feature {
|
|
149
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
150
|
+
message.name = "";
|
|
151
|
+
message.dataType = "";
|
|
152
|
+
message.algorithm = "";
|
|
153
|
+
message.entityName = "";
|
|
154
|
+
if (value !== undefined)
|
|
155
|
+
reflectionMergePartial<Feature>(this, message, value);
|
|
156
|
+
return message;
|
|
157
|
+
}
|
|
158
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Feature): Feature {
|
|
159
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
160
|
+
while (reader.pos < end) {
|
|
161
|
+
let [fieldNo, wireType] = reader.tag();
|
|
162
|
+
switch (fieldNo) {
|
|
163
|
+
case /* string name */ 1:
|
|
164
|
+
message.name = reader.string();
|
|
165
|
+
break;
|
|
166
|
+
case /* string data_type */ 2:
|
|
167
|
+
message.dataType = reader.string();
|
|
168
|
+
break;
|
|
169
|
+
case /* string algorithm */ 3:
|
|
170
|
+
message.algorithm = reader.string();
|
|
171
|
+
break;
|
|
172
|
+
case /* string entity_name */ 4:
|
|
173
|
+
message.entityName = reader.string();
|
|
174
|
+
break;
|
|
175
|
+
default:
|
|
176
|
+
let u = options.readUnknownField;
|
|
177
|
+
if (u === "throw")
|
|
178
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
179
|
+
let d = reader.skip(wireType);
|
|
180
|
+
if (u !== false)
|
|
181
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
return message;
|
|
185
|
+
}
|
|
186
|
+
internalBinaryWrite(message: Feature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
187
|
+
/* string name = 1; */
|
|
188
|
+
if (message.name !== "")
|
|
189
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
190
|
+
/* string data_type = 2; */
|
|
191
|
+
if (message.dataType !== "")
|
|
192
|
+
writer.tag(2, WireType.LengthDelimited).string(message.dataType);
|
|
193
|
+
/* string algorithm = 3; */
|
|
194
|
+
if (message.algorithm !== "")
|
|
195
|
+
writer.tag(3, WireType.LengthDelimited).string(message.algorithm);
|
|
196
|
+
/* string entity_name = 4; */
|
|
197
|
+
if (message.entityName !== "")
|
|
198
|
+
writer.tag(4, WireType.LengthDelimited).string(message.entityName);
|
|
199
|
+
let u = options.writeUnknownFields;
|
|
200
|
+
if (u !== false)
|
|
201
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
202
|
+
return writer;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.Feature
|
|
207
|
+
*/
|
|
208
|
+
export const Feature = new Feature$Type();
|
|
209
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
210
|
+
class FeatureTable$Type extends MessageType<FeatureTable> {
|
|
211
|
+
constructor() {
|
|
212
|
+
super("raystack.assets.v1beta2.FeatureTable", [
|
|
213
|
+
{ no: 1, name: "namespace", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
214
|
+
{ no: 2, name: "entities", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FeatureTable_Entity },
|
|
215
|
+
{ no: 3, name: "features", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Feature },
|
|
216
|
+
{ no: 4, name: "attributes", kind: "message", T: () => Struct },
|
|
217
|
+
{ no: 101, name: "create_time", kind: "message", T: () => Timestamp },
|
|
218
|
+
{ no: 102, name: "update_time", kind: "message", T: () => Timestamp }
|
|
219
|
+
]);
|
|
220
|
+
}
|
|
221
|
+
create(value?: PartialMessage<FeatureTable>): FeatureTable {
|
|
222
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
223
|
+
message.namespace = "";
|
|
224
|
+
message.entities = [];
|
|
225
|
+
message.features = [];
|
|
226
|
+
if (value !== undefined)
|
|
227
|
+
reflectionMergePartial<FeatureTable>(this, message, value);
|
|
228
|
+
return message;
|
|
229
|
+
}
|
|
230
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureTable): FeatureTable {
|
|
231
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
232
|
+
while (reader.pos < end) {
|
|
233
|
+
let [fieldNo, wireType] = reader.tag();
|
|
234
|
+
switch (fieldNo) {
|
|
235
|
+
case /* string namespace */ 1:
|
|
236
|
+
message.namespace = reader.string();
|
|
237
|
+
break;
|
|
238
|
+
case /* repeated raystack.assets.v1beta2.FeatureTable.Entity entities */ 2:
|
|
239
|
+
message.entities.push(FeatureTable_Entity.internalBinaryRead(reader, reader.uint32(), options));
|
|
240
|
+
break;
|
|
241
|
+
case /* repeated raystack.assets.v1beta2.Feature features */ 3:
|
|
242
|
+
message.features.push(Feature.internalBinaryRead(reader, reader.uint32(), options));
|
|
243
|
+
break;
|
|
244
|
+
case /* google.protobuf.Struct attributes */ 4:
|
|
245
|
+
message.attributes = Struct.internalBinaryRead(reader, reader.uint32(), options, message.attributes);
|
|
246
|
+
break;
|
|
247
|
+
case /* google.protobuf.Timestamp create_time */ 101:
|
|
248
|
+
message.createTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createTime);
|
|
249
|
+
break;
|
|
250
|
+
case /* google.protobuf.Timestamp update_time */ 102:
|
|
251
|
+
message.updateTime = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updateTime);
|
|
252
|
+
break;
|
|
253
|
+
default:
|
|
254
|
+
let u = options.readUnknownField;
|
|
255
|
+
if (u === "throw")
|
|
256
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
257
|
+
let d = reader.skip(wireType);
|
|
258
|
+
if (u !== false)
|
|
259
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
return message;
|
|
263
|
+
}
|
|
264
|
+
internalBinaryWrite(message: FeatureTable, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
265
|
+
/* string namespace = 1; */
|
|
266
|
+
if (message.namespace !== "")
|
|
267
|
+
writer.tag(1, WireType.LengthDelimited).string(message.namespace);
|
|
268
|
+
/* repeated raystack.assets.v1beta2.FeatureTable.Entity entities = 2; */
|
|
269
|
+
for (let i = 0; i < message.entities.length; i++)
|
|
270
|
+
FeatureTable_Entity.internalBinaryWrite(message.entities[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
271
|
+
/* repeated raystack.assets.v1beta2.Feature features = 3; */
|
|
272
|
+
for (let i = 0; i < message.features.length; i++)
|
|
273
|
+
Feature.internalBinaryWrite(message.features[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
274
|
+
/* google.protobuf.Struct attributes = 4; */
|
|
275
|
+
if (message.attributes)
|
|
276
|
+
Struct.internalBinaryWrite(message.attributes, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
277
|
+
/* google.protobuf.Timestamp create_time = 101; */
|
|
278
|
+
if (message.createTime)
|
|
279
|
+
Timestamp.internalBinaryWrite(message.createTime, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
|
280
|
+
/* google.protobuf.Timestamp update_time = 102; */
|
|
281
|
+
if (message.updateTime)
|
|
282
|
+
Timestamp.internalBinaryWrite(message.updateTime, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
|
|
283
|
+
let u = options.writeUnknownFields;
|
|
284
|
+
if (u !== false)
|
|
285
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
286
|
+
return writer;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.FeatureTable
|
|
291
|
+
*/
|
|
292
|
+
export const FeatureTable = new FeatureTable$Type();
|
|
293
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
294
|
+
class FeatureTable_Entity$Type extends MessageType<FeatureTable_Entity> {
|
|
295
|
+
constructor() {
|
|
296
|
+
super("raystack.assets.v1beta2.FeatureTable.Entity", [
|
|
297
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
298
|
+
{ no: 2, name: "join_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
299
|
+
{ no: 3, name: "labels", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
|
|
300
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
301
|
+
{ no: 5, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
302
|
+
]);
|
|
303
|
+
}
|
|
304
|
+
create(value?: PartialMessage<FeatureTable_Entity>): FeatureTable_Entity {
|
|
305
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
306
|
+
message.name = "";
|
|
307
|
+
message.joinKeys = [];
|
|
308
|
+
message.labels = {};
|
|
309
|
+
message.description = "";
|
|
310
|
+
message.type = "";
|
|
311
|
+
if (value !== undefined)
|
|
312
|
+
reflectionMergePartial<FeatureTable_Entity>(this, message, value);
|
|
313
|
+
return message;
|
|
314
|
+
}
|
|
315
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureTable_Entity): FeatureTable_Entity {
|
|
316
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
317
|
+
while (reader.pos < end) {
|
|
318
|
+
let [fieldNo, wireType] = reader.tag();
|
|
319
|
+
switch (fieldNo) {
|
|
320
|
+
case /* string name */ 1:
|
|
321
|
+
message.name = reader.string();
|
|
322
|
+
break;
|
|
323
|
+
case /* repeated string join_keys */ 2:
|
|
324
|
+
message.joinKeys.push(reader.string());
|
|
325
|
+
break;
|
|
326
|
+
case /* map<string, string> labels */ 3:
|
|
327
|
+
this.binaryReadMap3(message.labels, reader, options);
|
|
328
|
+
break;
|
|
329
|
+
case /* string description */ 4:
|
|
330
|
+
message.description = reader.string();
|
|
331
|
+
break;
|
|
332
|
+
case /* string type */ 5:
|
|
333
|
+
message.type = reader.string();
|
|
334
|
+
break;
|
|
335
|
+
default:
|
|
336
|
+
let u = options.readUnknownField;
|
|
337
|
+
if (u === "throw")
|
|
338
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
339
|
+
let d = reader.skip(wireType);
|
|
340
|
+
if (u !== false)
|
|
341
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return message;
|
|
345
|
+
}
|
|
346
|
+
private binaryReadMap3(map: FeatureTable_Entity["labels"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
347
|
+
let len = reader.uint32(), end = reader.pos + len, key: keyof FeatureTable_Entity["labels"] | undefined, val: FeatureTable_Entity["labels"][any] | undefined;
|
|
348
|
+
while (reader.pos < end) {
|
|
349
|
+
let [fieldNo, wireType] = reader.tag();
|
|
350
|
+
switch (fieldNo) {
|
|
351
|
+
case 1:
|
|
352
|
+
key = reader.string();
|
|
353
|
+
break;
|
|
354
|
+
case 2:
|
|
355
|
+
val = reader.string();
|
|
356
|
+
break;
|
|
357
|
+
default: throw new globalThis.Error("unknown map entry field for raystack.assets.v1beta2.FeatureTable.Entity.labels");
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
map[key ?? ""] = val ?? "";
|
|
361
|
+
}
|
|
362
|
+
internalBinaryWrite(message: FeatureTable_Entity, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
363
|
+
/* string name = 1; */
|
|
364
|
+
if (message.name !== "")
|
|
365
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
366
|
+
/* repeated string join_keys = 2; */
|
|
367
|
+
for (let i = 0; i < message.joinKeys.length; i++)
|
|
368
|
+
writer.tag(2, WireType.LengthDelimited).string(message.joinKeys[i]);
|
|
369
|
+
/* map<string, string> labels = 3; */
|
|
370
|
+
for (let k of globalThis.Object.keys(message.labels))
|
|
371
|
+
writer.tag(3, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.labels[k]).join();
|
|
372
|
+
/* string description = 4; */
|
|
373
|
+
if (message.description !== "")
|
|
374
|
+
writer.tag(4, WireType.LengthDelimited).string(message.description);
|
|
375
|
+
/* string type = 5; */
|
|
376
|
+
if (message.type !== "")
|
|
377
|
+
writer.tag(5, WireType.LengthDelimited).string(message.type);
|
|
378
|
+
let u = options.writeUnknownFields;
|
|
379
|
+
if (u !== false)
|
|
380
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
381
|
+
return writer;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* @generated MessageType for protobuf message raystack.assets.v1beta2.FeatureTable.Entity
|
|
386
|
+
*/
|
|
387
|
+
export const FeatureTable_Entity = new FeatureTable_Entity$Type();
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/assets/v1beta2/feature_table.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
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Feature is a Machine Learning(ML) feature. In machine learning, a feature
|
|
11
|
+
* is an individual measurable property, typically represented by a column,
|
|
12
|
+
* that serves as an input for Machine Learning (ML) algorithms.
|
|
13
|
+
*
|
|
14
|
+
* @generated from message raystack.assets.v1beta2.Feature
|
|
15
|
+
*/
|
|
16
|
+
export class Feature extends Message<Feature> {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the field.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string name = 1;
|
|
21
|
+
*/
|
|
22
|
+
name = "";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The data type associated with an individual ML Feature.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string data_type = 2;
|
|
28
|
+
*/
|
|
29
|
+
dataType = "";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Optional: Name of the algorithm used to compute the feature, e.g., PCA,
|
|
33
|
+
* bucketing etc.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string algorithm = 3;
|
|
36
|
+
*/
|
|
37
|
+
algorithm = "";
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Optional: Name of the entity instance.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string entity_name = 4;
|
|
43
|
+
*/
|
|
44
|
+
entityName = "";
|
|
45
|
+
|
|
46
|
+
constructor(data?: PartialMessage<Feature>) {
|
|
47
|
+
super();
|
|
48
|
+
proto3.util.initPartial(data, this);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
52
|
+
static readonly typeName = "raystack.assets.v1beta2.Feature";
|
|
53
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
54
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
|
+
{ no: 2, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
|
+
{ no: 3, name: "algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
+
{ no: 4, name: "entity_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
]);
|
|
59
|
+
|
|
60
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Feature {
|
|
61
|
+
return new Feature().fromBinary(bytes, options);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Feature {
|
|
65
|
+
return new Feature().fromJson(jsonValue, options);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Feature {
|
|
69
|
+
return new Feature().fromJsonString(jsonString, options);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static equals(a: Feature | PlainMessage<Feature> | undefined, b: Feature | PlainMessage<Feature> | undefined): boolean {
|
|
73
|
+
return proto3.util.equals(Feature, a, b);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* FeatureTable is a Machine Learning(ML) feature table or view that
|
|
79
|
+
* represents a logical group of time-series feature data as it is found in a
|
|
80
|
+
* data source.
|
|
81
|
+
*
|
|
82
|
+
* @generated from message raystack.assets.v1beta2.FeatureTable
|
|
83
|
+
*/
|
|
84
|
+
export class FeatureTable extends Message<FeatureTable> {
|
|
85
|
+
/**
|
|
86
|
+
* Optional: Feature store's namespace or project.
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: string namespace = 1;
|
|
89
|
+
*/
|
|
90
|
+
namespace = "";
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Optional: The list of entities that this feature view is associated with.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: repeated raystack.assets.v1beta2.FeatureTable.Entity entities = 2;
|
|
96
|
+
*/
|
|
97
|
+
entities: FeatureTable_Entity[] = [];
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Features that are part of the table, akin to columns in a table.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: repeated raystack.assets.v1beta2.Feature features = 3;
|
|
103
|
+
*/
|
|
104
|
+
features: Feature[] = [];
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* List of attributes the model has.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: google.protobuf.Struct attributes = 4;
|
|
110
|
+
*/
|
|
111
|
+
attributes?: Struct;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The timestamp when the feature table was created.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: google.protobuf.Timestamp create_time = 101;
|
|
117
|
+
*/
|
|
118
|
+
createTime?: Timestamp;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The timestamp when the feature table was last modified.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
124
|
+
*/
|
|
125
|
+
updateTime?: Timestamp;
|
|
126
|
+
|
|
127
|
+
constructor(data?: PartialMessage<FeatureTable>) {
|
|
128
|
+
super();
|
|
129
|
+
proto3.util.initPartial(data, this);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
133
|
+
static readonly typeName = "raystack.assets.v1beta2.FeatureTable";
|
|
134
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
135
|
+
{ no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
{ no: 2, name: "entities", kind: "message", T: FeatureTable_Entity, repeated: true },
|
|
137
|
+
{ no: 3, name: "features", kind: "message", T: Feature, repeated: true },
|
|
138
|
+
{ no: 4, name: "attributes", kind: "message", T: Struct },
|
|
139
|
+
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
140
|
+
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
141
|
+
]);
|
|
142
|
+
|
|
143
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureTable {
|
|
144
|
+
return new FeatureTable().fromBinary(bytes, options);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureTable {
|
|
148
|
+
return new FeatureTable().fromJson(jsonValue, options);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureTable {
|
|
152
|
+
return new FeatureTable().fromJsonString(jsonString, options);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
static equals(a: FeatureTable | PlainMessage<FeatureTable> | undefined, b: FeatureTable | PlainMessage<FeatureTable> | undefined): boolean {
|
|
156
|
+
return proto3.util.equals(FeatureTable, a, b);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* An entity is a collection of semantically related features. Users define
|
|
162
|
+
* entities to map to the domain of their use case. For example, a
|
|
163
|
+
* ride-hailing service could have customers and drivers as their entities,
|
|
164
|
+
* which group related features that correspond to these customers and drivers.
|
|
165
|
+
*
|
|
166
|
+
* @generated from message raystack.assets.v1beta2.FeatureTable.Entity
|
|
167
|
+
*/
|
|
168
|
+
export class FeatureTable_Entity extends Message<FeatureTable_Entity> {
|
|
169
|
+
/**
|
|
170
|
+
* The unique name of the entity.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string name = 1;
|
|
173
|
+
*/
|
|
174
|
+
name = "";
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* A property that uniquely identifies different entities within the
|
|
178
|
+
* collection. The join_key property is typically used for joining entities
|
|
179
|
+
* with their associated features.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: repeated string join_keys = 2;
|
|
182
|
+
*/
|
|
183
|
+
joinKeys: string[] = [];
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Optional: Arbitrary metadata.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: map<string, string> labels = 3;
|
|
189
|
+
*/
|
|
190
|
+
labels: { [key: string]: string } = {};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Optional: Description of the entity.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: string description = 4;
|
|
196
|
+
*/
|
|
197
|
+
description = "";
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Optional: Data type of the entity.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: string type = 5;
|
|
203
|
+
*/
|
|
204
|
+
type = "";
|
|
205
|
+
|
|
206
|
+
constructor(data?: PartialMessage<FeatureTable_Entity>) {
|
|
207
|
+
super();
|
|
208
|
+
proto3.util.initPartial(data, this);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
212
|
+
static readonly typeName = "raystack.assets.v1beta2.FeatureTable.Entity";
|
|
213
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
214
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 2, name: "join_keys", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
216
|
+
{ no: 3, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
217
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
+
{ no: 5, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
219
|
+
]);
|
|
220
|
+
|
|
221
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureTable_Entity {
|
|
222
|
+
return new FeatureTable_Entity().fromBinary(bytes, options);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureTable_Entity {
|
|
226
|
+
return new FeatureTable_Entity().fromJson(jsonValue, options);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureTable_Entity {
|
|
230
|
+
return new FeatureTable_Entity().fromJsonString(jsonString, options);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
static equals(a: FeatureTable_Entity | PlainMessage<FeatureTable_Entity> | undefined, b: FeatureTable_Entity | PlainMessage<FeatureTable_Entity> | undefined): boolean {
|
|
234
|
+
return proto3.util.equals(FeatureTable_Entity, a, b);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|