@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 protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/secret.proto (package raystack.optimus.core.v1beta1, 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, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterSecretRequest
|
|
11
|
+
*/
|
|
12
|
+
export class RegisterSecretRequest extends Message<RegisterSecretRequest> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string project_name = 1;
|
|
15
|
+
*/
|
|
16
|
+
projectName = "";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string secret_name = 2;
|
|
20
|
+
*/
|
|
21
|
+
secretName = "";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* base64 encoded secret value
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string value = 3;
|
|
27
|
+
*/
|
|
28
|
+
value = "";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: string namespace_name = 4;
|
|
32
|
+
*/
|
|
33
|
+
namespaceName = "";
|
|
34
|
+
|
|
35
|
+
constructor(data?: PartialMessage<RegisterSecretRequest>) {
|
|
36
|
+
super();
|
|
37
|
+
proto3.util.initPartial(data, this);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
41
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterSecretRequest";
|
|
42
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
43
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 2, name: "secret_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
|
+
{ no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
|
+
{ no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
47
|
+
]);
|
|
48
|
+
|
|
49
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterSecretRequest {
|
|
50
|
+
return new RegisterSecretRequest().fromBinary(bytes, options);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterSecretRequest {
|
|
54
|
+
return new RegisterSecretRequest().fromJson(jsonValue, options);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterSecretRequest {
|
|
58
|
+
return new RegisterSecretRequest().fromJsonString(jsonString, options);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static equals(a: RegisterSecretRequest | PlainMessage<RegisterSecretRequest> | undefined, b: RegisterSecretRequest | PlainMessage<RegisterSecretRequest> | undefined): boolean {
|
|
62
|
+
return proto3.util.equals(RegisterSecretRequest, a, b);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterSecretResponse
|
|
68
|
+
*/
|
|
69
|
+
export class RegisterSecretResponse extends Message<RegisterSecretResponse> {
|
|
70
|
+
constructor(data?: PartialMessage<RegisterSecretResponse>) {
|
|
71
|
+
super();
|
|
72
|
+
proto3.util.initPartial(data, this);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
76
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterSecretResponse";
|
|
77
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
78
|
+
]);
|
|
79
|
+
|
|
80
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterSecretResponse {
|
|
81
|
+
return new RegisterSecretResponse().fromBinary(bytes, options);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterSecretResponse {
|
|
85
|
+
return new RegisterSecretResponse().fromJson(jsonValue, options);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterSecretResponse {
|
|
89
|
+
return new RegisterSecretResponse().fromJsonString(jsonString, options);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static equals(a: RegisterSecretResponse | PlainMessage<RegisterSecretResponse> | undefined, b: RegisterSecretResponse | PlainMessage<RegisterSecretResponse> | undefined): boolean {
|
|
93
|
+
return proto3.util.equals(RegisterSecretResponse, a, b);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateSecretRequest
|
|
99
|
+
*/
|
|
100
|
+
export class UpdateSecretRequest extends Message<UpdateSecretRequest> {
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: string project_name = 1;
|
|
103
|
+
*/
|
|
104
|
+
projectName = "";
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string secret_name = 2;
|
|
108
|
+
*/
|
|
109
|
+
secretName = "";
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* base64 encoded secret value
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string value = 3;
|
|
115
|
+
*/
|
|
116
|
+
value = "";
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string namespace_name = 4;
|
|
120
|
+
*/
|
|
121
|
+
namespaceName = "";
|
|
122
|
+
|
|
123
|
+
constructor(data?: PartialMessage<UpdateSecretRequest>) {
|
|
124
|
+
super();
|
|
125
|
+
proto3.util.initPartial(data, this);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
129
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateSecretRequest";
|
|
130
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
131
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
+
{ no: 2, name: "secret_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
|
+
{ no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
{ no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
|
+
]);
|
|
136
|
+
|
|
137
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSecretRequest {
|
|
138
|
+
return new UpdateSecretRequest().fromBinary(bytes, options);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSecretRequest {
|
|
142
|
+
return new UpdateSecretRequest().fromJson(jsonValue, options);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSecretRequest {
|
|
146
|
+
return new UpdateSecretRequest().fromJsonString(jsonString, options);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static equals(a: UpdateSecretRequest | PlainMessage<UpdateSecretRequest> | undefined, b: UpdateSecretRequest | PlainMessage<UpdateSecretRequest> | undefined): boolean {
|
|
150
|
+
return proto3.util.equals(UpdateSecretRequest, a, b);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateSecretResponse
|
|
156
|
+
*/
|
|
157
|
+
export class UpdateSecretResponse extends Message<UpdateSecretResponse> {
|
|
158
|
+
constructor(data?: PartialMessage<UpdateSecretResponse>) {
|
|
159
|
+
super();
|
|
160
|
+
proto3.util.initPartial(data, this);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
164
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateSecretResponse";
|
|
165
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
166
|
+
]);
|
|
167
|
+
|
|
168
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSecretResponse {
|
|
169
|
+
return new UpdateSecretResponse().fromBinary(bytes, options);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSecretResponse {
|
|
173
|
+
return new UpdateSecretResponse().fromJson(jsonValue, options);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSecretResponse {
|
|
177
|
+
return new UpdateSecretResponse().fromJsonString(jsonString, options);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
static equals(a: UpdateSecretResponse | PlainMessage<UpdateSecretResponse> | undefined, b: UpdateSecretResponse | PlainMessage<UpdateSecretResponse> | undefined): boolean {
|
|
181
|
+
return proto3.util.equals(UpdateSecretResponse, a, b);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @generated from message raystack.optimus.core.v1beta1.ListSecretsRequest
|
|
187
|
+
*/
|
|
188
|
+
export class ListSecretsRequest extends Message<ListSecretsRequest> {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: string project_name = 1;
|
|
191
|
+
*/
|
|
192
|
+
projectName = "";
|
|
193
|
+
|
|
194
|
+
constructor(data?: PartialMessage<ListSecretsRequest>) {
|
|
195
|
+
super();
|
|
196
|
+
proto3.util.initPartial(data, this);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
200
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListSecretsRequest";
|
|
201
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
202
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
203
|
+
]);
|
|
204
|
+
|
|
205
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSecretsRequest {
|
|
206
|
+
return new ListSecretsRequest().fromBinary(bytes, options);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSecretsRequest {
|
|
210
|
+
return new ListSecretsRequest().fromJson(jsonValue, options);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSecretsRequest {
|
|
214
|
+
return new ListSecretsRequest().fromJsonString(jsonString, options);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
static equals(a: ListSecretsRequest | PlainMessage<ListSecretsRequest> | undefined, b: ListSecretsRequest | PlainMessage<ListSecretsRequest> | undefined): boolean {
|
|
218
|
+
return proto3.util.equals(ListSecretsRequest, a, b);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from message raystack.optimus.core.v1beta1.ListSecretsResponse
|
|
224
|
+
*/
|
|
225
|
+
export class ListSecretsResponse extends Message<ListSecretsResponse> {
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.ListSecretsResponse.Secret secrets = 1;
|
|
228
|
+
*/
|
|
229
|
+
secrets: ListSecretsResponse_Secret[] = [];
|
|
230
|
+
|
|
231
|
+
constructor(data?: PartialMessage<ListSecretsResponse>) {
|
|
232
|
+
super();
|
|
233
|
+
proto3.util.initPartial(data, this);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
237
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListSecretsResponse";
|
|
238
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
239
|
+
{ no: 1, name: "secrets", kind: "message", T: ListSecretsResponse_Secret, repeated: true },
|
|
240
|
+
]);
|
|
241
|
+
|
|
242
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSecretsResponse {
|
|
243
|
+
return new ListSecretsResponse().fromBinary(bytes, options);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSecretsResponse {
|
|
247
|
+
return new ListSecretsResponse().fromJson(jsonValue, options);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSecretsResponse {
|
|
251
|
+
return new ListSecretsResponse().fromJsonString(jsonString, options);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
static equals(a: ListSecretsResponse | PlainMessage<ListSecretsResponse> | undefined, b: ListSecretsResponse | PlainMessage<ListSecretsResponse> | undefined): boolean {
|
|
255
|
+
return proto3.util.equals(ListSecretsResponse, a, b);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message raystack.optimus.core.v1beta1.ListSecretsResponse.Secret
|
|
261
|
+
*/
|
|
262
|
+
export class ListSecretsResponse_Secret extends Message<ListSecretsResponse_Secret> {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: string name = 1;
|
|
265
|
+
*/
|
|
266
|
+
name = "";
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: string digest = 2;
|
|
270
|
+
*/
|
|
271
|
+
digest = "";
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: string namespace = 3;
|
|
275
|
+
*/
|
|
276
|
+
namespace = "";
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
280
|
+
*/
|
|
281
|
+
updatedAt?: Timestamp;
|
|
282
|
+
|
|
283
|
+
constructor(data?: PartialMessage<ListSecretsResponse_Secret>) {
|
|
284
|
+
super();
|
|
285
|
+
proto3.util.initPartial(data, this);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
289
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListSecretsResponse.Secret";
|
|
290
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
291
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
292
|
+
{ no: 2, name: "digest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
293
|
+
{ no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
294
|
+
{ no: 4, name: "updated_at", kind: "message", T: Timestamp },
|
|
295
|
+
]);
|
|
296
|
+
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSecretsResponse_Secret {
|
|
298
|
+
return new ListSecretsResponse_Secret().fromBinary(bytes, options);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSecretsResponse_Secret {
|
|
302
|
+
return new ListSecretsResponse_Secret().fromJson(jsonValue, options);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSecretsResponse_Secret {
|
|
306
|
+
return new ListSecretsResponse_Secret().fromJsonString(jsonString, options);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
static equals(a: ListSecretsResponse_Secret | PlainMessage<ListSecretsResponse_Secret> | undefined, b: ListSecretsResponse_Secret | PlainMessage<ListSecretsResponse_Secret> | undefined): boolean {
|
|
310
|
+
return proto3.util.equals(ListSecretsResponse_Secret, a, b);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from message raystack.optimus.core.v1beta1.DeleteSecretRequest
|
|
316
|
+
*/
|
|
317
|
+
export class DeleteSecretRequest extends Message<DeleteSecretRequest> {
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: string project_name = 1;
|
|
320
|
+
*/
|
|
321
|
+
projectName = "";
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: string secret_name = 2;
|
|
325
|
+
*/
|
|
326
|
+
secretName = "";
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: string namespace_name = 3;
|
|
330
|
+
*/
|
|
331
|
+
namespaceName = "";
|
|
332
|
+
|
|
333
|
+
constructor(data?: PartialMessage<DeleteSecretRequest>) {
|
|
334
|
+
super();
|
|
335
|
+
proto3.util.initPartial(data, this);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
339
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeleteSecretRequest";
|
|
340
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
341
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
|
+
{ no: 2, name: "secret_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
344
|
+
]);
|
|
345
|
+
|
|
346
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSecretRequest {
|
|
347
|
+
return new DeleteSecretRequest().fromBinary(bytes, options);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSecretRequest {
|
|
351
|
+
return new DeleteSecretRequest().fromJson(jsonValue, options);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSecretRequest {
|
|
355
|
+
return new DeleteSecretRequest().fromJsonString(jsonString, options);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
static equals(a: DeleteSecretRequest | PlainMessage<DeleteSecretRequest> | undefined, b: DeleteSecretRequest | PlainMessage<DeleteSecretRequest> | undefined): boolean {
|
|
359
|
+
return proto3.util.equals(DeleteSecretRequest, a, b);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @generated from message raystack.optimus.core.v1beta1.DeleteSecretResponse
|
|
365
|
+
*/
|
|
366
|
+
export class DeleteSecretResponse extends Message<DeleteSecretResponse> {
|
|
367
|
+
constructor(data?: PartialMessage<DeleteSecretResponse>) {
|
|
368
|
+
super();
|
|
369
|
+
proto3.util.initPartial(data, this);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
373
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeleteSecretResponse";
|
|
374
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
375
|
+
]);
|
|
376
|
+
|
|
377
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSecretResponse {
|
|
378
|
+
return new DeleteSecretResponse().fromBinary(bytes, options);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSecretResponse {
|
|
382
|
+
return new DeleteSecretResponse().fromJson(jsonValue, options);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSecretResponse {
|
|
386
|
+
return new DeleteSecretResponse().fromJsonString(jsonString, options);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
static equals(a: DeleteSecretResponse | PlainMessage<DeleteSecretResponse> | undefined, b: DeleteSecretResponse | PlainMessage<DeleteSecretResponse> | undefined): boolean {
|
|
390
|
+
return proto3.util.equals(DeleteSecretResponse, a, b);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1
|
|
2
|
+
// @generated from protobuf file "raystack/optimus/core/v1beta1/status.proto" (package "raystack.optimus.core.v1beta1", 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
|
+
/**
|
|
14
|
+
* @generated from protobuf message raystack.optimus.core.v1beta1.Log
|
|
15
|
+
*/
|
|
16
|
+
export interface Log {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from protobuf field: raystack.optimus.core.v1beta1.Level level = 1
|
|
19
|
+
*/
|
|
20
|
+
level: Level;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: string message = 2
|
|
23
|
+
*/
|
|
24
|
+
message: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf enum raystack.optimus.core.v1beta1.Level
|
|
28
|
+
*/
|
|
29
|
+
export enum Level {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf enum value: LEVEL_UNSPECIFIED = 0;
|
|
32
|
+
*/
|
|
33
|
+
UNSPECIFIED = 0,
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf enum value: LEVEL_TRACE = 1;
|
|
36
|
+
*/
|
|
37
|
+
TRACE = 1,
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf enum value: LEVEL_DEBUG = 2;
|
|
40
|
+
*/
|
|
41
|
+
DEBUG = 2,
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf enum value: LEVEL_INFO = 3;
|
|
44
|
+
*/
|
|
45
|
+
INFO = 3,
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf enum value: LEVEL_WARNING = 4;
|
|
48
|
+
*/
|
|
49
|
+
WARNING = 4,
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf enum value: LEVEL_ERROR = 5;
|
|
52
|
+
*/
|
|
53
|
+
ERROR = 5,
|
|
54
|
+
/**
|
|
55
|
+
* @generated from protobuf enum value: LEVEL_FATAL = 6;
|
|
56
|
+
*/
|
|
57
|
+
FATAL = 6
|
|
58
|
+
}
|
|
59
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
60
|
+
class Log$Type extends MessageType<Log> {
|
|
61
|
+
constructor() {
|
|
62
|
+
super("raystack.optimus.core.v1beta1.Log", [
|
|
63
|
+
{ no: 1, name: "level", kind: "enum", T: () => ["raystack.optimus.core.v1beta1.Level", Level, "LEVEL_"] },
|
|
64
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
65
|
+
]);
|
|
66
|
+
}
|
|
67
|
+
create(value?: PartialMessage<Log>): Log {
|
|
68
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
69
|
+
message.level = 0;
|
|
70
|
+
message.message = "";
|
|
71
|
+
if (value !== undefined)
|
|
72
|
+
reflectionMergePartial<Log>(this, message, value);
|
|
73
|
+
return message;
|
|
74
|
+
}
|
|
75
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Log): Log {
|
|
76
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
77
|
+
while (reader.pos < end) {
|
|
78
|
+
let [fieldNo, wireType] = reader.tag();
|
|
79
|
+
switch (fieldNo) {
|
|
80
|
+
case /* raystack.optimus.core.v1beta1.Level level */ 1:
|
|
81
|
+
message.level = reader.int32();
|
|
82
|
+
break;
|
|
83
|
+
case /* string message */ 2:
|
|
84
|
+
message.message = reader.string();
|
|
85
|
+
break;
|
|
86
|
+
default:
|
|
87
|
+
let u = options.readUnknownField;
|
|
88
|
+
if (u === "throw")
|
|
89
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
90
|
+
let d = reader.skip(wireType);
|
|
91
|
+
if (u !== false)
|
|
92
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return message;
|
|
96
|
+
}
|
|
97
|
+
internalBinaryWrite(message: Log, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
98
|
+
/* raystack.optimus.core.v1beta1.Level level = 1; */
|
|
99
|
+
if (message.level !== 0)
|
|
100
|
+
writer.tag(1, WireType.Varint).int32(message.level);
|
|
101
|
+
/* string message = 2; */
|
|
102
|
+
if (message.message !== "")
|
|
103
|
+
writer.tag(2, WireType.LengthDelimited).string(message.message);
|
|
104
|
+
let u = options.writeUnknownFields;
|
|
105
|
+
if (u !== false)
|
|
106
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
107
|
+
return writer;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* @generated MessageType for protobuf message raystack.optimus.core.v1beta1.Log
|
|
112
|
+
*/
|
|
113
|
+
export const Log = new Log$Type();
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/status.proto (package raystack.optimus.core.v1beta1, 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 } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from enum raystack.optimus.core.v1beta1.Level
|
|
11
|
+
*/
|
|
12
|
+
export enum Level {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from enum value: LEVEL_UNSPECIFIED = 0;
|
|
15
|
+
*/
|
|
16
|
+
UNSPECIFIED = 0,
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: LEVEL_TRACE = 1;
|
|
20
|
+
*/
|
|
21
|
+
TRACE = 1,
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: LEVEL_DEBUG = 2;
|
|
25
|
+
*/
|
|
26
|
+
DEBUG = 2,
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from enum value: LEVEL_INFO = 3;
|
|
30
|
+
*/
|
|
31
|
+
INFO = 3,
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: LEVEL_WARNING = 4;
|
|
35
|
+
*/
|
|
36
|
+
WARNING = 4,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum value: LEVEL_ERROR = 5;
|
|
40
|
+
*/
|
|
41
|
+
ERROR = 5,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: LEVEL_FATAL = 6;
|
|
45
|
+
*/
|
|
46
|
+
FATAL = 6,
|
|
47
|
+
}
|
|
48
|
+
// Retrieve enum metadata with: proto3.getEnumType(Level)
|
|
49
|
+
proto3.util.setEnumType(Level, "raystack.optimus.core.v1beta1.Level", [
|
|
50
|
+
{ no: 0, name: "LEVEL_UNSPECIFIED" },
|
|
51
|
+
{ no: 1, name: "LEVEL_TRACE" },
|
|
52
|
+
{ no: 2, name: "LEVEL_DEBUG" },
|
|
53
|
+
{ no: 3, name: "LEVEL_INFO" },
|
|
54
|
+
{ no: 4, name: "LEVEL_WARNING" },
|
|
55
|
+
{ no: 5, name: "LEVEL_ERROR" },
|
|
56
|
+
{ no: 6, name: "LEVEL_FATAL" },
|
|
57
|
+
]);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from message raystack.optimus.core.v1beta1.Log
|
|
61
|
+
*/
|
|
62
|
+
export class Log extends Message<Log> {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: raystack.optimus.core.v1beta1.Level level = 1;
|
|
65
|
+
*/
|
|
66
|
+
level = Level.UNSPECIFIED;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string message = 2;
|
|
70
|
+
*/
|
|
71
|
+
message = "";
|
|
72
|
+
|
|
73
|
+
constructor(data?: PartialMessage<Log>) {
|
|
74
|
+
super();
|
|
75
|
+
proto3.util.initPartial(data, this);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
79
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.Log";
|
|
80
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
81
|
+
{ no: 1, name: "level", kind: "enum", T: proto3.getEnumType(Level) },
|
|
82
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
83
|
+
]);
|
|
84
|
+
|
|
85
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Log {
|
|
86
|
+
return new Log().fromBinary(bytes, options);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Log {
|
|
90
|
+
return new Log().fromJson(jsonValue, options);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Log {
|
|
94
|
+
return new Log().fromJsonString(jsonString, options);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
static equals(a: Log | PlainMessage<Log> | undefined, b: Log | PlainMessage<Log> | undefined): boolean {
|
|
98
|
+
return proto3.util.equals(Log, a, b);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|