@milaboratories/pl-client 2.12.0 → 2.12.1

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.
Files changed (57) hide show
  1. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  2. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  3. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +26 -2
  4. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  5. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  6. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  7. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +12 -0
  8. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  9. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +26 -2
  10. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  11. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
  13. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
  14. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
  15. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
  16. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
  17. package/dist/proto/google/protobuf/any.cjs.map +1 -1
  18. package/dist/proto/google/protobuf/any.d.ts +9 -5
  19. package/dist/proto/google/protobuf/any.d.ts.map +1 -1
  20. package/dist/proto/google/protobuf/any.js.map +1 -1
  21. package/dist/proto/google/protobuf/descriptor.d.ts +881 -46
  22. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  23. package/dist/proto/google/protobuf/duration.cjs.map +1 -1
  24. package/dist/proto/google/protobuf/duration.d.ts +0 -1
  25. package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
  26. package/dist/proto/google/protobuf/duration.js.map +1 -1
  27. package/dist/proto/google/protobuf/struct.d.ts +1 -1
  28. package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
  29. package/dist/proto/google/protobuf/timestamp.d.ts +1 -4
  30. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
  31. package/dist/proto/google/protobuf/timestamp.js.map +1 -1
  32. package/dist/proto/google/protobuf/wrappers.d.ts +27 -0
  33. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  36. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
  37. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +1 -1
  38. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  39. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
  40. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
  41. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +1 -1
  42. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  43. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
  44. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
  45. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +38 -2
  46. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
  47. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
  48. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
  49. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
  50. package/src/proto/google/api/http.ts +1 -1
  51. package/src/proto/google/protobuf/any.ts +10 -6
  52. package/src/proto/google/protobuf/descriptor.ts +1469 -77
  53. package/src/proto/google/protobuf/duration.ts +1 -2
  54. package/src/proto/google/protobuf/empty.ts +1 -1
  55. package/src/proto/google/protobuf/struct.ts +2 -2
  56. package/src/proto/google/protobuf/timestamp.ts +2 -5
  57. package/src/proto/google/protobuf/wrappers.ts +38 -5
@@ -1 +1 @@
1
- {"version":3,"file":"resource_types.js","sources":["../../../../../../../src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/plapi/plapiproto/resource_types.proto\" (package \"MiLaboratories.PL.RTypes\", syntax proto3)\n// tslint:disable\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ResourceType } from \"./base_types\";\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.Number\n */\nexport interface Number$ {\n /**\n * @generated from protobuf oneof: value\n */\n value: {\n oneofKind: \"int32\";\n /**\n * @generated from protobuf field: int32 int32 = 1\n */\n int32: number;\n } | {\n oneofKind: \"uint32\";\n /**\n * @generated from protobuf field: uint32 uint32 = 2\n */\n uint32: number;\n } | {\n oneofKind: \"int64\";\n /**\n * @generated from protobuf field: int64 int64 = 3\n */\n int64: bigint;\n } | {\n oneofKind: \"uint64\";\n /**\n * @generated from protobuf field: uint64 uint64 = 4\n */\n uint64: bigint;\n } | {\n oneofKind: \"float\";\n /**\n * @generated from protobuf field: float float = 5\n */\n float: number;\n } | {\n oneofKind: \"double\";\n /**\n * @generated from protobuf field: double double = 6\n */\n double: number;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.ControllerSettings\n */\nexport interface ControllerSettings {\n /**\n * @generated from protobuf field: string type = 1\n */\n type: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings\n */\nexport interface SubscriptionSettings {\n /**\n * @generated from protobuf field: bool blocking = 1\n */\n blocking: boolean;\n /**\n * FIXME: drop this hack once we allow Data in Structural resources\n *\n * @generated from protobuf field: uint64 randomizer = 2\n */\n randomizer: bigint; // dirty hack that makes subscription settings resources unique\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter\n */\nexport interface NotificationFilter {\n /**\n * @generated from protobuf oneof: resource_filter\n */\n resourceFilter: {\n oneofKind: \"resourceType\";\n /**\n * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1\n */\n resourceType: ResourceType;\n } | {\n oneofKind: \"resourceId\";\n /**\n * @generated from protobuf field: uint64 resource_id = 7\n */\n resourceId: bigint;\n } | {\n oneofKind: undefined;\n };\n /**\n * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8\n */\n eventFilter?: NotificationFilter_EventFilter;\n /**\n * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9\n */\n payload?: NotificationFilter_Payload;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\n */\nexport interface NotificationFilter_EventFilter {\n /**\n * @generated from protobuf field: optional bool all = 1\n */\n all?: boolean;\n // \n // Resource events\n // \n\n /**\n * @generated from protobuf field: optional bool resource_created = 2\n */\n resourceCreated?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_deleted = 3\n */\n resourceDeleted?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_ready = 5\n */\n resourceReady?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_duplicate = 6\n */\n resourceDuplicate?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_error = 16\n */\n resourceError?: boolean;\n /**\n *\n * Field events\n *\n *\n * @generated from protobuf field: optional bool inputs_locked = 13\n */\n inputsLocked?: boolean;\n /**\n * @generated from protobuf field: optional bool outputs_locked = 14\n */\n outputsLocked?: boolean;\n /**\n * @generated from protobuf field: optional bool field_created = 12\n */\n fieldCreated?: boolean;\n /**\n * @generated from protobuf field: optional bool field_got_error = 17\n */\n fieldGotError?: boolean;\n /**\n * @generated from protobuf field: optional bool input_set = 7\n */\n inputSet?: boolean;\n /**\n * @generated from protobuf field: optional bool all_inputs_set = 8\n */\n allInputsSet?: boolean;\n /**\n * @generated from protobuf field: optional bool output_set = 9\n */\n outputSet?: boolean;\n /**\n * @generated from protobuf field: optional bool all_outputs_set = 10\n */\n allOutputsSet?: boolean;\n /**\n * @generated from protobuf field: optional bool generic_otw_set = 15\n */\n genericOtwSet?: boolean;\n /**\n * @generated from protobuf field: optional bool dynamic_changed = 11\n */\n dynamicChanged?: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload\n */\nexport interface NotificationFilter_Payload {\n /**\n * @generated from protobuf field: map<string, bytes> values = 1\n */\n values: {\n [key: string]: Uint8Array;\n };\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Number$$Type extends MessageType<Number$> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.Number\", [\n { no: 1, name: \"int32\", kind: \"scalar\", oneof: \"value\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"uint32\", kind: \"scalar\", oneof: \"value\", T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"int64\", kind: \"scalar\", oneof: \"value\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"uint64\", kind: \"scalar\", oneof: \"value\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"float\", kind: \"scalar\", oneof: \"value\", T: 2 /*ScalarType.FLOAT*/ },\n { no: 6, name: \"double\", kind: \"scalar\", oneof: \"value\", T: 1 /*ScalarType.DOUBLE*/ }\n ]);\n }\n create(value?: PartialMessage<Number$>): Number$ {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.value = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<Number$>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Number$): Number$ {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 int32 */ 1:\n message.value = {\n oneofKind: \"int32\",\n int32: reader.int32()\n };\n break;\n case /* uint32 uint32 */ 2:\n message.value = {\n oneofKind: \"uint32\",\n uint32: reader.uint32()\n };\n break;\n case /* int64 int64 */ 3:\n message.value = {\n oneofKind: \"int64\",\n int64: reader.int64().toBigInt()\n };\n break;\n case /* uint64 uint64 */ 4:\n message.value = {\n oneofKind: \"uint64\",\n uint64: reader.uint64().toBigInt()\n };\n break;\n case /* float float */ 5:\n message.value = {\n oneofKind: \"float\",\n float: reader.float()\n };\n break;\n case /* double double */ 6:\n message.value = {\n oneofKind: \"double\",\n double: reader.double()\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Number$, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 int32 = 1; */\n if (message.value.oneofKind === \"int32\")\n writer.tag(1, WireType.Varint).int32(message.value.int32);\n /* uint32 uint32 = 2; */\n if (message.value.oneofKind === \"uint32\")\n writer.tag(2, WireType.Varint).uint32(message.value.uint32);\n /* int64 int64 = 3; */\n if (message.value.oneofKind === \"int64\")\n writer.tag(3, WireType.Varint).int64(message.value.int64);\n /* uint64 uint64 = 4; */\n if (message.value.oneofKind === \"uint64\")\n writer.tag(4, WireType.Varint).uint64(message.value.uint64);\n /* float float = 5; */\n if (message.value.oneofKind === \"float\")\n writer.tag(5, WireType.Bit32).float(message.value.float);\n /* double double = 6; */\n if (message.value.oneofKind === \"double\")\n writer.tag(6, WireType.Bit64).double(message.value.double);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.Number\n */\nexport const Number$ = new Number$$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ControllerSettings$Type extends MessageType<ControllerSettings> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.ControllerSettings\", [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ControllerSettings>): ControllerSettings {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.type = \"\";\n if (value !== undefined)\n reflectionMergePartial<ControllerSettings>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerSettings): ControllerSettings {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type */ 1:\n message.type = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ControllerSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type = 1; */\n if (message.type !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.type);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.ControllerSettings\n */\nexport const ControllerSettings = new ControllerSettings$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscriptionSettings$Type extends MessageType<SubscriptionSettings> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.SubscriptionSettings\", [\n { no: 1, name: \"blocking\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"randomizer\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<SubscriptionSettings>): SubscriptionSettings {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.blocking = false;\n message.randomizer = 0n;\n if (value !== undefined)\n reflectionMergePartial<SubscriptionSettings>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionSettings): SubscriptionSettings {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool blocking */ 1:\n message.blocking = reader.bool();\n break;\n case /* uint64 randomizer */ 2:\n message.randomizer = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SubscriptionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool blocking = 1; */\n if (message.blocking !== false)\n writer.tag(1, WireType.Varint).bool(message.blocking);\n /* uint64 randomizer = 2; */\n if (message.randomizer !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.randomizer);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings\n */\nexport const SubscriptionSettings = new SubscriptionSettings$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter$Type extends MessageType<NotificationFilter> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter\", [\n { no: 1, name: \"resource_type\", kind: \"message\", oneof: \"resourceFilter\", T: () => ResourceType },\n { no: 7, name: \"resource_id\", kind: \"scalar\", oneof: \"resourceFilter\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"event_filter\", kind: \"message\", T: () => NotificationFilter_EventFilter },\n { no: 9, name: \"payload\", kind: \"message\", T: () => NotificationFilter_Payload }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter>): NotificationFilter {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceFilter = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter): NotificationFilter {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* MiLaboratories.PL.Base.ResourceType resource_type */ 1:\n message.resourceFilter = {\n oneofKind: \"resourceType\",\n resourceType: ResourceType.internalBinaryRead(reader, reader.uint32(), options, (message.resourceFilter as any).resourceType)\n };\n break;\n case /* uint64 resource_id */ 7:\n message.resourceFilter = {\n oneofKind: \"resourceId\",\n resourceId: reader.uint64().toBigInt()\n };\n break;\n case /* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter */ 8:\n message.eventFilter = NotificationFilter_EventFilter.internalBinaryRead(reader, reader.uint32(), options, message.eventFilter);\n break;\n case /* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload */ 9:\n message.payload = NotificationFilter_Payload.internalBinaryRead(reader, reader.uint32(), options, message.payload);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: NotificationFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.PL.Base.ResourceType resource_type = 1; */\n if (message.resourceFilter.oneofKind === \"resourceType\")\n ResourceType.internalBinaryWrite(message.resourceFilter.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* uint64 resource_id = 7; */\n if (message.resourceFilter.oneofKind === \"resourceId\")\n writer.tag(7, WireType.Varint).uint64(message.resourceFilter.resourceId);\n /* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8; */\n if (message.eventFilter)\n NotificationFilter_EventFilter.internalBinaryWrite(message.eventFilter, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9; */\n if (message.payload)\n NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter\n */\nexport const NotificationFilter = new NotificationFilter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter_EventFilter> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\", [\n { no: 1, name: \"all\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"resource_created\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"resource_deleted\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"resource_ready\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 6, name: \"resource_duplicate\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 16, name: \"resource_error\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 13, name: \"inputs_locked\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 14, name: \"outputs_locked\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 12, name: \"field_created\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 17, name: \"field_got_error\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 7, name: \"input_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 8, name: \"all_inputs_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 9, name: \"output_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"all_outputs_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 15, name: \"generic_otw_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 11, name: \"dynamic_changed\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter_EventFilter>): NotificationFilter_EventFilter {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter_EventFilter>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_EventFilter): NotificationFilter_EventFilter {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* optional bool all */ 1:\n message.all = reader.bool();\n break;\n case /* optional bool resource_created */ 2:\n message.resourceCreated = reader.bool();\n break;\n case /* optional bool resource_deleted */ 3:\n message.resourceDeleted = reader.bool();\n break;\n case /* optional bool resource_ready */ 5:\n message.resourceReady = reader.bool();\n break;\n case /* optional bool resource_duplicate */ 6:\n message.resourceDuplicate = reader.bool();\n break;\n case /* optional bool resource_error */ 16:\n message.resourceError = reader.bool();\n break;\n case /* optional bool inputs_locked */ 13:\n message.inputsLocked = reader.bool();\n break;\n case /* optional bool outputs_locked */ 14:\n message.outputsLocked = reader.bool();\n break;\n case /* optional bool field_created */ 12:\n message.fieldCreated = reader.bool();\n break;\n case /* optional bool field_got_error */ 17:\n message.fieldGotError = reader.bool();\n break;\n case /* optional bool input_set */ 7:\n message.inputSet = reader.bool();\n break;\n case /* optional bool all_inputs_set */ 8:\n message.allInputsSet = reader.bool();\n break;\n case /* optional bool output_set */ 9:\n message.outputSet = reader.bool();\n break;\n case /* optional bool all_outputs_set */ 10:\n message.allOutputsSet = reader.bool();\n break;\n case /* optional bool generic_otw_set */ 15:\n message.genericOtwSet = reader.bool();\n break;\n case /* optional bool dynamic_changed */ 11:\n message.dynamicChanged = reader.bool();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: NotificationFilter_EventFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* optional bool all = 1; */\n if (message.all !== undefined)\n writer.tag(1, WireType.Varint).bool(message.all);\n /* optional bool resource_created = 2; */\n if (message.resourceCreated !== undefined)\n writer.tag(2, WireType.Varint).bool(message.resourceCreated);\n /* optional bool resource_deleted = 3; */\n if (message.resourceDeleted !== undefined)\n writer.tag(3, WireType.Varint).bool(message.resourceDeleted);\n /* optional bool resource_ready = 5; */\n if (message.resourceReady !== undefined)\n writer.tag(5, WireType.Varint).bool(message.resourceReady);\n /* optional bool resource_duplicate = 6; */\n if (message.resourceDuplicate !== undefined)\n writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);\n /* optional bool input_set = 7; */\n if (message.inputSet !== undefined)\n writer.tag(7, WireType.Varint).bool(message.inputSet);\n /* optional bool all_inputs_set = 8; */\n if (message.allInputsSet !== undefined)\n writer.tag(8, WireType.Varint).bool(message.allInputsSet);\n /* optional bool output_set = 9; */\n if (message.outputSet !== undefined)\n writer.tag(9, WireType.Varint).bool(message.outputSet);\n /* optional bool all_outputs_set = 10; */\n if (message.allOutputsSet !== undefined)\n writer.tag(10, WireType.Varint).bool(message.allOutputsSet);\n /* optional bool dynamic_changed = 11; */\n if (message.dynamicChanged !== undefined)\n writer.tag(11, WireType.Varint).bool(message.dynamicChanged);\n /* optional bool field_created = 12; */\n if (message.fieldCreated !== undefined)\n writer.tag(12, WireType.Varint).bool(message.fieldCreated);\n /* optional bool inputs_locked = 13; */\n if (message.inputsLocked !== undefined)\n writer.tag(13, WireType.Varint).bool(message.inputsLocked);\n /* optional bool outputs_locked = 14; */\n if (message.outputsLocked !== undefined)\n writer.tag(14, WireType.Varint).bool(message.outputsLocked);\n /* optional bool generic_otw_set = 15; */\n if (message.genericOtwSet !== undefined)\n writer.tag(15, WireType.Varint).bool(message.genericOtwSet);\n /* optional bool resource_error = 16; */\n if (message.resourceError !== undefined)\n writer.tag(16, WireType.Varint).bool(message.resourceError);\n /* optional bool field_got_error = 17; */\n if (message.fieldGotError !== undefined)\n writer.tag(17, WireType.Varint).bool(message.fieldGotError);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\n */\nexport const NotificationFilter_EventFilter = new NotificationFilter_EventFilter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter_Payload$Type extends MessageType<NotificationFilter_Payload> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter.Payload\", [\n { no: 1, name: \"values\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ } }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter_Payload>): NotificationFilter_Payload {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.values = {};\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter_Payload>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_Payload): NotificationFilter_Payload {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* map<string, bytes> values */ 1:\n this.binaryReadMap1(message.values, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap1(map: NotificationFilter_Payload[\"values\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof NotificationFilter_Payload[\"values\"] | undefined, val: NotificationFilter_Payload[\"values\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.bytes();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for MiLaboratories.PL.RTypes.NotificationFilter.Payload.values\");\n }\n }\n map[key ?? \"\"] = val ?? new Uint8Array(0);\n }\n internalBinaryWrite(message: NotificationFilter_Payload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* map<string, bytes> values = 1; */\n for (let k of globalThis.Object.keys(message.values))\n writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).bytes(message.values[k]).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload\n */\nexport const NotificationFilter_Payload = new NotificationFilter_Payload$Type();\n"],"names":[],"mappings":";;;AA2MA;AACA,MAAM,YAAa,SAAQ,WAAoB,CAAA;AAC3C,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,iCAAiC,EAAE;YACrC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,uBAAuB;YACnF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,wBAAwB;YACtF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,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BAAA,GAAG,GAAG,MAAM,CAAC,KAAK,EAAE;oBACpB;gBACJ,SAAS,MAAM,IAAI,UAAU,CAAC,KAAK,CAAC,wFAAwF,CAAC;;QAErI;AACA,QAAA,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,GAAG,IAAI,IAAI,UAAU,CAAC,CAAC,CAAC;IAC7C;AACA,IAAA,mBAAmB,CAAC,OAAmC,EAAE,MAAqB,EAAE,OAA2B,EAAA;;AAEvG,QAAA,KAAK,IAAI,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YAChD,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;AAC9J,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,0BAA0B,GAAG,IAAI,+BAA+B;;;;"}
1
+ {"version":3,"file":"resource_types.js","sources":["../../../../../../../src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/milaboratory/pl/plapi/plapiproto/resource_types.proto\" (package \"MiLaboratories.PL.RTypes\", syntax proto3)\n// tslint:disable\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { ResourceType } from \"./base_types\";\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.Number\n */\nexport interface Number$ {\n /**\n * @generated from protobuf oneof: value\n */\n value: {\n oneofKind: \"int32\";\n /**\n * @generated from protobuf field: int32 int32 = 1\n */\n int32: number;\n } | {\n oneofKind: \"uint32\";\n /**\n * @generated from protobuf field: uint32 uint32 = 2\n */\n uint32: number;\n } | {\n oneofKind: \"int64\";\n /**\n * @generated from protobuf field: int64 int64 = 3\n */\n int64: bigint;\n } | {\n oneofKind: \"uint64\";\n /**\n * @generated from protobuf field: uint64 uint64 = 4\n */\n uint64: bigint;\n } | {\n oneofKind: \"float\";\n /**\n * @generated from protobuf field: float float = 5\n */\n float: number;\n } | {\n oneofKind: \"double\";\n /**\n * @generated from protobuf field: double double = 6\n */\n double: number;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.ControllerSettings\n */\nexport interface ControllerSettings {\n /**\n * @generated from protobuf field: string type = 1\n */\n type: string;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings\n */\nexport interface SubscriptionSettings {\n /**\n * @generated from protobuf field: bool blocking = 1\n */\n blocking: boolean;\n /**\n * FIXME: drop this hack once we allow Data in Structural resources\n *\n * @generated from protobuf field: uint64 randomizer = 2\n */\n randomizer: bigint; // dirty hack that makes subscription settings resources unique\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter\n */\nexport interface NotificationFilter {\n /**\n * @generated from protobuf oneof: resource_filter\n */\n resourceFilter: {\n oneofKind: \"resourceType\";\n /**\n * @generated from protobuf field: MiLaboratories.PL.Base.ResourceType resource_type = 1\n */\n resourceType: ResourceType;\n } | {\n oneofKind: \"resourceId\";\n /**\n * @generated from protobuf field: uint64 resource_id = 7\n */\n resourceId: bigint;\n } | {\n oneofKind: undefined;\n };\n /**\n * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8\n */\n eventFilter?: NotificationFilter_EventFilter;\n /**\n * @generated from protobuf field: MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9\n */\n payload?: NotificationFilter_Payload;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\n */\nexport interface NotificationFilter_EventFilter {\n /**\n * @generated from protobuf field: optional bool all = 1\n */\n all?: boolean;\n // \n // Resource events\n // \n\n /**\n * @generated from protobuf field: optional bool resource_created = 2\n */\n resourceCreated?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_deleted = 3\n */\n resourceDeleted?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_ready = 5\n */\n resourceReady?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_duplicate = 6\n */\n resourceDuplicate?: boolean;\n /**\n * @generated from protobuf field: optional bool resource_error = 16\n */\n resourceError?: boolean;\n /**\n *\n * Field events\n *\n *\n * @generated from protobuf field: optional bool inputs_locked = 13\n */\n inputsLocked?: boolean;\n /**\n * @generated from protobuf field: optional bool outputs_locked = 14\n */\n outputsLocked?: boolean;\n /**\n * @generated from protobuf field: optional bool field_created = 12\n */\n fieldCreated?: boolean;\n /**\n * @generated from protobuf field: optional bool field_got_error = 17\n */\n fieldGotError?: boolean;\n /**\n * @generated from protobuf field: optional bool input_set = 7\n */\n inputSet?: boolean;\n /**\n * @generated from protobuf field: optional bool all_inputs_set = 8\n */\n allInputsSet?: boolean;\n /**\n * @generated from protobuf field: optional bool output_set = 9\n */\n outputSet?: boolean;\n /**\n * @generated from protobuf field: optional bool all_outputs_set = 10\n */\n allOutputsSet?: boolean;\n /**\n * @generated from protobuf field: optional bool generic_otw_set = 15\n */\n genericOtwSet?: boolean;\n /**\n * @generated from protobuf field: optional bool dynamic_changed = 11\n */\n dynamicChanged?: boolean;\n}\n/**\n * @generated from protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload\n */\nexport interface NotificationFilter_Payload {\n /**\n * @generated from protobuf field: map<string, bytes> values = 1\n */\n values: {\n [key: string]: Uint8Array;\n };\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Number$$Type extends MessageType<Number$> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.Number\", [\n { no: 1, name: \"int32\", kind: \"scalar\", oneof: \"value\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"uint32\", kind: \"scalar\", oneof: \"value\", T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"int64\", kind: \"scalar\", oneof: \"value\", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"uint64\", kind: \"scalar\", oneof: \"value\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 5, name: \"float\", kind: \"scalar\", oneof: \"value\", T: 2 /*ScalarType.FLOAT*/ },\n { no: 6, name: \"double\", kind: \"scalar\", oneof: \"value\", T: 1 /*ScalarType.DOUBLE*/ }\n ]);\n }\n create(value?: PartialMessage<Number$>): Number$ {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.value = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<Number$>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Number$): Number$ {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 int32 */ 1:\n message.value = {\n oneofKind: \"int32\",\n int32: reader.int32()\n };\n break;\n case /* uint32 uint32 */ 2:\n message.value = {\n oneofKind: \"uint32\",\n uint32: reader.uint32()\n };\n break;\n case /* int64 int64 */ 3:\n message.value = {\n oneofKind: \"int64\",\n int64: reader.int64().toBigInt()\n };\n break;\n case /* uint64 uint64 */ 4:\n message.value = {\n oneofKind: \"uint64\",\n uint64: reader.uint64().toBigInt()\n };\n break;\n case /* float float */ 5:\n message.value = {\n oneofKind: \"float\",\n float: reader.float()\n };\n break;\n case /* double double */ 6:\n message.value = {\n oneofKind: \"double\",\n double: reader.double()\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Number$, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 int32 = 1; */\n if (message.value.oneofKind === \"int32\")\n writer.tag(1, WireType.Varint).int32(message.value.int32);\n /* uint32 uint32 = 2; */\n if (message.value.oneofKind === \"uint32\")\n writer.tag(2, WireType.Varint).uint32(message.value.uint32);\n /* int64 int64 = 3; */\n if (message.value.oneofKind === \"int64\")\n writer.tag(3, WireType.Varint).int64(message.value.int64);\n /* uint64 uint64 = 4; */\n if (message.value.oneofKind === \"uint64\")\n writer.tag(4, WireType.Varint).uint64(message.value.uint64);\n /* float float = 5; */\n if (message.value.oneofKind === \"float\")\n writer.tag(5, WireType.Bit32).float(message.value.float);\n /* double double = 6; */\n if (message.value.oneofKind === \"double\")\n writer.tag(6, WireType.Bit64).double(message.value.double);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.Number\n */\nexport const Number$ = new Number$$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ControllerSettings$Type extends MessageType<ControllerSettings> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.ControllerSettings\", [\n { no: 1, name: \"type\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ControllerSettings>): ControllerSettings {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.type = \"\";\n if (value !== undefined)\n reflectionMergePartial<ControllerSettings>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ControllerSettings): ControllerSettings {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type */ 1:\n message.type = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ControllerSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type = 1; */\n if (message.type !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.type);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.ControllerSettings\n */\nexport const ControllerSettings = new ControllerSettings$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SubscriptionSettings$Type extends MessageType<SubscriptionSettings> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.SubscriptionSettings\", [\n { no: 1, name: \"blocking\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"randomizer\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n create(value?: PartialMessage<SubscriptionSettings>): SubscriptionSettings {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.blocking = false;\n message.randomizer = 0n;\n if (value !== undefined)\n reflectionMergePartial<SubscriptionSettings>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubscriptionSettings): SubscriptionSettings {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool blocking */ 1:\n message.blocking = reader.bool();\n break;\n case /* uint64 randomizer */ 2:\n message.randomizer = reader.uint64().toBigInt();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SubscriptionSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool blocking = 1; */\n if (message.blocking !== false)\n writer.tag(1, WireType.Varint).bool(message.blocking);\n /* uint64 randomizer = 2; */\n if (message.randomizer !== 0n)\n writer.tag(2, WireType.Varint).uint64(message.randomizer);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.SubscriptionSettings\n */\nexport const SubscriptionSettings = new SubscriptionSettings$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter$Type extends MessageType<NotificationFilter> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter\", [\n { no: 1, name: \"resource_type\", kind: \"message\", oneof: \"resourceFilter\", T: () => ResourceType },\n { no: 7, name: \"resource_id\", kind: \"scalar\", oneof: \"resourceFilter\", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 8, name: \"event_filter\", kind: \"message\", T: () => NotificationFilter_EventFilter },\n { no: 9, name: \"payload\", kind: \"message\", T: () => NotificationFilter_Payload }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter>): NotificationFilter {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.resourceFilter = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter): NotificationFilter {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* MiLaboratories.PL.Base.ResourceType resource_type */ 1:\n message.resourceFilter = {\n oneofKind: \"resourceType\",\n resourceType: ResourceType.internalBinaryRead(reader, reader.uint32(), options, (message.resourceFilter as any).resourceType)\n };\n break;\n case /* uint64 resource_id */ 7:\n message.resourceFilter = {\n oneofKind: \"resourceId\",\n resourceId: reader.uint64().toBigInt()\n };\n break;\n case /* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter */ 8:\n message.eventFilter = NotificationFilter_EventFilter.internalBinaryRead(reader, reader.uint32(), options, message.eventFilter);\n break;\n case /* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload */ 9:\n message.payload = NotificationFilter_Payload.internalBinaryRead(reader, reader.uint32(), options, message.payload);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: NotificationFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* MiLaboratories.PL.Base.ResourceType resource_type = 1; */\n if (message.resourceFilter.oneofKind === \"resourceType\")\n ResourceType.internalBinaryWrite(message.resourceFilter.resourceType, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* uint64 resource_id = 7; */\n if (message.resourceFilter.oneofKind === \"resourceId\")\n writer.tag(7, WireType.Varint).uint64(message.resourceFilter.resourceId);\n /* MiLaboratories.PL.RTypes.NotificationFilter.EventFilter event_filter = 8; */\n if (message.eventFilter)\n NotificationFilter_EventFilter.internalBinaryWrite(message.eventFilter, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n /* MiLaboratories.PL.RTypes.NotificationFilter.Payload payload = 9; */\n if (message.payload)\n NotificationFilter_Payload.internalBinaryWrite(message.payload, writer.tag(9, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter\n */\nexport const NotificationFilter = new NotificationFilter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter_EventFilter$Type extends MessageType<NotificationFilter_EventFilter> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\", [\n { no: 1, name: \"all\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"resource_created\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"resource_deleted\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"resource_ready\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 6, name: \"resource_duplicate\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 16, name: \"resource_error\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 13, name: \"inputs_locked\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 14, name: \"outputs_locked\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 12, name: \"field_created\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 17, name: \"field_got_error\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 7, name: \"input_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 8, name: \"all_inputs_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 9, name: \"output_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 10, name: \"all_outputs_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 15, name: \"generic_otw_set\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 11, name: \"dynamic_changed\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter_EventFilter>): NotificationFilter_EventFilter {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter_EventFilter>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_EventFilter): NotificationFilter_EventFilter {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* optional bool all */ 1:\n message.all = reader.bool();\n break;\n case /* optional bool resource_created */ 2:\n message.resourceCreated = reader.bool();\n break;\n case /* optional bool resource_deleted */ 3:\n message.resourceDeleted = reader.bool();\n break;\n case /* optional bool resource_ready */ 5:\n message.resourceReady = reader.bool();\n break;\n case /* optional bool resource_duplicate */ 6:\n message.resourceDuplicate = reader.bool();\n break;\n case /* optional bool resource_error */ 16:\n message.resourceError = reader.bool();\n break;\n case /* optional bool inputs_locked */ 13:\n message.inputsLocked = reader.bool();\n break;\n case /* optional bool outputs_locked */ 14:\n message.outputsLocked = reader.bool();\n break;\n case /* optional bool field_created */ 12:\n message.fieldCreated = reader.bool();\n break;\n case /* optional bool field_got_error */ 17:\n message.fieldGotError = reader.bool();\n break;\n case /* optional bool input_set */ 7:\n message.inputSet = reader.bool();\n break;\n case /* optional bool all_inputs_set */ 8:\n message.allInputsSet = reader.bool();\n break;\n case /* optional bool output_set */ 9:\n message.outputSet = reader.bool();\n break;\n case /* optional bool all_outputs_set */ 10:\n message.allOutputsSet = reader.bool();\n break;\n case /* optional bool generic_otw_set */ 15:\n message.genericOtwSet = reader.bool();\n break;\n case /* optional bool dynamic_changed */ 11:\n message.dynamicChanged = reader.bool();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: NotificationFilter_EventFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* optional bool all = 1; */\n if (message.all !== undefined)\n writer.tag(1, WireType.Varint).bool(message.all);\n /* optional bool resource_created = 2; */\n if (message.resourceCreated !== undefined)\n writer.tag(2, WireType.Varint).bool(message.resourceCreated);\n /* optional bool resource_deleted = 3; */\n if (message.resourceDeleted !== undefined)\n writer.tag(3, WireType.Varint).bool(message.resourceDeleted);\n /* optional bool resource_ready = 5; */\n if (message.resourceReady !== undefined)\n writer.tag(5, WireType.Varint).bool(message.resourceReady);\n /* optional bool resource_duplicate = 6; */\n if (message.resourceDuplicate !== undefined)\n writer.tag(6, WireType.Varint).bool(message.resourceDuplicate);\n /* optional bool input_set = 7; */\n if (message.inputSet !== undefined)\n writer.tag(7, WireType.Varint).bool(message.inputSet);\n /* optional bool all_inputs_set = 8; */\n if (message.allInputsSet !== undefined)\n writer.tag(8, WireType.Varint).bool(message.allInputsSet);\n /* optional bool output_set = 9; */\n if (message.outputSet !== undefined)\n writer.tag(9, WireType.Varint).bool(message.outputSet);\n /* optional bool all_outputs_set = 10; */\n if (message.allOutputsSet !== undefined)\n writer.tag(10, WireType.Varint).bool(message.allOutputsSet);\n /* optional bool dynamic_changed = 11; */\n if (message.dynamicChanged !== undefined)\n writer.tag(11, WireType.Varint).bool(message.dynamicChanged);\n /* optional bool field_created = 12; */\n if (message.fieldCreated !== undefined)\n writer.tag(12, WireType.Varint).bool(message.fieldCreated);\n /* optional bool inputs_locked = 13; */\n if (message.inputsLocked !== undefined)\n writer.tag(13, WireType.Varint).bool(message.inputsLocked);\n /* optional bool outputs_locked = 14; */\n if (message.outputsLocked !== undefined)\n writer.tag(14, WireType.Varint).bool(message.outputsLocked);\n /* optional bool generic_otw_set = 15; */\n if (message.genericOtwSet !== undefined)\n writer.tag(15, WireType.Varint).bool(message.genericOtwSet);\n /* optional bool resource_error = 16; */\n if (message.resourceError !== undefined)\n writer.tag(16, WireType.Varint).bool(message.resourceError);\n /* optional bool field_got_error = 17; */\n if (message.fieldGotError !== undefined)\n writer.tag(17, WireType.Varint).bool(message.fieldGotError);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.EventFilter\n */\nexport const NotificationFilter_EventFilter = new NotificationFilter_EventFilter$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NotificationFilter_Payload$Type extends MessageType<NotificationFilter_Payload> {\n constructor() {\n super(\"MiLaboratories.PL.RTypes.NotificationFilter.Payload\", [\n { no: 1, name: \"values\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ } }\n ]);\n }\n create(value?: PartialMessage<NotificationFilter_Payload>): NotificationFilter_Payload {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.values = {};\n if (value !== undefined)\n reflectionMergePartial<NotificationFilter_Payload>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NotificationFilter_Payload): NotificationFilter_Payload {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* map<string, bytes> values */ 1:\n this.binaryReadMap1(message.values, reader, options);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap1(map: NotificationFilter_Payload[\"values\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof NotificationFilter_Payload[\"values\"] | undefined, val: NotificationFilter_Payload[\"values\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.bytes();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for MiLaboratories.PL.RTypes.NotificationFilter.Payload.values\");\n }\n }\n map[key ?? \"\"] = val ?? new Uint8Array(0);\n }\n internalBinaryWrite(message: NotificationFilter_Payload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* map<string, bytes> values = 1; */\n for (let k of globalThis.Object.keys(message.values))\n writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).bytes(message.values[k]).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message MiLaboratories.PL.RTypes.NotificationFilter.Payload\n */\nexport const NotificationFilter_Payload = new NotificationFilter_Payload$Type();\n"],"names":[],"mappings":";;;AA2MA;AACA,MAAM,YAAa,SAAQ,WAAoB,CAAA;AAC3C,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,iCAAiC,EAAE;YACrC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,uBAAuB;YACnF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,wBAAwB;YACtF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC,sBAAsB;YAC7G,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,wBAAwB,CAAC,EAAE,CAAC,sBAAsB;YAC/G,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,uBAAuB;YACnF,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;AAChE,SAAA,CAAC;IACN;AACA,IAAA,MAAM,CAAC,KAA+B,EAAA;AAClC,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAiB,EAAE;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,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;AAC9J,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,0BAA0B,GAAG,IAAI,+BAA+B;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"any.cjs","sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/protobuf/any.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport { jsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IMessageType } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n *\n * JSON\n *\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n *\n *\n * @generated from protobuf message google.protobuf.Any\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n *\n *\n * @generated from protobuf field: string type_url = 1\n */\n typeUrl: string;\n /**\n * Must be a valid serialized protocol buffer of the above specified type.\n *\n * @generated from protobuf field: bytes value = 2\n */\n value: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Any$Type extends MessageType<Any> {\n constructor() {\n super(\"google.protobuf.Any\", [\n { no: 1, name: \"type_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n /**\n * Pack the message into a new `Any`.\n *\n * Uses 'type.googleapis.com/full.type.name' as the type URL.\n */\n pack<T extends object>(message: T, type: IMessageType<T>): Any {\n return {\n typeUrl: this.typeNameToUrl(type.typeName), value: type.toBinary(message),\n };\n }\n /**\n * Unpack the message from the `Any`.\n */\n unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T {\n if (!this.contains(any, type))\n throw new Error(\"Cannot unpack google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' as \" + type.typeName + \".\");\n return type.fromBinary(any.value, options);\n }\n /**\n * Does the given `Any` contain a packed message of the given type?\n */\n contains(any: Any, type: IMessageType<any> | string): boolean {\n if (!any.typeUrl.length)\n return false;\n let wants = typeof type == \"string\" ? type : type.typeName;\n let has = this.typeUrlToName(any.typeUrl);\n return wants === has;\n }\n /**\n * Convert the message to canonical JSON value.\n *\n * You have to provide the `typeRegistry` option so that the\n * packed message can be converted to JSON.\n *\n * The `typeRegistry` option is also required to read\n * `google.protobuf.Any` from JSON format.\n */\n internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue {\n if (any.typeUrl === \"\")\n return {};\n let typeName = this.typeUrlToName(any.typeUrl);\n let opt = jsonWriteOptions(options);\n let type = opt.typeRegistry?.find(t => t.typeName === typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to convert google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' to JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value = type.fromBinary(any.value, { readUnknownField: false });\n let json = type.internalJsonWrite(value, opt);\n if (typeName.startsWith(\"google.protobuf.\") || !isJsonObject(json))\n json = { value: json };\n json[\"@type\"] = any.typeUrl;\n return json;\n }\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON \" + typeofJsonValue(json) + \".\");\n if (typeof json[\"@type\"] != \"string\" || json[\"@type\"] == \"\")\n return this.create();\n let typeName = this.typeUrlToName(json[\"@type\"]);\n let type = options?.typeRegistry?.find(t => t.typeName == typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value;\n if (typeName.startsWith(\"google.protobuf.\") && json.hasOwnProperty(\"value\"))\n value = type.fromJson(json[\"value\"], options);\n else {\n let copy = Object.assign({}, json);\n delete copy[\"@type\"];\n value = type.fromJson(copy, options);\n }\n if (target === undefined)\n target = this.create();\n target.typeUrl = json[\"@type\"];\n target.value = type.toBinary(value);\n return target;\n }\n typeNameToUrl(name: string): string {\n if (!name.length)\n throw new Error(\"invalid type name: \" + name);\n return \"type.googleapis.com/\" + name;\n }\n typeUrlToName(url: string): string {\n if (!url.length)\n throw new Error(\"invalid type url: \" + url);\n let slash = url.lastIndexOf(\"/\");\n let name = slash > 0 ? url.substring(slash + 1) : url;\n if (!name.length)\n throw new Error(\"invalid type url: \" + url);\n return name;\n }\n create(value?: PartialMessage<Any>): Any {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.typeUrl = \"\";\n message.value = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<Any>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type_url */ 1:\n message.typeUrl = reader.string();\n break;\n case /* bytes value */ 2:\n message.value = reader.bytes();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type_url = 1; */\n if (message.typeUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.typeUrl);\n /* bytes value = 2; */\n if (message.value.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Any\n */\nexport const Any = new Any$Type();\n"],"names":["MessageType","jsonWriteOptions","isJsonObject","typeofJsonValue","reflectionMergePartial","UnknownFieldHandler","WireType"],"mappings":";;;;AAkLA;AACA,MAAM,QAAS,SAAQA,mBAAgB,CAAA;AACnC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,qBAAqB,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;AACvE,YAAA,EAAE,EAAE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AA,EAAiB,OAAO,CAAA,YAAA,EAAe,QAAQ,SAAS,IAAI,CAAC,QAAQ,CAAA,CAAE,CAAC;oBACvG,IAAI,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;oBAC7B,IAAI,CAAC,KAAK,KAAK;wBACX,CAAC,CAAC,KAAK,IAAI,GAAGC,2BAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;;QAE3G;AACA,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,mBAAmB,CAAC,OAAY,EAAE,MAAqB,EAAE,OAA2B,EAAA;;AAEhF,QAAA,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE;AACtB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEC,gBAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;;AAEnE,QAAA,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM;AACpB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEA,gBAAQ,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AAChE,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAGD,2BAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,GAAG,GAAG,IAAI,QAAQ;;;;"}
1
+ {"version":3,"file":"any.cjs","sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/protobuf/any.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport { jsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IMessageType } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n *\n *\n * @generated from protobuf message google.protobuf.Any\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n *\n *\n * @generated from protobuf field: string type_url = 1\n */\n typeUrl: string;\n /**\n * Must be a valid serialized protocol buffer of the above specified type.\n *\n * @generated from protobuf field: bytes value = 2\n */\n value: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Any$Type extends MessageType<Any> {\n constructor() {\n super(\"google.protobuf.Any\", [\n { no: 1, name: \"type_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n /**\n * Pack the message into a new `Any`.\n *\n * Uses 'type.googleapis.com/full.type.name' as the type URL.\n */\n pack<T extends object>(message: T, type: IMessageType<T>): Any {\n return {\n typeUrl: this.typeNameToUrl(type.typeName), value: type.toBinary(message),\n };\n }\n /**\n * Unpack the message from the `Any`.\n */\n unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T {\n if (!this.contains(any, type))\n throw new Error(\"Cannot unpack google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' as \" + type.typeName + \".\");\n return type.fromBinary(any.value, options);\n }\n /**\n * Does the given `Any` contain a packed message of the given type?\n */\n contains(any: Any, type: IMessageType<any> | string): boolean {\n if (!any.typeUrl.length)\n return false;\n let wants = typeof type == \"string\" ? type : type.typeName;\n let has = this.typeUrlToName(any.typeUrl);\n return wants === has;\n }\n /**\n * Convert the message to canonical JSON value.\n *\n * You have to provide the `typeRegistry` option so that the\n * packed message can be converted to JSON.\n *\n * The `typeRegistry` option is also required to read\n * `google.protobuf.Any` from JSON format.\n */\n internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue {\n if (any.typeUrl === \"\")\n return {};\n let typeName = this.typeUrlToName(any.typeUrl);\n let opt = jsonWriteOptions(options);\n let type = opt.typeRegistry?.find(t => t.typeName === typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to convert google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' to JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value = type.fromBinary(any.value, { readUnknownField: false });\n let json = type.internalJsonWrite(value, opt);\n if (typeName.startsWith(\"google.protobuf.\") || !isJsonObject(json))\n json = { value: json };\n json[\"@type\"] = any.typeUrl;\n return json;\n }\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON \" + typeofJsonValue(json) + \".\");\n if (typeof json[\"@type\"] != \"string\" || json[\"@type\"] == \"\")\n return this.create();\n let typeName = this.typeUrlToName(json[\"@type\"]);\n let type = options?.typeRegistry?.find(t => t.typeName == typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value;\n if (typeName.startsWith(\"google.protobuf.\") && json.hasOwnProperty(\"value\"))\n value = type.fromJson(json[\"value\"], options);\n else {\n let copy = Object.assign({}, json);\n delete copy[\"@type\"];\n value = type.fromJson(copy, options);\n }\n if (target === undefined)\n target = this.create();\n target.typeUrl = json[\"@type\"];\n target.value = type.toBinary(value);\n return target;\n }\n typeNameToUrl(name: string): string {\n if (!name.length)\n throw new Error(\"invalid type name: \" + name);\n return \"type.googleapis.com/\" + name;\n }\n typeUrlToName(url: string): string {\n if (!url.length)\n throw new Error(\"invalid type url: \" + url);\n let slash = url.lastIndexOf(\"/\");\n let name = slash > 0 ? url.substring(slash + 1) : url;\n if (!name.length)\n throw new Error(\"invalid type url: \" + url);\n return name;\n }\n create(value?: PartialMessage<Any>): Any {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.typeUrl = \"\";\n message.value = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<Any>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type_url */ 1:\n message.typeUrl = reader.string();\n break;\n case /* bytes value */ 2:\n message.value = reader.bytes();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type_url = 1; */\n if (message.typeUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.typeUrl);\n /* bytes value = 2; */\n if (message.value.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Any\n */\nexport const Any = new Any$Type();\n"],"names":["MessageType","jsonWriteOptions","isJsonObject","typeofJsonValue","reflectionMergePartial","UnknownFieldHandler","WireType"],"mappings":";;;;AAsLA;AACA,MAAM,QAAS,SAAQA,mBAAgB,CAAA;AACnC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,qBAAqB,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;AACvE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE;AAChD,SAAA,CAAC;IACN;AACA;;;;AAIG;IACH,IAAI,CAAmB,OAAU,EAAE,IAAqB,EAAA;QACpD,OAAO;AACH,YAAA,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;SAC5E;IACL;AACA;;AAEG;AACH,IAAA,MAAM,CAAmB,GAAQ,EAAE,IAAqB,EAAE,OAAoC,EAAA;QAC1F,IAAI,CAAC,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AAE,OAA2B,EAAA;;AAEhF,QAAA,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE;AACtB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEC,gBAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;;AAEnE,QAAA,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM;AACpB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEA,gBAAQ,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AAChE,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAGD,2BAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,GAAG,GAAG,IAAI,QAAQ;;;;"}
@@ -33,8 +33,12 @@ import { MessageType } from "@protobuf-ts/runtime";
33
33
  * if (any.is(Foo.class)) {
34
34
  * foo = any.unpack(Foo.class);
35
35
  * }
36
+ * // or ...
37
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
38
+ * foo = any.unpack(Foo.getDefaultInstance());
39
+ * }
36
40
  *
37
- * Example 3: Pack and unpack a message in Python.
41
+ * Example 3: Pack and unpack a message in Python.
38
42
  *
39
43
  * foo = Foo(...)
40
44
  * any = Any()
@@ -44,7 +48,7 @@ import { MessageType } from "@protobuf-ts/runtime";
44
48
  * any.Unpack(foo)
45
49
  * ...
46
50
  *
47
- * Example 4: Pack and unpack a message in Go
51
+ * Example 4: Pack and unpack a message in Go
48
52
  *
49
53
  * foo := &pb.Foo{...}
50
54
  * any, err := anypb.New(foo)
@@ -63,9 +67,8 @@ import { MessageType } from "@protobuf-ts/runtime";
63
67
  * in the type URL, for example "foo.bar.com/x/y.z" will yield type
64
68
  * name "y.z".
65
69
  *
66
- *
67
70
  * JSON
68
- *
71
+ * ====
69
72
  * The JSON representation of an `Any` value uses the regular
70
73
  * representation of the deserialized, embedded message, with an
71
74
  * additional field `@type` which contains the type URL. Example:
@@ -120,7 +123,8 @@ export interface Any {
120
123
  *
121
124
  * Note: this functionality is not currently available in the official
122
125
  * protobuf release, and it is not used for type URLs beginning with
123
- * type.googleapis.com.
126
+ * type.googleapis.com. As of May 2023, there are no widely used type server
127
+ * implementations and no plans to implement one.
124
128
  *
125
129
  * Schemes other than `http`, `https` (or the empty scheme) might be
126
130
  * used with implementation specific semantics.
@@ -1 +1 @@
1
- {"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/protobuf/any.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,MAAM,WAAW,GAAG;IAChB;;;;;;;;;;;;;;;;;;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AAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,CAAC;IAKlG;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,OAAO;IAO7D;;;;;;;;OAQG;IACH,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,gBAAgB,GAAG,SAAS;IAejE,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG;IAuB9E,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAKnC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IASlC,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,GAAG,CAAC,GAAG,GAAG;IAQxC,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,GAAG;IAsBxG,mBAAmB,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYvG;AACD;;GAEG;AACH,eAAO,MAAM,GAAG,UAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"any.js","sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/protobuf/any.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport { jsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IMessageType } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n *\n * JSON\n *\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n *\n *\n * @generated from protobuf message google.protobuf.Any\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n *\n *\n * @generated from protobuf field: string type_url = 1\n */\n typeUrl: string;\n /**\n * Must be a valid serialized protocol buffer of the above specified type.\n *\n * @generated from protobuf field: bytes value = 2\n */\n value: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Any$Type extends MessageType<Any> {\n constructor() {\n super(\"google.protobuf.Any\", [\n { no: 1, name: \"type_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n /**\n * Pack the message into a new `Any`.\n *\n * Uses 'type.googleapis.com/full.type.name' as the type URL.\n */\n pack<T extends object>(message: T, type: IMessageType<T>): Any {\n return {\n typeUrl: this.typeNameToUrl(type.typeName), value: type.toBinary(message),\n };\n }\n /**\n * Unpack the message from the `Any`.\n */\n unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T {\n if (!this.contains(any, type))\n throw new Error(\"Cannot unpack google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' as \" + type.typeName + \".\");\n return type.fromBinary(any.value, options);\n }\n /**\n * Does the given `Any` contain a packed message of the given type?\n */\n contains(any: Any, type: IMessageType<any> | string): boolean {\n if (!any.typeUrl.length)\n return false;\n let wants = typeof type == \"string\" ? type : type.typeName;\n let has = this.typeUrlToName(any.typeUrl);\n return wants === has;\n }\n /**\n * Convert the message to canonical JSON value.\n *\n * You have to provide the `typeRegistry` option so that the\n * packed message can be converted to JSON.\n *\n * The `typeRegistry` option is also required to read\n * `google.protobuf.Any` from JSON format.\n */\n internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue {\n if (any.typeUrl === \"\")\n return {};\n let typeName = this.typeUrlToName(any.typeUrl);\n let opt = jsonWriteOptions(options);\n let type = opt.typeRegistry?.find(t => t.typeName === typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to convert google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' to JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value = type.fromBinary(any.value, { readUnknownField: false });\n let json = type.internalJsonWrite(value, opt);\n if (typeName.startsWith(\"google.protobuf.\") || !isJsonObject(json))\n json = { value: json };\n json[\"@type\"] = any.typeUrl;\n return json;\n }\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON \" + typeofJsonValue(json) + \".\");\n if (typeof json[\"@type\"] != \"string\" || json[\"@type\"] == \"\")\n return this.create();\n let typeName = this.typeUrlToName(json[\"@type\"]);\n let type = options?.typeRegistry?.find(t => t.typeName == typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value;\n if (typeName.startsWith(\"google.protobuf.\") && json.hasOwnProperty(\"value\"))\n value = type.fromJson(json[\"value\"], options);\n else {\n let copy = Object.assign({}, json);\n delete copy[\"@type\"];\n value = type.fromJson(copy, options);\n }\n if (target === undefined)\n target = this.create();\n target.typeUrl = json[\"@type\"];\n target.value = type.toBinary(value);\n return target;\n }\n typeNameToUrl(name: string): string {\n if (!name.length)\n throw new Error(\"invalid type name: \" + name);\n return \"type.googleapis.com/\" + name;\n }\n typeUrlToName(url: string): string {\n if (!url.length)\n throw new Error(\"invalid type url: \" + url);\n let slash = url.lastIndexOf(\"/\");\n let name = slash > 0 ? url.substring(slash + 1) : url;\n if (!name.length)\n throw new Error(\"invalid type url: \" + url);\n return name;\n }\n create(value?: PartialMessage<Any>): Any {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.typeUrl = \"\";\n message.value = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<Any>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type_url */ 1:\n message.typeUrl = reader.string();\n break;\n case /* bytes value */ 2:\n message.value = reader.bytes();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type_url = 1; */\n if (message.typeUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.typeUrl);\n /* bytes value = 2; */\n if (message.value.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Any\n */\nexport const Any = new Any$Type();\n"],"names":[],"mappings":";;AAkLA;AACA,MAAM,QAAS,SAAQ,WAAgB,CAAA;AACnC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,qBAAqB,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;AACvE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE;AAChD,SAAA,CAAC;IACN;AACA;;;;AAIG;IACH,IAAI,CAAmB,OAAU,EAAE,IAAqB,EAAA;QACpD,OAAO;AACH,YAAA,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;SAC5E;IACL;AACA;;AAEG;AACH,IAAA,MAAM,CAAmB,GAAQ,EAAE,IAAqB,EAAE,OAAoC,EAAA;QAC1F,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;AACzB,YAAA,MAAM,IAAI,KAAK,CAAC,kDAAkD,GAAG,GAAG,CAAC,OAAO,GAAG,OAAO,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;QACrH,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC;IAC9C;AACA;;AAEG;IACH,QAAQ,CAAC,GAAQ,EAAE,IAAgC,EAAA;AAC/C,QAAA,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM;AACnB,YAAA,OAAO,KAAK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AkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,GAAG,GAAG,IAAI,QAAQ;;;;"}
1
+ {"version":3,"file":"any.js","sources":["../../../../src/proto/google/protobuf/any.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"google/protobuf/any.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { isJsonObject } from \"@protobuf-ts/runtime\";\nimport { typeofJsonValue } from \"@protobuf-ts/runtime\";\nimport type { JsonValue } from \"@protobuf-ts/runtime\";\nimport { jsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonReadOptions } from \"@protobuf-ts/runtime\";\nimport type { JsonWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IMessageType } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * `Any` contains an arbitrary serialized protocol buffer message along with a\n * URL that describes the type of the serialized message.\n *\n * Protobuf library provides support to pack/unpack Any values in the form\n * of utility functions or additional generated methods of the Any type.\n *\n * Example 1: Pack and unpack a message in C++.\n *\n * Foo foo = ...;\n * Any any;\n * any.PackFrom(foo);\n * ...\n * if (any.UnpackTo(&foo)) {\n * ...\n * }\n *\n * Example 2: Pack and unpack a message in Java.\n *\n * Foo foo = ...;\n * Any any = Any.pack(foo);\n * ...\n * if (any.is(Foo.class)) {\n * foo = any.unpack(Foo.class);\n * }\n * // or ...\n * if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n * foo = any.unpack(Foo.getDefaultInstance());\n * }\n *\n * Example 3: Pack and unpack a message in Python.\n *\n * foo = Foo(...)\n * any = Any()\n * any.Pack(foo)\n * ...\n * if any.Is(Foo.DESCRIPTOR):\n * any.Unpack(foo)\n * ...\n *\n * Example 4: Pack and unpack a message in Go\n *\n * foo := &pb.Foo{...}\n * any, err := anypb.New(foo)\n * if err != nil {\n * ...\n * }\n * ...\n * foo := &pb.Foo{}\n * if err := any.UnmarshalTo(foo); err != nil {\n * ...\n * }\n *\n * The pack methods provided by protobuf library will by default use\n * 'type.googleapis.com/full.type.name' as the type URL and the unpack\n * methods only use the fully qualified type name after the last '/'\n * in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n * name \"y.z\".\n *\n * JSON\n * ====\n * The JSON representation of an `Any` value uses the regular\n * representation of the deserialized, embedded message, with an\n * additional field `@type` which contains the type URL. Example:\n *\n * package google.profile;\n * message Person {\n * string first_name = 1;\n * string last_name = 2;\n * }\n *\n * {\n * \"@type\": \"type.googleapis.com/google.profile.Person\",\n * \"firstName\": <string>,\n * \"lastName\": <string>\n * }\n *\n * If the embedded message type is well-known and has a custom JSON\n * representation, that representation will be embedded adding a field\n * `value` which holds the custom JSON in addition to the `@type`\n * field. Example (for message [google.protobuf.Duration][]):\n *\n * {\n * \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n * \"value\": \"1.212s\"\n * }\n *\n *\n * @generated from protobuf message google.protobuf.Any\n */\nexport interface Any {\n /**\n * A URL/resource name that uniquely identifies the type of the serialized\n * protocol buffer message. This string must contain at least\n * one \"/\" character. The last segment of the URL's path must represent\n * the fully qualified name of the type (as in\n * `path/google.protobuf.Duration`). The name should be in a canonical form\n * (e.g., leading \".\" is not accepted).\n *\n * In practice, teams usually precompile into the binary all types that they\n * expect it to use in the context of Any. However, for URLs which use the\n * scheme `http`, `https`, or no scheme, one can optionally set up a type\n * server that maps type URLs to message definitions as follows:\n *\n * * If no scheme is provided, `https` is assumed.\n * * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n * value in binary format, or produce an error.\n * * Applications are allowed to cache lookup results based on the\n * URL, or have them precompiled into a binary to avoid any\n * lookup. Therefore, binary compatibility needs to be preserved\n * on changes to types. (Use versioned type names to manage\n * breaking changes.)\n *\n * Note: this functionality is not currently available in the official\n * protobuf release, and it is not used for type URLs beginning with\n * type.googleapis.com. As of May 2023, there are no widely used type server\n * implementations and no plans to implement one.\n *\n * Schemes other than `http`, `https` (or the empty scheme) might be\n * used with implementation specific semantics.\n *\n *\n * @generated from protobuf field: string type_url = 1\n */\n typeUrl: string;\n /**\n * Must be a valid serialized protocol buffer of the above specified type.\n *\n * @generated from protobuf field: bytes value = 2\n */\n value: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Any$Type extends MessageType<Any> {\n constructor() {\n super(\"google.protobuf.Any\", [\n { no: 1, name: \"type_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n /**\n * Pack the message into a new `Any`.\n *\n * Uses 'type.googleapis.com/full.type.name' as the type URL.\n */\n pack<T extends object>(message: T, type: IMessageType<T>): Any {\n return {\n typeUrl: this.typeNameToUrl(type.typeName), value: type.toBinary(message),\n };\n }\n /**\n * Unpack the message from the `Any`.\n */\n unpack<T extends object>(any: Any, type: IMessageType<T>, options?: Partial<BinaryReadOptions>): T {\n if (!this.contains(any, type))\n throw new Error(\"Cannot unpack google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' as \" + type.typeName + \".\");\n return type.fromBinary(any.value, options);\n }\n /**\n * Does the given `Any` contain a packed message of the given type?\n */\n contains(any: Any, type: IMessageType<any> | string): boolean {\n if (!any.typeUrl.length)\n return false;\n let wants = typeof type == \"string\" ? type : type.typeName;\n let has = this.typeUrlToName(any.typeUrl);\n return wants === has;\n }\n /**\n * Convert the message to canonical JSON value.\n *\n * You have to provide the `typeRegistry` option so that the\n * packed message can be converted to JSON.\n *\n * The `typeRegistry` option is also required to read\n * `google.protobuf.Any` from JSON format.\n */\n internalJsonWrite(any: Any, options: JsonWriteOptions): JsonValue {\n if (any.typeUrl === \"\")\n return {};\n let typeName = this.typeUrlToName(any.typeUrl);\n let opt = jsonWriteOptions(options);\n let type = opt.typeRegistry?.find(t => t.typeName === typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to convert google.protobuf.Any with typeUrl '\" + any.typeUrl + \"' to JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value = type.fromBinary(any.value, { readUnknownField: false });\n let json = type.internalJsonWrite(value, opt);\n if (typeName.startsWith(\"google.protobuf.\") || !isJsonObject(json))\n json = { value: json };\n json[\"@type\"] = any.typeUrl;\n return json;\n }\n internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Any): Any {\n if (!isJsonObject(json))\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON \" + typeofJsonValue(json) + \".\");\n if (typeof json[\"@type\"] != \"string\" || json[\"@type\"] == \"\")\n return this.create();\n let typeName = this.typeUrlToName(json[\"@type\"]);\n let type = options?.typeRegistry?.find(t => t.typeName == typeName);\n if (!type)\n throw new globalThis.Error(\"Unable to parse google.protobuf.Any from JSON. The specified type \" + typeName + \" is not available in the type registry.\");\n let value;\n if (typeName.startsWith(\"google.protobuf.\") && json.hasOwnProperty(\"value\"))\n value = type.fromJson(json[\"value\"], options);\n else {\n let copy = Object.assign({}, json);\n delete copy[\"@type\"];\n value = type.fromJson(copy, options);\n }\n if (target === undefined)\n target = this.create();\n target.typeUrl = json[\"@type\"];\n target.value = type.toBinary(value);\n return target;\n }\n typeNameToUrl(name: string): string {\n if (!name.length)\n throw new Error(\"invalid type name: \" + name);\n return \"type.googleapis.com/\" + name;\n }\n typeUrlToName(url: string): string {\n if (!url.length)\n throw new Error(\"invalid type url: \" + url);\n let slash = url.lastIndexOf(\"/\");\n let name = slash > 0 ? url.substring(slash + 1) : url;\n if (!name.length)\n throw new Error(\"invalid type url: \" + url);\n return name;\n }\n create(value?: PartialMessage<Any>): Any {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.typeUrl = \"\";\n message.value = new Uint8Array(0);\n if (value !== undefined)\n reflectionMergePartial<Any>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Any): Any {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string type_url */ 1:\n message.typeUrl = reader.string();\n break;\n case /* bytes value */ 2:\n message.value = reader.bytes();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Any, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string type_url = 1; */\n if (message.typeUrl !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.typeUrl);\n /* bytes value = 2; */\n if (message.value.length)\n writer.tag(2, WireType.LengthDelimited).bytes(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Any\n */\nexport const Any = new Any$Type();\n"],"names":[],"mappings":";;AAsLA;AACA,MAAM,QAAS,SAAQ,WAAgB,CAAA;AACnC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,qBAAqB,EAAE;AACzB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;AACvE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CA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