@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,63 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/job_run.proto (package raystack.optimus.core.v1beta1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { JobRunInputRequest, JobRunInputResponse, JobRunRequest, JobRunResponse, RegisterJobEventRequest, RegisterJobEventResponse, UploadToSchedulerRequest, UploadToSchedulerResponse } from "./job_run_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* todo: should this not be called, scheduler service, as this will also, manage the runtime functions , like airflow events
|
|
11
|
+
*
|
|
12
|
+
* @generated from service raystack.optimus.core.v1beta1.JobRunService
|
|
13
|
+
*/
|
|
14
|
+
export const JobRunService = {
|
|
15
|
+
typeName: "raystack.optimus.core.v1beta1.JobRunService",
|
|
16
|
+
methods: {
|
|
17
|
+
/**
|
|
18
|
+
* JobRunInput is used to fetch task/hook compiled configuration and assets.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc raystack.optimus.core.v1beta1.JobRunService.JobRunInput
|
|
21
|
+
*/
|
|
22
|
+
jobRunInput: {
|
|
23
|
+
name: "JobRunInput",
|
|
24
|
+
I: JobRunInputRequest,
|
|
25
|
+
O: JobRunInputResponse,
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* JobRun returns the current and past run status of jobs on a given range
|
|
30
|
+
*
|
|
31
|
+
* @generated from rpc raystack.optimus.core.v1beta1.JobRunService.JobRun
|
|
32
|
+
*/
|
|
33
|
+
jobRun: {
|
|
34
|
+
name: "JobRun",
|
|
35
|
+
I: JobRunRequest,
|
|
36
|
+
O: JobRunResponse,
|
|
37
|
+
kind: MethodKind.Unary,
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* RegisterJobEvent notifies optimus service about an event related to job
|
|
41
|
+
*
|
|
42
|
+
* @generated from rpc raystack.optimus.core.v1beta1.JobRunService.RegisterJobEvent
|
|
43
|
+
*/
|
|
44
|
+
registerJobEvent: {
|
|
45
|
+
name: "RegisterJobEvent",
|
|
46
|
+
I: RegisterJobEventRequest,
|
|
47
|
+
O: RegisterJobEventResponse,
|
|
48
|
+
kind: MethodKind.Unary,
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* UploadToScheduler comiles jobSpec from database into DAGs and uploads the generated DAGs to scheduler
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc raystack.optimus.core.v1beta1.JobRunService.UploadToScheduler
|
|
54
|
+
*/
|
|
55
|
+
uploadToScheduler: {
|
|
56
|
+
name: "UploadToScheduler",
|
|
57
|
+
I: UploadToSchedulerRequest,
|
|
58
|
+
O: UploadToSchedulerResponse,
|
|
59
|
+
kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
}
|
|
62
|
+
} as const;
|
|
63
|
+
|
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts,import_extension=none"
|
|
2
|
+
// @generated from file raystack/optimus/core/v1beta1/job_run.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 { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
import { JobEvent, JobRun } from "./job_spec_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message raystack.optimus.core.v1beta1.UploadToSchedulerRequest
|
|
12
|
+
*/
|
|
13
|
+
export class UploadToSchedulerRequest extends Message<UploadToSchedulerRequest> {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string project_name = 1;
|
|
16
|
+
*/
|
|
17
|
+
projectName = "";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: optional string namespace_name = 2;
|
|
21
|
+
*/
|
|
22
|
+
namespaceName?: string;
|
|
23
|
+
|
|
24
|
+
constructor(data?: PartialMessage<UploadToSchedulerRequest>) {
|
|
25
|
+
super();
|
|
26
|
+
proto3.util.initPartial(data, this);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
30
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UploadToSchedulerRequest";
|
|
31
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
32
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
33
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadToSchedulerRequest {
|
|
37
|
+
return new UploadToSchedulerRequest().fromBinary(bytes, options);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadToSchedulerRequest {
|
|
41
|
+
return new UploadToSchedulerRequest().fromJson(jsonValue, options);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadToSchedulerRequest {
|
|
45
|
+
return new UploadToSchedulerRequest().fromJsonString(jsonString, options);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static equals(a: UploadToSchedulerRequest | PlainMessage<UploadToSchedulerRequest> | undefined, b: UploadToSchedulerRequest | PlainMessage<UploadToSchedulerRequest> | undefined): boolean {
|
|
49
|
+
return proto3.util.equals(UploadToSchedulerRequest, a, b);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message raystack.optimus.core.v1beta1.UploadToSchedulerResponse
|
|
55
|
+
*/
|
|
56
|
+
export class UploadToSchedulerResponse extends Message<UploadToSchedulerResponse> {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: bool status = 1;
|
|
59
|
+
*/
|
|
60
|
+
status = false;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: string error_message = 2;
|
|
64
|
+
*/
|
|
65
|
+
errorMessage = "";
|
|
66
|
+
|
|
67
|
+
constructor(data?: PartialMessage<UploadToSchedulerResponse>) {
|
|
68
|
+
super();
|
|
69
|
+
proto3.util.initPartial(data, this);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
73
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UploadToSchedulerResponse";
|
|
74
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
75
|
+
{ no: 1, name: "status", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
76
|
+
{ no: 2, name: "error_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
]);
|
|
78
|
+
|
|
79
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadToSchedulerResponse {
|
|
80
|
+
return new UploadToSchedulerResponse().fromBinary(bytes, options);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadToSchedulerResponse {
|
|
84
|
+
return new UploadToSchedulerResponse().fromJson(jsonValue, options);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadToSchedulerResponse {
|
|
88
|
+
return new UploadToSchedulerResponse().fromJsonString(jsonString, options);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static equals(a: UploadToSchedulerResponse | PlainMessage<UploadToSchedulerResponse> | undefined, b: UploadToSchedulerResponse | PlainMessage<UploadToSchedulerResponse> | undefined): boolean {
|
|
92
|
+
return proto3.util.equals(UploadToSchedulerResponse, a, b);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterJobEventRequest
|
|
98
|
+
*/
|
|
99
|
+
export class RegisterJobEventRequest extends Message<RegisterJobEventRequest> {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string project_name = 1;
|
|
102
|
+
*/
|
|
103
|
+
projectName = "";
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string job_name = 2;
|
|
107
|
+
*/
|
|
108
|
+
jobName = "";
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string namespace_name = 3;
|
|
112
|
+
*/
|
|
113
|
+
namespaceName = "";
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobEvent event = 4;
|
|
117
|
+
*/
|
|
118
|
+
event?: JobEvent;
|
|
119
|
+
|
|
120
|
+
constructor(data?: PartialMessage<RegisterJobEventRequest>) {
|
|
121
|
+
super();
|
|
122
|
+
proto3.util.initPartial(data, this);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
126
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterJobEventRequest";
|
|
127
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
128
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
129
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
131
|
+
{ no: 4, name: "event", kind: "message", T: JobEvent },
|
|
132
|
+
]);
|
|
133
|
+
|
|
134
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterJobEventRequest {
|
|
135
|
+
return new RegisterJobEventRequest().fromBinary(bytes, options);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterJobEventRequest {
|
|
139
|
+
return new RegisterJobEventRequest().fromJson(jsonValue, options);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterJobEventRequest {
|
|
143
|
+
return new RegisterJobEventRequest().fromJsonString(jsonString, options);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static equals(a: RegisterJobEventRequest | PlainMessage<RegisterJobEventRequest> | undefined, b: RegisterJobEventRequest | PlainMessage<RegisterJobEventRequest> | undefined): boolean {
|
|
147
|
+
return proto3.util.equals(RegisterJobEventRequest, a, b);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from message raystack.optimus.core.v1beta1.RegisterJobEventResponse
|
|
153
|
+
*/
|
|
154
|
+
export class RegisterJobEventResponse extends Message<RegisterJobEventResponse> {
|
|
155
|
+
constructor(data?: PartialMessage<RegisterJobEventResponse>) {
|
|
156
|
+
super();
|
|
157
|
+
proto3.util.initPartial(data, this);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
161
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RegisterJobEventResponse";
|
|
162
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
163
|
+
]);
|
|
164
|
+
|
|
165
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterJobEventResponse {
|
|
166
|
+
return new RegisterJobEventResponse().fromBinary(bytes, options);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterJobEventResponse {
|
|
170
|
+
return new RegisterJobEventResponse().fromJson(jsonValue, options);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterJobEventResponse {
|
|
174
|
+
return new RegisterJobEventResponse().fromJsonString(jsonString, options);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
static equals(a: RegisterJobEventResponse | PlainMessage<RegisterJobEventResponse> | undefined, b: RegisterJobEventResponse | PlainMessage<RegisterJobEventResponse> | undefined): boolean {
|
|
178
|
+
return proto3.util.equals(RegisterJobEventResponse, a, b);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message raystack.optimus.core.v1beta1.JobRunInputRequest
|
|
184
|
+
*/
|
|
185
|
+
export class JobRunInputRequest extends Message<JobRunInputRequest> {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string project_name = 1;
|
|
188
|
+
*/
|
|
189
|
+
projectName = "";
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: string job_name = 2;
|
|
193
|
+
*/
|
|
194
|
+
jobName = "";
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 4;
|
|
198
|
+
*/
|
|
199
|
+
scheduledAt?: Timestamp;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: string instance_name = 5;
|
|
203
|
+
*/
|
|
204
|
+
instanceName = "";
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: raystack.optimus.core.v1beta1.InstanceSpec.Type instance_type = 6;
|
|
208
|
+
*/
|
|
209
|
+
instanceType = InstanceSpec_Type.UNSPECIFIED;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* either set job_name if this is a scheduled execution
|
|
213
|
+
* or set jobrun_id if this is a manual triggered execution
|
|
214
|
+
* and not really registered as a valid job
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: string jobrun_id = 7;
|
|
217
|
+
*/
|
|
218
|
+
jobrunId = "";
|
|
219
|
+
|
|
220
|
+
constructor(data?: PartialMessage<JobRunInputRequest>) {
|
|
221
|
+
super();
|
|
222
|
+
proto3.util.initPartial(data, this);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
226
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobRunInputRequest";
|
|
227
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
228
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
229
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
230
|
+
{ no: 4, name: "scheduled_at", kind: "message", T: Timestamp },
|
|
231
|
+
{ no: 5, name: "instance_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
232
|
+
{ no: 6, name: "instance_type", kind: "enum", T: proto3.getEnumType(InstanceSpec_Type) },
|
|
233
|
+
{ no: 7, name: "jobrun_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
234
|
+
]);
|
|
235
|
+
|
|
236
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobRunInputRequest {
|
|
237
|
+
return new JobRunInputRequest().fromBinary(bytes, options);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobRunInputRequest {
|
|
241
|
+
return new JobRunInputRequest().fromJson(jsonValue, options);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobRunInputRequest {
|
|
245
|
+
return new JobRunInputRequest().fromJsonString(jsonString, options);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
static equals(a: JobRunInputRequest | PlainMessage<JobRunInputRequest> | undefined, b: JobRunInputRequest | PlainMessage<JobRunInputRequest> | undefined): boolean {
|
|
249
|
+
return proto3.util.equals(JobRunInputRequest, a, b);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @generated from message raystack.optimus.core.v1beta1.JobRunRequest
|
|
255
|
+
*/
|
|
256
|
+
export class JobRunRequest extends Message<JobRunRequest> {
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string project_name = 1;
|
|
259
|
+
*/
|
|
260
|
+
projectName = "";
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string job_name = 2;
|
|
264
|
+
*/
|
|
265
|
+
jobName = "";
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: google.protobuf.Timestamp start_date = 3;
|
|
269
|
+
*/
|
|
270
|
+
startDate?: Timestamp;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: google.protobuf.Timestamp end_date = 4;
|
|
274
|
+
*/
|
|
275
|
+
endDate?: Timestamp;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: repeated string filter = 5;
|
|
279
|
+
*/
|
|
280
|
+
filter: string[] = [];
|
|
281
|
+
|
|
282
|
+
constructor(data?: PartialMessage<JobRunRequest>) {
|
|
283
|
+
super();
|
|
284
|
+
proto3.util.initPartial(data, this);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
288
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobRunRequest";
|
|
289
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
290
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
291
|
+
{ no: 2, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
292
|
+
{ no: 3, name: "start_date", kind: "message", T: Timestamp },
|
|
293
|
+
{ no: 4, name: "end_date", kind: "message", T: Timestamp },
|
|
294
|
+
{ no: 5, name: "filter", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
295
|
+
]);
|
|
296
|
+
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobRunRequest {
|
|
298
|
+
return new JobRunRequest().fromBinary(bytes, options);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobRunRequest {
|
|
302
|
+
return new JobRunRequest().fromJson(jsonValue, options);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobRunRequest {
|
|
306
|
+
return new JobRunRequest().fromJsonString(jsonString, options);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
static equals(a: JobRunRequest | PlainMessage<JobRunRequest> | undefined, b: JobRunRequest | PlainMessage<JobRunRequest> | undefined): boolean {
|
|
310
|
+
return proto3.util.equals(JobRunRequest, a, b);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from message raystack.optimus.core.v1beta1.JobRunResponse
|
|
316
|
+
*/
|
|
317
|
+
export class JobRunResponse extends Message<JobRunResponse> {
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobRun job_runs = 1;
|
|
320
|
+
*/
|
|
321
|
+
jobRuns: JobRun[] = [];
|
|
322
|
+
|
|
323
|
+
constructor(data?: PartialMessage<JobRunResponse>) {
|
|
324
|
+
super();
|
|
325
|
+
proto3.util.initPartial(data, this);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
329
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobRunResponse";
|
|
330
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
331
|
+
{ no: 1, name: "job_runs", kind: "message", T: JobRun, repeated: true },
|
|
332
|
+
]);
|
|
333
|
+
|
|
334
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobRunResponse {
|
|
335
|
+
return new JobRunResponse().fromBinary(bytes, options);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobRunResponse {
|
|
339
|
+
return new JobRunResponse().fromJson(jsonValue, options);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobRunResponse {
|
|
343
|
+
return new JobRunResponse().fromJsonString(jsonString, options);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
static equals(a: JobRunResponse | PlainMessage<JobRunResponse> | undefined, b: JobRunResponse | PlainMessage<JobRunResponse> | undefined): boolean {
|
|
347
|
+
return proto3.util.equals(JobRunResponse, a, b);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message raystack.optimus.core.v1beta1.InstanceSpec
|
|
353
|
+
*/
|
|
354
|
+
export class InstanceSpec extends Message<InstanceSpec> {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: string state = 1;
|
|
357
|
+
*/
|
|
358
|
+
state = "";
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.InstanceSpecData data = 3;
|
|
362
|
+
*/
|
|
363
|
+
data: InstanceSpecData[] = [];
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: google.protobuf.Timestamp executed_at = 5;
|
|
367
|
+
*/
|
|
368
|
+
executedAt?: Timestamp;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string name = 6;
|
|
372
|
+
*/
|
|
373
|
+
name = "";
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: raystack.optimus.core.v1beta1.InstanceSpec.Type type = 7;
|
|
377
|
+
*/
|
|
378
|
+
type = InstanceSpec_Type.UNSPECIFIED;
|
|
379
|
+
|
|
380
|
+
constructor(data?: PartialMessage<InstanceSpec>) {
|
|
381
|
+
super();
|
|
382
|
+
proto3.util.initPartial(data, this);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
386
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.InstanceSpec";
|
|
387
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
388
|
+
{ no: 1, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
389
|
+
{ no: 3, name: "data", kind: "message", T: InstanceSpecData, repeated: true },
|
|
390
|
+
{ no: 5, name: "executed_at", kind: "message", T: Timestamp },
|
|
391
|
+
{ no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
392
|
+
{ no: 7, name: "type", kind: "enum", T: proto3.getEnumType(InstanceSpec_Type) },
|
|
393
|
+
]);
|
|
394
|
+
|
|
395
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceSpec {
|
|
396
|
+
return new InstanceSpec().fromBinary(bytes, options);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceSpec {
|
|
400
|
+
return new InstanceSpec().fromJson(jsonValue, options);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceSpec {
|
|
404
|
+
return new InstanceSpec().fromJsonString(jsonString, options);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
static equals(a: InstanceSpec | PlainMessage<InstanceSpec> | undefined, b: InstanceSpec | PlainMessage<InstanceSpec> | undefined): boolean {
|
|
408
|
+
return proto3.util.equals(InstanceSpec, a, b);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @generated from enum raystack.optimus.core.v1beta1.InstanceSpec.Type
|
|
414
|
+
*/
|
|
415
|
+
export enum InstanceSpec_Type {
|
|
416
|
+
/**
|
|
417
|
+
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
418
|
+
*/
|
|
419
|
+
UNSPECIFIED = 0,
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @generated from enum value: TYPE_TASK = 1;
|
|
423
|
+
*/
|
|
424
|
+
TASK = 1,
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @generated from enum value: TYPE_HOOK = 2;
|
|
428
|
+
*/
|
|
429
|
+
HOOK = 2,
|
|
430
|
+
}
|
|
431
|
+
// Retrieve enum metadata with: proto3.getEnumType(InstanceSpec_Type)
|
|
432
|
+
proto3.util.setEnumType(InstanceSpec_Type, "raystack.optimus.core.v1beta1.InstanceSpec.Type", [
|
|
433
|
+
{ no: 0, name: "TYPE_UNSPECIFIED" },
|
|
434
|
+
{ no: 1, name: "TYPE_TASK" },
|
|
435
|
+
{ no: 2, name: "TYPE_HOOK" },
|
|
436
|
+
]);
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from message raystack.optimus.core.v1beta1.InstanceSpecData
|
|
440
|
+
*/
|
|
441
|
+
export class InstanceSpecData extends Message<InstanceSpecData> {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: string name = 1;
|
|
444
|
+
*/
|
|
445
|
+
name = "";
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: string value = 2;
|
|
449
|
+
*/
|
|
450
|
+
value = "";
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @generated from field: raystack.optimus.core.v1beta1.InstanceSpecData.Type type = 5;
|
|
454
|
+
*/
|
|
455
|
+
type = InstanceSpecData_Type.UNSPECIFIED;
|
|
456
|
+
|
|
457
|
+
constructor(data?: PartialMessage<InstanceSpecData>) {
|
|
458
|
+
super();
|
|
459
|
+
proto3.util.initPartial(data, this);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
463
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.InstanceSpecData";
|
|
464
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
465
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
466
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
467
|
+
{ no: 5, name: "type", kind: "enum", T: proto3.getEnumType(InstanceSpecData_Type) },
|
|
468
|
+
]);
|
|
469
|
+
|
|
470
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InstanceSpecData {
|
|
471
|
+
return new InstanceSpecData().fromBinary(bytes, options);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InstanceSpecData {
|
|
475
|
+
return new InstanceSpecData().fromJson(jsonValue, options);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InstanceSpecData {
|
|
479
|
+
return new InstanceSpecData().fromJsonString(jsonString, options);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
static equals(a: InstanceSpecData | PlainMessage<InstanceSpecData> | undefined, b: InstanceSpecData | PlainMessage<InstanceSpecData> | undefined): boolean {
|
|
483
|
+
return proto3.util.equals(InstanceSpecData, a, b);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* type of data, could be an env var or file
|
|
489
|
+
*
|
|
490
|
+
* @generated from enum raystack.optimus.core.v1beta1.InstanceSpecData.Type
|
|
491
|
+
*/
|
|
492
|
+
export enum InstanceSpecData_Type {
|
|
493
|
+
/**
|
|
494
|
+
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
495
|
+
*/
|
|
496
|
+
UNSPECIFIED = 0,
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @generated from enum value: TYPE_ENV = 1;
|
|
500
|
+
*/
|
|
501
|
+
ENV = 1,
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @generated from enum value: TYPE_FILE = 2;
|
|
505
|
+
*/
|
|
506
|
+
FILE = 2,
|
|
507
|
+
}
|
|
508
|
+
// Retrieve enum metadata with: proto3.getEnumType(InstanceSpecData_Type)
|
|
509
|
+
proto3.util.setEnumType(InstanceSpecData_Type, "raystack.optimus.core.v1beta1.InstanceSpecData.Type", [
|
|
510
|
+
{ no: 0, name: "TYPE_UNSPECIFIED" },
|
|
511
|
+
{ no: 1, name: "TYPE_ENV" },
|
|
512
|
+
{ no: 2, name: "TYPE_FILE" },
|
|
513
|
+
]);
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @generated from message raystack.optimus.core.v1beta1.JobRunInputResponse
|
|
517
|
+
*/
|
|
518
|
+
export class JobRunInputResponse extends Message<JobRunInputResponse> {
|
|
519
|
+
/**
|
|
520
|
+
* @generated from field: map<string, string> envs = 1;
|
|
521
|
+
*/
|
|
522
|
+
envs: { [key: string]: string } = {};
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* @generated from field: map<string, string> files = 2;
|
|
526
|
+
*/
|
|
527
|
+
files: { [key: string]: string } = {};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @generated from field: map<string, string> secrets = 3;
|
|
531
|
+
*/
|
|
532
|
+
secrets: { [key: string]: string } = {};
|
|
533
|
+
|
|
534
|
+
constructor(data?: PartialMessage<JobRunInputResponse>) {
|
|
535
|
+
super();
|
|
536
|
+
proto3.util.initPartial(data, this);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
540
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobRunInputResponse";
|
|
541
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
542
|
+
{ no: 1, name: "envs", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
543
|
+
{ no: 2, name: "files", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
544
|
+
{ no: 3, name: "secrets", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
545
|
+
]);
|
|
546
|
+
|
|
547
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobRunInputResponse {
|
|
548
|
+
return new JobRunInputResponse().fromBinary(bytes, options);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobRunInputResponse {
|
|
552
|
+
return new JobRunInputResponse().fromJson(jsonValue, options);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobRunInputResponse {
|
|
556
|
+
return new JobRunInputResponse().fromJsonString(jsonString, options);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
static equals(a: JobRunInputResponse | PlainMessage<JobRunInputResponse> | undefined, b: JobRunInputResponse | PlainMessage<JobRunInputResponse> | undefined): boolean {
|
|
560
|
+
return proto3.util.equals(JobRunInputResponse, a, b);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* @generated from message raystack.optimus.core.v1beta1.TaskWindow
|
|
566
|
+
*/
|
|
567
|
+
export class TaskWindow extends Message<TaskWindow> {
|
|
568
|
+
/**
|
|
569
|
+
* @generated from field: google.protobuf.Duration size = 1;
|
|
570
|
+
*/
|
|
571
|
+
size?: Duration;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: google.protobuf.Duration offset = 2;
|
|
575
|
+
*/
|
|
576
|
+
offset?: Duration;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: string truncate_to = 3;
|
|
580
|
+
*/
|
|
581
|
+
truncateTo = "";
|
|
582
|
+
|
|
583
|
+
constructor(data?: PartialMessage<TaskWindow>) {
|
|
584
|
+
super();
|
|
585
|
+
proto3.util.initPartial(data, this);
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
589
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.TaskWindow";
|
|
590
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
591
|
+
{ no: 1, name: "size", kind: "message", T: Duration },
|
|
592
|
+
{ no: 2, name: "offset", kind: "message", T: Duration },
|
|
593
|
+
{ no: 3, name: "truncate_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
594
|
+
]);
|
|
595
|
+
|
|
596
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TaskWindow {
|
|
597
|
+
return new TaskWindow().fromBinary(bytes, options);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TaskWindow {
|
|
601
|
+
return new TaskWindow().fromJson(jsonValue, options);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TaskWindow {
|
|
605
|
+
return new TaskWindow().fromJsonString(jsonString, options);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
static equals(a: TaskWindow | PlainMessage<TaskWindow> | undefined, b: TaskWindow | PlainMessage<TaskWindow> | undefined): boolean {
|
|
609
|
+
return proto3.util.equals(TaskWindow, a, b);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|