@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,3196 @@
|
|
|
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_spec.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, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
import { Log } from "./status_pb";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum raystack.optimus.core.v1beta1.JobState
|
|
12
|
+
*/
|
|
13
|
+
export enum JobState {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: JOB_STATE_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: JOB_STATE_ENABLED = 1;
|
|
21
|
+
*/
|
|
22
|
+
ENABLED = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: JOB_STATE_DISABLED = 2;
|
|
26
|
+
*/
|
|
27
|
+
DISABLED = 2,
|
|
28
|
+
}
|
|
29
|
+
// Retrieve enum metadata with: proto3.getEnumType(JobState)
|
|
30
|
+
proto3.util.setEnumType(JobState, "raystack.optimus.core.v1beta1.JobState", [
|
|
31
|
+
{ no: 0, name: "JOB_STATE_UNSPECIFIED" },
|
|
32
|
+
{ no: 1, name: "JOB_STATE_ENABLED" },
|
|
33
|
+
{ no: 2, name: "JOB_STATE_DISABLED" },
|
|
34
|
+
]);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from message raystack.optimus.core.v1beta1.DeployJobSpecificationRequest
|
|
38
|
+
*/
|
|
39
|
+
export class DeployJobSpecificationRequest extends Message<DeployJobSpecificationRequest> {
|
|
40
|
+
/**
|
|
41
|
+
* unique project identifier
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string project_name = 1;
|
|
44
|
+
*/
|
|
45
|
+
projectName = "";
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification jobs = 2;
|
|
49
|
+
*/
|
|
50
|
+
jobs: JobSpecification[] = [];
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string namespace_name = 4;
|
|
54
|
+
*/
|
|
55
|
+
namespaceName = "";
|
|
56
|
+
|
|
57
|
+
constructor(data?: PartialMessage<DeployJobSpecificationRequest>) {
|
|
58
|
+
super();
|
|
59
|
+
proto3.util.initPartial(data, this);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
63
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeployJobSpecificationRequest";
|
|
64
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
65
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
66
|
+
{ no: 2, name: "jobs", kind: "message", T: JobSpecification, repeated: true },
|
|
67
|
+
{ no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
68
|
+
]);
|
|
69
|
+
|
|
70
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployJobSpecificationRequest {
|
|
71
|
+
return new DeployJobSpecificationRequest().fromBinary(bytes, options);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployJobSpecificationRequest {
|
|
75
|
+
return new DeployJobSpecificationRequest().fromJson(jsonValue, options);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployJobSpecificationRequest {
|
|
79
|
+
return new DeployJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static equals(a: DeployJobSpecificationRequest | PlainMessage<DeployJobSpecificationRequest> | undefined, b: DeployJobSpecificationRequest | PlainMessage<DeployJobSpecificationRequest> | undefined): boolean {
|
|
83
|
+
return proto3.util.equals(DeployJobSpecificationRequest, a, b);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* DeployJobSpecificationResponse hold the value of DeploymentID
|
|
89
|
+
* and the log messages
|
|
90
|
+
*
|
|
91
|
+
* @generated from message raystack.optimus.core.v1beta1.DeployJobSpecificationResponse
|
|
92
|
+
*/
|
|
93
|
+
export class DeployJobSpecificationResponse extends Message<DeployJobSpecificationResponse> {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string deployment_id = 7;
|
|
96
|
+
*/
|
|
97
|
+
deploymentId = "";
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: raystack.optimus.core.v1beta1.Log log_status = 8;
|
|
101
|
+
*/
|
|
102
|
+
logStatus?: Log;
|
|
103
|
+
|
|
104
|
+
constructor(data?: PartialMessage<DeployJobSpecificationResponse>) {
|
|
105
|
+
super();
|
|
106
|
+
proto3.util.initPartial(data, this);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
110
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeployJobSpecificationResponse";
|
|
111
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
112
|
+
{ no: 7, name: "deployment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 8, name: "log_status", kind: "message", T: Log },
|
|
114
|
+
]);
|
|
115
|
+
|
|
116
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployJobSpecificationResponse {
|
|
117
|
+
return new DeployJobSpecificationResponse().fromBinary(bytes, options);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployJobSpecificationResponse {
|
|
121
|
+
return new DeployJobSpecificationResponse().fromJson(jsonValue, options);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployJobSpecificationResponse {
|
|
125
|
+
return new DeployJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static equals(a: DeployJobSpecificationResponse | PlainMessage<DeployJobSpecificationResponse> | undefined, b: DeployJobSpecificationResponse | PlainMessage<DeployJobSpecificationResponse> | undefined): boolean {
|
|
129
|
+
return proto3.util.equals(DeployJobSpecificationResponse, a, b);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message raystack.optimus.core.v1beta1.AddJobSpecificationsRequest
|
|
135
|
+
*/
|
|
136
|
+
export class AddJobSpecificationsRequest extends Message<AddJobSpecificationsRequest> {
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: string project_name = 1;
|
|
139
|
+
*/
|
|
140
|
+
projectName = "";
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string namespace_name = 2;
|
|
144
|
+
*/
|
|
145
|
+
namespaceName = "";
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification specs = 3;
|
|
149
|
+
*/
|
|
150
|
+
specs: JobSpecification[] = [];
|
|
151
|
+
|
|
152
|
+
constructor(data?: PartialMessage<AddJobSpecificationsRequest>) {
|
|
153
|
+
super();
|
|
154
|
+
proto3.util.initPartial(data, this);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
158
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.AddJobSpecificationsRequest";
|
|
159
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
160
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
+
{ no: 3, name: "specs", kind: "message", T: JobSpecification, repeated: true },
|
|
163
|
+
]);
|
|
164
|
+
|
|
165
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddJobSpecificationsRequest {
|
|
166
|
+
return new AddJobSpecificationsRequest().fromBinary(bytes, options);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddJobSpecificationsRequest {
|
|
170
|
+
return new AddJobSpecificationsRequest().fromJson(jsonValue, options);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddJobSpecificationsRequest {
|
|
174
|
+
return new AddJobSpecificationsRequest().fromJsonString(jsonString, options);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
static equals(a: AddJobSpecificationsRequest | PlainMessage<AddJobSpecificationsRequest> | undefined, b: AddJobSpecificationsRequest | PlainMessage<AddJobSpecificationsRequest> | undefined): boolean {
|
|
178
|
+
return proto3.util.equals(AddJobSpecificationsRequest, a, b);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message raystack.optimus.core.v1beta1.AddJobSpecificationsResponse
|
|
184
|
+
*/
|
|
185
|
+
export class AddJobSpecificationsResponse extends Message<AddJobSpecificationsResponse> {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string log = 2;
|
|
188
|
+
*/
|
|
189
|
+
log = "";
|
|
190
|
+
|
|
191
|
+
constructor(data?: PartialMessage<AddJobSpecificationsResponse>) {
|
|
192
|
+
super();
|
|
193
|
+
proto3.util.initPartial(data, this);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
197
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.AddJobSpecificationsResponse";
|
|
198
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
199
|
+
{ no: 2, name: "log", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
|
+
]);
|
|
201
|
+
|
|
202
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddJobSpecificationsResponse {
|
|
203
|
+
return new AddJobSpecificationsResponse().fromBinary(bytes, options);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddJobSpecificationsResponse {
|
|
207
|
+
return new AddJobSpecificationsResponse().fromJson(jsonValue, options);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddJobSpecificationsResponse {
|
|
211
|
+
return new AddJobSpecificationsResponse().fromJsonString(jsonString, options);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
static equals(a: AddJobSpecificationsResponse | PlainMessage<AddJobSpecificationsResponse> | undefined, b: AddJobSpecificationsResponse | PlainMessage<AddJobSpecificationsResponse> | undefined): boolean {
|
|
215
|
+
return proto3.util.equals(AddJobSpecificationsResponse, a, b);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateJobSpecificationsRequest
|
|
221
|
+
*/
|
|
222
|
+
export class UpdateJobSpecificationsRequest extends Message<UpdateJobSpecificationsRequest> {
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string project_name = 1;
|
|
225
|
+
*/
|
|
226
|
+
projectName = "";
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: string namespace_name = 2;
|
|
230
|
+
*/
|
|
231
|
+
namespaceName = "";
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification specs = 3;
|
|
235
|
+
*/
|
|
236
|
+
specs: JobSpecification[] = [];
|
|
237
|
+
|
|
238
|
+
constructor(data?: PartialMessage<UpdateJobSpecificationsRequest>) {
|
|
239
|
+
super();
|
|
240
|
+
proto3.util.initPartial(data, this);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
244
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateJobSpecificationsRequest";
|
|
245
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
246
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
247
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
248
|
+
{ no: 3, name: "specs", kind: "message", T: JobSpecification, repeated: true },
|
|
249
|
+
]);
|
|
250
|
+
|
|
251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobSpecificationsRequest {
|
|
252
|
+
return new UpdateJobSpecificationsRequest().fromBinary(bytes, options);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobSpecificationsRequest {
|
|
256
|
+
return new UpdateJobSpecificationsRequest().fromJson(jsonValue, options);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobSpecificationsRequest {
|
|
260
|
+
return new UpdateJobSpecificationsRequest().fromJsonString(jsonString, options);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
static equals(a: UpdateJobSpecificationsRequest | PlainMessage<UpdateJobSpecificationsRequest> | undefined, b: UpdateJobSpecificationsRequest | PlainMessage<UpdateJobSpecificationsRequest> | undefined): boolean {
|
|
264
|
+
return proto3.util.equals(UpdateJobSpecificationsRequest, a, b);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateJobSpecificationsResponse
|
|
270
|
+
*/
|
|
271
|
+
export class UpdateJobSpecificationsResponse extends Message<UpdateJobSpecificationsResponse> {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: string log = 1;
|
|
274
|
+
*/
|
|
275
|
+
log = "";
|
|
276
|
+
|
|
277
|
+
constructor(data?: PartialMessage<UpdateJobSpecificationsResponse>) {
|
|
278
|
+
super();
|
|
279
|
+
proto3.util.initPartial(data, this);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
283
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateJobSpecificationsResponse";
|
|
284
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
285
|
+
{ no: 1, name: "log", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
286
|
+
]);
|
|
287
|
+
|
|
288
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobSpecificationsResponse {
|
|
289
|
+
return new UpdateJobSpecificationsResponse().fromBinary(bytes, options);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobSpecificationsResponse {
|
|
293
|
+
return new UpdateJobSpecificationsResponse().fromJson(jsonValue, options);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobSpecificationsResponse {
|
|
297
|
+
return new UpdateJobSpecificationsResponse().fromJsonString(jsonString, options);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
static equals(a: UpdateJobSpecificationsResponse | PlainMessage<UpdateJobSpecificationsResponse> | undefined, b: UpdateJobSpecificationsResponse | PlainMessage<UpdateJobSpecificationsResponse> | undefined): boolean {
|
|
301
|
+
return proto3.util.equals(UpdateJobSpecificationsResponse, a, b);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectRequest
|
|
307
|
+
*/
|
|
308
|
+
export class JobInspectRequest extends Message<JobInspectRequest> {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: string project_name = 1;
|
|
311
|
+
*/
|
|
312
|
+
projectName = "";
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: string namespace_name = 2;
|
|
316
|
+
*/
|
|
317
|
+
namespaceName = "";
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: string job_name = 3;
|
|
321
|
+
*/
|
|
322
|
+
jobName = "";
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification spec = 4;
|
|
326
|
+
*/
|
|
327
|
+
spec?: JobSpecification;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 5;
|
|
331
|
+
*/
|
|
332
|
+
scheduledAt?: Timestamp;
|
|
333
|
+
|
|
334
|
+
constructor(data?: PartialMessage<JobInspectRequest>) {
|
|
335
|
+
super();
|
|
336
|
+
proto3.util.initPartial(data, this);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
340
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectRequest";
|
|
341
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
342
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
343
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
344
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
345
|
+
{ no: 4, name: "spec", kind: "message", T: JobSpecification },
|
|
346
|
+
{ no: 5, name: "scheduled_at", kind: "message", T: Timestamp },
|
|
347
|
+
]);
|
|
348
|
+
|
|
349
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectRequest {
|
|
350
|
+
return new JobInspectRequest().fromBinary(bytes, options);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectRequest {
|
|
354
|
+
return new JobInspectRequest().fromJson(jsonValue, options);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectRequest {
|
|
358
|
+
return new JobInspectRequest().fromJsonString(jsonString, options);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
static equals(a: JobInspectRequest | PlainMessage<JobInspectRequest> | undefined, b: JobInspectRequest | PlainMessage<JobInspectRequest> | undefined): boolean {
|
|
362
|
+
return proto3.util.equals(JobInspectRequest, a, b);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @generated from message raystack.optimus.core.v1beta1.JobRun
|
|
368
|
+
*/
|
|
369
|
+
export class JobRun extends Message<JobRun> {
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string state = 1;
|
|
372
|
+
*/
|
|
373
|
+
state = "";
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 2;
|
|
377
|
+
*/
|
|
378
|
+
scheduledAt?: Timestamp;
|
|
379
|
+
|
|
380
|
+
constructor(data?: PartialMessage<JobRun>) {
|
|
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.JobRun";
|
|
387
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
388
|
+
{ no: 1, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
389
|
+
{ no: 2, name: "scheduled_at", kind: "message", T: Timestamp },
|
|
390
|
+
]);
|
|
391
|
+
|
|
392
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobRun {
|
|
393
|
+
return new JobRun().fromBinary(bytes, options);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobRun {
|
|
397
|
+
return new JobRun().fromJson(jsonValue, options);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobRun {
|
|
401
|
+
return new JobRun().fromJsonString(jsonString, options);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
static equals(a: JobRun | PlainMessage<JobRun> | undefined, b: JobRun | PlainMessage<JobRun> | undefined): boolean {
|
|
405
|
+
return proto3.util.equals(JobRun, a, b);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse
|
|
411
|
+
*/
|
|
412
|
+
export class JobInspectResponse extends Message<JobInspectResponse> {
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobInspectResponse.BasicInfoSection basic_info = 1;
|
|
415
|
+
*/
|
|
416
|
+
basicInfo?: JobInspectResponse_BasicInfoSection;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection upstreams = 2;
|
|
420
|
+
*/
|
|
421
|
+
upstreams?: JobInspectResponse_UpstreamSection;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobInspectResponse.DownstreamSection downstreams = 3;
|
|
425
|
+
*/
|
|
426
|
+
downstreams?: JobInspectResponse_DownstreamSection;
|
|
427
|
+
|
|
428
|
+
constructor(data?: PartialMessage<JobInspectResponse>) {
|
|
429
|
+
super();
|
|
430
|
+
proto3.util.initPartial(data, this);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
434
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse";
|
|
435
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
436
|
+
{ no: 1, name: "basic_info", kind: "message", T: JobInspectResponse_BasicInfoSection },
|
|
437
|
+
{ no: 2, name: "upstreams", kind: "message", T: JobInspectResponse_UpstreamSection },
|
|
438
|
+
{ no: 3, name: "downstreams", kind: "message", T: JobInspectResponse_DownstreamSection },
|
|
439
|
+
]);
|
|
440
|
+
|
|
441
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse {
|
|
442
|
+
return new JobInspectResponse().fromBinary(bytes, options);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse {
|
|
446
|
+
return new JobInspectResponse().fromJson(jsonValue, options);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse {
|
|
450
|
+
return new JobInspectResponse().fromJsonString(jsonString, options);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
static equals(a: JobInspectResponse | PlainMessage<JobInspectResponse> | undefined, b: JobInspectResponse | PlainMessage<JobInspectResponse> | undefined): boolean {
|
|
454
|
+
return proto3.util.equals(JobInspectResponse, a, b);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse.BasicInfoSection
|
|
460
|
+
*/
|
|
461
|
+
export class JobInspectResponse_BasicInfoSection extends Message<JobInspectResponse_BasicInfoSection> {
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification job = 1;
|
|
464
|
+
*/
|
|
465
|
+
job?: JobSpecification;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: repeated string source = 2;
|
|
469
|
+
*/
|
|
470
|
+
source: string[] = [];
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string destination = 3;
|
|
474
|
+
*/
|
|
475
|
+
destination = "";
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.Log notice = 4;
|
|
479
|
+
*/
|
|
480
|
+
notice: Log[] = [];
|
|
481
|
+
|
|
482
|
+
constructor(data?: PartialMessage<JobInspectResponse_BasicInfoSection>) {
|
|
483
|
+
super();
|
|
484
|
+
proto3.util.initPartial(data, this);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
488
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse.BasicInfoSection";
|
|
489
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
490
|
+
{ no: 1, name: "job", kind: "message", T: JobSpecification },
|
|
491
|
+
{ no: 2, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
492
|
+
{ no: 3, name: "destination", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
493
|
+
{ no: 4, name: "notice", kind: "message", T: Log, repeated: true },
|
|
494
|
+
]);
|
|
495
|
+
|
|
496
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse_BasicInfoSection {
|
|
497
|
+
return new JobInspectResponse_BasicInfoSection().fromBinary(bytes, options);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse_BasicInfoSection {
|
|
501
|
+
return new JobInspectResponse_BasicInfoSection().fromJson(jsonValue, options);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse_BasicInfoSection {
|
|
505
|
+
return new JobInspectResponse_BasicInfoSection().fromJsonString(jsonString, options);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
static equals(a: JobInspectResponse_BasicInfoSection | PlainMessage<JobInspectResponse_BasicInfoSection> | undefined, b: JobInspectResponse_BasicInfoSection | PlainMessage<JobInspectResponse_BasicInfoSection> | undefined): boolean {
|
|
509
|
+
return proto3.util.equals(JobInspectResponse_BasicInfoSection, a, b);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse.JobDependency
|
|
515
|
+
*/
|
|
516
|
+
export class JobInspectResponse_JobDependency extends Message<JobInspectResponse_JobDependency> {
|
|
517
|
+
/**
|
|
518
|
+
* @generated from field: string name = 1;
|
|
519
|
+
*/
|
|
520
|
+
name = "";
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: string host = 2;
|
|
524
|
+
*/
|
|
525
|
+
host = "";
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @generated from field: string project_name = 3;
|
|
529
|
+
*/
|
|
530
|
+
projectName = "";
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @generated from field: string namespace_name = 4;
|
|
534
|
+
*/
|
|
535
|
+
namespaceName = "";
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: string task_name = 5;
|
|
539
|
+
*/
|
|
540
|
+
taskName = "";
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobRun runs = 6;
|
|
544
|
+
*/
|
|
545
|
+
runs: JobRun[] = [];
|
|
546
|
+
|
|
547
|
+
constructor(data?: PartialMessage<JobInspectResponse_JobDependency>) {
|
|
548
|
+
super();
|
|
549
|
+
proto3.util.initPartial(data, this);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
553
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse.JobDependency";
|
|
554
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
555
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
556
|
+
{ no: 2, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
557
|
+
{ no: 3, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
558
|
+
{ no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
559
|
+
{ no: 5, name: "task_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
560
|
+
{ no: 6, name: "runs", kind: "message", T: JobRun, repeated: true },
|
|
561
|
+
]);
|
|
562
|
+
|
|
563
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse_JobDependency {
|
|
564
|
+
return new JobInspectResponse_JobDependency().fromBinary(bytes, options);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse_JobDependency {
|
|
568
|
+
return new JobInspectResponse_JobDependency().fromJson(jsonValue, options);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse_JobDependency {
|
|
572
|
+
return new JobInspectResponse_JobDependency().fromJsonString(jsonString, options);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
static equals(a: JobInspectResponse_JobDependency | PlainMessage<JobInspectResponse_JobDependency> | undefined, b: JobInspectResponse_JobDependency | PlainMessage<JobInspectResponse_JobDependency> | undefined): boolean {
|
|
576
|
+
return proto3.util.equals(JobInspectResponse_JobDependency, a, b);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection
|
|
582
|
+
*/
|
|
583
|
+
export class JobInspectResponse_UpstreamSection extends Message<JobInspectResponse_UpstreamSection> {
|
|
584
|
+
/**
|
|
585
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobInspectResponse.JobDependency external_dependency = 1;
|
|
586
|
+
*/
|
|
587
|
+
externalDependency: JobInspectResponse_JobDependency[] = [];
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobInspectResponse.JobDependency internal_dependency = 2;
|
|
591
|
+
*/
|
|
592
|
+
internalDependency: JobInspectResponse_JobDependency[] = [];
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.HttpDependency http_dependency = 3;
|
|
596
|
+
*/
|
|
597
|
+
httpDependency: HttpDependency[] = [];
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection.UnknownDependencies unknown_dependencies = 4;
|
|
601
|
+
*/
|
|
602
|
+
unknownDependencies: JobInspectResponse_UpstreamSection_UnknownDependencies[] = [];
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.Log notice = 5;
|
|
606
|
+
*/
|
|
607
|
+
notice: Log[] = [];
|
|
608
|
+
|
|
609
|
+
constructor(data?: PartialMessage<JobInspectResponse_UpstreamSection>) {
|
|
610
|
+
super();
|
|
611
|
+
proto3.util.initPartial(data, this);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
615
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection";
|
|
616
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
617
|
+
{ no: 1, name: "external_dependency", kind: "message", T: JobInspectResponse_JobDependency, repeated: true },
|
|
618
|
+
{ no: 2, name: "internal_dependency", kind: "message", T: JobInspectResponse_JobDependency, repeated: true },
|
|
619
|
+
{ no: 3, name: "http_dependency", kind: "message", T: HttpDependency, repeated: true },
|
|
620
|
+
{ no: 4, name: "unknown_dependencies", kind: "message", T: JobInspectResponse_UpstreamSection_UnknownDependencies, repeated: true },
|
|
621
|
+
{ no: 5, name: "notice", kind: "message", T: Log, repeated: true },
|
|
622
|
+
]);
|
|
623
|
+
|
|
624
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse_UpstreamSection {
|
|
625
|
+
return new JobInspectResponse_UpstreamSection().fromBinary(bytes, options);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse_UpstreamSection {
|
|
629
|
+
return new JobInspectResponse_UpstreamSection().fromJson(jsonValue, options);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse_UpstreamSection {
|
|
633
|
+
return new JobInspectResponse_UpstreamSection().fromJsonString(jsonString, options);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
static equals(a: JobInspectResponse_UpstreamSection | PlainMessage<JobInspectResponse_UpstreamSection> | undefined, b: JobInspectResponse_UpstreamSection | PlainMessage<JobInspectResponse_UpstreamSection> | undefined): boolean {
|
|
637
|
+
return proto3.util.equals(JobInspectResponse_UpstreamSection, a, b);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection.UnknownDependencies
|
|
643
|
+
*/
|
|
644
|
+
export class JobInspectResponse_UpstreamSection_UnknownDependencies extends Message<JobInspectResponse_UpstreamSection_UnknownDependencies> {
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: string job_name = 1;
|
|
647
|
+
*/
|
|
648
|
+
jobName = "";
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: string project_name = 2;
|
|
652
|
+
*/
|
|
653
|
+
projectName = "";
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: string resource_destination = 3;
|
|
657
|
+
*/
|
|
658
|
+
resourceDestination = "";
|
|
659
|
+
|
|
660
|
+
constructor(data?: PartialMessage<JobInspectResponse_UpstreamSection_UnknownDependencies>) {
|
|
661
|
+
super();
|
|
662
|
+
proto3.util.initPartial(data, this);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
666
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse.UpstreamSection.UnknownDependencies";
|
|
667
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
668
|
+
{ no: 1, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
669
|
+
{ no: 2, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
670
|
+
{ no: 3, name: "resource_destination", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
671
|
+
]);
|
|
672
|
+
|
|
673
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse_UpstreamSection_UnknownDependencies {
|
|
674
|
+
return new JobInspectResponse_UpstreamSection_UnknownDependencies().fromBinary(bytes, options);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse_UpstreamSection_UnknownDependencies {
|
|
678
|
+
return new JobInspectResponse_UpstreamSection_UnknownDependencies().fromJson(jsonValue, options);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse_UpstreamSection_UnknownDependencies {
|
|
682
|
+
return new JobInspectResponse_UpstreamSection_UnknownDependencies().fromJsonString(jsonString, options);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
static equals(a: JobInspectResponse_UpstreamSection_UnknownDependencies | PlainMessage<JobInspectResponse_UpstreamSection_UnknownDependencies> | undefined, b: JobInspectResponse_UpstreamSection_UnknownDependencies | PlainMessage<JobInspectResponse_UpstreamSection_UnknownDependencies> | undefined): boolean {
|
|
686
|
+
return proto3.util.equals(JobInspectResponse_UpstreamSection_UnknownDependencies, a, b);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @generated from message raystack.optimus.core.v1beta1.JobInspectResponse.DownstreamSection
|
|
692
|
+
*/
|
|
693
|
+
export class JobInspectResponse_DownstreamSection extends Message<JobInspectResponse_DownstreamSection> {
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobInspectResponse.JobDependency downstream_jobs = 1;
|
|
696
|
+
*/
|
|
697
|
+
downstreamJobs: JobInspectResponse_JobDependency[] = [];
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.Log notice = 2;
|
|
701
|
+
*/
|
|
702
|
+
notice: Log[] = [];
|
|
703
|
+
|
|
704
|
+
constructor(data?: PartialMessage<JobInspectResponse_DownstreamSection>) {
|
|
705
|
+
super();
|
|
706
|
+
proto3.util.initPartial(data, this);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
710
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobInspectResponse.DownstreamSection";
|
|
711
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
712
|
+
{ no: 1, name: "downstream_jobs", kind: "message", T: JobInspectResponse_JobDependency, repeated: true },
|
|
713
|
+
{ no: 2, name: "notice", kind: "message", T: Log, repeated: true },
|
|
714
|
+
]);
|
|
715
|
+
|
|
716
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobInspectResponse_DownstreamSection {
|
|
717
|
+
return new JobInspectResponse_DownstreamSection().fromBinary(bytes, options);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobInspectResponse_DownstreamSection {
|
|
721
|
+
return new JobInspectResponse_DownstreamSection().fromJson(jsonValue, options);
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobInspectResponse_DownstreamSection {
|
|
725
|
+
return new JobInspectResponse_DownstreamSection().fromJsonString(jsonString, options);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
static equals(a: JobInspectResponse_DownstreamSection | PlainMessage<JobInspectResponse_DownstreamSection> | undefined, b: JobInspectResponse_DownstreamSection | PlainMessage<JobInspectResponse_DownstreamSection> | undefined): boolean {
|
|
729
|
+
return proto3.util.equals(JobInspectResponse_DownstreamSection, a, b);
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @generated from message raystack.optimus.core.v1beta1.CreateJobSpecificationRequest
|
|
735
|
+
*/
|
|
736
|
+
export class CreateJobSpecificationRequest extends Message<CreateJobSpecificationRequest> {
|
|
737
|
+
/**
|
|
738
|
+
* @generated from field: string project_name = 1;
|
|
739
|
+
*/
|
|
740
|
+
projectName = "";
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* @generated from field: string namespace_name = 2;
|
|
744
|
+
*/
|
|
745
|
+
namespaceName = "";
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification spec = 3;
|
|
749
|
+
*/
|
|
750
|
+
spec?: JobSpecification;
|
|
751
|
+
|
|
752
|
+
constructor(data?: PartialMessage<CreateJobSpecificationRequest>) {
|
|
753
|
+
super();
|
|
754
|
+
proto3.util.initPartial(data, this);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
758
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CreateJobSpecificationRequest";
|
|
759
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
760
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
761
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
762
|
+
{ no: 3, name: "spec", kind: "message", T: JobSpecification },
|
|
763
|
+
]);
|
|
764
|
+
|
|
765
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateJobSpecificationRequest {
|
|
766
|
+
return new CreateJobSpecificationRequest().fromBinary(bytes, options);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateJobSpecificationRequest {
|
|
770
|
+
return new CreateJobSpecificationRequest().fromJson(jsonValue, options);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateJobSpecificationRequest {
|
|
774
|
+
return new CreateJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
static equals(a: CreateJobSpecificationRequest | PlainMessage<CreateJobSpecificationRequest> | undefined, b: CreateJobSpecificationRequest | PlainMessage<CreateJobSpecificationRequest> | undefined): boolean {
|
|
778
|
+
return proto3.util.equals(CreateJobSpecificationRequest, a, b);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* @generated from message raystack.optimus.core.v1beta1.CreateJobSpecificationResponse
|
|
784
|
+
*/
|
|
785
|
+
export class CreateJobSpecificationResponse extends Message<CreateJobSpecificationResponse> {
|
|
786
|
+
/**
|
|
787
|
+
* @generated from field: bool success = 1;
|
|
788
|
+
*/
|
|
789
|
+
success = false;
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* @generated from field: string message = 2;
|
|
793
|
+
*/
|
|
794
|
+
message = "";
|
|
795
|
+
|
|
796
|
+
constructor(data?: PartialMessage<CreateJobSpecificationResponse>) {
|
|
797
|
+
super();
|
|
798
|
+
proto3.util.initPartial(data, this);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
802
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CreateJobSpecificationResponse";
|
|
803
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
804
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
805
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
806
|
+
]);
|
|
807
|
+
|
|
808
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateJobSpecificationResponse {
|
|
809
|
+
return new CreateJobSpecificationResponse().fromBinary(bytes, options);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateJobSpecificationResponse {
|
|
813
|
+
return new CreateJobSpecificationResponse().fromJson(jsonValue, options);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateJobSpecificationResponse {
|
|
817
|
+
return new CreateJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
static equals(a: CreateJobSpecificationResponse | PlainMessage<CreateJobSpecificationResponse> | undefined, b: CreateJobSpecificationResponse | PlainMessage<CreateJobSpecificationResponse> | undefined): boolean {
|
|
821
|
+
return proto3.util.equals(CreateJobSpecificationResponse, a, b);
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobSpecificationRequest
|
|
827
|
+
*/
|
|
828
|
+
export class GetJobSpecificationRequest extends Message<GetJobSpecificationRequest> {
|
|
829
|
+
/**
|
|
830
|
+
* @generated from field: string project_name = 1;
|
|
831
|
+
*/
|
|
832
|
+
projectName = "";
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: string namespace_name = 2;
|
|
836
|
+
*/
|
|
837
|
+
namespaceName = "";
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: string job_name = 3;
|
|
841
|
+
*/
|
|
842
|
+
jobName = "";
|
|
843
|
+
|
|
844
|
+
constructor(data?: PartialMessage<GetJobSpecificationRequest>) {
|
|
845
|
+
super();
|
|
846
|
+
proto3.util.initPartial(data, this);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
850
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobSpecificationRequest";
|
|
851
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
852
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
853
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
854
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
855
|
+
]);
|
|
856
|
+
|
|
857
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobSpecificationRequest {
|
|
858
|
+
return new GetJobSpecificationRequest().fromBinary(bytes, options);
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobSpecificationRequest {
|
|
862
|
+
return new GetJobSpecificationRequest().fromJson(jsonValue, options);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobSpecificationRequest {
|
|
866
|
+
return new GetJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
static equals(a: GetJobSpecificationRequest | PlainMessage<GetJobSpecificationRequest> | undefined, b: GetJobSpecificationRequest | PlainMessage<GetJobSpecificationRequest> | undefined): boolean {
|
|
870
|
+
return proto3.util.equals(GetJobSpecificationRequest, a, b);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobSpecificationResponse
|
|
876
|
+
*/
|
|
877
|
+
export class GetJobSpecificationResponse extends Message<GetJobSpecificationResponse> {
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification spec = 1;
|
|
880
|
+
*/
|
|
881
|
+
spec?: JobSpecification;
|
|
882
|
+
|
|
883
|
+
constructor(data?: PartialMessage<GetJobSpecificationResponse>) {
|
|
884
|
+
super();
|
|
885
|
+
proto3.util.initPartial(data, this);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
889
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobSpecificationResponse";
|
|
890
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
891
|
+
{ no: 1, name: "spec", kind: "message", T: JobSpecification },
|
|
892
|
+
]);
|
|
893
|
+
|
|
894
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobSpecificationResponse {
|
|
895
|
+
return new GetJobSpecificationResponse().fromBinary(bytes, options);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobSpecificationResponse {
|
|
899
|
+
return new GetJobSpecificationResponse().fromJson(jsonValue, options);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobSpecificationResponse {
|
|
903
|
+
return new GetJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
static equals(a: GetJobSpecificationResponse | PlainMessage<GetJobSpecificationResponse> | undefined, b: GetJobSpecificationResponse | PlainMessage<GetJobSpecificationResponse> | undefined): boolean {
|
|
907
|
+
return proto3.util.equals(GetJobSpecificationResponse, a, b);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @generated from message raystack.optimus.core.v1beta1.DeleteJobSpecificationRequest
|
|
913
|
+
*/
|
|
914
|
+
export class DeleteJobSpecificationRequest extends Message<DeleteJobSpecificationRequest> {
|
|
915
|
+
/**
|
|
916
|
+
* @generated from field: string project_name = 1;
|
|
917
|
+
*/
|
|
918
|
+
projectName = "";
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @generated from field: string namespace_name = 2;
|
|
922
|
+
*/
|
|
923
|
+
namespaceName = "";
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* @generated from field: string job_name = 3;
|
|
927
|
+
*/
|
|
928
|
+
jobName = "";
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* @generated from field: bool clean_history = 4;
|
|
932
|
+
*/
|
|
933
|
+
cleanHistory = false;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* @generated from field: bool force = 5;
|
|
937
|
+
*/
|
|
938
|
+
force = false;
|
|
939
|
+
|
|
940
|
+
constructor(data?: PartialMessage<DeleteJobSpecificationRequest>) {
|
|
941
|
+
super();
|
|
942
|
+
proto3.util.initPartial(data, this);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
946
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeleteJobSpecificationRequest";
|
|
947
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
948
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
949
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
950
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
951
|
+
{ no: 4, name: "clean_history", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
952
|
+
{ no: 5, name: "force", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
953
|
+
]);
|
|
954
|
+
|
|
955
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteJobSpecificationRequest {
|
|
956
|
+
return new DeleteJobSpecificationRequest().fromBinary(bytes, options);
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteJobSpecificationRequest {
|
|
960
|
+
return new DeleteJobSpecificationRequest().fromJson(jsonValue, options);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteJobSpecificationRequest {
|
|
964
|
+
return new DeleteJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
static equals(a: DeleteJobSpecificationRequest | PlainMessage<DeleteJobSpecificationRequest> | undefined, b: DeleteJobSpecificationRequest | PlainMessage<DeleteJobSpecificationRequest> | undefined): boolean {
|
|
968
|
+
return proto3.util.equals(DeleteJobSpecificationRequest, a, b);
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* @generated from message raystack.optimus.core.v1beta1.DeleteJobSpecificationResponse
|
|
974
|
+
*/
|
|
975
|
+
export class DeleteJobSpecificationResponse extends Message<DeleteJobSpecificationResponse> {
|
|
976
|
+
/**
|
|
977
|
+
* @generated from field: bool success = 1;
|
|
978
|
+
*/
|
|
979
|
+
success = false;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* @generated from field: string message = 2;
|
|
983
|
+
*/
|
|
984
|
+
message = "";
|
|
985
|
+
|
|
986
|
+
constructor(data?: PartialMessage<DeleteJobSpecificationResponse>) {
|
|
987
|
+
super();
|
|
988
|
+
proto3.util.initPartial(data, this);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
992
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeleteJobSpecificationResponse";
|
|
993
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
994
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
995
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
996
|
+
]);
|
|
997
|
+
|
|
998
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteJobSpecificationResponse {
|
|
999
|
+
return new DeleteJobSpecificationResponse().fromBinary(bytes, options);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteJobSpecificationResponse {
|
|
1003
|
+
return new DeleteJobSpecificationResponse().fromJson(jsonValue, options);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteJobSpecificationResponse {
|
|
1007
|
+
return new DeleteJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
static equals(a: DeleteJobSpecificationResponse | PlainMessage<DeleteJobSpecificationResponse> | undefined, b: DeleteJobSpecificationResponse | PlainMessage<DeleteJobSpecificationResponse> | undefined): boolean {
|
|
1011
|
+
return proto3.util.equals(DeleteJobSpecificationResponse, a, b);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* @generated from message raystack.optimus.core.v1beta1.ChangeJobNamespaceRequest
|
|
1017
|
+
*/
|
|
1018
|
+
export class ChangeJobNamespaceRequest extends Message<ChangeJobNamespaceRequest> {
|
|
1019
|
+
/**
|
|
1020
|
+
* @generated from field: string project_name = 1;
|
|
1021
|
+
*/
|
|
1022
|
+
projectName = "";
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from field: string namespace_name = 2;
|
|
1026
|
+
*/
|
|
1027
|
+
namespaceName = "";
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* @generated from field: string job_name = 3;
|
|
1031
|
+
*/
|
|
1032
|
+
jobName = "";
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: string new_namespace_name = 4;
|
|
1036
|
+
*/
|
|
1037
|
+
newNamespaceName = "";
|
|
1038
|
+
|
|
1039
|
+
constructor(data?: PartialMessage<ChangeJobNamespaceRequest>) {
|
|
1040
|
+
super();
|
|
1041
|
+
proto3.util.initPartial(data, this);
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1045
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ChangeJobNamespaceRequest";
|
|
1046
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1047
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1048
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1049
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1050
|
+
{ no: 4, name: "new_namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1051
|
+
]);
|
|
1052
|
+
|
|
1053
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChangeJobNamespaceRequest {
|
|
1054
|
+
return new ChangeJobNamespaceRequest().fromBinary(bytes, options);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChangeJobNamespaceRequest {
|
|
1058
|
+
return new ChangeJobNamespaceRequest().fromJson(jsonValue, options);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChangeJobNamespaceRequest {
|
|
1062
|
+
return new ChangeJobNamespaceRequest().fromJsonString(jsonString, options);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
static equals(a: ChangeJobNamespaceRequest | PlainMessage<ChangeJobNamespaceRequest> | undefined, b: ChangeJobNamespaceRequest | PlainMessage<ChangeJobNamespaceRequest> | undefined): boolean {
|
|
1066
|
+
return proto3.util.equals(ChangeJobNamespaceRequest, a, b);
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from message raystack.optimus.core.v1beta1.ChangeJobNamespaceResponse
|
|
1072
|
+
*/
|
|
1073
|
+
export class ChangeJobNamespaceResponse extends Message<ChangeJobNamespaceResponse> {
|
|
1074
|
+
constructor(data?: PartialMessage<ChangeJobNamespaceResponse>) {
|
|
1075
|
+
super();
|
|
1076
|
+
proto3.util.initPartial(data, this);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1080
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ChangeJobNamespaceResponse";
|
|
1081
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1082
|
+
]);
|
|
1083
|
+
|
|
1084
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChangeJobNamespaceResponse {
|
|
1085
|
+
return new ChangeJobNamespaceResponse().fromBinary(bytes, options);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChangeJobNamespaceResponse {
|
|
1089
|
+
return new ChangeJobNamespaceResponse().fromJson(jsonValue, options);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChangeJobNamespaceResponse {
|
|
1093
|
+
return new ChangeJobNamespaceResponse().fromJsonString(jsonString, options);
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
static equals(a: ChangeJobNamespaceResponse | PlainMessage<ChangeJobNamespaceResponse> | undefined, b: ChangeJobNamespaceResponse | PlainMessage<ChangeJobNamespaceResponse> | undefined): boolean {
|
|
1097
|
+
return proto3.util.equals(ChangeJobNamespaceResponse, a, b);
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from message raystack.optimus.core.v1beta1.ListJobSpecificationRequest
|
|
1103
|
+
*/
|
|
1104
|
+
export class ListJobSpecificationRequest extends Message<ListJobSpecificationRequest> {
|
|
1105
|
+
/**
|
|
1106
|
+
* @generated from field: string project_name = 1;
|
|
1107
|
+
*/
|
|
1108
|
+
projectName = "";
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* @generated from field: string namespace_name = 2;
|
|
1112
|
+
*/
|
|
1113
|
+
namespaceName = "";
|
|
1114
|
+
|
|
1115
|
+
constructor(data?: PartialMessage<ListJobSpecificationRequest>) {
|
|
1116
|
+
super();
|
|
1117
|
+
proto3.util.initPartial(data, this);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1121
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListJobSpecificationRequest";
|
|
1122
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1123
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1124
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1125
|
+
]);
|
|
1126
|
+
|
|
1127
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListJobSpecificationRequest {
|
|
1128
|
+
return new ListJobSpecificationRequest().fromBinary(bytes, options);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListJobSpecificationRequest {
|
|
1132
|
+
return new ListJobSpecificationRequest().fromJson(jsonValue, options);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListJobSpecificationRequest {
|
|
1136
|
+
return new ListJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
static equals(a: ListJobSpecificationRequest | PlainMessage<ListJobSpecificationRequest> | undefined, b: ListJobSpecificationRequest | PlainMessage<ListJobSpecificationRequest> | undefined): boolean {
|
|
1140
|
+
return proto3.util.equals(ListJobSpecificationRequest, a, b);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from message raystack.optimus.core.v1beta1.ListJobSpecificationResponse
|
|
1146
|
+
*/
|
|
1147
|
+
export class ListJobSpecificationResponse extends Message<ListJobSpecificationResponse> {
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification jobs = 1;
|
|
1150
|
+
*/
|
|
1151
|
+
jobs: JobSpecification[] = [];
|
|
1152
|
+
|
|
1153
|
+
constructor(data?: PartialMessage<ListJobSpecificationResponse>) {
|
|
1154
|
+
super();
|
|
1155
|
+
proto3.util.initPartial(data, this);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1159
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ListJobSpecificationResponse";
|
|
1160
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1161
|
+
{ no: 1, name: "jobs", kind: "message", T: JobSpecification, repeated: true },
|
|
1162
|
+
]);
|
|
1163
|
+
|
|
1164
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListJobSpecificationResponse {
|
|
1165
|
+
return new ListJobSpecificationResponse().fromBinary(bytes, options);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListJobSpecificationResponse {
|
|
1169
|
+
return new ListJobSpecificationResponse().fromJson(jsonValue, options);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListJobSpecificationResponse {
|
|
1173
|
+
return new ListJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
static equals(a: ListJobSpecificationResponse | PlainMessage<ListJobSpecificationResponse> | undefined, b: ListJobSpecificationResponse | PlainMessage<ListJobSpecificationResponse> | undefined): boolean {
|
|
1177
|
+
return proto3.util.equals(ListJobSpecificationResponse, a, b);
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* @generated from message raystack.optimus.core.v1beta1.CheckJobSpecificationRequest
|
|
1183
|
+
*/
|
|
1184
|
+
export class CheckJobSpecificationRequest extends Message<CheckJobSpecificationRequest> {
|
|
1185
|
+
/**
|
|
1186
|
+
* @generated from field: string project_name = 1;
|
|
1187
|
+
*/
|
|
1188
|
+
projectName = "";
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification job = 2;
|
|
1192
|
+
*/
|
|
1193
|
+
job?: JobSpecification;
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* @generated from field: string namespace_name = 3;
|
|
1197
|
+
*/
|
|
1198
|
+
namespaceName = "";
|
|
1199
|
+
|
|
1200
|
+
constructor(data?: PartialMessage<CheckJobSpecificationRequest>) {
|
|
1201
|
+
super();
|
|
1202
|
+
proto3.util.initPartial(data, this);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1206
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CheckJobSpecificationRequest";
|
|
1207
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1208
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1209
|
+
{ no: 2, name: "job", kind: "message", T: JobSpecification },
|
|
1210
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1211
|
+
]);
|
|
1212
|
+
|
|
1213
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckJobSpecificationRequest {
|
|
1214
|
+
return new CheckJobSpecificationRequest().fromBinary(bytes, options);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckJobSpecificationRequest {
|
|
1218
|
+
return new CheckJobSpecificationRequest().fromJson(jsonValue, options);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckJobSpecificationRequest {
|
|
1222
|
+
return new CheckJobSpecificationRequest().fromJsonString(jsonString, options);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
static equals(a: CheckJobSpecificationRequest | PlainMessage<CheckJobSpecificationRequest> | undefined, b: CheckJobSpecificationRequest | PlainMessage<CheckJobSpecificationRequest> | undefined): boolean {
|
|
1226
|
+
return proto3.util.equals(CheckJobSpecificationRequest, a, b);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* @generated from message raystack.optimus.core.v1beta1.CheckJobSpecificationResponse
|
|
1232
|
+
*/
|
|
1233
|
+
export class CheckJobSpecificationResponse extends Message<CheckJobSpecificationResponse> {
|
|
1234
|
+
/**
|
|
1235
|
+
* @generated from field: bool success = 1;
|
|
1236
|
+
*/
|
|
1237
|
+
success = false;
|
|
1238
|
+
|
|
1239
|
+
constructor(data?: PartialMessage<CheckJobSpecificationResponse>) {
|
|
1240
|
+
super();
|
|
1241
|
+
proto3.util.initPartial(data, this);
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1245
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CheckJobSpecificationResponse";
|
|
1246
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1247
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1248
|
+
]);
|
|
1249
|
+
|
|
1250
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckJobSpecificationResponse {
|
|
1251
|
+
return new CheckJobSpecificationResponse().fromBinary(bytes, options);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckJobSpecificationResponse {
|
|
1255
|
+
return new CheckJobSpecificationResponse().fromJson(jsonValue, options);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckJobSpecificationResponse {
|
|
1259
|
+
return new CheckJobSpecificationResponse().fromJsonString(jsonString, options);
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
static equals(a: CheckJobSpecificationResponse | PlainMessage<CheckJobSpecificationResponse> | undefined, b: CheckJobSpecificationResponse | PlainMessage<CheckJobSpecificationResponse> | undefined): boolean {
|
|
1263
|
+
return proto3.util.equals(CheckJobSpecificationResponse, a, b);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* @generated from message raystack.optimus.core.v1beta1.CheckJobSpecificationsRequest
|
|
1269
|
+
*/
|
|
1270
|
+
export class CheckJobSpecificationsRequest extends Message<CheckJobSpecificationsRequest> {
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from field: string project_name = 1;
|
|
1273
|
+
*/
|
|
1274
|
+
projectName = "";
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification jobs = 2;
|
|
1278
|
+
*/
|
|
1279
|
+
jobs: JobSpecification[] = [];
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* @generated from field: string namespace_name = 3;
|
|
1283
|
+
*/
|
|
1284
|
+
namespaceName = "";
|
|
1285
|
+
|
|
1286
|
+
constructor(data?: PartialMessage<CheckJobSpecificationsRequest>) {
|
|
1287
|
+
super();
|
|
1288
|
+
proto3.util.initPartial(data, this);
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1292
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CheckJobSpecificationsRequest";
|
|
1293
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1294
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1295
|
+
{ no: 2, name: "jobs", kind: "message", T: JobSpecification, repeated: true },
|
|
1296
|
+
{ no: 3, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1297
|
+
]);
|
|
1298
|
+
|
|
1299
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckJobSpecificationsRequest {
|
|
1300
|
+
return new CheckJobSpecificationsRequest().fromBinary(bytes, options);
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckJobSpecificationsRequest {
|
|
1304
|
+
return new CheckJobSpecificationsRequest().fromJson(jsonValue, options);
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckJobSpecificationsRequest {
|
|
1308
|
+
return new CheckJobSpecificationsRequest().fromJsonString(jsonString, options);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
static equals(a: CheckJobSpecificationsRequest | PlainMessage<CheckJobSpecificationsRequest> | undefined, b: CheckJobSpecificationsRequest | PlainMessage<CheckJobSpecificationsRequest> | undefined): boolean {
|
|
1312
|
+
return proto3.util.equals(CheckJobSpecificationsRequest, a, b);
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* @generated from message raystack.optimus.core.v1beta1.CheckJobSpecificationsResponse
|
|
1318
|
+
*/
|
|
1319
|
+
export class CheckJobSpecificationsResponse extends Message<CheckJobSpecificationsResponse> {
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from field: raystack.optimus.core.v1beta1.Log log_status = 5;
|
|
1322
|
+
*/
|
|
1323
|
+
logStatus?: Log;
|
|
1324
|
+
|
|
1325
|
+
constructor(data?: PartialMessage<CheckJobSpecificationsResponse>) {
|
|
1326
|
+
super();
|
|
1327
|
+
proto3.util.initPartial(data, this);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1331
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.CheckJobSpecificationsResponse";
|
|
1332
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1333
|
+
{ no: 5, name: "log_status", kind: "message", T: Log },
|
|
1334
|
+
]);
|
|
1335
|
+
|
|
1336
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckJobSpecificationsResponse {
|
|
1337
|
+
return new CheckJobSpecificationsResponse().fromBinary(bytes, options);
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckJobSpecificationsResponse {
|
|
1341
|
+
return new CheckJobSpecificationsResponse().fromJson(jsonValue, options);
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckJobSpecificationsResponse {
|
|
1345
|
+
return new CheckJobSpecificationsResponse().fromJsonString(jsonString, options);
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
static equals(a: CheckJobSpecificationsResponse | PlainMessage<CheckJobSpecificationsResponse> | undefined, b: CheckJobSpecificationsResponse | PlainMessage<CheckJobSpecificationsResponse> | undefined): boolean {
|
|
1349
|
+
return proto3.util.equals(CheckJobSpecificationsResponse, a, b);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecification
|
|
1355
|
+
*/
|
|
1356
|
+
export class JobSpecification extends Message<JobSpecification> {
|
|
1357
|
+
/**
|
|
1358
|
+
* @generated from field: int32 version = 1;
|
|
1359
|
+
*/
|
|
1360
|
+
version = 0;
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* @generated from field: string name = 2;
|
|
1364
|
+
*/
|
|
1365
|
+
name = "";
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* @generated from field: string owner = 3;
|
|
1369
|
+
*/
|
|
1370
|
+
owner = "";
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* @generated from field: string start_date = 4;
|
|
1374
|
+
*/
|
|
1375
|
+
startDate = "";
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* optional
|
|
1379
|
+
*
|
|
1380
|
+
* @generated from field: string end_date = 5;
|
|
1381
|
+
*/
|
|
1382
|
+
endDate = "";
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* @generated from field: string interval = 6;
|
|
1386
|
+
*/
|
|
1387
|
+
interval = "";
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* should only execute today if yesterday was completed with success?
|
|
1391
|
+
*
|
|
1392
|
+
* @generated from field: bool depends_on_past = 7;
|
|
1393
|
+
*/
|
|
1394
|
+
dependsOnPast = false;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* should backfill till today?
|
|
1398
|
+
*
|
|
1399
|
+
* @generated from field: bool catch_up = 8 [deprecated = true];
|
|
1400
|
+
* @deprecated
|
|
1401
|
+
*/
|
|
1402
|
+
catchUp = false;
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* @generated from field: string task_name = 9;
|
|
1406
|
+
*/
|
|
1407
|
+
taskName = "";
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobConfigItem config = 10;
|
|
1411
|
+
*/
|
|
1412
|
+
config: JobConfigItem[] = [];
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* @generated from field: string window_size = 11;
|
|
1416
|
+
*/
|
|
1417
|
+
windowSize = "";
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* @generated from field: string window_offset = 12;
|
|
1421
|
+
*/
|
|
1422
|
+
windowOffset = "";
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* @generated from field: string window_truncate_to = 13;
|
|
1426
|
+
*/
|
|
1427
|
+
windowTruncateTo = "";
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* static dependencies
|
|
1431
|
+
*
|
|
1432
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobDependency dependencies = 14;
|
|
1433
|
+
*/
|
|
1434
|
+
dependencies: JobDependency[] = [];
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* @generated from field: map<string, string> assets = 15;
|
|
1438
|
+
*/
|
|
1439
|
+
assets: { [key: string]: string } = {};
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* optional
|
|
1443
|
+
*
|
|
1444
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecHook hooks = 16;
|
|
1445
|
+
*/
|
|
1446
|
+
hooks: JobSpecHook[] = [];
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* optional
|
|
1450
|
+
*
|
|
1451
|
+
* @generated from field: string description = 17;
|
|
1452
|
+
*/
|
|
1453
|
+
description = "";
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* @generated from field: map<string, string> labels = 18;
|
|
1457
|
+
*/
|
|
1458
|
+
labels: { [key: string]: string } = {};
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification.Behavior behavior = 19;
|
|
1462
|
+
*/
|
|
1463
|
+
behavior?: JobSpecification_Behavior;
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobMetadata metadata = 20;
|
|
1467
|
+
*/
|
|
1468
|
+
metadata?: JobMetadata;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* @generated from field: string destination = 21;
|
|
1472
|
+
*/
|
|
1473
|
+
destination = "";
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* @generated from field: repeated string sources = 22;
|
|
1477
|
+
*/
|
|
1478
|
+
sources: string[] = [];
|
|
1479
|
+
|
|
1480
|
+
constructor(data?: PartialMessage<JobSpecification>) {
|
|
1481
|
+
super();
|
|
1482
|
+
proto3.util.initPartial(data, this);
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1486
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecification";
|
|
1487
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1488
|
+
{ no: 1, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1489
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1490
|
+
{ no: 3, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1491
|
+
{ no: 4, name: "start_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1492
|
+
{ no: 5, name: "end_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1493
|
+
{ no: 6, name: "interval", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1494
|
+
{ no: 7, name: "depends_on_past", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1495
|
+
{ no: 8, name: "catch_up", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1496
|
+
{ no: 9, name: "task_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1497
|
+
{ no: 10, name: "config", kind: "message", T: JobConfigItem, repeated: true },
|
|
1498
|
+
{ no: 11, name: "window_size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1499
|
+
{ no: 12, name: "window_offset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1500
|
+
{ no: 13, name: "window_truncate_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1501
|
+
{ no: 14, name: "dependencies", kind: "message", T: JobDependency, repeated: true },
|
|
1502
|
+
{ no: 15, name: "assets", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1503
|
+
{ no: 16, name: "hooks", kind: "message", T: JobSpecHook, repeated: true },
|
|
1504
|
+
{ no: 17, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1505
|
+
{ no: 18, name: "labels", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1506
|
+
{ no: 19, name: "behavior", kind: "message", T: JobSpecification_Behavior },
|
|
1507
|
+
{ no: 20, name: "metadata", kind: "message", T: JobMetadata },
|
|
1508
|
+
{ no: 21, name: "destination", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1509
|
+
{ no: 22, name: "sources", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1510
|
+
]);
|
|
1511
|
+
|
|
1512
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecification {
|
|
1513
|
+
return new JobSpecification().fromBinary(bytes, options);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecification {
|
|
1517
|
+
return new JobSpecification().fromJson(jsonValue, options);
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecification {
|
|
1521
|
+
return new JobSpecification().fromJsonString(jsonString, options);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
static equals(a: JobSpecification | PlainMessage<JobSpecification> | undefined, b: JobSpecification | PlainMessage<JobSpecification> | undefined): boolean {
|
|
1525
|
+
return proto3.util.equals(JobSpecification, a, b);
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecification.Behavior
|
|
1531
|
+
*/
|
|
1532
|
+
export class JobSpecification_Behavior extends Message<JobSpecification_Behavior> {
|
|
1533
|
+
/**
|
|
1534
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification.Behavior.Retry retry = 1;
|
|
1535
|
+
*/
|
|
1536
|
+
retry?: JobSpecification_Behavior_Retry;
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification.Behavior.Notifiers notify = 2;
|
|
1540
|
+
*/
|
|
1541
|
+
notify: JobSpecification_Behavior_Notifiers[] = [];
|
|
1542
|
+
|
|
1543
|
+
constructor(data?: PartialMessage<JobSpecification_Behavior>) {
|
|
1544
|
+
super();
|
|
1545
|
+
proto3.util.initPartial(data, this);
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1549
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecification.Behavior";
|
|
1550
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1551
|
+
{ no: 1, name: "retry", kind: "message", T: JobSpecification_Behavior_Retry },
|
|
1552
|
+
{ no: 2, name: "notify", kind: "message", T: JobSpecification_Behavior_Notifiers, repeated: true },
|
|
1553
|
+
]);
|
|
1554
|
+
|
|
1555
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecification_Behavior {
|
|
1556
|
+
return new JobSpecification_Behavior().fromBinary(bytes, options);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecification_Behavior {
|
|
1560
|
+
return new JobSpecification_Behavior().fromJson(jsonValue, options);
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecification_Behavior {
|
|
1564
|
+
return new JobSpecification_Behavior().fromJsonString(jsonString, options);
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
static equals(a: JobSpecification_Behavior | PlainMessage<JobSpecification_Behavior> | undefined, b: JobSpecification_Behavior | PlainMessage<JobSpecification_Behavior> | undefined): boolean {
|
|
1568
|
+
return proto3.util.equals(JobSpecification_Behavior, a, b);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* retry behaviour if job failed to execute for the first time
|
|
1574
|
+
*
|
|
1575
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecification.Behavior.Retry
|
|
1576
|
+
*/
|
|
1577
|
+
export class JobSpecification_Behavior_Retry extends Message<JobSpecification_Behavior_Retry> {
|
|
1578
|
+
/**
|
|
1579
|
+
* @generated from field: int32 count = 1;
|
|
1580
|
+
*/
|
|
1581
|
+
count = 0;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* @generated from field: google.protobuf.Duration delay = 2;
|
|
1585
|
+
*/
|
|
1586
|
+
delay?: Duration;
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* @generated from field: bool exponential_backoff = 3;
|
|
1590
|
+
*/
|
|
1591
|
+
exponentialBackoff = false;
|
|
1592
|
+
|
|
1593
|
+
constructor(data?: PartialMessage<JobSpecification_Behavior_Retry>) {
|
|
1594
|
+
super();
|
|
1595
|
+
proto3.util.initPartial(data, this);
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1599
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecification.Behavior.Retry";
|
|
1600
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1601
|
+
{ no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1602
|
+
{ no: 2, name: "delay", kind: "message", T: Duration },
|
|
1603
|
+
{ no: 3, name: "exponential_backoff", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1604
|
+
]);
|
|
1605
|
+
|
|
1606
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecification_Behavior_Retry {
|
|
1607
|
+
return new JobSpecification_Behavior_Retry().fromBinary(bytes, options);
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecification_Behavior_Retry {
|
|
1611
|
+
return new JobSpecification_Behavior_Retry().fromJson(jsonValue, options);
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecification_Behavior_Retry {
|
|
1615
|
+
return new JobSpecification_Behavior_Retry().fromJsonString(jsonString, options);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
static equals(a: JobSpecification_Behavior_Retry | PlainMessage<JobSpecification_Behavior_Retry> | undefined, b: JobSpecification_Behavior_Retry | PlainMessage<JobSpecification_Behavior_Retry> | undefined): boolean {
|
|
1619
|
+
return proto3.util.equals(JobSpecification_Behavior_Retry, a, b);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* Notifiers are used to set custom alerting in case of job failure/sla_miss
|
|
1625
|
+
*
|
|
1626
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecification.Behavior.Notifiers
|
|
1627
|
+
*/
|
|
1628
|
+
export class JobSpecification_Behavior_Notifiers extends Message<JobSpecification_Behavior_Notifiers> {
|
|
1629
|
+
/**
|
|
1630
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobEvent.Type on = 1;
|
|
1631
|
+
*/
|
|
1632
|
+
on = JobEvent_Type.UNSPECIFIED;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: repeated string channels = 2;
|
|
1636
|
+
*/
|
|
1637
|
+
channels: string[] = [];
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* @generated from field: map<string, string> config = 3;
|
|
1641
|
+
*/
|
|
1642
|
+
config: { [key: string]: string } = {};
|
|
1643
|
+
|
|
1644
|
+
constructor(data?: PartialMessage<JobSpecification_Behavior_Notifiers>) {
|
|
1645
|
+
super();
|
|
1646
|
+
proto3.util.initPartial(data, this);
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1650
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecification.Behavior.Notifiers";
|
|
1651
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1652
|
+
{ no: 1, name: "on", kind: "enum", T: proto3.getEnumType(JobEvent_Type) },
|
|
1653
|
+
{ no: 2, name: "channels", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1654
|
+
{ no: 3, name: "config", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1655
|
+
]);
|
|
1656
|
+
|
|
1657
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecification_Behavior_Notifiers {
|
|
1658
|
+
return new JobSpecification_Behavior_Notifiers().fromBinary(bytes, options);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecification_Behavior_Notifiers {
|
|
1662
|
+
return new JobSpecification_Behavior_Notifiers().fromJson(jsonValue, options);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecification_Behavior_Notifiers {
|
|
1666
|
+
return new JobSpecification_Behavior_Notifiers().fromJsonString(jsonString, options);
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
static equals(a: JobSpecification_Behavior_Notifiers | PlainMessage<JobSpecification_Behavior_Notifiers> | undefined, b: JobSpecification_Behavior_Notifiers | PlainMessage<JobSpecification_Behavior_Notifiers> | undefined): boolean {
|
|
1670
|
+
return proto3.util.equals(JobSpecification_Behavior_Notifiers, a, b);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* @generated from message raystack.optimus.core.v1beta1.JobDependency
|
|
1676
|
+
*/
|
|
1677
|
+
export class JobDependency extends Message<JobDependency> {
|
|
1678
|
+
/**
|
|
1679
|
+
* @generated from field: string name = 1;
|
|
1680
|
+
*/
|
|
1681
|
+
name = "";
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* intra/inter/extra
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from field: string type = 2;
|
|
1687
|
+
*/
|
|
1688
|
+
type = "";
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* http sensor dependency
|
|
1692
|
+
*
|
|
1693
|
+
* @generated from field: raystack.optimus.core.v1beta1.HttpDependency http_dependency = 3;
|
|
1694
|
+
*/
|
|
1695
|
+
httpDependency?: HttpDependency;
|
|
1696
|
+
|
|
1697
|
+
constructor(data?: PartialMessage<JobDependency>) {
|
|
1698
|
+
super();
|
|
1699
|
+
proto3.util.initPartial(data, this);
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1703
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobDependency";
|
|
1704
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1705
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1706
|
+
{ no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1707
|
+
{ no: 3, name: "http_dependency", kind: "message", T: HttpDependency },
|
|
1708
|
+
]);
|
|
1709
|
+
|
|
1710
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobDependency {
|
|
1711
|
+
return new JobDependency().fromBinary(bytes, options);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobDependency {
|
|
1715
|
+
return new JobDependency().fromJson(jsonValue, options);
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobDependency {
|
|
1719
|
+
return new JobDependency().fromJsonString(jsonString, options);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
static equals(a: JobDependency | PlainMessage<JobDependency> | undefined, b: JobDependency | PlainMessage<JobDependency> | undefined): boolean {
|
|
1723
|
+
return proto3.util.equals(JobDependency, a, b);
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* @generated from message raystack.optimus.core.v1beta1.HttpDependency
|
|
1729
|
+
*/
|
|
1730
|
+
export class HttpDependency extends Message<HttpDependency> {
|
|
1731
|
+
/**
|
|
1732
|
+
* @generated from field: string name = 1;
|
|
1733
|
+
*/
|
|
1734
|
+
name = "";
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* @generated from field: string url = 2;
|
|
1738
|
+
*/
|
|
1739
|
+
url = "";
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* @generated from field: map<string, string> headers = 3;
|
|
1743
|
+
*/
|
|
1744
|
+
headers: { [key: string]: string } = {};
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* @generated from field: map<string, string> params = 4;
|
|
1748
|
+
*/
|
|
1749
|
+
params: { [key: string]: string } = {};
|
|
1750
|
+
|
|
1751
|
+
constructor(data?: PartialMessage<HttpDependency>) {
|
|
1752
|
+
super();
|
|
1753
|
+
proto3.util.initPartial(data, this);
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1757
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.HttpDependency";
|
|
1758
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1759
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1760
|
+
{ no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1761
|
+
{ no: 3, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1762
|
+
{ no: 4, name: "params", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
1763
|
+
]);
|
|
1764
|
+
|
|
1765
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HttpDependency {
|
|
1766
|
+
return new HttpDependency().fromBinary(bytes, options);
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HttpDependency {
|
|
1770
|
+
return new HttpDependency().fromJson(jsonValue, options);
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HttpDependency {
|
|
1774
|
+
return new HttpDependency().fromJsonString(jsonString, options);
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
static equals(a: HttpDependency | PlainMessage<HttpDependency> | undefined, b: HttpDependency | PlainMessage<HttpDependency> | undefined): boolean {
|
|
1778
|
+
return proto3.util.equals(HttpDependency, a, b);
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecHook
|
|
1784
|
+
*/
|
|
1785
|
+
export class JobSpecHook extends Message<JobSpecHook> {
|
|
1786
|
+
/**
|
|
1787
|
+
* @generated from field: string name = 1;
|
|
1788
|
+
*/
|
|
1789
|
+
name = "";
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobConfigItem config = 2;
|
|
1793
|
+
*/
|
|
1794
|
+
config: JobConfigItem[] = [];
|
|
1795
|
+
|
|
1796
|
+
constructor(data?: PartialMessage<JobSpecHook>) {
|
|
1797
|
+
super();
|
|
1798
|
+
proto3.util.initPartial(data, this);
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1802
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecHook";
|
|
1803
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1804
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1805
|
+
{ no: 2, name: "config", kind: "message", T: JobConfigItem, repeated: true },
|
|
1806
|
+
]);
|
|
1807
|
+
|
|
1808
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecHook {
|
|
1809
|
+
return new JobSpecHook().fromBinary(bytes, options);
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecHook {
|
|
1813
|
+
return new JobSpecHook().fromJson(jsonValue, options);
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecHook {
|
|
1817
|
+
return new JobSpecHook().fromJsonString(jsonString, options);
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
static equals(a: JobSpecHook | PlainMessage<JobSpecHook> | undefined, b: JobSpecHook | PlainMessage<JobSpecHook> | undefined): boolean {
|
|
1821
|
+
return proto3.util.equals(JobSpecHook, a, b);
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* @generated from message raystack.optimus.core.v1beta1.JobConfigItem
|
|
1827
|
+
*/
|
|
1828
|
+
export class JobConfigItem extends Message<JobConfigItem> {
|
|
1829
|
+
/**
|
|
1830
|
+
* @generated from field: string name = 1;
|
|
1831
|
+
*/
|
|
1832
|
+
name = "";
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* @generated from field: string value = 2;
|
|
1836
|
+
*/
|
|
1837
|
+
value = "";
|
|
1838
|
+
|
|
1839
|
+
constructor(data?: PartialMessage<JobConfigItem>) {
|
|
1840
|
+
super();
|
|
1841
|
+
proto3.util.initPartial(data, this);
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1845
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobConfigItem";
|
|
1846
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1847
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1848
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1849
|
+
]);
|
|
1850
|
+
|
|
1851
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobConfigItem {
|
|
1852
|
+
return new JobConfigItem().fromBinary(bytes, options);
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobConfigItem {
|
|
1856
|
+
return new JobConfigItem().fromJson(jsonValue, options);
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobConfigItem {
|
|
1860
|
+
return new JobConfigItem().fromJsonString(jsonString, options);
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
static equals(a: JobConfigItem | PlainMessage<JobConfigItem> | undefined, b: JobConfigItem | PlainMessage<JobConfigItem> | undefined): boolean {
|
|
1864
|
+
return proto3.util.equals(JobConfigItem, a, b);
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from message raystack.optimus.core.v1beta1.JobEvent
|
|
1870
|
+
*/
|
|
1871
|
+
export class JobEvent extends Message<JobEvent> {
|
|
1872
|
+
/**
|
|
1873
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobEvent.Type type = 1;
|
|
1874
|
+
*/
|
|
1875
|
+
type = JobEvent_Type.UNSPECIFIED;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* @generated from field: google.protobuf.Struct value = 2;
|
|
1879
|
+
*/
|
|
1880
|
+
value?: Struct;
|
|
1881
|
+
|
|
1882
|
+
constructor(data?: PartialMessage<JobEvent>) {
|
|
1883
|
+
super();
|
|
1884
|
+
proto3.util.initPartial(data, this);
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
1888
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobEvent";
|
|
1889
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1890
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(JobEvent_Type) },
|
|
1891
|
+
{ no: 2, name: "value", kind: "message", T: Struct },
|
|
1892
|
+
]);
|
|
1893
|
+
|
|
1894
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobEvent {
|
|
1895
|
+
return new JobEvent().fromBinary(bytes, options);
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobEvent {
|
|
1899
|
+
return new JobEvent().fromJson(jsonValue, options);
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobEvent {
|
|
1903
|
+
return new JobEvent().fromJsonString(jsonString, options);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
static equals(a: JobEvent | PlainMessage<JobEvent> | undefined, b: JobEvent | PlainMessage<JobEvent> | undefined): boolean {
|
|
1907
|
+
return proto3.util.equals(JobEvent, a, b);
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* @generated from enum raystack.optimus.core.v1beta1.JobEvent.Type
|
|
1913
|
+
*/
|
|
1914
|
+
export enum JobEvent_Type {
|
|
1915
|
+
/**
|
|
1916
|
+
* @generated from enum value: TYPE_UNSPECIFIED = 0;
|
|
1917
|
+
*/
|
|
1918
|
+
UNSPECIFIED = 0,
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* @generated from enum value: TYPE_SLA_MISS = 1;
|
|
1922
|
+
*/
|
|
1923
|
+
SLA_MISS = 1,
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* @generated from enum value: TYPE_JOB_SUCCESS = 6;
|
|
1927
|
+
*/
|
|
1928
|
+
JOB_SUCCESS = 6,
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* @generated from enum value: TYPE_FAILURE = 7;
|
|
1932
|
+
*/
|
|
1933
|
+
FAILURE = 7,
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* @generated from enum value: TYPE_TASK_RETRY = 8;
|
|
1937
|
+
*/
|
|
1938
|
+
TASK_RETRY = 8,
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* @generated from enum value: TYPE_TASK_SUCCESS = 9;
|
|
1942
|
+
*/
|
|
1943
|
+
TASK_SUCCESS = 9,
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* @generated from enum value: TYPE_TASK_START = 10;
|
|
1947
|
+
*/
|
|
1948
|
+
TASK_START = 10,
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* @generated from enum value: TYPE_TASK_FAIL = 11;
|
|
1952
|
+
*/
|
|
1953
|
+
TASK_FAIL = 11,
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* @generated from enum value: TYPE_SENSOR_RETRY = 12;
|
|
1957
|
+
*/
|
|
1958
|
+
SENSOR_RETRY = 12,
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* @generated from enum value: TYPE_SENSOR_SUCCESS = 13;
|
|
1962
|
+
*/
|
|
1963
|
+
SENSOR_SUCCESS = 13,
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* @generated from enum value: TYPE_SENSOR_START = 14;
|
|
1967
|
+
*/
|
|
1968
|
+
SENSOR_START = 14,
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* @generated from enum value: TYPE_SENSOR_FAIL = 15;
|
|
1972
|
+
*/
|
|
1973
|
+
SENSOR_FAIL = 15,
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* @generated from enum value: TYPE_HOOK_START = 16;
|
|
1977
|
+
*/
|
|
1978
|
+
HOOK_START = 16,
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* @generated from enum value: TYPE_HOOK_RETRY = 17;
|
|
1982
|
+
*/
|
|
1983
|
+
HOOK_RETRY = 17,
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* @generated from enum value: TYPE_HOOK_FAIL = 18;
|
|
1987
|
+
*/
|
|
1988
|
+
HOOK_FAIL = 18,
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* @generated from enum value: TYPE_HOOK_SUCCESS = 19;
|
|
1992
|
+
*/
|
|
1993
|
+
HOOK_SUCCESS = 19,
|
|
1994
|
+
}
|
|
1995
|
+
// Retrieve enum metadata with: proto3.getEnumType(JobEvent_Type)
|
|
1996
|
+
proto3.util.setEnumType(JobEvent_Type, "raystack.optimus.core.v1beta1.JobEvent.Type", [
|
|
1997
|
+
{ no: 0, name: "TYPE_UNSPECIFIED" },
|
|
1998
|
+
{ no: 1, name: "TYPE_SLA_MISS" },
|
|
1999
|
+
{ no: 6, name: "TYPE_JOB_SUCCESS" },
|
|
2000
|
+
{ no: 7, name: "TYPE_FAILURE" },
|
|
2001
|
+
{ no: 8, name: "TYPE_TASK_RETRY" },
|
|
2002
|
+
{ no: 9, name: "TYPE_TASK_SUCCESS" },
|
|
2003
|
+
{ no: 10, name: "TYPE_TASK_START" },
|
|
2004
|
+
{ no: 11, name: "TYPE_TASK_FAIL" },
|
|
2005
|
+
{ no: 12, name: "TYPE_SENSOR_RETRY" },
|
|
2006
|
+
{ no: 13, name: "TYPE_SENSOR_SUCCESS" },
|
|
2007
|
+
{ no: 14, name: "TYPE_SENSOR_START" },
|
|
2008
|
+
{ no: 15, name: "TYPE_SENSOR_FAIL" },
|
|
2009
|
+
{ no: 16, name: "TYPE_HOOK_START" },
|
|
2010
|
+
{ no: 17, name: "TYPE_HOOK_RETRY" },
|
|
2011
|
+
{ no: 18, name: "TYPE_HOOK_FAIL" },
|
|
2012
|
+
{ no: 19, name: "TYPE_HOOK_SUCCESS" },
|
|
2013
|
+
]);
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* @generated from message raystack.optimus.core.v1beta1.JobMetadata
|
|
2017
|
+
*/
|
|
2018
|
+
export class JobMetadata extends Message<JobMetadata> {
|
|
2019
|
+
/**
|
|
2020
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecMetadataResource resource = 1;
|
|
2021
|
+
*/
|
|
2022
|
+
resource?: JobSpecMetadataResource;
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecMetadataAirflow airflow = 2;
|
|
2026
|
+
*/
|
|
2027
|
+
airflow?: JobSpecMetadataAirflow;
|
|
2028
|
+
|
|
2029
|
+
constructor(data?: PartialMessage<JobMetadata>) {
|
|
2030
|
+
super();
|
|
2031
|
+
proto3.util.initPartial(data, this);
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2035
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobMetadata";
|
|
2036
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2037
|
+
{ no: 1, name: "resource", kind: "message", T: JobSpecMetadataResource },
|
|
2038
|
+
{ no: 2, name: "airflow", kind: "message", T: JobSpecMetadataAirflow },
|
|
2039
|
+
]);
|
|
2040
|
+
|
|
2041
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobMetadata {
|
|
2042
|
+
return new JobMetadata().fromBinary(bytes, options);
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobMetadata {
|
|
2046
|
+
return new JobMetadata().fromJson(jsonValue, options);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobMetadata {
|
|
2050
|
+
return new JobMetadata().fromJsonString(jsonString, options);
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
static equals(a: JobMetadata | PlainMessage<JobMetadata> | undefined, b: JobMetadata | PlainMessage<JobMetadata> | undefined): boolean {
|
|
2054
|
+
return proto3.util.equals(JobMetadata, a, b);
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecMetadataResource
|
|
2060
|
+
*/
|
|
2061
|
+
export class JobSpecMetadataResource extends Message<JobSpecMetadataResource> {
|
|
2062
|
+
/**
|
|
2063
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecMetadataResourceConfig request = 1;
|
|
2064
|
+
*/
|
|
2065
|
+
request?: JobSpecMetadataResourceConfig;
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecMetadataResourceConfig limit = 2;
|
|
2069
|
+
*/
|
|
2070
|
+
limit?: JobSpecMetadataResourceConfig;
|
|
2071
|
+
|
|
2072
|
+
constructor(data?: PartialMessage<JobSpecMetadataResource>) {
|
|
2073
|
+
super();
|
|
2074
|
+
proto3.util.initPartial(data, this);
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2078
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecMetadataResource";
|
|
2079
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2080
|
+
{ no: 1, name: "request", kind: "message", T: JobSpecMetadataResourceConfig },
|
|
2081
|
+
{ no: 2, name: "limit", kind: "message", T: JobSpecMetadataResourceConfig },
|
|
2082
|
+
]);
|
|
2083
|
+
|
|
2084
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecMetadataResource {
|
|
2085
|
+
return new JobSpecMetadataResource().fromBinary(bytes, options);
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecMetadataResource {
|
|
2089
|
+
return new JobSpecMetadataResource().fromJson(jsonValue, options);
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecMetadataResource {
|
|
2093
|
+
return new JobSpecMetadataResource().fromJsonString(jsonString, options);
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
static equals(a: JobSpecMetadataResource | PlainMessage<JobSpecMetadataResource> | undefined, b: JobSpecMetadataResource | PlainMessage<JobSpecMetadataResource> | undefined): boolean {
|
|
2097
|
+
return proto3.util.equals(JobSpecMetadataResource, a, b);
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecMetadataResourceConfig
|
|
2103
|
+
*/
|
|
2104
|
+
export class JobSpecMetadataResourceConfig extends Message<JobSpecMetadataResourceConfig> {
|
|
2105
|
+
/**
|
|
2106
|
+
* @generated from field: string cpu = 1;
|
|
2107
|
+
*/
|
|
2108
|
+
cpu = "";
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: string memory = 2;
|
|
2112
|
+
*/
|
|
2113
|
+
memory = "";
|
|
2114
|
+
|
|
2115
|
+
constructor(data?: PartialMessage<JobSpecMetadataResourceConfig>) {
|
|
2116
|
+
super();
|
|
2117
|
+
proto3.util.initPartial(data, this);
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2121
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecMetadataResourceConfig";
|
|
2122
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2123
|
+
{ no: 1, name: "cpu", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2124
|
+
{ no: 2, name: "memory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2125
|
+
]);
|
|
2126
|
+
|
|
2127
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecMetadataResourceConfig {
|
|
2128
|
+
return new JobSpecMetadataResourceConfig().fromBinary(bytes, options);
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecMetadataResourceConfig {
|
|
2132
|
+
return new JobSpecMetadataResourceConfig().fromJson(jsonValue, options);
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecMetadataResourceConfig {
|
|
2136
|
+
return new JobSpecMetadataResourceConfig().fromJsonString(jsonString, options);
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
static equals(a: JobSpecMetadataResourceConfig | PlainMessage<JobSpecMetadataResourceConfig> | undefined, b: JobSpecMetadataResourceConfig | PlainMessage<JobSpecMetadataResourceConfig> | undefined): boolean {
|
|
2140
|
+
return proto3.util.equals(JobSpecMetadataResourceConfig, a, b);
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecMetadataAirflow
|
|
2146
|
+
*/
|
|
2147
|
+
export class JobSpecMetadataAirflow extends Message<JobSpecMetadataAirflow> {
|
|
2148
|
+
/**
|
|
2149
|
+
* @generated from field: string pool = 1;
|
|
2150
|
+
*/
|
|
2151
|
+
pool = "";
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* @generated from field: string queue = 2;
|
|
2155
|
+
*/
|
|
2156
|
+
queue = "";
|
|
2157
|
+
|
|
2158
|
+
constructor(data?: PartialMessage<JobSpecMetadataAirflow>) {
|
|
2159
|
+
super();
|
|
2160
|
+
proto3.util.initPartial(data, this);
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2164
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecMetadataAirflow";
|
|
2165
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2166
|
+
{ no: 1, name: "pool", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2167
|
+
{ no: 2, name: "queue", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2168
|
+
]);
|
|
2169
|
+
|
|
2170
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecMetadataAirflow {
|
|
2171
|
+
return new JobSpecMetadataAirflow().fromBinary(bytes, options);
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecMetadataAirflow {
|
|
2175
|
+
return new JobSpecMetadataAirflow().fromJson(jsonValue, options);
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecMetadataAirflow {
|
|
2179
|
+
return new JobSpecMetadataAirflow().fromJsonString(jsonString, options);
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
static equals(a: JobSpecMetadataAirflow | PlainMessage<JobSpecMetadataAirflow> | undefined, b: JobSpecMetadataAirflow | PlainMessage<JobSpecMetadataAirflow> | undefined): boolean {
|
|
2183
|
+
return proto3.util.equals(JobSpecMetadataAirflow, a, b);
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* @generated from message raystack.optimus.core.v1beta1.RefreshJobsRequest
|
|
2189
|
+
*/
|
|
2190
|
+
export class RefreshJobsRequest extends Message<RefreshJobsRequest> {
|
|
2191
|
+
/**
|
|
2192
|
+
* @generated from field: string project_name = 1;
|
|
2193
|
+
*/
|
|
2194
|
+
projectName = "";
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* @generated from field: repeated string namespace_names = 2;
|
|
2198
|
+
*/
|
|
2199
|
+
namespaceNames: string[] = [];
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* @generated from field: repeated string job_names = 3;
|
|
2203
|
+
*/
|
|
2204
|
+
jobNames: string[] = [];
|
|
2205
|
+
|
|
2206
|
+
constructor(data?: PartialMessage<RefreshJobsRequest>) {
|
|
2207
|
+
super();
|
|
2208
|
+
proto3.util.initPartial(data, this);
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2212
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RefreshJobsRequest";
|
|
2213
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2214
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2215
|
+
{ no: 2, name: "namespace_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2216
|
+
{ no: 3, name: "job_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
2217
|
+
]);
|
|
2218
|
+
|
|
2219
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshJobsRequest {
|
|
2220
|
+
return new RefreshJobsRequest().fromBinary(bytes, options);
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshJobsRequest {
|
|
2224
|
+
return new RefreshJobsRequest().fromJson(jsonValue, options);
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshJobsRequest {
|
|
2228
|
+
return new RefreshJobsRequest().fromJsonString(jsonString, options);
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
static equals(a: RefreshJobsRequest | PlainMessage<RefreshJobsRequest> | undefined, b: RefreshJobsRequest | PlainMessage<RefreshJobsRequest> | undefined): boolean {
|
|
2232
|
+
return proto3.util.equals(RefreshJobsRequest, a, b);
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* @generated from message raystack.optimus.core.v1beta1.RefreshJobsResponse
|
|
2238
|
+
*/
|
|
2239
|
+
export class RefreshJobsResponse extends Message<RefreshJobsResponse> {
|
|
2240
|
+
/**
|
|
2241
|
+
* @generated from field: raystack.optimus.core.v1beta1.Log log_status = 6;
|
|
2242
|
+
*/
|
|
2243
|
+
logStatus?: Log;
|
|
2244
|
+
|
|
2245
|
+
constructor(data?: PartialMessage<RefreshJobsResponse>) {
|
|
2246
|
+
super();
|
|
2247
|
+
proto3.util.initPartial(data, this);
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2251
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.RefreshJobsResponse";
|
|
2252
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2253
|
+
{ no: 6, name: "log_status", kind: "message", T: Log },
|
|
2254
|
+
]);
|
|
2255
|
+
|
|
2256
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshJobsResponse {
|
|
2257
|
+
return new RefreshJobsResponse().fromBinary(bytes, options);
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshJobsResponse {
|
|
2261
|
+
return new RefreshJobsResponse().fromJson(jsonValue, options);
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshJobsResponse {
|
|
2265
|
+
return new RefreshJobsResponse().fromJsonString(jsonString, options);
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
static equals(a: RefreshJobsResponse | PlainMessage<RefreshJobsResponse> | undefined, b: RefreshJobsResponse | PlainMessage<RefreshJobsResponse> | undefined): boolean {
|
|
2269
|
+
return proto3.util.equals(RefreshJobsResponse, a, b);
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* @generated from message raystack.optimus.core.v1beta1.GetDeployJobsStatusRequest
|
|
2275
|
+
*/
|
|
2276
|
+
export class GetDeployJobsStatusRequest extends Message<GetDeployJobsStatusRequest> {
|
|
2277
|
+
/**
|
|
2278
|
+
* @generated from field: string deploy_id = 1;
|
|
2279
|
+
*/
|
|
2280
|
+
deployId = "";
|
|
2281
|
+
|
|
2282
|
+
constructor(data?: PartialMessage<GetDeployJobsStatusRequest>) {
|
|
2283
|
+
super();
|
|
2284
|
+
proto3.util.initPartial(data, this);
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2288
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetDeployJobsStatusRequest";
|
|
2289
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2290
|
+
{ no: 1, name: "deploy_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2291
|
+
]);
|
|
2292
|
+
|
|
2293
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDeployJobsStatusRequest {
|
|
2294
|
+
return new GetDeployJobsStatusRequest().fromBinary(bytes, options);
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDeployJobsStatusRequest {
|
|
2298
|
+
return new GetDeployJobsStatusRequest().fromJson(jsonValue, options);
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDeployJobsStatusRequest {
|
|
2302
|
+
return new GetDeployJobsStatusRequest().fromJsonString(jsonString, options);
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
static equals(a: GetDeployJobsStatusRequest | PlainMessage<GetDeployJobsStatusRequest> | undefined, b: GetDeployJobsStatusRequest | PlainMessage<GetDeployJobsStatusRequest> | undefined): boolean {
|
|
2306
|
+
return proto3.util.equals(GetDeployJobsStatusRequest, a, b);
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* @generated from message raystack.optimus.core.v1beta1.GetDeployJobsStatusResponse
|
|
2312
|
+
*/
|
|
2313
|
+
export class GetDeployJobsStatusResponse extends Message<GetDeployJobsStatusResponse> {
|
|
2314
|
+
/**
|
|
2315
|
+
* @generated from field: string status = 1;
|
|
2316
|
+
*/
|
|
2317
|
+
status = "";
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.DeployJobFailure failures = 2;
|
|
2321
|
+
*/
|
|
2322
|
+
failures: DeployJobFailure[] = [];
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* @generated from field: int32 success_count = 3;
|
|
2326
|
+
*/
|
|
2327
|
+
successCount = 0;
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* @generated from field: int32 failure_count = 4;
|
|
2331
|
+
*/
|
|
2332
|
+
failureCount = 0;
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* @generated from field: map<string, string> unknown_dependencies = 5;
|
|
2336
|
+
*/
|
|
2337
|
+
unknownDependencies: { [key: string]: string } = {};
|
|
2338
|
+
|
|
2339
|
+
constructor(data?: PartialMessage<GetDeployJobsStatusResponse>) {
|
|
2340
|
+
super();
|
|
2341
|
+
proto3.util.initPartial(data, this);
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2345
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetDeployJobsStatusResponse";
|
|
2346
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2347
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2348
|
+
{ no: 2, name: "failures", kind: "message", T: DeployJobFailure, repeated: true },
|
|
2349
|
+
{ no: 3, name: "success_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2350
|
+
{ no: 4, name: "failure_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2351
|
+
{ no: 5, name: "unknown_dependencies", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
2352
|
+
]);
|
|
2353
|
+
|
|
2354
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDeployJobsStatusResponse {
|
|
2355
|
+
return new GetDeployJobsStatusResponse().fromBinary(bytes, options);
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDeployJobsStatusResponse {
|
|
2359
|
+
return new GetDeployJobsStatusResponse().fromJson(jsonValue, options);
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDeployJobsStatusResponse {
|
|
2363
|
+
return new GetDeployJobsStatusResponse().fromJsonString(jsonString, options);
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
static equals(a: GetDeployJobsStatusResponse | PlainMessage<GetDeployJobsStatusResponse> | undefined, b: GetDeployJobsStatusResponse | PlainMessage<GetDeployJobsStatusResponse> | undefined): boolean {
|
|
2367
|
+
return proto3.util.equals(GetDeployJobsStatusResponse, a, b);
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* @generated from message raystack.optimus.core.v1beta1.DeployJobFailure
|
|
2373
|
+
*/
|
|
2374
|
+
export class DeployJobFailure extends Message<DeployJobFailure> {
|
|
2375
|
+
/**
|
|
2376
|
+
* @generated from field: string job_name = 1;
|
|
2377
|
+
*/
|
|
2378
|
+
jobName = "";
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* @generated from field: string message = 2;
|
|
2382
|
+
*/
|
|
2383
|
+
message = "";
|
|
2384
|
+
|
|
2385
|
+
constructor(data?: PartialMessage<DeployJobFailure>) {
|
|
2386
|
+
super();
|
|
2387
|
+
proto3.util.initPartial(data, this);
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2391
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.DeployJobFailure";
|
|
2392
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2393
|
+
{ no: 1, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2394
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2395
|
+
]);
|
|
2396
|
+
|
|
2397
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployJobFailure {
|
|
2398
|
+
return new DeployJobFailure().fromBinary(bytes, options);
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployJobFailure {
|
|
2402
|
+
return new DeployJobFailure().fromJson(jsonValue, options);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployJobFailure {
|
|
2406
|
+
return new DeployJobFailure().fromJsonString(jsonString, options);
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
static equals(a: DeployJobFailure | PlainMessage<DeployJobFailure> | undefined, b: DeployJobFailure | PlainMessage<DeployJobFailure> | undefined): boolean {
|
|
2410
|
+
return proto3.util.equals(DeployJobFailure, a, b);
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobSpecificationsRequest
|
|
2416
|
+
*/
|
|
2417
|
+
export class GetJobSpecificationsRequest extends Message<GetJobSpecificationsRequest> {
|
|
2418
|
+
/**
|
|
2419
|
+
* @generated from field: string project_name = 1;
|
|
2420
|
+
*/
|
|
2421
|
+
projectName = "";
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* @generated from field: string resource_destination = 2;
|
|
2425
|
+
*/
|
|
2426
|
+
resourceDestination = "";
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* @generated from field: string job_name = 3;
|
|
2430
|
+
*/
|
|
2431
|
+
jobName = "";
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* @generated from field: string namespace_name = 4;
|
|
2435
|
+
*/
|
|
2436
|
+
namespaceName = "";
|
|
2437
|
+
|
|
2438
|
+
constructor(data?: PartialMessage<GetJobSpecificationsRequest>) {
|
|
2439
|
+
super();
|
|
2440
|
+
proto3.util.initPartial(data, this);
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2444
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobSpecificationsRequest";
|
|
2445
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2446
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2447
|
+
{ no: 2, name: "resource_destination", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2448
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2449
|
+
{ no: 4, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2450
|
+
]);
|
|
2451
|
+
|
|
2452
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobSpecificationsRequest {
|
|
2453
|
+
return new GetJobSpecificationsRequest().fromBinary(bytes, options);
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobSpecificationsRequest {
|
|
2457
|
+
return new GetJobSpecificationsRequest().fromJson(jsonValue, options);
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobSpecificationsRequest {
|
|
2461
|
+
return new GetJobSpecificationsRequest().fromJsonString(jsonString, options);
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
static equals(a: GetJobSpecificationsRequest | PlainMessage<GetJobSpecificationsRequest> | undefined, b: GetJobSpecificationsRequest | PlainMessage<GetJobSpecificationsRequest> | undefined): boolean {
|
|
2465
|
+
return proto3.util.equals(GetJobSpecificationsRequest, a, b);
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobSpecificationsResponse
|
|
2471
|
+
*/
|
|
2472
|
+
export class GetJobSpecificationsResponse extends Message<GetJobSpecificationsResponse> {
|
|
2473
|
+
/**
|
|
2474
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification jobs = 1 [deprecated = true];
|
|
2475
|
+
* @deprecated
|
|
2476
|
+
*/
|
|
2477
|
+
jobs: JobSpecification[] = [];
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecificationResponse job_specification_responses = 2;
|
|
2481
|
+
*/
|
|
2482
|
+
jobSpecificationResponses: JobSpecificationResponse[] = [];
|
|
2483
|
+
|
|
2484
|
+
constructor(data?: PartialMessage<GetJobSpecificationsResponse>) {
|
|
2485
|
+
super();
|
|
2486
|
+
proto3.util.initPartial(data, this);
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2490
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobSpecificationsResponse";
|
|
2491
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2492
|
+
{ no: 1, name: "jobs", kind: "message", T: JobSpecification, repeated: true },
|
|
2493
|
+
{ no: 2, name: "job_specification_responses", kind: "message", T: JobSpecificationResponse, repeated: true },
|
|
2494
|
+
]);
|
|
2495
|
+
|
|
2496
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobSpecificationsResponse {
|
|
2497
|
+
return new GetJobSpecificationsResponse().fromBinary(bytes, options);
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobSpecificationsResponse {
|
|
2501
|
+
return new GetJobSpecificationsResponse().fromJson(jsonValue, options);
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobSpecificationsResponse {
|
|
2505
|
+
return new GetJobSpecificationsResponse().fromJsonString(jsonString, options);
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
static equals(a: GetJobSpecificationsResponse | PlainMessage<GetJobSpecificationsResponse> | undefined, b: GetJobSpecificationsResponse | PlainMessage<GetJobSpecificationsResponse> | undefined): boolean {
|
|
2509
|
+
return proto3.util.equals(GetJobSpecificationsResponse, a, b);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* @generated from message raystack.optimus.core.v1beta1.JobSpecificationResponse
|
|
2515
|
+
*/
|
|
2516
|
+
export class JobSpecificationResponse extends Message<JobSpecificationResponse> {
|
|
2517
|
+
/**
|
|
2518
|
+
* @generated from field: string project_name = 1;
|
|
2519
|
+
*/
|
|
2520
|
+
projectName = "";
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* @generated from field: string namespace_name = 2;
|
|
2524
|
+
*/
|
|
2525
|
+
namespaceName = "";
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobSpecification job = 3;
|
|
2529
|
+
*/
|
|
2530
|
+
job?: JobSpecification;
|
|
2531
|
+
|
|
2532
|
+
constructor(data?: PartialMessage<JobSpecificationResponse>) {
|
|
2533
|
+
super();
|
|
2534
|
+
proto3.util.initPartial(data, this);
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2538
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobSpecificationResponse";
|
|
2539
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2540
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2541
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2542
|
+
{ no: 3, name: "job", kind: "message", T: JobSpecification },
|
|
2543
|
+
]);
|
|
2544
|
+
|
|
2545
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobSpecificationResponse {
|
|
2546
|
+
return new JobSpecificationResponse().fromBinary(bytes, options);
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobSpecificationResponse {
|
|
2550
|
+
return new JobSpecificationResponse().fromJson(jsonValue, options);
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobSpecificationResponse {
|
|
2554
|
+
return new JobSpecificationResponse().fromJsonString(jsonString, options);
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
static equals(a: JobSpecificationResponse | PlainMessage<JobSpecificationResponse> | undefined, b: JobSpecificationResponse | PlainMessage<JobSpecificationResponse> | undefined): boolean {
|
|
2558
|
+
return proto3.util.equals(JobSpecificationResponse, a, b);
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
/**
|
|
2563
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplaceAllJobSpecificationsRequest
|
|
2564
|
+
*/
|
|
2565
|
+
export class ReplaceAllJobSpecificationsRequest extends Message<ReplaceAllJobSpecificationsRequest> {
|
|
2566
|
+
/**
|
|
2567
|
+
* @generated from field: string project_name = 1;
|
|
2568
|
+
*/
|
|
2569
|
+
projectName = "";
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* @generated from field: string namespace_name = 2;
|
|
2573
|
+
*/
|
|
2574
|
+
namespaceName = "";
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobSpecification jobs = 3;
|
|
2578
|
+
*/
|
|
2579
|
+
jobs: JobSpecification[] = [];
|
|
2580
|
+
|
|
2581
|
+
constructor(data?: PartialMessage<ReplaceAllJobSpecificationsRequest>) {
|
|
2582
|
+
super();
|
|
2583
|
+
proto3.util.initPartial(data, this);
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2587
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplaceAllJobSpecificationsRequest";
|
|
2588
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2589
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2590
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2591
|
+
{ no: 3, name: "jobs", kind: "message", T: JobSpecification, repeated: true },
|
|
2592
|
+
]);
|
|
2593
|
+
|
|
2594
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplaceAllJobSpecificationsRequest {
|
|
2595
|
+
return new ReplaceAllJobSpecificationsRequest().fromBinary(bytes, options);
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplaceAllJobSpecificationsRequest {
|
|
2599
|
+
return new ReplaceAllJobSpecificationsRequest().fromJson(jsonValue, options);
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplaceAllJobSpecificationsRequest {
|
|
2603
|
+
return new ReplaceAllJobSpecificationsRequest().fromJsonString(jsonString, options);
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
static equals(a: ReplaceAllJobSpecificationsRequest | PlainMessage<ReplaceAllJobSpecificationsRequest> | undefined, b: ReplaceAllJobSpecificationsRequest | PlainMessage<ReplaceAllJobSpecificationsRequest> | undefined): boolean {
|
|
2607
|
+
return proto3.util.equals(ReplaceAllJobSpecificationsRequest, a, b);
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* @generated from message raystack.optimus.core.v1beta1.ReplaceAllJobSpecificationsResponse
|
|
2613
|
+
*/
|
|
2614
|
+
export class ReplaceAllJobSpecificationsResponse extends Message<ReplaceAllJobSpecificationsResponse> {
|
|
2615
|
+
/**
|
|
2616
|
+
* @generated from field: raystack.optimus.core.v1beta1.Log log_status = 1;
|
|
2617
|
+
*/
|
|
2618
|
+
logStatus?: Log;
|
|
2619
|
+
|
|
2620
|
+
constructor(data?: PartialMessage<ReplaceAllJobSpecificationsResponse>) {
|
|
2621
|
+
super();
|
|
2622
|
+
proto3.util.initPartial(data, this);
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2626
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.ReplaceAllJobSpecificationsResponse";
|
|
2627
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2628
|
+
{ no: 1, name: "log_status", kind: "message", T: Log },
|
|
2629
|
+
]);
|
|
2630
|
+
|
|
2631
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReplaceAllJobSpecificationsResponse {
|
|
2632
|
+
return new ReplaceAllJobSpecificationsResponse().fromBinary(bytes, options);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReplaceAllJobSpecificationsResponse {
|
|
2636
|
+
return new ReplaceAllJobSpecificationsResponse().fromJson(jsonValue, options);
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReplaceAllJobSpecificationsResponse {
|
|
2640
|
+
return new ReplaceAllJobSpecificationsResponse().fromJsonString(jsonString, options);
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
static equals(a: ReplaceAllJobSpecificationsResponse | PlainMessage<ReplaceAllJobSpecificationsResponse> | undefined, b: ReplaceAllJobSpecificationsResponse | PlainMessage<ReplaceAllJobSpecificationsResponse> | undefined): boolean {
|
|
2644
|
+
return proto3.util.equals(ReplaceAllJobSpecificationsResponse, a, b);
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobTaskRequest
|
|
2650
|
+
*/
|
|
2651
|
+
export class GetJobTaskRequest extends Message<GetJobTaskRequest> {
|
|
2652
|
+
/**
|
|
2653
|
+
* @generated from field: string project_name = 1;
|
|
2654
|
+
*/
|
|
2655
|
+
projectName = "";
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* @generated from field: string namespace_name = 2;
|
|
2659
|
+
*/
|
|
2660
|
+
namespaceName = "";
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* @generated from field: string job_name = 3;
|
|
2664
|
+
*/
|
|
2665
|
+
jobName = "";
|
|
2666
|
+
|
|
2667
|
+
constructor(data?: PartialMessage<GetJobTaskRequest>) {
|
|
2668
|
+
super();
|
|
2669
|
+
proto3.util.initPartial(data, this);
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2673
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobTaskRequest";
|
|
2674
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2675
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2676
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2677
|
+
{ no: 3, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2678
|
+
]);
|
|
2679
|
+
|
|
2680
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobTaskRequest {
|
|
2681
|
+
return new GetJobTaskRequest().fromBinary(bytes, options);
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobTaskRequest {
|
|
2685
|
+
return new GetJobTaskRequest().fromJson(jsonValue, options);
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobTaskRequest {
|
|
2689
|
+
return new GetJobTaskRequest().fromJsonString(jsonString, options);
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
static equals(a: GetJobTaskRequest | PlainMessage<GetJobTaskRequest> | undefined, b: GetJobTaskRequest | PlainMessage<GetJobTaskRequest> | undefined): boolean {
|
|
2693
|
+
return proto3.util.equals(GetJobTaskRequest, a, b);
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* @generated from message raystack.optimus.core.v1beta1.GetJobTaskResponse
|
|
2699
|
+
*/
|
|
2700
|
+
export class GetJobTaskResponse extends Message<GetJobTaskResponse> {
|
|
2701
|
+
/**
|
|
2702
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobTask task = 1;
|
|
2703
|
+
*/
|
|
2704
|
+
task?: JobTask;
|
|
2705
|
+
|
|
2706
|
+
constructor(data?: PartialMessage<GetJobTaskResponse>) {
|
|
2707
|
+
super();
|
|
2708
|
+
proto3.util.initPartial(data, this);
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2712
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetJobTaskResponse";
|
|
2713
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2714
|
+
{ no: 1, name: "task", kind: "message", T: JobTask },
|
|
2715
|
+
]);
|
|
2716
|
+
|
|
2717
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetJobTaskResponse {
|
|
2718
|
+
return new GetJobTaskResponse().fromBinary(bytes, options);
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetJobTaskResponse {
|
|
2722
|
+
return new GetJobTaskResponse().fromJson(jsonValue, options);
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetJobTaskResponse {
|
|
2726
|
+
return new GetJobTaskResponse().fromJsonString(jsonString, options);
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
static equals(a: GetJobTaskResponse | PlainMessage<GetJobTaskResponse> | undefined, b: GetJobTaskResponse | PlainMessage<GetJobTaskResponse> | undefined): boolean {
|
|
2730
|
+
return proto3.util.equals(GetJobTaskResponse, a, b);
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* JobTask is part of a job that dictates main transformation
|
|
2736
|
+
* each job has exactly one task
|
|
2737
|
+
*
|
|
2738
|
+
* @generated from message raystack.optimus.core.v1beta1.JobTask
|
|
2739
|
+
*/
|
|
2740
|
+
export class JobTask extends Message<JobTask> {
|
|
2741
|
+
/**
|
|
2742
|
+
* @generated from field: string name = 1;
|
|
2743
|
+
*/
|
|
2744
|
+
name = "";
|
|
2745
|
+
|
|
2746
|
+
/**
|
|
2747
|
+
* @generated from field: string description = 2;
|
|
2748
|
+
*/
|
|
2749
|
+
description = "";
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* @generated from field: string image = 3;
|
|
2753
|
+
*/
|
|
2754
|
+
image = "";
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobTask.Destination destination = 4;
|
|
2758
|
+
*/
|
|
2759
|
+
destination?: JobTask_Destination;
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.JobTask.Dependency dependencies = 5;
|
|
2763
|
+
*/
|
|
2764
|
+
dependencies: JobTask_Dependency[] = [];
|
|
2765
|
+
|
|
2766
|
+
constructor(data?: PartialMessage<JobTask>) {
|
|
2767
|
+
super();
|
|
2768
|
+
proto3.util.initPartial(data, this);
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2772
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobTask";
|
|
2773
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2774
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2775
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2776
|
+
{ no: 3, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2777
|
+
{ no: 4, name: "destination", kind: "message", T: JobTask_Destination },
|
|
2778
|
+
{ no: 5, name: "dependencies", kind: "message", T: JobTask_Dependency, repeated: true },
|
|
2779
|
+
]);
|
|
2780
|
+
|
|
2781
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTask {
|
|
2782
|
+
return new JobTask().fromBinary(bytes, options);
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTask {
|
|
2786
|
+
return new JobTask().fromJson(jsonValue, options);
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTask {
|
|
2790
|
+
return new JobTask().fromJsonString(jsonString, options);
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
static equals(a: JobTask | PlainMessage<JobTask> | undefined, b: JobTask | PlainMessage<JobTask> | undefined): boolean {
|
|
2794
|
+
return proto3.util.equals(JobTask, a, b);
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* @generated from message raystack.optimus.core.v1beta1.JobTask.Destination
|
|
2800
|
+
*/
|
|
2801
|
+
export class JobTask_Destination extends Message<JobTask_Destination> {
|
|
2802
|
+
/**
|
|
2803
|
+
* @generated from field: string destination = 1;
|
|
2804
|
+
*/
|
|
2805
|
+
destination = "";
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* @generated from field: string type = 2;
|
|
2809
|
+
*/
|
|
2810
|
+
type = "";
|
|
2811
|
+
|
|
2812
|
+
constructor(data?: PartialMessage<JobTask_Destination>) {
|
|
2813
|
+
super();
|
|
2814
|
+
proto3.util.initPartial(data, this);
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2818
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobTask.Destination";
|
|
2819
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2820
|
+
{ no: 1, name: "destination", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2821
|
+
{ no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2822
|
+
]);
|
|
2823
|
+
|
|
2824
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTask_Destination {
|
|
2825
|
+
return new JobTask_Destination().fromBinary(bytes, options);
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTask_Destination {
|
|
2829
|
+
return new JobTask_Destination().fromJson(jsonValue, options);
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTask_Destination {
|
|
2833
|
+
return new JobTask_Destination().fromJsonString(jsonString, options);
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
static equals(a: JobTask_Destination | PlainMessage<JobTask_Destination> | undefined, b: JobTask_Destination | PlainMessage<JobTask_Destination> | undefined): boolean {
|
|
2837
|
+
return proto3.util.equals(JobTask_Destination, a, b);
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* @generated from message raystack.optimus.core.v1beta1.JobTask.Dependency
|
|
2843
|
+
*/
|
|
2844
|
+
export class JobTask_Dependency extends Message<JobTask_Dependency> {
|
|
2845
|
+
/**
|
|
2846
|
+
* @generated from field: string dependency = 1;
|
|
2847
|
+
*/
|
|
2848
|
+
dependency = "";
|
|
2849
|
+
|
|
2850
|
+
constructor(data?: PartialMessage<JobTask_Dependency>) {
|
|
2851
|
+
super();
|
|
2852
|
+
proto3.util.initPartial(data, this);
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2856
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.JobTask.Dependency";
|
|
2857
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2858
|
+
{ no: 1, name: "dependency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2859
|
+
]);
|
|
2860
|
+
|
|
2861
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobTask_Dependency {
|
|
2862
|
+
return new JobTask_Dependency().fromBinary(bytes, options);
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobTask_Dependency {
|
|
2866
|
+
return new JobTask_Dependency().fromJson(jsonValue, options);
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobTask_Dependency {
|
|
2870
|
+
return new JobTask_Dependency().fromJsonString(jsonString, options);
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
static equals(a: JobTask_Dependency | PlainMessage<JobTask_Dependency> | undefined, b: JobTask_Dependency | PlainMessage<JobTask_Dependency> | undefined): boolean {
|
|
2874
|
+
return proto3.util.equals(JobTask_Dependency, a, b);
|
|
2875
|
+
}
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* @generated from message raystack.optimus.core.v1beta1.GetWindowRequest
|
|
2880
|
+
*/
|
|
2881
|
+
export class GetWindowRequest extends Message<GetWindowRequest> {
|
|
2882
|
+
/**
|
|
2883
|
+
* @generated from field: google.protobuf.Timestamp scheduled_at = 1;
|
|
2884
|
+
*/
|
|
2885
|
+
scheduledAt?: Timestamp;
|
|
2886
|
+
|
|
2887
|
+
/**
|
|
2888
|
+
* @generated from field: string size = 2;
|
|
2889
|
+
*/
|
|
2890
|
+
size = "";
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* @generated from field: string offset = 3;
|
|
2894
|
+
*/
|
|
2895
|
+
offset = "";
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* @generated from field: string truncate_to = 4;
|
|
2899
|
+
*/
|
|
2900
|
+
truncateTo = "";
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* @generated from field: int32 version = 5;
|
|
2904
|
+
*/
|
|
2905
|
+
version = 0;
|
|
2906
|
+
|
|
2907
|
+
constructor(data?: PartialMessage<GetWindowRequest>) {
|
|
2908
|
+
super();
|
|
2909
|
+
proto3.util.initPartial(data, this);
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2913
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetWindowRequest";
|
|
2914
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2915
|
+
{ no: 1, name: "scheduled_at", kind: "message", T: Timestamp },
|
|
2916
|
+
{ no: 2, name: "size", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2917
|
+
{ no: 3, name: "offset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2918
|
+
{ no: 4, name: "truncate_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2919
|
+
{ no: 5, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2920
|
+
]);
|
|
2921
|
+
|
|
2922
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWindowRequest {
|
|
2923
|
+
return new GetWindowRequest().fromBinary(bytes, options);
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWindowRequest {
|
|
2927
|
+
return new GetWindowRequest().fromJson(jsonValue, options);
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWindowRequest {
|
|
2931
|
+
return new GetWindowRequest().fromJsonString(jsonString, options);
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
static equals(a: GetWindowRequest | PlainMessage<GetWindowRequest> | undefined, b: GetWindowRequest | PlainMessage<GetWindowRequest> | undefined): boolean {
|
|
2935
|
+
return proto3.util.equals(GetWindowRequest, a, b);
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* @generated from message raystack.optimus.core.v1beta1.GetWindowResponse
|
|
2941
|
+
*/
|
|
2942
|
+
export class GetWindowResponse extends Message<GetWindowResponse> {
|
|
2943
|
+
/**
|
|
2944
|
+
* @generated from field: google.protobuf.Timestamp start = 1;
|
|
2945
|
+
*/
|
|
2946
|
+
start?: Timestamp;
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* @generated from field: google.protobuf.Timestamp end = 2;
|
|
2950
|
+
*/
|
|
2951
|
+
end?: Timestamp;
|
|
2952
|
+
|
|
2953
|
+
constructor(data?: PartialMessage<GetWindowResponse>) {
|
|
2954
|
+
super();
|
|
2955
|
+
proto3.util.initPartial(data, this);
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
2959
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.GetWindowResponse";
|
|
2960
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
2961
|
+
{ no: 1, name: "start", kind: "message", T: Timestamp },
|
|
2962
|
+
{ no: 2, name: "end", kind: "message", T: Timestamp },
|
|
2963
|
+
]);
|
|
2964
|
+
|
|
2965
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWindowResponse {
|
|
2966
|
+
return new GetWindowResponse().fromBinary(bytes, options);
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWindowResponse {
|
|
2970
|
+
return new GetWindowResponse().fromJson(jsonValue, options);
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWindowResponse {
|
|
2974
|
+
return new GetWindowResponse().fromJsonString(jsonString, options);
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
static equals(a: GetWindowResponse | PlainMessage<GetWindowResponse> | undefined, b: GetWindowResponse | PlainMessage<GetWindowResponse> | undefined): boolean {
|
|
2978
|
+
return proto3.util.equals(GetWindowResponse, a, b);
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
/**
|
|
2983
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateJobsStateRequest
|
|
2984
|
+
*/
|
|
2985
|
+
export class UpdateJobsStateRequest extends Message<UpdateJobsStateRequest> {
|
|
2986
|
+
/**
|
|
2987
|
+
* @generated from field: string project_name = 1;
|
|
2988
|
+
*/
|
|
2989
|
+
projectName = "";
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* @generated from field: string namespace_name = 2;
|
|
2993
|
+
*/
|
|
2994
|
+
namespaceName = "";
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* @generated from field: string remark = 3;
|
|
2998
|
+
*/
|
|
2999
|
+
remark = "";
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobState state = 4;
|
|
3003
|
+
*/
|
|
3004
|
+
state = JobState.UNSPECIFIED;
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* @generated from field: repeated string job_names = 5;
|
|
3008
|
+
*/
|
|
3009
|
+
jobNames: string[] = [];
|
|
3010
|
+
|
|
3011
|
+
constructor(data?: PartialMessage<UpdateJobsStateRequest>) {
|
|
3012
|
+
super();
|
|
3013
|
+
proto3.util.initPartial(data, this);
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
3017
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateJobsStateRequest";
|
|
3018
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3019
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3020
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3021
|
+
{ no: 3, name: "remark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3022
|
+
{ no: 4, name: "state", kind: "enum", T: proto3.getEnumType(JobState) },
|
|
3023
|
+
{ no: 5, name: "job_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
3024
|
+
]);
|
|
3025
|
+
|
|
3026
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobsStateRequest {
|
|
3027
|
+
return new UpdateJobsStateRequest().fromBinary(bytes, options);
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobsStateRequest {
|
|
3031
|
+
return new UpdateJobsStateRequest().fromJson(jsonValue, options);
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobsStateRequest {
|
|
3035
|
+
return new UpdateJobsStateRequest().fromJsonString(jsonString, options);
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
static equals(a: UpdateJobsStateRequest | PlainMessage<UpdateJobsStateRequest> | undefined, b: UpdateJobsStateRequest | PlainMessage<UpdateJobsStateRequest> | undefined): boolean {
|
|
3039
|
+
return proto3.util.equals(UpdateJobsStateRequest, a, b);
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* @generated from message raystack.optimus.core.v1beta1.UpdateJobsStateResponse
|
|
3045
|
+
*/
|
|
3046
|
+
export class UpdateJobsStateResponse extends Message<UpdateJobsStateResponse> {
|
|
3047
|
+
constructor(data?: PartialMessage<UpdateJobsStateResponse>) {
|
|
3048
|
+
super();
|
|
3049
|
+
proto3.util.initPartial(data, this);
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
3053
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.UpdateJobsStateResponse";
|
|
3054
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3055
|
+
]);
|
|
3056
|
+
|
|
3057
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateJobsStateResponse {
|
|
3058
|
+
return new UpdateJobsStateResponse().fromBinary(bytes, options);
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateJobsStateResponse {
|
|
3062
|
+
return new UpdateJobsStateResponse().fromJson(jsonValue, options);
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateJobsStateResponse {
|
|
3066
|
+
return new UpdateJobsStateResponse().fromJsonString(jsonString, options);
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
static equals(a: UpdateJobsStateResponse | PlainMessage<UpdateJobsStateResponse> | undefined, b: UpdateJobsStateResponse | PlainMessage<UpdateJobsStateResponse> | undefined): boolean {
|
|
3070
|
+
return proto3.util.equals(UpdateJobsStateResponse, a, b);
|
|
3071
|
+
}
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
/**
|
|
3075
|
+
* @generated from message raystack.optimus.core.v1beta1.SyncJobsStateRequest
|
|
3076
|
+
*/
|
|
3077
|
+
export class SyncJobsStateRequest extends Message<SyncJobsStateRequest> {
|
|
3078
|
+
/**
|
|
3079
|
+
* @generated from field: string project_name = 1;
|
|
3080
|
+
*/
|
|
3081
|
+
projectName = "";
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* @generated from field: string namespace_name = 2;
|
|
3085
|
+
*/
|
|
3086
|
+
namespaceName = "";
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @generated from field: repeated raystack.optimus.core.v1beta1.SyncJobsStateRequest.JobStatePair job_states = 3;
|
|
3090
|
+
*/
|
|
3091
|
+
jobStates: SyncJobsStateRequest_JobStatePair[] = [];
|
|
3092
|
+
|
|
3093
|
+
constructor(data?: PartialMessage<SyncJobsStateRequest>) {
|
|
3094
|
+
super();
|
|
3095
|
+
proto3.util.initPartial(data, this);
|
|
3096
|
+
}
|
|
3097
|
+
|
|
3098
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
3099
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.SyncJobsStateRequest";
|
|
3100
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3101
|
+
{ no: 1, name: "project_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3102
|
+
{ no: 2, name: "namespace_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3103
|
+
{ no: 3, name: "job_states", kind: "message", T: SyncJobsStateRequest_JobStatePair, repeated: true },
|
|
3104
|
+
]);
|
|
3105
|
+
|
|
3106
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncJobsStateRequest {
|
|
3107
|
+
return new SyncJobsStateRequest().fromBinary(bytes, options);
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncJobsStateRequest {
|
|
3111
|
+
return new SyncJobsStateRequest().fromJson(jsonValue, options);
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncJobsStateRequest {
|
|
3115
|
+
return new SyncJobsStateRequest().fromJsonString(jsonString, options);
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
static equals(a: SyncJobsStateRequest | PlainMessage<SyncJobsStateRequest> | undefined, b: SyncJobsStateRequest | PlainMessage<SyncJobsStateRequest> | undefined): boolean {
|
|
3119
|
+
return proto3.util.equals(SyncJobsStateRequest, a, b);
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
/**
|
|
3124
|
+
* @generated from message raystack.optimus.core.v1beta1.SyncJobsStateRequest.JobStatePair
|
|
3125
|
+
*/
|
|
3126
|
+
export class SyncJobsStateRequest_JobStatePair extends Message<SyncJobsStateRequest_JobStatePair> {
|
|
3127
|
+
/**
|
|
3128
|
+
* @generated from field: string job_name = 1;
|
|
3129
|
+
*/
|
|
3130
|
+
jobName = "";
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* @generated from field: raystack.optimus.core.v1beta1.JobState state = 2;
|
|
3134
|
+
*/
|
|
3135
|
+
state = JobState.UNSPECIFIED;
|
|
3136
|
+
|
|
3137
|
+
constructor(data?: PartialMessage<SyncJobsStateRequest_JobStatePair>) {
|
|
3138
|
+
super();
|
|
3139
|
+
proto3.util.initPartial(data, this);
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
3143
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.SyncJobsStateRequest.JobStatePair";
|
|
3144
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3145
|
+
{ no: 1, name: "job_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3146
|
+
{ no: 2, name: "state", kind: "enum", T: proto3.getEnumType(JobState) },
|
|
3147
|
+
]);
|
|
3148
|
+
|
|
3149
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncJobsStateRequest_JobStatePair {
|
|
3150
|
+
return new SyncJobsStateRequest_JobStatePair().fromBinary(bytes, options);
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncJobsStateRequest_JobStatePair {
|
|
3154
|
+
return new SyncJobsStateRequest_JobStatePair().fromJson(jsonValue, options);
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncJobsStateRequest_JobStatePair {
|
|
3158
|
+
return new SyncJobsStateRequest_JobStatePair().fromJsonString(jsonString, options);
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
static equals(a: SyncJobsStateRequest_JobStatePair | PlainMessage<SyncJobsStateRequest_JobStatePair> | undefined, b: SyncJobsStateRequest_JobStatePair | PlainMessage<SyncJobsStateRequest_JobStatePair> | undefined): boolean {
|
|
3162
|
+
return proto3.util.equals(SyncJobsStateRequest_JobStatePair, a, b);
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* @generated from message raystack.optimus.core.v1beta1.SyncJobsStateResponse
|
|
3168
|
+
*/
|
|
3169
|
+
export class SyncJobsStateResponse extends Message<SyncJobsStateResponse> {
|
|
3170
|
+
constructor(data?: PartialMessage<SyncJobsStateResponse>) {
|
|
3171
|
+
super();
|
|
3172
|
+
proto3.util.initPartial(data, this);
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
3176
|
+
static readonly typeName = "raystack.optimus.core.v1beta1.SyncJobsStateResponse";
|
|
3177
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
3178
|
+
]);
|
|
3179
|
+
|
|
3180
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncJobsStateResponse {
|
|
3181
|
+
return new SyncJobsStateResponse().fromBinary(bytes, options);
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncJobsStateResponse {
|
|
3185
|
+
return new SyncJobsStateResponse().fromJson(jsonValue, options);
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncJobsStateResponse {
|
|
3189
|
+
return new SyncJobsStateResponse().fromJsonString(jsonString, options);
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
static equals(a: SyncJobsStateResponse | PlainMessage<SyncJobsStateResponse> | undefined, b: SyncJobsStateResponse | PlainMessage<SyncJobsStateResponse> | undefined): boolean {
|
|
3193
|
+
return proto3.util.equals(SyncJobsStateResponse, a, b);
|
|
3194
|
+
}
|
|
3195
|
+
}
|
|
3196
|
+
|