@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6 → 0.1.0-fe747c0278b08e54b16540b091d980d1b166f948
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/README.md +113 -0
- package/google/api/annotations_pb.ts +15 -9
- package/google/api/field_behavior_pb.ts +19 -19
- package/google/api/http_pb.ts +43 -108
- package/google/api/httpbody_pb.ts +23 -37
- package/package.json +6 -4
- package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
- package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
- package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
- package/raystack/assets/v1beta1/event_pb.ts +22 -36
- package/raystack/assets/v1beta1/group_pb.ts +38 -74
- package/raystack/assets/v1beta1/job_pb.ts +30 -43
- package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
- package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
- package/raystack/assets/v1beta1/preview_pb.ts +21 -34
- package/raystack/assets/v1beta1/properties_pb.ts +22 -37
- package/raystack/assets/v1beta1/resource_pb.ts +24 -43
- package/raystack/assets/v1beta1/schema_pb.ts +59 -145
- package/raystack/assets/v1beta1/table_pb.ts +59 -120
- package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
- package/raystack/assets/v1beta1/topic_pb.ts +43 -78
- package/raystack/assets/v1beta1/user_pb.ts +58 -125
- package/raystack/assets/v1beta2/application_pb.ts +23 -39
- package/raystack/assets/v1beta2/asset_pb.ts +30 -53
- package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
- package/raystack/assets/v1beta2/common_pb.ts +56 -137
- package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
- package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
- package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
- package/raystack/assets/v1beta2/group_pb.ts +32 -68
- package/raystack/assets/v1beta2/job_pb.ts +21 -35
- package/raystack/assets/v1beta2/metric_pb.ts +25 -43
- package/raystack/assets/v1beta2/model_pb.ts +59 -147
- package/raystack/assets/v1beta2/table_pb.ts +82 -200
- package/raystack/assets/v1beta2/topic_pb.ts +41 -99
- package/raystack/assets/v1beta2/user_pb.ts +53 -121
- package/raystack/common/index.ts +0 -1
- package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
- package/raystack/common/v1/service_pb.ts +57 -97
- package/raystack/compass/index.ts +0 -1
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
- package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
- package/raystack/entropy/index.ts +0 -2
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
- package/raystack/entropy/v1beta1/module_pb.ts +156 -324
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
- package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
- package/raystack/frontier/index.ts +0 -2
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
- package/raystack/frontier/v1beta1/admin.client.ts +17 -0
- package/raystack/frontier/v1beta1/admin.ts +111 -1
- package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
- package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
- package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
- package/raystack/guardian/index.ts +0 -1
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
- package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
- package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
- package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
- package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
- package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
- package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
- package/raystack/raccoon/index.ts +0 -1
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
- package/raystack/siren/index.ts +0 -1
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
- package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
- package/raystack/stencil/index.ts +0 -1
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
- package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
- package/validate/validate_pb.ts +401 -1038
- package/raystack/common/v1/service_connect.ts +0 -26
- package/raystack/compass/v1beta1/service_connect.ts +0 -407
- package/raystack/entropy/v1beta1/module_connect.ts +0 -62
- package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
- package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
- package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
- package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
- package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
- package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
- package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
- package/raystack/siren/v1beta1/siren_connect.ts +0 -332
- package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=none"
|
|
2
2
|
// @generated from file raystack/assets/v1beta2/model.proto (package raystack.assets.v1beta2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file raystack/assets/v1beta2/model.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_raystack_assets_v1beta2_model: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("CiNyYXlzdGFjay9hc3NldHMvdjFiZXRhMi9tb2RlbC5wcm90bxIXcmF5c3RhY2suYXNzZXRzLnYxYmV0YTIi1AEKDk1vZGVsU2lnbmF0dXJlEkEKBmlucHV0cxgBIAMoCzIxLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1vZGVsU2lnbmF0dXJlLlBhcmFtZXRlchJCCgdvdXRwdXRzGAIgAygLMjEucmF5c3RhY2suYXNzZXRzLnYxYmV0YTIuTW9kZWxTaWduYXR1cmUuUGFyYW1ldGVyGjsKCVBhcmFtZXRlchIMCgRuYW1lGAEgASgJEhEKCWRhdGFfdHlwZRgCIAEoCRINCgVzaGFwZRgDIAMoAyLsAgoMTW9kZWxWZXJzaW9uEjoKCXNpZ25hdHVyZRgBIAEoCzInLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1vZGVsU2lnbmF0dXJlEg4KBnN0YXR1cxgCIAEoCRIPCgd2ZXJzaW9uGAMgASgJEisKCmF0dHJpYnV0ZXMYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EkEKBmxhYmVscxgFIAMoCzIxLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1vZGVsVmVyc2lvbi5MYWJlbHNFbnRyeRIvCgtjcmVhdGVfdGltZRhlIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYZiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wGi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEilQIKBU1vZGVsEhEKCW5hbWVzcGFjZRgBIAEoCRIOCgZmbGF2b3IYAiABKAkSEQoJYWxnb3JpdGhtGAMgASgJEg4KBnN0YXR1cxgEIAEoCRI3Cgh2ZXJzaW9ucxgFIAMoCzIlLnJheXN0YWNrLmFzc2V0cy52MWJldGEyLk1vZGVsVmVyc2lvbhIrCgphdHRyaWJ1dGVzGAYgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIvCgtjcmVhdGVfdGltZRhlIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYZiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQlkKEmlvLnJheXN0YWNrLmFzc2V0c0IKTW9kZWxQcm90b1o3Z2l0aHViLmNvbS9yYXlzdGFjay9wcm90b24vYXNzZXRzL3YxYmV0YTI7YXNzZXRzdjFiZXRhMmIGcHJvdG8z", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
8
16
|
|
|
9
17
|
/**
|
|
10
18
|
* Schema of the model's inputs and outputs. Strongly inspired by
|
|
@@ -12,107 +20,64 @@ import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
|
12
20
|
*
|
|
13
21
|
* @generated from message raystack.assets.v1beta2.ModelSignature
|
|
14
22
|
*/
|
|
15
|
-
export
|
|
23
|
+
export type ModelSignature = Message<"raystack.assets.v1beta2.ModelSignature"> & {
|
|
16
24
|
/**
|
|
17
25
|
* @generated from field: repeated raystack.assets.v1beta2.ModelSignature.Parameter inputs = 1;
|
|
18
26
|
*/
|
|
19
|
-
inputs: ModelSignature_Parameter[]
|
|
27
|
+
inputs: ModelSignature_Parameter[];
|
|
20
28
|
|
|
21
29
|
/**
|
|
22
30
|
* @generated from field: repeated raystack.assets.v1beta2.ModelSignature.Parameter outputs = 2;
|
|
23
31
|
*/
|
|
24
|
-
outputs: ModelSignature_Parameter[]
|
|
25
|
-
|
|
26
|
-
constructor(data?: PartialMessage<ModelSignature>) {
|
|
27
|
-
super();
|
|
28
|
-
proto3.util.initPartial(data, this);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
32
|
-
static readonly typeName = "raystack.assets.v1beta2.ModelSignature";
|
|
33
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
34
|
-
{ no: 1, name: "inputs", kind: "message", T: ModelSignature_Parameter, repeated: true },
|
|
35
|
-
{ no: 2, name: "outputs", kind: "message", T: ModelSignature_Parameter, repeated: true },
|
|
36
|
-
]);
|
|
37
|
-
|
|
38
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModelSignature {
|
|
39
|
-
return new ModelSignature().fromBinary(bytes, options);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModelSignature {
|
|
43
|
-
return new ModelSignature().fromJson(jsonValue, options);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModelSignature {
|
|
47
|
-
return new ModelSignature().fromJsonString(jsonString, options);
|
|
48
|
-
}
|
|
32
|
+
outputs: ModelSignature_Parameter[];
|
|
33
|
+
};
|
|
49
34
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message raystack.assets.v1beta2.ModelSignature.
|
|
37
|
+
* Use `create(ModelSignatureSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const ModelSignatureSchema: GenMessage<ModelSignature> = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_raystack_assets_v1beta2_model, 0);
|
|
54
41
|
|
|
55
42
|
/**
|
|
56
43
|
* Specification of name and type of a single column in a dataset.
|
|
57
44
|
*
|
|
58
45
|
* @generated from message raystack.assets.v1beta2.ModelSignature.Parameter
|
|
59
46
|
*/
|
|
60
|
-
export
|
|
47
|
+
export type ModelSignature_Parameter = Message<"raystack.assets.v1beta2.ModelSignature.Parameter"> & {
|
|
61
48
|
/**
|
|
62
49
|
* Optional: Name of the input or output parameter.
|
|
63
50
|
*
|
|
64
51
|
* @generated from field: string name = 1;
|
|
65
52
|
*/
|
|
66
|
-
name
|
|
53
|
+
name: string;
|
|
67
54
|
|
|
68
55
|
/**
|
|
69
56
|
* Data type of the parameter. Ex: boolean, double, numpy's dtypes etc.
|
|
70
57
|
*
|
|
71
58
|
* @generated from field: string data_type = 2;
|
|
72
59
|
*/
|
|
73
|
-
dataType
|
|
60
|
+
dataType: string;
|
|
74
61
|
|
|
75
62
|
/**
|
|
76
63
|
* Optional: The tensor shape.
|
|
77
64
|
*
|
|
78
65
|
* @generated from field: repeated int64 shape = 3;
|
|
79
66
|
*/
|
|
80
|
-
shape: bigint[]
|
|
81
|
-
|
|
82
|
-
constructor(data?: PartialMessage<ModelSignature_Parameter>) {
|
|
83
|
-
super();
|
|
84
|
-
proto3.util.initPartial(data, this);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
88
|
-
static readonly typeName = "raystack.assets.v1beta2.ModelSignature.Parameter";
|
|
89
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
90
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
-
{ no: 2, name: "data_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
-
{ no: 3, name: "shape", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
93
|
-
]);
|
|
67
|
+
shape: bigint[];
|
|
68
|
+
};
|
|
94
69
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModelSignature_Parameter {
|
|
104
|
-
return new ModelSignature_Parameter().fromJsonString(jsonString, options);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
static equals(a: ModelSignature_Parameter | PlainMessage<ModelSignature_Parameter> | undefined, b: ModelSignature_Parameter | PlainMessage<ModelSignature_Parameter> | undefined): boolean {
|
|
108
|
-
return proto3.util.equals(ModelSignature_Parameter, a, b);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message raystack.assets.v1beta2.ModelSignature.Parameter.
|
|
72
|
+
* Use `create(ModelSignature_ParameterSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const ModelSignature_ParameterSchema: GenMessage<ModelSignature_Parameter> = /*@__PURE__*/
|
|
75
|
+
messageDesc(file_raystack_assets_v1beta2_model, 0, 0);
|
|
111
76
|
|
|
112
77
|
/**
|
|
113
78
|
* @generated from message raystack.assets.v1beta2.ModelVersion
|
|
114
79
|
*/
|
|
115
|
-
export
|
|
80
|
+
export type ModelVersion = Message<"raystack.assets.v1beta2.ModelVersion"> & {
|
|
116
81
|
/**
|
|
117
82
|
* The schema of a model version’s inputs and outputs.
|
|
118
83
|
*
|
|
@@ -125,14 +90,14 @@ export class ModelVersion extends Message<ModelVersion> {
|
|
|
125
90
|
*
|
|
126
91
|
* @generated from field: string status = 2;
|
|
127
92
|
*/
|
|
128
|
-
status
|
|
93
|
+
status: string;
|
|
129
94
|
|
|
130
95
|
/**
|
|
131
96
|
* Version of the model
|
|
132
97
|
*
|
|
133
98
|
* @generated from field: string version = 3;
|
|
134
99
|
*/
|
|
135
|
-
version
|
|
100
|
+
version: string;
|
|
136
101
|
|
|
137
102
|
/**
|
|
138
103
|
* List of attributes the model version has. This could include the following:
|
|
@@ -153,14 +118,14 @@ export class ModelVersion extends Message<ModelVersion> {
|
|
|
153
118
|
*
|
|
154
119
|
* @generated from field: google.protobuf.Struct attributes = 4;
|
|
155
120
|
*/
|
|
156
|
-
attributes?:
|
|
121
|
+
attributes?: JsonObject;
|
|
157
122
|
|
|
158
123
|
/**
|
|
159
124
|
* Optional. List of labels the model version has.
|
|
160
125
|
*
|
|
161
126
|
* @generated from field: map<string, string> labels = 5;
|
|
162
127
|
*/
|
|
163
|
-
labels: { [key: string]: string }
|
|
128
|
+
labels: { [key: string]: string };
|
|
164
129
|
|
|
165
130
|
/**
|
|
166
131
|
* The timestamp of the model's creation.
|
|
@@ -175,40 +140,14 @@ export class ModelVersion extends Message<ModelVersion> {
|
|
|
175
140
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
176
141
|
*/
|
|
177
142
|
updateTime?: Timestamp;
|
|
143
|
+
};
|
|
178
144
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
static readonly typeName = "raystack.assets.v1beta2.ModelVersion";
|
|
186
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
187
|
-
{ no: 1, name: "signature", kind: "message", T: ModelSignature },
|
|
188
|
-
{ no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
189
|
-
{ no: 3, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
190
|
-
{ no: 4, name: "attributes", kind: "message", T: Struct },
|
|
191
|
-
{ no: 5, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
192
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
193
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
194
|
-
]);
|
|
195
|
-
|
|
196
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModelVersion {
|
|
197
|
-
return new ModelVersion().fromBinary(bytes, options);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModelVersion {
|
|
201
|
-
return new ModelVersion().fromJson(jsonValue, options);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModelVersion {
|
|
205
|
-
return new ModelVersion().fromJsonString(jsonString, options);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
static equals(a: ModelVersion | PlainMessage<ModelVersion> | undefined, b: ModelVersion | PlainMessage<ModelVersion> | undefined): boolean {
|
|
209
|
-
return proto3.util.equals(ModelVersion, a, b);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message raystack.assets.v1beta2.ModelVersion.
|
|
147
|
+
* Use `create(ModelVersionSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export const ModelVersionSchema: GenMessage<ModelVersion> = /*@__PURE__*/
|
|
150
|
+
messageDesc(file_raystack_assets_v1beta2_model, 1);
|
|
212
151
|
|
|
213
152
|
/**
|
|
214
153
|
* Model represents a Data Science Model commonly used for Machine Learning
|
|
@@ -219,34 +158,34 @@ export class ModelVersion extends Message<ModelVersion> {
|
|
|
219
158
|
*
|
|
220
159
|
* @generated from message raystack.assets.v1beta2.Model
|
|
221
160
|
*/
|
|
222
|
-
export
|
|
161
|
+
export type Model = Message<"raystack.assets.v1beta2.Model"> & {
|
|
223
162
|
/**
|
|
224
163
|
* Optional: Model's namespace or project.
|
|
225
164
|
*
|
|
226
165
|
* @generated from field: string namespace = 1;
|
|
227
166
|
*/
|
|
228
|
-
namespace
|
|
167
|
+
namespace: string;
|
|
229
168
|
|
|
230
169
|
/**
|
|
231
170
|
* Flavor of the ML Model. ex: pytorch, tensorflow etc.
|
|
232
171
|
*
|
|
233
172
|
* @generated from field: string flavor = 2;
|
|
234
173
|
*/
|
|
235
|
-
flavor
|
|
174
|
+
flavor: string;
|
|
236
175
|
|
|
237
176
|
/**
|
|
238
177
|
* Optional: Algorithm used to train the ML Model.
|
|
239
178
|
*
|
|
240
179
|
* @generated from field: string algorithm = 3;
|
|
241
180
|
*/
|
|
242
|
-
algorithm
|
|
181
|
+
algorithm: string;
|
|
243
182
|
|
|
244
183
|
/**
|
|
245
184
|
* Status of the model. ex: active/deleted etc.
|
|
246
185
|
*
|
|
247
186
|
* @generated from field: string status = 4;
|
|
248
187
|
*/
|
|
249
|
-
status
|
|
188
|
+
status: string;
|
|
250
189
|
|
|
251
190
|
/**
|
|
252
191
|
* Versions of the model, similar to experiment runs in MLFlow and model
|
|
@@ -254,7 +193,7 @@ export class Model extends Message<Model> {
|
|
|
254
193
|
*
|
|
255
194
|
* @generated from field: repeated raystack.assets.v1beta2.ModelVersion versions = 5;
|
|
256
195
|
*/
|
|
257
|
-
versions: ModelVersion[]
|
|
196
|
+
versions: ModelVersion[];
|
|
258
197
|
|
|
259
198
|
/**
|
|
260
199
|
* List of attributes the model version has. This could include the following:
|
|
@@ -269,7 +208,7 @@ export class Model extends Message<Model> {
|
|
|
269
208
|
*
|
|
270
209
|
* @generated from field: google.protobuf.Struct attributes = 6;
|
|
271
210
|
*/
|
|
272
|
-
attributes?:
|
|
211
|
+
attributes?: JsonObject;
|
|
273
212
|
|
|
274
213
|
/**
|
|
275
214
|
* The timestamp of the model's creation.
|
|
@@ -284,39 +223,12 @@ export class Model extends Message<Model> {
|
|
|
284
223
|
* @generated from field: google.protobuf.Timestamp update_time = 102;
|
|
285
224
|
*/
|
|
286
225
|
updateTime?: Timestamp;
|
|
226
|
+
};
|
|
287
227
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
static readonly typeName = "raystack.assets.v1beta2.Model";
|
|
295
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
296
|
-
{ no: 1, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
297
|
-
{ no: 2, name: "flavor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
|
-
{ no: 3, name: "algorithm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
|
-
{ no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
300
|
-
{ no: 5, name: "versions", kind: "message", T: ModelVersion, repeated: true },
|
|
301
|
-
{ no: 6, name: "attributes", kind: "message", T: Struct },
|
|
302
|
-
{ no: 101, name: "create_time", kind: "message", T: Timestamp },
|
|
303
|
-
{ no: 102, name: "update_time", kind: "message", T: Timestamp },
|
|
304
|
-
]);
|
|
305
|
-
|
|
306
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Model {
|
|
307
|
-
return new Model().fromBinary(bytes, options);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Model {
|
|
311
|
-
return new Model().fromJson(jsonValue, options);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Model {
|
|
315
|
-
return new Model().fromJsonString(jsonString, options);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
static equals(a: Model | PlainMessage<Model> | undefined, b: Model | PlainMessage<Model> | undefined): boolean {
|
|
319
|
-
return proto3.util.equals(Model, a, b);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
228
|
+
/**
|
|
229
|
+
* Describes the message raystack.assets.v1beta2.Model.
|
|
230
|
+
* Use `create(ModelSchema)` to create a new message.
|
|
231
|
+
*/
|
|
232
|
+
export const ModelSchema: GenMessage<Model> = /*@__PURE__*/
|
|
233
|
+
messageDesc(file_raystack_assets_v1beta2_model, 2);
|
|
322
234
|
|