@raystack/proton 0.1.0-8a4f578dceca476c696c82054faaf4871b1b949c → 0.1.0-8cb19702a3e47d173732860d58084b83d6941865
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 +15 -9
- package/google/api/field_behavior_pb.ts +19 -19
- package/google/api/http_pb.ts +43 -108
- package/google/api/httpbody_pb.ts +23 -37
- package/index.ts +10 -0
- package/package.json +61 -17
- package/protoc-gen-openapiv2/options/annotations_pb.ts +23 -29
- package/protoc-gen-openapiv2/options/openapiv2_pb.ts +338 -808
- package/raystack/assets/index.ts +29 -29
- package/raystack/assets/v1beta1/bucket_pb.ts +46 -89
- package/raystack/assets/v1beta1/dashboard_pb.ts +49 -97
- package/raystack/assets/v1beta1/event_pb.ts +22 -36
- package/raystack/assets/v1beta1/group_pb.ts +38 -74
- package/raystack/assets/v1beta1/job_pb.ts +30 -43
- package/raystack/assets/v1beta1/lineage_pb.ts +22 -36
- package/raystack/assets/v1beta1/ownership_pb.ts +31 -68
- package/raystack/assets/v1beta1/preview_pb.ts +21 -34
- package/raystack/assets/v1beta1/properties_pb.ts +22 -37
- package/raystack/assets/v1beta1/resource_pb.ts +24 -43
- package/raystack/assets/v1beta1/schema_pb.ts +59 -145
- package/raystack/assets/v1beta1/table_pb.ts +59 -120
- package/raystack/assets/v1beta1/timestamp_pb.ts +28 -62
- package/raystack/assets/v1beta1/topic_pb.ts +43 -78
- package/raystack/assets/v1beta1/user_pb.ts +58 -125
- package/raystack/assets/v1beta2/application_pb.ts +23 -39
- package/raystack/assets/v1beta2/asset_pb.ts +30 -53
- package/raystack/assets/v1beta2/bucket_pb.ts +41 -87
- package/raystack/assets/v1beta2/common_pb.ts +56 -137
- package/raystack/assets/v1beta2/dashboard_pb.ts +44 -93
- package/raystack/assets/v1beta2/experiment_pb.ts +38 -79
- package/raystack/assets/v1beta2/feature_table_pb.ts +51 -115
- package/raystack/assets/v1beta2/group_pb.ts +32 -68
- package/raystack/assets/v1beta2/job_pb.ts +21 -35
- package/raystack/assets/v1beta2/metric_pb.ts +25 -43
- package/raystack/assets/v1beta2/model_pb.ts +59 -147
- package/raystack/assets/v1beta2/table_pb.ts +82 -200
- package/raystack/assets/v1beta2/topic_pb.ts +41 -99
- package/raystack/assets/v1beta2/user_pb.ts +53 -121
- package/raystack/common/index.ts +1 -2
- package/raystack/common/v1/service-CommonService_connectquery.ts +3 -14
- package/raystack/common/v1/service_pb.ts +57 -97
- package/raystack/compass/index.ts +1 -2
- package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +44 -424
- package/raystack/compass/v1beta1/service_pb.ts +1448 -3319
- package/raystack/entropy/index.ts +2 -4
- package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +7 -54
- package/raystack/entropy/v1beta1/module_pb.ts +156 -324
- package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +9 -74
- package/raystack/entropy/v1beta1/resource_pb.ts +330 -756
- package/raystack/frontier/index.ts +3 -5
- package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +60 -514
- package/raystack/frontier/v1beta1/admin_pb.ts +1774 -3791
- package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +169 -1674
- package/raystack/frontier/v1beta1/frontier_pb.ts +4850 -10959
- package/raystack/frontier/v1beta1/models_pb.ts +810 -2296
- package/raystack/guardian/index.ts +1 -2
- package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +42 -404
- package/raystack/guardian/v1beta1/guardian_pb.ts +1584 -3783
- package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/backup_pb.ts +137 -273
- package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/job_run_pb.ts +194 -376
- package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +17 -154
- package/raystack/optimus/core/v1beta1/job_spec_pb.ts +910 -2081
- package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/namespace_pb.ts +113 -212
- package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +5 -34
- package/raystack/optimus/core/v1beta1/project_pb.ts +121 -238
- package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/replay_pb.ts +160 -335
- package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +8 -64
- package/raystack/optimus/core/v1beta1/resource_pb.ts +266 -527
- package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +3 -14
- package/raystack/optimus/core/v1beta1/runtime_pb.ts +48 -61
- package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +6 -44
- package/raystack/optimus/core/v1beta1/secret_pb.ts +155 -283
- package/raystack/optimus/core/v1beta1/status_pb.ts +35 -54
- package/raystack/optimus/integration/v1beta1/event_pb.ts +75 -187
- package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +6 -44
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +193 -426
- package/raystack/predator/index.ts +2 -2
- package/raystack/predator/v1beta1/metrics_log_pb.ts +67 -173
- package/raystack/predator/v1beta1/result_log_pb.ts +60 -144
- package/raystack/raccoon/index.ts +1 -2
- package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +3 -14
- package/raystack/raccoon/v1beta1/raccoon_pb.ts +142 -189
- package/raystack/siren/index.ts +1 -2
- package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +37 -354
- package/raystack/siren/v1beta1/siren_pb.ts +1155 -2637
- package/raystack/stencil/index.ts +1 -2
- package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +18 -164
- package/raystack/stencil/v1beta1/stencil_pb.ts +530 -1157
- package/validate/validate_pb.ts +401 -1038
- package/google/api/field_behavior.ts +0 -95
- package/google/api/http.ts +0 -695
- package/google/api/httpbody.ts +0 -159
- package/google/protobuf/any.ts +0 -322
- package/google/protobuf/descriptor.ts +0 -3475
- package/google/protobuf/duration.ts +0 -231
- package/google/protobuf/struct.ts +0 -484
- package/google/protobuf/timestamp.ts +0 -290
- package/google/protobuf/wrappers.ts +0 -752
- package/protoc-gen-openapiv2/options/openapiv2.ts +0 -3110
- package/raystack/assets/v1beta1/bucket.ts +0 -362
- package/raystack/assets/v1beta1/dashboard.ts +0 -426
- package/raystack/assets/v1beta1/event.ts +0 -105
- package/raystack/assets/v1beta1/group.ts +0 -223
- package/raystack/assets/v1beta1/job.ts +0 -147
- package/raystack/assets/v1beta1/lineage.ts +0 -90
- package/raystack/assets/v1beta1/ownership.ts +0 -179
- package/raystack/assets/v1beta1/preview.ts +0 -87
- package/raystack/assets/v1beta1/properties.ts +0 -116
- package/raystack/assets/v1beta1/resource.ts +0 -149
- package/raystack/assets/v1beta1/schema.ts +0 -421
- package/raystack/assets/v1beta1/table.ts +0 -408
- package/raystack/assets/v1beta1/timestamp.ts +0 -158
- package/raystack/assets/v1beta1/topic.ts +0 -253
- package/raystack/assets/v1beta1/user.ts +0 -451
- package/raystack/assets/v1beta2/application.ts +0 -125
- package/raystack/assets/v1beta2/asset.ts +0 -269
- package/raystack/assets/v1beta2/bucket.ts +0 -341
- package/raystack/assets/v1beta2/common.ts +0 -392
- package/raystack/assets/v1beta2/dashboard.ts +0 -393
- package/raystack/assets/v1beta2/experiment.ts +0 -274
- package/raystack/assets/v1beta2/feature_table.ts +0 -387
- package/raystack/assets/v1beta2/group.ts +0 -178
- package/raystack/assets/v1beta2/job.ts +0 -99
- package/raystack/assets/v1beta2/metric.ts +0 -163
- package/raystack/assets/v1beta2/model.ts +0 -519
- package/raystack/assets/v1beta2/table.ts +0 -663
- package/raystack/assets/v1beta2/topic.ts +0 -275
- package/raystack/assets/v1beta2/user.ts +0 -433
- package/raystack/common/v1/service.client.ts +0 -37
- package/raystack/common/v1/service.ts +0 -245
- package/raystack/common/v1/service_connect.ts +0 -26
- package/raystack/compass/v1beta1/service.client.ts +0 -594
- package/raystack/compass/v1beta1/service.ts +0 -8169
- package/raystack/compass/v1beta1/service_connect.ts +0 -407
- package/raystack/entropy/v1beta1/module.client.ts +0 -89
- package/raystack/entropy/v1beta1/module.ts +0 -692
- package/raystack/entropy/v1beta1/module_connect.ts +0 -62
- package/raystack/entropy/v1beta1/resource.client.ts +0 -129
- package/raystack/entropy/v1beta1/resource.ts +0 -1817
- package/raystack/entropy/v1beta1/resource_connect.ts +0 -89
- package/raystack/frontier/v1beta1/admin.client.ts +0 -849
- package/raystack/frontier/v1beta1/admin.ts +0 -9007
- package/raystack/frontier/v1beta1/admin_connect.ts +0 -573
- package/raystack/frontier/v1beta1/frontier.client.ts +0 -2307
- package/raystack/frontier/v1beta1/frontier.ts +0 -23706
- package/raystack/frontier/v1beta1/frontier_connect.ts +0 -1574
- package/raystack/frontier/v1beta1/models.ts +0 -7433
- package/raystack/guardian/v1beta1/guardian.client.ts +0 -552
- package/raystack/guardian/v1beta1/guardian.ts +0 -9688
- package/raystack/guardian/v1beta1/guardian_connect.ts +0 -381
- package/raystack/optimus/core/v1beta1/backup.client.ts +0 -63
- package/raystack/optimus/core/v1beta1/backup.ts +0 -708
- package/raystack/optimus/core/v1beta1/backup_connect.ts +0 -44
- package/raystack/optimus/core/v1beta1/job_run.client.ts +0 -96
- package/raystack/optimus/core/v1beta1/job_run.ts +0 -1008
- package/raystack/optimus/core/v1beta1/job_run_connect.ts +0 -63
- package/raystack/optimus/core/v1beta1/job_spec.client.ts +0 -363
- package/raystack/optimus/core/v1beta1/job_spec.ts +0 -5134
- package/raystack/optimus/core/v1beta1/job_spec_connect.ts +0 -233
- package/raystack/optimus/core/v1beta1/namespace.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/namespace.ts +0 -477
- package/raystack/optimus/core/v1beta1/namespace_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/project.client.ts +0 -75
- package/raystack/optimus/core/v1beta1/project.ts +0 -520
- package/raystack/optimus/core/v1beta1/project_connect.ts +0 -50
- package/raystack/optimus/core/v1beta1/replay.client.ts +0 -76
- package/raystack/optimus/core/v1beta1/replay.ts +0 -881
- package/raystack/optimus/core/v1beta1/replay_connect.ts +0 -53
- package/raystack/optimus/core/v1beta1/resource.client.ts +0 -148
- package/raystack/optimus/core/v1beta1/resource.ts +0 -1329
- package/raystack/optimus/core/v1beta1/resource_connect.ts +0 -96
- package/raystack/optimus/core/v1beta1/runtime.client.ts +0 -45
- package/raystack/optimus/core/v1beta1/runtime.ts +0 -131
- package/raystack/optimus/core/v1beta1/runtime_connect.ts +0 -30
- package/raystack/optimus/core/v1beta1/secret.client.ts +0 -92
- package/raystack/optimus/core/v1beta1/secret.ts +0 -619
- package/raystack/optimus/core/v1beta1/secret_connect.ts +0 -61
- package/raystack/optimus/core/v1beta1/status.ts +0 -113
- package/raystack/optimus/integration/v1beta1/event.ts +0 -531
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +0 -100
- package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +0 -950
- package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +0 -65
- package/raystack/predator/v1beta1/metrics_log.ts +0 -457
- package/raystack/predator/v1beta1/result_log.ts +0 -390
- package/raystack/raccoon/v1beta1/raccoon.client.ts +0 -37
- package/raystack/raccoon/v1beta1/raccoon.ts +0 -442
- package/raystack/raccoon/v1beta1/raccoon_connect.ts +0 -26
- package/raystack/siren/v1beta1/siren.client.ts +0 -479
- package/raystack/siren/v1beta1/siren.ts +0 -6507
- package/raystack/siren/v1beta1/siren_connect.ts +0 -332
- package/raystack/stencil/v1beta1/stencil.client.ts +0 -232
- package/raystack/stencil/v1beta1/stencil.ts +0 -2716
- package/raystack/stencil/v1beta1/stencil_connect.ts +0 -161
- package/validate/validate.ts +0 -4130
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1
|
|
2
|
-
// @generated from protobuf file "raystack/assets/v1beta1/bucket.proto" (package "raystack.assets.v1beta1", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
-
import { Timestamp as Timestamp$ } from "../../../google/protobuf/timestamp";
|
|
14
|
-
import { Event } from "./event";
|
|
15
|
-
import { Timestamp } from "./timestamp";
|
|
16
|
-
import { Properties } from "./properties";
|
|
17
|
-
import { Ownership } from "./ownership";
|
|
18
|
-
import { Resource } from "./resource";
|
|
19
|
-
/**
|
|
20
|
-
* @generated from protobuf message raystack.assets.v1beta1.Bucket
|
|
21
|
-
*/
|
|
22
|
-
export interface Bucket {
|
|
23
|
-
/**
|
|
24
|
-
* Representation of the resource
|
|
25
|
-
*
|
|
26
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Resource resource = 1
|
|
27
|
-
*/
|
|
28
|
-
resource?: Resource;
|
|
29
|
-
/**
|
|
30
|
-
* The description of the bucket.
|
|
31
|
-
* Example: `This bucket was created by the product team.`
|
|
32
|
-
*
|
|
33
|
-
* @generated from protobuf field: string description = 4
|
|
34
|
-
*/
|
|
35
|
-
description: string;
|
|
36
|
-
/**
|
|
37
|
-
* The location of the bucket. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
|
|
38
|
-
* Example: `ASIA`
|
|
39
|
-
*
|
|
40
|
-
* @generated from protobuf field: string location = 5
|
|
41
|
-
*/
|
|
42
|
-
location: string;
|
|
43
|
-
/**
|
|
44
|
-
* The type of the storage. Can differ based on cloud storage used. (e.g. GCS, S3, etc)
|
|
45
|
-
* Example: `STANDARD`
|
|
46
|
-
*
|
|
47
|
-
* @generated from protobuf field: string storage_type = 6
|
|
48
|
-
*/
|
|
49
|
-
storageType: string;
|
|
50
|
-
/**
|
|
51
|
-
* List of blobs in the bucket.
|
|
52
|
-
*
|
|
53
|
-
* @generated from protobuf field: repeated raystack.assets.v1beta1.Blob blobs = 7
|
|
54
|
-
*/
|
|
55
|
-
blobs: Blob[];
|
|
56
|
-
/**
|
|
57
|
-
* The ownership of the bucket.
|
|
58
|
-
* For an example check out ownership.
|
|
59
|
-
*
|
|
60
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Ownership ownership = 31
|
|
61
|
-
*/
|
|
62
|
-
ownership?: Ownership;
|
|
63
|
-
/**
|
|
64
|
-
* List of the user's custom properties.
|
|
65
|
-
* Properties facet can be used to set custom properties, tags and labels for a user.
|
|
66
|
-
*
|
|
67
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 32
|
|
68
|
-
*/
|
|
69
|
-
properties?: Properties;
|
|
70
|
-
/**
|
|
71
|
-
* The timestamp of the bucket's creation.
|
|
72
|
-
* Timstamp facet can be used to set the creation and updation timestamp of a bucket.
|
|
73
|
-
*
|
|
74
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Timestamp timestamps = 33
|
|
75
|
-
*/
|
|
76
|
-
timestamps?: Timestamp;
|
|
77
|
-
/**
|
|
78
|
-
* The timestamp of the generated event.
|
|
79
|
-
* Event schemas is defined in the common event schema.
|
|
80
|
-
*
|
|
81
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Event event = 100
|
|
82
|
-
*/
|
|
83
|
-
event?: Event;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf message raystack.assets.v1beta1.Blob
|
|
87
|
-
*/
|
|
88
|
-
export interface Blob {
|
|
89
|
-
/**
|
|
90
|
-
* The URN of the blob.
|
|
91
|
-
* Example: `location/bucket-name/file-name`.
|
|
92
|
-
*
|
|
93
|
-
* @generated from protobuf field: string urn = 1
|
|
94
|
-
*/
|
|
95
|
-
urn: string;
|
|
96
|
-
/**
|
|
97
|
-
* The name of the blob.
|
|
98
|
-
* Example: `file-name`.
|
|
99
|
-
*
|
|
100
|
-
* @generated from protobuf field: string name = 2
|
|
101
|
-
*/
|
|
102
|
-
name: string;
|
|
103
|
-
/**
|
|
104
|
-
* The source of the blob.
|
|
105
|
-
* Example: `gcs`.
|
|
106
|
-
*
|
|
107
|
-
* @generated from protobuf field: string source = 3
|
|
108
|
-
*/
|
|
109
|
-
source: string;
|
|
110
|
-
/**
|
|
111
|
-
* The length of the object content.
|
|
112
|
-
* Example: `300`
|
|
113
|
-
*
|
|
114
|
-
* @generated from protobuf field: int64 size = 4
|
|
115
|
-
*/
|
|
116
|
-
size: bigint;
|
|
117
|
-
/**
|
|
118
|
-
* Delete time of the blob object.
|
|
119
|
-
*
|
|
120
|
-
* @generated from protobuf field: google.protobuf.Timestamp delete_time = 5
|
|
121
|
-
*/
|
|
122
|
-
deleteTime?: Timestamp$;
|
|
123
|
-
/**
|
|
124
|
-
* Expire time of the blob object.
|
|
125
|
-
*
|
|
126
|
-
* @generated from protobuf field: google.protobuf.Timestamp expire_time = 6
|
|
127
|
-
*/
|
|
128
|
-
expireTime?: Timestamp$;
|
|
129
|
-
/**
|
|
130
|
-
* The ownership of the blob.
|
|
131
|
-
* For an example check out ownership.
|
|
132
|
-
*
|
|
133
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Ownership ownership = 31
|
|
134
|
-
*/
|
|
135
|
-
ownership?: Ownership;
|
|
136
|
-
/**
|
|
137
|
-
* List of the user's custom properties.
|
|
138
|
-
* Properties facet can be used to set custom properties, tags and labels for a user.
|
|
139
|
-
*
|
|
140
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Properties properties = 32
|
|
141
|
-
*/
|
|
142
|
-
properties?: Properties;
|
|
143
|
-
/**
|
|
144
|
-
* The timestamp of the blob's creation.
|
|
145
|
-
* Timstamp facet can be used to set the creation and updation timestamp of a blob.
|
|
146
|
-
*
|
|
147
|
-
* @generated from protobuf field: raystack.assets.v1beta1.Timestamp timestamps = 33
|
|
148
|
-
*/
|
|
149
|
-
timestamps?: Timestamp;
|
|
150
|
-
}
|
|
151
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
152
|
-
class Bucket$Type extends MessageType<Bucket> {
|
|
153
|
-
constructor() {
|
|
154
|
-
super("raystack.assets.v1beta1.Bucket", [
|
|
155
|
-
{ no: 1, name: "resource", kind: "message", T: () => Resource },
|
|
156
|
-
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
157
|
-
{ no: 5, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
158
|
-
{ no: 6, name: "storage_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
159
|
-
{ no: 7, name: "blobs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Blob },
|
|
160
|
-
{ no: 31, name: "ownership", kind: "message", T: () => Ownership },
|
|
161
|
-
{ no: 32, name: "properties", kind: "message", T: () => Properties },
|
|
162
|
-
{ no: 33, name: "timestamps", kind: "message", T: () => Timestamp },
|
|
163
|
-
{ no: 100, name: "event", kind: "message", T: () => Event }
|
|
164
|
-
]);
|
|
165
|
-
}
|
|
166
|
-
create(value?: PartialMessage<Bucket>): Bucket {
|
|
167
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
168
|
-
message.description = "";
|
|
169
|
-
message.location = "";
|
|
170
|
-
message.storageType = "";
|
|
171
|
-
message.blobs = [];
|
|
172
|
-
if (value !== undefined)
|
|
173
|
-
reflectionMergePartial<Bucket>(this, message, value);
|
|
174
|
-
return message;
|
|
175
|
-
}
|
|
176
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Bucket): Bucket {
|
|
177
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
178
|
-
while (reader.pos < end) {
|
|
179
|
-
let [fieldNo, wireType] = reader.tag();
|
|
180
|
-
switch (fieldNo) {
|
|
181
|
-
case /* raystack.assets.v1beta1.Resource resource */ 1:
|
|
182
|
-
message.resource = Resource.internalBinaryRead(reader, reader.uint32(), options, message.resource);
|
|
183
|
-
break;
|
|
184
|
-
case /* string description */ 4:
|
|
185
|
-
message.description = reader.string();
|
|
186
|
-
break;
|
|
187
|
-
case /* string location */ 5:
|
|
188
|
-
message.location = reader.string();
|
|
189
|
-
break;
|
|
190
|
-
case /* string storage_type */ 6:
|
|
191
|
-
message.storageType = reader.string();
|
|
192
|
-
break;
|
|
193
|
-
case /* repeated raystack.assets.v1beta1.Blob blobs */ 7:
|
|
194
|
-
message.blobs.push(Blob.internalBinaryRead(reader, reader.uint32(), options));
|
|
195
|
-
break;
|
|
196
|
-
case /* raystack.assets.v1beta1.Ownership ownership */ 31:
|
|
197
|
-
message.ownership = Ownership.internalBinaryRead(reader, reader.uint32(), options, message.ownership);
|
|
198
|
-
break;
|
|
199
|
-
case /* raystack.assets.v1beta1.Properties properties */ 32:
|
|
200
|
-
message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
|
|
201
|
-
break;
|
|
202
|
-
case /* raystack.assets.v1beta1.Timestamp timestamps */ 33:
|
|
203
|
-
message.timestamps = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamps);
|
|
204
|
-
break;
|
|
205
|
-
case /* raystack.assets.v1beta1.Event event */ 100:
|
|
206
|
-
message.event = Event.internalBinaryRead(reader, reader.uint32(), options, message.event);
|
|
207
|
-
break;
|
|
208
|
-
default:
|
|
209
|
-
let u = options.readUnknownField;
|
|
210
|
-
if (u === "throw")
|
|
211
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
212
|
-
let d = reader.skip(wireType);
|
|
213
|
-
if (u !== false)
|
|
214
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
return message;
|
|
218
|
-
}
|
|
219
|
-
internalBinaryWrite(message: Bucket, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
220
|
-
/* raystack.assets.v1beta1.Resource resource = 1; */
|
|
221
|
-
if (message.resource)
|
|
222
|
-
Resource.internalBinaryWrite(message.resource, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
223
|
-
/* string description = 4; */
|
|
224
|
-
if (message.description !== "")
|
|
225
|
-
writer.tag(4, WireType.LengthDelimited).string(message.description);
|
|
226
|
-
/* string location = 5; */
|
|
227
|
-
if (message.location !== "")
|
|
228
|
-
writer.tag(5, WireType.LengthDelimited).string(message.location);
|
|
229
|
-
/* string storage_type = 6; */
|
|
230
|
-
if (message.storageType !== "")
|
|
231
|
-
writer.tag(6, WireType.LengthDelimited).string(message.storageType);
|
|
232
|
-
/* repeated raystack.assets.v1beta1.Blob blobs = 7; */
|
|
233
|
-
for (let i = 0; i < message.blobs.length; i++)
|
|
234
|
-
Blob.internalBinaryWrite(message.blobs[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
235
|
-
/* raystack.assets.v1beta1.Ownership ownership = 31; */
|
|
236
|
-
if (message.ownership)
|
|
237
|
-
Ownership.internalBinaryWrite(message.ownership, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
|
238
|
-
/* raystack.assets.v1beta1.Properties properties = 32; */
|
|
239
|
-
if (message.properties)
|
|
240
|
-
Properties.internalBinaryWrite(message.properties, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
|
|
241
|
-
/* raystack.assets.v1beta1.Timestamp timestamps = 33; */
|
|
242
|
-
if (message.timestamps)
|
|
243
|
-
Timestamp.internalBinaryWrite(message.timestamps, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
|
|
244
|
-
/* raystack.assets.v1beta1.Event event = 100; */
|
|
245
|
-
if (message.event)
|
|
246
|
-
Event.internalBinaryWrite(message.event, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
|
|
247
|
-
let u = options.writeUnknownFields;
|
|
248
|
-
if (u !== false)
|
|
249
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
250
|
-
return writer;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* @generated MessageType for protobuf message raystack.assets.v1beta1.Bucket
|
|
255
|
-
*/
|
|
256
|
-
export const Bucket = new Bucket$Type();
|
|
257
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
258
|
-
class Blob$Type extends MessageType<Blob> {
|
|
259
|
-
constructor() {
|
|
260
|
-
super("raystack.assets.v1beta1.Blob", [
|
|
261
|
-
{ no: 1, name: "urn", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
262
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
263
|
-
{ no: 3, name: "source", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
264
|
-
{ no: 4, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
265
|
-
{ no: 5, name: "delete_time", kind: "message", T: () => Timestamp$ },
|
|
266
|
-
{ no: 6, name: "expire_time", kind: "message", T: () => Timestamp$ },
|
|
267
|
-
{ no: 31, name: "ownership", kind: "message", T: () => Ownership },
|
|
268
|
-
{ no: 32, name: "properties", kind: "message", T: () => Properties },
|
|
269
|
-
{ no: 33, name: "timestamps", kind: "message", T: () => Timestamp }
|
|
270
|
-
]);
|
|
271
|
-
}
|
|
272
|
-
create(value?: PartialMessage<Blob>): Blob {
|
|
273
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
274
|
-
message.urn = "";
|
|
275
|
-
message.name = "";
|
|
276
|
-
message.source = "";
|
|
277
|
-
message.size = 0n;
|
|
278
|
-
if (value !== undefined)
|
|
279
|
-
reflectionMergePartial<Blob>(this, message, value);
|
|
280
|
-
return message;
|
|
281
|
-
}
|
|
282
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Blob): Blob {
|
|
283
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
284
|
-
while (reader.pos < end) {
|
|
285
|
-
let [fieldNo, wireType] = reader.tag();
|
|
286
|
-
switch (fieldNo) {
|
|
287
|
-
case /* string urn */ 1:
|
|
288
|
-
message.urn = reader.string();
|
|
289
|
-
break;
|
|
290
|
-
case /* string name */ 2:
|
|
291
|
-
message.name = reader.string();
|
|
292
|
-
break;
|
|
293
|
-
case /* string source */ 3:
|
|
294
|
-
message.source = reader.string();
|
|
295
|
-
break;
|
|
296
|
-
case /* int64 size */ 4:
|
|
297
|
-
message.size = reader.int64().toBigInt();
|
|
298
|
-
break;
|
|
299
|
-
case /* google.protobuf.Timestamp delete_time */ 5:
|
|
300
|
-
message.deleteTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.deleteTime);
|
|
301
|
-
break;
|
|
302
|
-
case /* google.protobuf.Timestamp expire_time */ 6:
|
|
303
|
-
message.expireTime = Timestamp$.internalBinaryRead(reader, reader.uint32(), options, message.expireTime);
|
|
304
|
-
break;
|
|
305
|
-
case /* raystack.assets.v1beta1.Ownership ownership */ 31:
|
|
306
|
-
message.ownership = Ownership.internalBinaryRead(reader, reader.uint32(), options, message.ownership);
|
|
307
|
-
break;
|
|
308
|
-
case /* raystack.assets.v1beta1.Properties properties */ 32:
|
|
309
|
-
message.properties = Properties.internalBinaryRead(reader, reader.uint32(), options, message.properties);
|
|
310
|
-
break;
|
|
311
|
-
case /* raystack.assets.v1beta1.Timestamp timestamps */ 33:
|
|
312
|
-
message.timestamps = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timestamps);
|
|
313
|
-
break;
|
|
314
|
-
default:
|
|
315
|
-
let u = options.readUnknownField;
|
|
316
|
-
if (u === "throw")
|
|
317
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
318
|
-
let d = reader.skip(wireType);
|
|
319
|
-
if (u !== false)
|
|
320
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
return message;
|
|
324
|
-
}
|
|
325
|
-
internalBinaryWrite(message: Blob, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
326
|
-
/* string urn = 1; */
|
|
327
|
-
if (message.urn !== "")
|
|
328
|
-
writer.tag(1, WireType.LengthDelimited).string(message.urn);
|
|
329
|
-
/* string name = 2; */
|
|
330
|
-
if (message.name !== "")
|
|
331
|
-
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
332
|
-
/* string source = 3; */
|
|
333
|
-
if (message.source !== "")
|
|
334
|
-
writer.tag(3, WireType.LengthDelimited).string(message.source);
|
|
335
|
-
/* int64 size = 4; */
|
|
336
|
-
if (message.size !== 0n)
|
|
337
|
-
writer.tag(4, WireType.Varint).int64(message.size);
|
|
338
|
-
/* google.protobuf.Timestamp delete_time = 5; */
|
|
339
|
-
if (message.deleteTime)
|
|
340
|
-
Timestamp$.internalBinaryWrite(message.deleteTime, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
341
|
-
/* google.protobuf.Timestamp expire_time = 6; */
|
|
342
|
-
if (message.expireTime)
|
|
343
|
-
Timestamp$.internalBinaryWrite(message.expireTime, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
344
|
-
/* raystack.assets.v1beta1.Ownership ownership = 31; */
|
|
345
|
-
if (message.ownership)
|
|
346
|
-
Ownership.internalBinaryWrite(message.ownership, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
|
347
|
-
/* raystack.assets.v1beta1.Properties properties = 32; */
|
|
348
|
-
if (message.properties)
|
|
349
|
-
Properties.internalBinaryWrite(message.properties, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
|
|
350
|
-
/* raystack.assets.v1beta1.Timestamp timestamps = 33; */
|
|
351
|
-
if (message.timestamps)
|
|
352
|
-
Timestamp.internalBinaryWrite(message.timestamps, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
|
|
353
|
-
let u = options.writeUnknownFields;
|
|
354
|
-
if (u !== false)
|
|
355
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
356
|
-
return writer;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
/**
|
|
360
|
-
* @generated MessageType for protobuf message raystack.assets.v1beta1.Blob
|
|
361
|
-
*/
|
|
362
|
-
export const Blob = new Blob$Type();
|