@milaboratories/pl-client 2.7.10 → 2.7.12
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4858 -3025
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +8 -0
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +171 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts +27 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +89 -15
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/empty.d.ts.map +1 -1
- package/package.json +6 -7
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +47 -5
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +30 -4
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +44 -5
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +16 -3
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +2200 -144
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +79 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
- package/src/proto/google/api/http.ts +1 -1
- package/src/proto/google/protobuf/any.ts +1 -1
- package/src/proto/google/protobuf/descriptor.ts +174 -22
- package/src/proto/google/protobuf/duration.ts +1 -1
- package/src/proto/google/protobuf/empty.ts +16 -3
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +1 -1
- package/src/proto/google/protobuf/wrappers.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/api_types.proto" (package "MiLaboratories.PL.API", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -48,6 +48,10 @@ export interface Resource {
|
|
|
48
48
|
* @generated from protobuf field: bytes data = 5;
|
|
49
49
|
*/
|
|
50
50
|
data: Uint8Array;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Resource.Features features = 16;
|
|
53
|
+
*/
|
|
54
|
+
features?: Resource_Features;
|
|
51
55
|
/**
|
|
52
56
|
* @generated from protobuf field: repeated MiLaboratories.PL.API.Field fields = 6;
|
|
53
57
|
*/
|
|
@@ -91,6 +95,15 @@ export interface Resource {
|
|
|
91
95
|
*/
|
|
92
96
|
deletedTime?: Timestamp;
|
|
93
97
|
}
|
|
98
|
+
/**
|
|
99
|
+
* @generated from protobuf message MiLaboratories.PL.API.Resource.Features
|
|
100
|
+
*/
|
|
101
|
+
export interface Resource_Features {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf field: bool ephemeral = 1;
|
|
104
|
+
*/
|
|
105
|
+
ephemeral: boolean; // false = 'supports deduplication'
|
|
106
|
+
}
|
|
94
107
|
/**
|
|
95
108
|
* @generated from protobuf enum MiLaboratories.PL.API.Resource.Kind
|
|
96
109
|
*/
|
|
@@ -122,6 +135,10 @@ export interface Field {
|
|
|
122
135
|
* @generated from protobuf field: MiLaboratories.PL.Base.FieldType type = 2;
|
|
123
136
|
*/
|
|
124
137
|
type: FieldType;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from protobuf field: MiLaboratories.PL.API.Resource.Features features = 3;
|
|
140
|
+
*/
|
|
141
|
+
features?: Resource_Features;
|
|
125
142
|
/**
|
|
126
143
|
* _resolved_ value of field or _assigned_ if the field was assigned to a resource.
|
|
127
144
|
* If field refers to another field, it will get
|
|
@@ -449,6 +466,7 @@ class Resource$Type extends MessageType<Resource> {
|
|
|
449
466
|
{ no: 3, name: "kind", kind: "enum", T: () => ["MiLaboratories.PL.API.Resource.Kind", Resource_Kind, "KIND_"] },
|
|
450
467
|
{ no: 4, name: "type", kind: "message", T: () => ResourceType },
|
|
451
468
|
{ no: 5, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
469
|
+
{ no: 16, name: "features", kind: "message", T: () => Resource_Features },
|
|
452
470
|
{ no: 6, name: "fields", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Field },
|
|
453
471
|
{ no: 7, name: "has_errors", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
454
472
|
{ no: 8, name: "inputs_locked", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
@@ -495,6 +513,9 @@ class Resource$Type extends MessageType<Resource> {
|
|
|
495
513
|
case /* bytes data */ 5:
|
|
496
514
|
message.data = reader.bytes();
|
|
497
515
|
break;
|
|
516
|
+
case /* MiLaboratories.PL.API.Resource.Features features */ 16:
|
|
517
|
+
message.features = Resource_Features.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
518
|
+
break;
|
|
498
519
|
case /* repeated MiLaboratories.PL.API.Field fields */ 6:
|
|
499
520
|
message.fields.push(Field.internalBinaryRead(reader, reader.uint32(), options));
|
|
500
521
|
break;
|
|
@@ -549,6 +570,9 @@ class Resource$Type extends MessageType<Resource> {
|
|
|
549
570
|
/* bytes data = 5; */
|
|
550
571
|
if (message.data.length)
|
|
551
572
|
writer.tag(5, WireType.LengthDelimited).bytes(message.data);
|
|
573
|
+
/* MiLaboratories.PL.API.Resource.Features features = 16; */
|
|
574
|
+
if (message.features)
|
|
575
|
+
Resource_Features.internalBinaryWrite(message.features, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
|
552
576
|
/* repeated MiLaboratories.PL.API.Field fields = 6; */
|
|
553
577
|
for (let i = 0; i < message.fields.length; i++)
|
|
554
578
|
Field.internalBinaryWrite(message.fields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -590,11 +614,59 @@ class Resource$Type extends MessageType<Resource> {
|
|
|
590
614
|
*/
|
|
591
615
|
export const Resource = new Resource$Type();
|
|
592
616
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
617
|
+
class Resource_Features$Type extends MessageType<Resource_Features> {
|
|
618
|
+
constructor() {
|
|
619
|
+
super("MiLaboratories.PL.API.Resource.Features", [
|
|
620
|
+
{ no: 1, name: "ephemeral", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
621
|
+
]);
|
|
622
|
+
}
|
|
623
|
+
create(value?: PartialMessage<Resource_Features>): Resource_Features {
|
|
624
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
625
|
+
message.ephemeral = false;
|
|
626
|
+
if (value !== undefined)
|
|
627
|
+
reflectionMergePartial<Resource_Features>(this, message, value);
|
|
628
|
+
return message;
|
|
629
|
+
}
|
|
630
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Resource_Features): Resource_Features {
|
|
631
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
632
|
+
while (reader.pos < end) {
|
|
633
|
+
let [fieldNo, wireType] = reader.tag();
|
|
634
|
+
switch (fieldNo) {
|
|
635
|
+
case /* bool ephemeral */ 1:
|
|
636
|
+
message.ephemeral = reader.bool();
|
|
637
|
+
break;
|
|
638
|
+
default:
|
|
639
|
+
let u = options.readUnknownField;
|
|
640
|
+
if (u === "throw")
|
|
641
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
642
|
+
let d = reader.skip(wireType);
|
|
643
|
+
if (u !== false)
|
|
644
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
return message;
|
|
648
|
+
}
|
|
649
|
+
internalBinaryWrite(message: Resource_Features, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
650
|
+
/* bool ephemeral = 1; */
|
|
651
|
+
if (message.ephemeral !== false)
|
|
652
|
+
writer.tag(1, WireType.Varint).bool(message.ephemeral);
|
|
653
|
+
let u = options.writeUnknownFields;
|
|
654
|
+
if (u !== false)
|
|
655
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
656
|
+
return writer;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* @generated MessageType for protobuf message MiLaboratories.PL.API.Resource.Features
|
|
661
|
+
*/
|
|
662
|
+
export const Resource_Features = new Resource_Features$Type();
|
|
663
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
593
664
|
class Field$Type extends MessageType<Field> {
|
|
594
665
|
constructor() {
|
|
595
666
|
super("MiLaboratories.PL.API.Field", [
|
|
596
667
|
{ no: 1, name: "id", kind: "message", T: () => FieldRef },
|
|
597
668
|
{ no: 2, name: "type", kind: "enum", T: () => ["MiLaboratories.PL.Base.FieldType", FieldType] },
|
|
669
|
+
{ no: 3, name: "features", kind: "message", T: () => Resource_Features },
|
|
598
670
|
{ no: 5, name: "value", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
599
671
|
{ no: 7, name: "value_status", kind: "enum", T: () => ["MiLaboratories.PL.API.Field.ValueStatus", Field_ValueStatus] },
|
|
600
672
|
{ no: 8, name: "value_is_final", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
@@ -623,6 +695,9 @@ class Field$Type extends MessageType<Field> {
|
|
|
623
695
|
case /* MiLaboratories.PL.Base.FieldType type */ 2:
|
|
624
696
|
message.type = reader.int32();
|
|
625
697
|
break;
|
|
698
|
+
case /* MiLaboratories.PL.API.Resource.Features features */ 3:
|
|
699
|
+
message.features = Resource_Features.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
700
|
+
break;
|
|
626
701
|
case /* uint64 value */ 5:
|
|
627
702
|
message.value = reader.uint64().toBigInt();
|
|
628
703
|
break;
|
|
@@ -653,6 +728,9 @@ class Field$Type extends MessageType<Field> {
|
|
|
653
728
|
/* MiLaboratories.PL.Base.FieldType type = 2; */
|
|
654
729
|
if (message.type !== 0)
|
|
655
730
|
writer.tag(2, WireType.Varint).int32(message.type);
|
|
731
|
+
/* MiLaboratories.PL.API.Resource.Features features = 3; */
|
|
732
|
+
if (message.features)
|
|
733
|
+
Resource_Features.internalBinaryWrite(message.features, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
656
734
|
/* uint64 value = 5; */
|
|
657
735
|
if (message.value !== 0n)
|
|
658
736
|
writer.tag(5, WireType.Varint).uint64(message.value);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/base_types.proto" (package "MiLaboratories.PL.Base", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/import.proto" (package "MiLaboratories.PL._Stub", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/resource_types.proto" (package "MiLaboratories.PL.RTypes", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/any.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -765,12 +765,16 @@ export interface FileOptions {
|
|
|
765
765
|
*/
|
|
766
766
|
javaGenerateEqualsAndHash?: boolean;
|
|
767
767
|
/**
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
768
|
+
* A proto2 file can set this to true to opt in to UTF-8 checking for Java,
|
|
769
|
+
* which will throw an exception if invalid UTF-8 is parsed from the wire or
|
|
770
|
+
* assigned to a string field.
|
|
771
|
+
*
|
|
772
|
+
* TODO: clarify exactly what kinds of field types this option
|
|
773
|
+
* applies to, and update these docs accordingly.
|
|
774
|
+
*
|
|
775
|
+
* Proto3 files already perform these checks. Setting the option explicitly to
|
|
776
|
+
* false has no effect: it cannot be used to opt proto3 files out of UTF-8
|
|
777
|
+
* checks.
|
|
774
778
|
*
|
|
775
779
|
* @generated from protobuf field: optional bool java_string_check_utf8 = 27;
|
|
776
780
|
*/
|
|
@@ -1030,12 +1034,13 @@ export interface MessageOptions {
|
|
|
1030
1034
|
*/
|
|
1031
1035
|
export interface FieldOptions {
|
|
1032
1036
|
/**
|
|
1037
|
+
* NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
|
|
1033
1038
|
* The ctype option instructs the C++ code generator to use a different
|
|
1034
1039
|
* representation of the field than it normally would. See the specific
|
|
1035
1040
|
* options below. This option is only implemented to support use of
|
|
1036
1041
|
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
|
1037
|
-
* type "bytes" in the open source release
|
|
1038
|
-
*
|
|
1042
|
+
* type "bytes" in the open source release.
|
|
1043
|
+
* TODO: make ctype actually deprecated.
|
|
1039
1044
|
*
|
|
1040
1045
|
* @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1;
|
|
1041
1046
|
*/
|
|
@@ -1143,6 +1148,10 @@ export interface FieldOptions {
|
|
|
1143
1148
|
* @generated from protobuf field: optional google.protobuf.FeatureSet features = 21;
|
|
1144
1149
|
*/
|
|
1145
1150
|
features?: FeatureSet;
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
|
|
1153
|
+
*/
|
|
1154
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1146
1155
|
/**
|
|
1147
1156
|
* The parser stores options it doesn't recognize here. See above.
|
|
1148
1157
|
*
|
|
@@ -1163,6 +1172,43 @@ export interface FieldOptions_EditionDefault {
|
|
|
1163
1172
|
*/
|
|
1164
1173
|
value?: string; // Textproto value.
|
|
1165
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* Information about the support window of a feature.
|
|
1177
|
+
*
|
|
1178
|
+
* @generated from protobuf message google.protobuf.FieldOptions.FeatureSupport
|
|
1179
|
+
*/
|
|
1180
|
+
export interface FieldOptions_FeatureSupport {
|
|
1181
|
+
/**
|
|
1182
|
+
* The edition that this feature was first available in. In editions
|
|
1183
|
+
* earlier than this one, the default assigned to EDITION_LEGACY will be
|
|
1184
|
+
* used, and proto files will not be able to override it.
|
|
1185
|
+
*
|
|
1186
|
+
* @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1;
|
|
1187
|
+
*/
|
|
1188
|
+
editionIntroduced?: Edition;
|
|
1189
|
+
/**
|
|
1190
|
+
* The edition this feature becomes deprecated in. Using this after this
|
|
1191
|
+
* edition may trigger warnings.
|
|
1192
|
+
*
|
|
1193
|
+
* @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2;
|
|
1194
|
+
*/
|
|
1195
|
+
editionDeprecated?: Edition;
|
|
1196
|
+
/**
|
|
1197
|
+
* The deprecation warning text if this feature is used after the edition it
|
|
1198
|
+
* was marked deprecated in.
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from protobuf field: optional string deprecation_warning = 3;
|
|
1201
|
+
*/
|
|
1202
|
+
deprecationWarning?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* The edition this feature is no longer available in. In editions after
|
|
1205
|
+
* this one, the last default assigned will be used, and proto files will
|
|
1206
|
+
* not be able to override it.
|
|
1207
|
+
*
|
|
1208
|
+
* @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4;
|
|
1209
|
+
*/
|
|
1210
|
+
editionRemoved?: Edition;
|
|
1211
|
+
}
|
|
1166
1212
|
/**
|
|
1167
1213
|
* @generated from protobuf enum google.protobuf.FieldOptions.CType
|
|
1168
1214
|
*/
|
|
@@ -1214,8 +1260,6 @@ export enum FieldOptions_JSType {
|
|
|
1214
1260
|
}
|
|
1215
1261
|
/**
|
|
1216
1262
|
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1217
|
-
* Note: as of January 2023, support for this is in progress and does not yet
|
|
1218
|
-
* have an effect (b/264593489).
|
|
1219
1263
|
*
|
|
1220
1264
|
* @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
|
|
1221
1265
|
*/
|
|
@@ -1236,8 +1280,7 @@ export enum FieldOptions_OptionRetention {
|
|
|
1236
1280
|
/**
|
|
1237
1281
|
* This indicates the types of entities that the field may apply to when used
|
|
1238
1282
|
* as an option. If it is unset, then the field may be freely used as an
|
|
1239
|
-
* option on any kind of entity.
|
|
1240
|
-
* in progress and does not yet have an effect (b/264593489).
|
|
1283
|
+
* option on any kind of entity.
|
|
1241
1284
|
*
|
|
1242
1285
|
* @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
|
|
1243
1286
|
*/
|
|
@@ -1372,6 +1415,12 @@ export interface EnumValueOptions {
|
|
|
1372
1415
|
* @generated from protobuf field: optional bool debug_redact = 3;
|
|
1373
1416
|
*/
|
|
1374
1417
|
debugRedact?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* Information about the support window of a feature value.
|
|
1420
|
+
*
|
|
1421
|
+
* @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
|
|
1422
|
+
*/
|
|
1423
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1375
1424
|
/**
|
|
1376
1425
|
* The parser stores options it doesn't recognize here. See above.
|
|
1377
1426
|
*
|
|
@@ -1719,9 +1768,17 @@ export interface FeatureSetDefaults_FeatureSetEditionDefault {
|
|
|
1719
1768
|
*/
|
|
1720
1769
|
edition?: Edition;
|
|
1721
1770
|
/**
|
|
1722
|
-
*
|
|
1771
|
+
* Defaults of features that can be overridden in this edition.
|
|
1772
|
+
*
|
|
1773
|
+
* @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4;
|
|
1723
1774
|
*/
|
|
1724
|
-
|
|
1775
|
+
overridableFeatures?: FeatureSet;
|
|
1776
|
+
/**
|
|
1777
|
+
* Defaults of features that can't be overridden in this edition.
|
|
1778
|
+
*
|
|
1779
|
+
* @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5;
|
|
1780
|
+
*/
|
|
1781
|
+
fixedFeatures?: FeatureSet;
|
|
1725
1782
|
}
|
|
1726
1783
|
// ===================================================================
|
|
1727
1784
|
// Optional source code info
|
|
@@ -1976,6 +2033,13 @@ export enum Edition {
|
|
|
1976
2033
|
* @generated from protobuf enum value: EDITION_UNKNOWN = 0;
|
|
1977
2034
|
*/
|
|
1978
2035
|
EDITION_UNKNOWN = 0,
|
|
2036
|
+
/**
|
|
2037
|
+
* A placeholder edition for specifying default behaviors *before* a feature
|
|
2038
|
+
* was first introduced. This is effectively an "infinite past".
|
|
2039
|
+
*
|
|
2040
|
+
* @generated from protobuf enum value: EDITION_LEGACY = 900;
|
|
2041
|
+
*/
|
|
2042
|
+
EDITION_LEGACY = 900,
|
|
1979
2043
|
/**
|
|
1980
2044
|
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
1981
2045
|
* distinct editions. These can't be used to specify the edition of proto
|
|
@@ -2003,7 +2067,7 @@ export enum Edition {
|
|
|
2003
2067
|
EDITION_2024 = 1001,
|
|
2004
2068
|
/**
|
|
2005
2069
|
* Placeholder editions for testing feature resolution. These should not be
|
|
2006
|
-
* used or
|
|
2070
|
+
* used or relied on outside of tests.
|
|
2007
2071
|
*
|
|
2008
2072
|
* @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
|
|
2009
2073
|
*/
|
|
@@ -3391,6 +3455,7 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3391
3455
|
{ no: 19, name: "targets", kind: "enum", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ["google.protobuf.FieldOptions.OptionTargetType", FieldOptions_OptionTargetType] },
|
|
3392
3456
|
{ no: 20, name: "edition_defaults", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldOptions_EditionDefault },
|
|
3393
3457
|
{ no: 21, name: "features", kind: "message", T: () => FeatureSet },
|
|
3458
|
+
{ no: 22, name: "feature_support", kind: "message", T: () => FieldOptions_FeatureSupport },
|
|
3394
3459
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3395
3460
|
]);
|
|
3396
3461
|
}
|
|
@@ -3448,6 +3513,9 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3448
3513
|
case /* optional google.protobuf.FeatureSet features */ 21:
|
|
3449
3514
|
message.features = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.features);
|
|
3450
3515
|
break;
|
|
3516
|
+
case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 22:
|
|
3517
|
+
message.featureSupport = FieldOptions_FeatureSupport.internalBinaryRead(reader, reader.uint32(), options, message.featureSupport);
|
|
3518
|
+
break;
|
|
3451
3519
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3452
3520
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3453
3521
|
break;
|
|
@@ -3499,6 +3567,9 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
|
|
|
3499
3567
|
/* optional google.protobuf.FeatureSet features = 21; */
|
|
3500
3568
|
if (message.features)
|
|
3501
3569
|
FeatureSet.internalBinaryWrite(message.features, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
|
3570
|
+
/* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22; */
|
|
3571
|
+
if (message.featureSupport)
|
|
3572
|
+
FieldOptions_FeatureSupport.internalBinaryWrite(message.featureSupport, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
|
3502
3573
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3503
3574
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3504
3575
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -3566,6 +3637,73 @@ class FieldOptions_EditionDefault$Type extends MessageType<FieldOptions_EditionD
|
|
|
3566
3637
|
*/
|
|
3567
3638
|
export const FieldOptions_EditionDefault = new FieldOptions_EditionDefault$Type();
|
|
3568
3639
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3640
|
+
class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureSupport> {
|
|
3641
|
+
constructor() {
|
|
3642
|
+
super("google.protobuf.FieldOptions.FeatureSupport", [
|
|
3643
|
+
{ no: 1, name: "edition_introduced", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
3644
|
+
{ no: 2, name: "edition_deprecated", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
3645
|
+
{ no: 3, name: "deprecation_warning", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3646
|
+
{ no: 4, name: "edition_removed", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] }
|
|
3647
|
+
]);
|
|
3648
|
+
}
|
|
3649
|
+
create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport {
|
|
3650
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
3651
|
+
if (value !== undefined)
|
|
3652
|
+
reflectionMergePartial<FieldOptions_FeatureSupport>(this, message, value);
|
|
3653
|
+
return message;
|
|
3654
|
+
}
|
|
3655
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_FeatureSupport): FieldOptions_FeatureSupport {
|
|
3656
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
3657
|
+
while (reader.pos < end) {
|
|
3658
|
+
let [fieldNo, wireType] = reader.tag();
|
|
3659
|
+
switch (fieldNo) {
|
|
3660
|
+
case /* optional google.protobuf.Edition edition_introduced */ 1:
|
|
3661
|
+
message.editionIntroduced = reader.int32();
|
|
3662
|
+
break;
|
|
3663
|
+
case /* optional google.protobuf.Edition edition_deprecated */ 2:
|
|
3664
|
+
message.editionDeprecated = reader.int32();
|
|
3665
|
+
break;
|
|
3666
|
+
case /* optional string deprecation_warning */ 3:
|
|
3667
|
+
message.deprecationWarning = reader.string();
|
|
3668
|
+
break;
|
|
3669
|
+
case /* optional google.protobuf.Edition edition_removed */ 4:
|
|
3670
|
+
message.editionRemoved = reader.int32();
|
|
3671
|
+
break;
|
|
3672
|
+
default:
|
|
3673
|
+
let u = options.readUnknownField;
|
|
3674
|
+
if (u === "throw")
|
|
3675
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3676
|
+
let d = reader.skip(wireType);
|
|
3677
|
+
if (u !== false)
|
|
3678
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
return message;
|
|
3682
|
+
}
|
|
3683
|
+
internalBinaryWrite(message: FieldOptions_FeatureSupport, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
3684
|
+
/* optional google.protobuf.Edition edition_introduced = 1; */
|
|
3685
|
+
if (message.editionIntroduced !== undefined)
|
|
3686
|
+
writer.tag(1, WireType.Varint).int32(message.editionIntroduced);
|
|
3687
|
+
/* optional google.protobuf.Edition edition_deprecated = 2; */
|
|
3688
|
+
if (message.editionDeprecated !== undefined)
|
|
3689
|
+
writer.tag(2, WireType.Varint).int32(message.editionDeprecated);
|
|
3690
|
+
/* optional string deprecation_warning = 3; */
|
|
3691
|
+
if (message.deprecationWarning !== undefined)
|
|
3692
|
+
writer.tag(3, WireType.LengthDelimited).string(message.deprecationWarning);
|
|
3693
|
+
/* optional google.protobuf.Edition edition_removed = 4; */
|
|
3694
|
+
if (message.editionRemoved !== undefined)
|
|
3695
|
+
writer.tag(4, WireType.Varint).int32(message.editionRemoved);
|
|
3696
|
+
let u = options.writeUnknownFields;
|
|
3697
|
+
if (u !== false)
|
|
3698
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3699
|
+
return writer;
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
/**
|
|
3703
|
+
* @generated MessageType for protobuf message google.protobuf.FieldOptions.FeatureSupport
|
|
3704
|
+
*/
|
|
3705
|
+
export const FieldOptions_FeatureSupport = new FieldOptions_FeatureSupport$Type();
|
|
3706
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
3569
3707
|
class OneofOptions$Type extends MessageType<OneofOptions> {
|
|
3570
3708
|
constructor() {
|
|
3571
3709
|
super("google.protobuf.OneofOptions", [
|
|
@@ -3701,6 +3839,7 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
3701
3839
|
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3702
3840
|
{ no: 2, name: "features", kind: "message", T: () => FeatureSet },
|
|
3703
3841
|
{ no: 3, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
3842
|
+
{ no: 4, name: "feature_support", kind: "message", T: () => FieldOptions_FeatureSupport },
|
|
3704
3843
|
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
|
3705
3844
|
]);
|
|
3706
3845
|
}
|
|
@@ -3725,6 +3864,9 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
3725
3864
|
case /* optional bool debug_redact */ 3:
|
|
3726
3865
|
message.debugRedact = reader.bool();
|
|
3727
3866
|
break;
|
|
3867
|
+
case /* optional google.protobuf.FieldOptions.FeatureSupport feature_support */ 4:
|
|
3868
|
+
message.featureSupport = FieldOptions_FeatureSupport.internalBinaryRead(reader, reader.uint32(), options, message.featureSupport);
|
|
3869
|
+
break;
|
|
3728
3870
|
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
|
3729
3871
|
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
3730
3872
|
break;
|
|
@@ -3749,6 +3891,9 @@ class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
|
|
|
3749
3891
|
/* optional bool debug_redact = 3; */
|
|
3750
3892
|
if (message.debugRedact !== undefined)
|
|
3751
3893
|
writer.tag(3, WireType.Varint).bool(message.debugRedact);
|
|
3894
|
+
/* optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4; */
|
|
3895
|
+
if (message.featureSupport)
|
|
3896
|
+
FieldOptions_FeatureSupport.internalBinaryWrite(message.featureSupport, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
3752
3897
|
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
|
3753
3898
|
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
|
3754
3899
|
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4182,7 +4327,8 @@ class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<Featu
|
|
|
4182
4327
|
constructor() {
|
|
4183
4328
|
super("google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault", [
|
|
4184
4329
|
{ no: 3, name: "edition", kind: "enum", opt: true, T: () => ["google.protobuf.Edition", Edition] },
|
|
4185
|
-
{ no:
|
|
4330
|
+
{ no: 4, name: "overridable_features", kind: "message", T: () => FeatureSet },
|
|
4331
|
+
{ no: 5, name: "fixed_features", kind: "message", T: () => FeatureSet }
|
|
4186
4332
|
]);
|
|
4187
4333
|
}
|
|
4188
4334
|
create(value?: PartialMessage<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault {
|
|
@@ -4199,8 +4345,11 @@ class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<Featu
|
|
|
4199
4345
|
case /* optional google.protobuf.Edition edition */ 3:
|
|
4200
4346
|
message.edition = reader.int32();
|
|
4201
4347
|
break;
|
|
4202
|
-
case /* optional google.protobuf.FeatureSet
|
|
4203
|
-
message.
|
|
4348
|
+
case /* optional google.protobuf.FeatureSet overridable_features */ 4:
|
|
4349
|
+
message.overridableFeatures = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.overridableFeatures);
|
|
4350
|
+
break;
|
|
4351
|
+
case /* optional google.protobuf.FeatureSet fixed_features */ 5:
|
|
4352
|
+
message.fixedFeatures = FeatureSet.internalBinaryRead(reader, reader.uint32(), options, message.fixedFeatures);
|
|
4204
4353
|
break;
|
|
4205
4354
|
default:
|
|
4206
4355
|
let u = options.readUnknownField;
|
|
@@ -4217,9 +4366,12 @@ class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<Featu
|
|
|
4217
4366
|
/* optional google.protobuf.Edition edition = 3; */
|
|
4218
4367
|
if (message.edition !== undefined)
|
|
4219
4368
|
writer.tag(3, WireType.Varint).int32(message.edition);
|
|
4220
|
-
/* optional google.protobuf.FeatureSet
|
|
4221
|
-
if (message.
|
|
4222
|
-
FeatureSet.internalBinaryWrite(message.
|
|
4369
|
+
/* optional google.protobuf.FeatureSet overridable_features = 4; */
|
|
4370
|
+
if (message.overridableFeatures)
|
|
4371
|
+
FeatureSet.internalBinaryWrite(message.overridableFeatures, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4372
|
+
/* optional google.protobuf.FeatureSet fixed_features = 5; */
|
|
4373
|
+
if (message.fixedFeatures)
|
|
4374
|
+
FeatureSet.internalBinaryWrite(message.fixedFeatures, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
4223
4375
|
let u = options.writeUnknownFields;
|
|
4224
4376
|
if (u !== false)
|
|
4225
4377
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/empty.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
//
|
|
35
35
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
36
36
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
37
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
38
37
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
39
38
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
39
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
40
40
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
41
41
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
42
42
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
@@ -66,7 +66,20 @@ class Empty$Type extends MessageType<Empty> {
|
|
|
66
66
|
return message;
|
|
67
67
|
}
|
|
68
68
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Empty): Empty {
|
|
69
|
-
|
|
69
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
70
|
+
while (reader.pos < end) {
|
|
71
|
+
let [fieldNo, wireType] = reader.tag();
|
|
72
|
+
switch (fieldNo) {
|
|
73
|
+
default:
|
|
74
|
+
let u = options.readUnknownField;
|
|
75
|
+
if (u === "throw")
|
|
76
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
77
|
+
let d = reader.skip(wireType);
|
|
78
|
+
if (u !== false)
|
|
79
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return message;
|
|
70
83
|
}
|
|
71
84
|
internalBinaryWrite(message: Empty, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
72
85
|
let u = options.writeUnknownFields;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/struct.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.9.
|
|
1
|
+
// @generated by protobuf-ts 2.9.5 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
|
|
2
2
|
// @generated from protobuf file "google/protobuf/wrappers.proto" (package "google.protobuf", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|