@dronedeploy/rocos-js-sdk 0.0.1 → 3.0.0-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/IRocosSDK.d.ts +55 -0
- package/IRocosSDK.js +2 -0
- package/README.md +108 -0
- package/RocosSDK.d.ts +138 -0
- package/RocosSDK.js +292 -0
- package/api/StreamRegister.d.ts +13 -0
- package/api/StreamRegister.js +69 -0
- package/api/atoms/StreamHeartbeat.d.ts +27 -0
- package/api/atoms/StreamHeartbeat.js +111 -0
- package/api/streams/caller/CallerStream.d.ts +13 -0
- package/api/streams/caller/CallerStream.js +77 -0
- package/api/streams/caller/CallerStreamAbstract.d.ts +23 -0
- package/api/streams/caller/CallerStreamAbstract.js +87 -0
- package/api/streams/caller/CallerStreamNode.d.ts +13 -0
- package/api/streams/caller/CallerStreamNode.js +115 -0
- package/api/streams/command/CommandStream.d.ts +10 -0
- package/api/streams/command/CommandStream.js +66 -0
- package/api/streams/command/CommandStreamAbstract.d.ts +20 -0
- package/api/streams/command/CommandStreamAbstract.js +63 -0
- package/api/streams/command/CommandStreamNode.d.ts +10 -0
- package/api/streams/command/CommandStreamNode.js +69 -0
- package/api/streams/control/ControlStream.d.ts +12 -0
- package/api/streams/control/ControlStream.js +75 -0
- package/api/streams/control/ControlStreamAbstract.d.ts +25 -0
- package/api/streams/control/ControlStreamAbstract.js +111 -0
- package/api/streams/control/ControlStreamNode.d.ts +12 -0
- package/api/streams/control/ControlStreamNode.js +73 -0
- package/api/streams/fileAccessor/FileAccessorStream.d.ts +8 -0
- package/api/streams/fileAccessor/FileAccessorStream.js +59 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +21 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.js +62 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.d.ts +8 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.js +66 -0
- package/api/streams/search/SearchStream.d.ts +13 -0
- package/api/streams/search/SearchStream.js +96 -0
- package/api/streams/search/SearchStreamAbstract.d.ts +25 -0
- package/api/streams/search/SearchStreamAbstract.js +72 -0
- package/api/streams/search/SearchStreamNode.d.ts +13 -0
- package/api/streams/search/SearchStreamNode.js +118 -0
- package/api/streams/telemetry/TelemetryStream.d.ts +17 -0
- package/api/streams/telemetry/TelemetryStream.js +97 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.d.ts +59 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.js +402 -0
- package/api/streams/telemetry/TelemetryStreamNode.d.ts +21 -0
- package/api/streams/telemetry/TelemetryStreamNode.js +175 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +39 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.js +84 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +29 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +65 -0
- package/constants/api.d.ts +127 -0
- package/constants/api.js +127 -0
- package/constants/auth.d.ts +2 -0
- package/constants/auth.js +2 -0
- package/constants/grpc.d.ts +5 -0
- package/constants/grpc.js +5 -0
- package/constants/identifier.d.ts +6 -0
- package/constants/identifier.js +6 -0
- package/constants/timezones.d.ts +2 -0
- package/constants/timezones.js +427 -0
- package/grpc/conker_pb.client.d.ts +78 -0
- package/grpc/conker_pb.client.js +55 -0
- package/grpc/conker_pb.d.ts +141 -0
- package/grpc/conker_pb.grpc-client.d.ts +81 -0
- package/grpc/conker_pb.grpc-client.js +58 -0
- package/grpc/conker_pb.js +104 -0
- package/grpc/filagree_pb.client.d.ts +68 -0
- package/grpc/filagree_pb.client.js +48 -0
- package/grpc/filagree_pb.d.ts +404 -0
- package/grpc/filagree_pb.grpc-client.d.ts +69 -0
- package/grpc/filagree_pb.grpc-client.js +51 -0
- package/grpc/filagree_pb.js +329 -0
- package/grpc/google/protobuf/descriptor_pb.d.ts +1798 -0
- package/grpc/google/protobuf/descriptor_pb.js +2378 -0
- package/grpc/google/protobuf/empty_pb.d.ts +23 -0
- package/grpc/google/protobuf/empty_pb.js +47 -0
- package/grpc/pigeon_pb.client.d.ts +96 -0
- package/grpc/pigeon_pb.client.js +72 -0
- package/grpc/pigeon_pb.d.ts +207 -0
- package/grpc/pigeon_pb.grpc-client.d.ts +98 -0
- package/grpc/pigeon_pb.grpc-client.js +68 -0
- package/grpc/pigeon_pb.js +144 -0
- package/grpc/rambo.uri.v1_pb.d.ts +73 -0
- package/grpc/rambo.uri.v1_pb.js +48 -0
- package/grpc/rambo.v1_pb.client.d.ts +66 -0
- package/grpc/rambo.v1_pb.client.js +48 -0
- package/grpc/rambo.v1_pb.d.ts +392 -0
- package/grpc/rambo.v1_pb.grpc-client.d.ts +56 -0
- package/grpc/rambo.v1_pb.grpc-client.js +44 -0
- package/grpc/rambo.v1_pb.js +272 -0
- package/grpc/serviette.uri.v1_pb.d.ts +89 -0
- package/grpc/serviette.uri.v1_pb.js +62 -0
- package/grpc/serviette.v1_pb.client.d.ts +225 -0
- package/grpc/serviette.v1_pb.client.js +174 -0
- package/grpc/serviette.v1_pb.d.ts +827 -0
- package/grpc/serviette.v1_pb.grpc-client.d.ts +215 -0
- package/grpc/serviette.v1_pb.grpc-client.js +162 -0
- package/grpc/serviette.v1_pb.js +553 -0
- package/grpc/slowlane_pb.client.d.ts +61 -0
- package/grpc/slowlane_pb.client.js +41 -0
- package/grpc/slowlane_pb.d.ts +303 -0
- package/grpc/slowlane_pb.grpc-client.d.ts +64 -0
- package/grpc/slowlane_pb.grpc-client.js +44 -0
- package/grpc/slowlane_pb.js +185 -0
- package/grpc/teletubby_pb.client.d.ts +145 -0
- package/grpc/teletubby_pb.client.js +104 -0
- package/grpc/teletubby_pb.d.ts +634 -0
- package/grpc/teletubby_pb.grpc-client.d.ts +152 -0
- package/grpc/teletubby_pb.grpc-client.js +100 -0
- package/grpc/teletubby_pb.js +1264 -0
- package/helpers/arrayRemove.d.ts +1 -0
- package/helpers/arrayRemove.js +3 -0
- package/helpers/arrayUnique.d.ts +1 -0
- package/helpers/arrayUnique.js +3 -0
- package/helpers/average.d.ts +1 -0
- package/helpers/average.js +6 -0
- package/helpers/cleanObject.d.ts +1 -0
- package/helpers/cleanObject.js +18 -0
- package/helpers/cleanObject.spec.d.ts +1 -0
- package/helpers/cleanObject.spec.js +53 -0
- package/helpers/enviroment.d.ts +8 -0
- package/helpers/enviroment.js +13 -0
- package/helpers/flattenCallsignsLookup.d.ts +2 -0
- package/helpers/flattenCallsignsLookup.js +6 -0
- package/helpers/flattenObject.d.ts +1 -0
- package/helpers/flattenObject.js +13 -0
- package/helpers/flattenObject.spec.d.ts +1 -0
- package/helpers/flattenObject.spec.js +29 -0
- package/helpers/flattenOneOf.d.ts +67 -0
- package/helpers/flattenOneOf.js +29 -0
- package/helpers/flattenOneOf.spec.d.ts +1 -0
- package/helpers/flattenOneOf.spec.js +157 -0
- package/helpers/formatServiceUrl.d.ts +1 -0
- package/helpers/formatServiceUrl.js +7 -0
- package/helpers/formatServiceUrl.spec.d.ts +1 -0
- package/helpers/formatServiceUrl.spec.js +16 -0
- package/helpers/generateUUID.d.ts +1 -0
- package/helpers/generateUUID.js +4 -0
- package/helpers/getSubscriptionsDifference.d.ts +10 -0
- package/helpers/getSubscriptionsDifference.js +35 -0
- package/helpers/getUniqueConfigKey.d.ts +7 -0
- package/helpers/getUniqueConfigKey.js +14 -0
- package/helpers/getUniqueId.d.ts +9 -0
- package/helpers/getUniqueId.js +11 -0
- package/helpers/getUnixTimeMs.d.ts +1 -0
- package/helpers/getUnixTimeMs.js +4 -0
- package/helpers/index.d.ts +3 -0
- package/helpers/index.js +3 -0
- package/helpers/nanosecondToMillisecond.d.ts +1 -0
- package/helpers/nanosecondToMillisecond.js +12 -0
- package/helpers/nanosecondToMillisecond.spec.d.ts +1 -0
- package/helpers/nanosecondToMillisecond.spec.js +20 -0
- package/helpers/randomString.d.ts +1 -0
- package/helpers/randomString.js +3 -0
- package/helpers/standardDeviation.d.ts +1 -0
- package/helpers/standardDeviation.js +12 -0
- package/helpers/standardDeviation.spec.d.ts +1 -0
- package/helpers/standardDeviation.spec.js +11 -0
- package/helpers/stringToUint8Array.d.ts +1 -0
- package/helpers/stringToUint8Array.js +10 -0
- package/helpers/uint8ArrayToString.d.ts +1 -0
- package/helpers/uint8ArrayToString.js +10 -0
- package/index.d.ts +7 -0
- package/index.js +7 -0
- package/logger/RocosLogger.d.ts +7 -0
- package/logger/RocosLogger.js +37 -0
- package/models/CallsignStatus.d.ts +6 -0
- package/models/CallsignStatus.js +7 -0
- package/models/ExportDataQuery.d.ts +8 -0
- package/models/ExportDataQuery.js +13 -0
- package/models/ExternalProject.d.ts +6 -0
- package/models/ExternalProject.js +2 -0
- package/models/IBaseService.d.ts +4 -0
- package/models/IBaseService.js +1 -0
- package/models/IConfigGroup.d.ts +5 -0
- package/models/IConfigGroup.js +1 -0
- package/models/IDebugLevel.d.ts +2 -0
- package/models/IDebugLevel.js +1 -0
- package/models/IExportDataQuery.d.ts +9 -0
- package/models/IExportDataQuery.js +1 -0
- package/models/IFunctionConfig.d.ts +8 -0
- package/models/IFunctionConfig.js +1 -0
- package/models/IInvitation.d.ts +6 -0
- package/models/IInvitation.js +1 -0
- package/models/IInvitationExists.d.ts +4 -0
- package/models/IInvitationExists.js +1 -0
- package/models/IOperation.d.ts +6 -0
- package/models/IOperation.js +1 -0
- package/models/IPersonalAccessToken.d.ts +16 -0
- package/models/IPersonalAccessToken.js +1 -0
- package/models/IProject.d.ts +4 -0
- package/models/IProject.js +1 -0
- package/models/IProjectApplication.d.ts +6 -0
- package/models/IProjectApplication.js +1 -0
- package/models/IRobot.d.ts +18 -0
- package/models/IRobot.js +1 -0
- package/models/IRobotConfig.d.ts +8 -0
- package/models/IRobotConfig.js +1 -0
- package/models/IRobotPlugin.d.ts +3 -0
- package/models/IRobotPlugin.js +1 -0
- package/models/IRobotSettings.d.ts +28 -0
- package/models/IRobotSettings.js +1 -0
- package/models/IRobotTemplate.d.ts +10 -0
- package/models/IRobotTemplate.js +1 -0
- package/models/IRocosSDKConfig.d.ts +19 -0
- package/models/IRocosSDKConfig.js +1 -0
- package/models/ISource.d.ts +8 -0
- package/models/ISource.js +1 -0
- package/models/IStream.d.ts +9 -0
- package/models/IStream.js +1 -0
- package/models/IStreamConfig.d.ts +9 -0
- package/models/IStreamConfig.js +1 -0
- package/models/IStreamOptions.d.ts +7 -0
- package/models/IStreamOptions.js +1 -0
- package/models/IStreamSource.d.ts +8 -0
- package/models/IStreamSource.js +1 -0
- package/models/ISubscriberStatus.d.ts +5 -0
- package/models/ISubscriberStatus.js +1 -0
- package/models/ITelemetryStreamConfig.d.ts +7 -0
- package/models/ITelemetryStreamConfig.js +1 -0
- package/models/IToken.d.ts +9 -0
- package/models/IToken.js +1 -0
- package/models/IWidget.d.ts +25 -0
- package/models/IWidget.js +1 -0
- package/models/IWidgetLineGroup.d.ts +8 -0
- package/models/IWidgetLineGroup.js +1 -0
- package/models/ResponseLevelEnum.d.ts +10 -0
- package/models/ResponseLevelEnum.js +11 -0
- package/models/Robot.d.ts +20 -0
- package/models/Robot.js +8 -0
- package/models/RobotConfig.d.ts +10 -0
- package/models/RobotConfig.js +5 -0
- package/models/RobotPlugin.d.ts +5 -0
- package/models/RobotPlugin.js +5 -0
- package/models/RobotTemplate.d.ts +12 -0
- package/models/RobotTemplate.js +25 -0
- package/models/RocosError.d.ts +30 -0
- package/models/RocosError.js +39 -0
- package/models/ServiceEnum.d.ts +26 -0
- package/models/ServiceEnum.js +27 -0
- package/models/Stream.d.ts +10 -0
- package/models/Stream.js +11 -0
- package/models/StreamOptions.d.ts +9 -0
- package/models/StreamOptions.js +33 -0
- package/models/StreamSource.d.ts +10 -0
- package/models/StreamSource.js +11 -0
- package/models/SubscriberStatusEnum.d.ts +6 -0
- package/models/SubscriberStatusEnum.js +7 -0
- package/models/Token.d.ts +40 -0
- package/models/Token.js +78 -0
- package/models/Token.spec.d.ts +1 -0
- package/models/Token.spec.js +108 -0
- package/models/Widget.d.ts +27 -0
- package/models/Widget.js +12 -0
- package/models/WidgetLineGroup.d.ts +10 -0
- package/models/WidgetLineGroup.js +5 -0
- package/models/asset-storage/AssetModelItem.d.ts +29 -0
- package/models/asset-storage/AssetModelItem.js +1 -0
- package/models/caller/IRocosCallerMessageChunk.d.ts +10 -0
- package/models/caller/IRocosCallerMessageChunk.js +1 -0
- package/models/caller/IRocosCallerMessageChunks.d.ts +4 -0
- package/models/caller/IRocosCallerMessageChunks.js +1 -0
- package/models/caller/IRocosCallerMessageHeartbeat.d.ts +3 -0
- package/models/caller/IRocosCallerMessageHeartbeat.js +1 -0
- package/models/caller/IRocosCallerMessageResponse.d.ts +10 -0
- package/models/caller/IRocosCallerMessageResponse.js +1 -0
- package/models/caller/IRocosCallerMessageResponseAck.d.ts +16 -0
- package/models/caller/IRocosCallerMessageResponseAck.js +13 -0
- package/models/caller/IRocosCallerMessageResponseResult.d.ts +15 -0
- package/models/caller/IRocosCallerMessageResponseResult.js +12 -0
- package/models/caller/IRocosCallerMessageResponseReturn.d.ts +8 -0
- package/models/caller/IRocosCallerMessageResponseReturn.js +1 -0
- package/models/caller/IRocosCallerMessageResponseUid.d.ts +10 -0
- package/models/caller/IRocosCallerMessageResponseUid.js +7 -0
- package/models/caller/IRocosCallerMessageResponses.d.ts +4 -0
- package/models/caller/IRocosCallerMessageResponses.js +1 -0
- package/models/caller/RocosCallerResultStatus.d.ts +11 -0
- package/models/caller/RocosCallerResultStatus.js +12 -0
- package/models/caller/RocosResponseLevel.d.ts +6 -0
- package/models/caller/RocosResponseLevel.js +7 -0
- package/models/caller/index.d.ts +10 -0
- package/models/caller/index.js +10 -0
- package/models/callsigns/CallsignsEnums.d.ts +13 -0
- package/models/callsigns/CallsignsEnums.js +17 -0
- package/models/callsigns/CallsignsLookup.d.ts +8 -0
- package/models/callsigns/CallsignsLookup.js +28 -0
- package/models/callsigns/CallsignsQuery.d.ts +9 -0
- package/models/callsigns/CallsignsQuery.js +14 -0
- package/models/callsigns/CallsignsQueryPredicate.d.ts +9 -0
- package/models/callsigns/CallsignsQueryPredicate.js +15 -0
- package/models/command/IRocosCommandMessageHeartbeat.d.ts +1 -0
- package/models/command/IRocosCommandMessageHeartbeat.js +1 -0
- package/models/command/IRocosCommandMessageResponse.d.ts +55 -0
- package/models/command/IRocosCommandMessageResponse.js +29 -0
- package/models/command/RocosCommandResultStatus.d.ts +11 -0
- package/models/command/RocosCommandResultStatus.js +12 -0
- package/models/command/index.d.ts +4 -0
- package/models/command/index.js +4 -0
- package/models/file/FileEnums.d.ts +30 -0
- package/models/file/FileEnums.js +33 -0
- package/models/index.d.ts +75 -0
- package/models/index.js +75 -0
- package/models/integrations/Overlay.d.ts +49 -0
- package/models/integrations/Overlay.js +1 -0
- package/models/integrations/Plan.d.ts +324 -0
- package/models/integrations/Plan.js +1 -0
- package/models/maps/Map.d.ts +11 -0
- package/models/maps/Map.js +1 -0
- package/models/message/IRocosCallerMessage.d.ts +8 -0
- package/models/message/IRocosCallerMessage.js +1 -0
- package/models/message/IRocosChangeMessage.d.ts +6 -0
- package/models/message/IRocosChangeMessage.js +1 -0
- package/models/message/IRocosCommandMessage.d.ts +6 -0
- package/models/message/IRocosCommandMessage.js +1 -0
- package/models/message/IRocosControlMessage.d.ts +7 -0
- package/models/message/IRocosControlMessage.js +1 -0
- package/models/message/IRocosOpResultMessage.d.ts +6 -0
- package/models/message/IRocosOpResultMessage.js +1 -0
- package/models/message/IRocosSearchMessage.d.ts +5 -0
- package/models/message/IRocosSearchMessage.js +1 -0
- package/models/message/IRocosSearchRowMessage.d.ts +9 -0
- package/models/message/IRocosSearchRowMessage.js +1 -0
- package/models/message/IRocosSearchStatusMessage.d.ts +4 -0
- package/models/message/IRocosSearchStatusMessage.js +1 -0
- package/models/message/IRocosTelemetryMessage.d.ts +23 -0
- package/models/message/IRocosTelemetryMessage.js +1 -0
- package/models/message/IStreamStatusMessage.d.ts +5 -0
- package/models/message/IStreamStatusMessage.js +1 -0
- package/models/message/RocosCallerMessage.d.ts +10 -0
- package/models/message/RocosCallerMessage.js +32 -0
- package/models/message/RocosCommandMessage.d.ts +9 -0
- package/models/message/RocosCommandMessage.js +13 -0
- package/models/message/RocosControlMessage.d.ts +11 -0
- package/models/message/RocosControlMessage.js +14 -0
- package/models/message/RocosOpResultMessage.d.ts +10 -0
- package/models/message/RocosOpResultMessage.js +18 -0
- package/models/message/RocosSearchMessage.d.ts +9 -0
- package/models/message/RocosSearchMessage.js +24 -0
- package/models/message/RocosSearchRowMessage.d.ts +13 -0
- package/models/message/RocosSearchRowMessage.js +16 -0
- package/models/message/RocosTelemetryMessage.d.ts +10 -0
- package/models/message/RocosTelemetryMessage.js +63 -0
- package/models/message/index.d.ts +17 -0
- package/models/message/index.js +17 -0
- package/models/params/ICallerParams.d.ts +16 -0
- package/models/params/ICallerParams.js +1 -0
- package/models/params/ICommandParams.d.ts +9 -0
- package/models/params/ICommandParams.js +1 -0
- package/models/params/IControlParams.d.ts +8 -0
- package/models/params/IControlParams.js +1 -0
- package/models/params/IFileAccessorParams.d.ts +11 -0
- package/models/params/IFileAccessorParams.js +1 -0
- package/models/params/ISearchParams.d.ts +10 -0
- package/models/params/ISearchParams.js +1 -0
- package/models/params/ITelemetryParams.d.ts +18 -0
- package/models/params/ITelemetryParams.js +1 -0
- package/models/params/IWebRTCSignallingParams.d.ts +21 -0
- package/models/params/IWebRTCSignallingParams.js +1 -0
- package/models/projects/ProjectUser.d.ts +6 -0
- package/models/projects/ProjectUser.js +1 -0
- package/models/schedule/IScheduleAction.d.ts +13 -0
- package/models/schedule/IScheduleAction.js +6 -0
- package/models/schedule/IScheduleInfo.d.ts +11 -0
- package/models/schedule/IScheduleInfo.js +1 -0
- package/models/schedule/IScheduleJob.d.ts +12 -0
- package/models/schedule/IScheduleJob.js +1 -0
- package/models/search/SearchQueryFilter.d.ts +5 -0
- package/models/search/SearchQueryFilter.js +5 -0
- package/models/search/SearchStreamQuery.d.ts +15 -0
- package/models/search/SearchStreamQuery.js +6 -0
- package/models/stream/IBaseStream.d.ts +8 -0
- package/models/stream/IBaseStream.js +1 -0
- package/models/stream/ICallerStream.d.ts +8 -0
- package/models/stream/ICallerStream.js +1 -0
- package/models/stream/ICommandStream.d.ts +7 -0
- package/models/stream/ICommandStream.js +1 -0
- package/models/stream/IControlStream.d.ts +9 -0
- package/models/stream/IControlStream.js +1 -0
- package/models/stream/IFileAccessorStream.d.ts +9 -0
- package/models/stream/IFileAccessorStream.js +1 -0
- package/models/stream/ISearchStream.d.ts +11 -0
- package/models/stream/ISearchStream.js +1 -0
- package/models/stream/ITelemetryStream.d.ts +10 -0
- package/models/stream/ITelemetryStream.js +1 -0
- package/models/stream/IWebRTCSignallingStream.d.ts +76 -0
- package/models/stream/IWebRTCSignallingStream.js +1 -0
- package/models/types.d.ts +5 -0
- package/models/types.js +1 -0
- package/node/RocosSDKNode.d.ts +42 -0
- package/node/RocosSDKNode.js +143 -0
- package/node/index.d.ts +7 -0
- package/node/index.js +7 -0
- package/package.json +23 -7
- package/services/AssetStorageService.d.ts +106 -0
- package/services/AssetStorageService.js +169 -0
- package/services/AuthService.d.ts +93 -0
- package/services/AuthService.js +235 -0
- package/services/AuthService.spec.d.ts +1 -0
- package/services/AuthService.spec.js +163 -0
- package/services/BaseServiceAbstract.d.ts +36 -0
- package/services/BaseServiceAbstract.js +101 -0
- package/services/BaseStreamService.d.ts +18 -0
- package/services/BaseStreamService.js +47 -0
- package/services/CallerService.d.ts +10 -0
- package/services/CallerService.js +53 -0
- package/services/CallerServiceNode.d.ts +6 -0
- package/services/CallerServiceNode.js +7 -0
- package/services/CommandService.d.ts +9 -0
- package/services/CommandService.js +38 -0
- package/services/CommandServiceNode.d.ts +6 -0
- package/services/CommandServiceNode.js +7 -0
- package/services/ConfigGroupService.d.ts +89 -0
- package/services/ConfigGroupService.js +153 -0
- package/services/ControlService.d.ts +11 -0
- package/services/ControlService.js +57 -0
- package/services/ControlServiceNode.d.ts +6 -0
- package/services/ControlServiceNode.js +7 -0
- package/services/DashboardService.d.ts +97 -0
- package/services/DashboardService.js +142 -0
- package/services/EventService.d.ts +53 -0
- package/services/EventService.js +85 -0
- package/services/FileAccessorService.d.ts +11 -0
- package/services/FileAccessorService.js +37 -0
- package/services/FileAccessorServiceNode.d.ts +6 -0
- package/services/FileAccessorServiceNode.js +7 -0
- package/services/FunctionService.d.ts +68 -0
- package/services/FunctionService.js +99 -0
- package/services/IntegrationService.d.ts +48 -0
- package/services/IntegrationService.js +72 -0
- package/services/MapService.d.ts +107 -0
- package/services/MapService.js +149 -0
- package/services/PlatformTimeService.d.ts +35 -0
- package/services/PlatformTimeService.js +156 -0
- package/services/PlatformTimeService.spec.d.ts +1 -0
- package/services/PlatformTimeService.spec.js +180 -0
- package/services/ProfileService.d.ts +244 -0
- package/services/ProfileService.js +362 -0
- package/services/ProjectService.d.ts +110 -0
- package/services/ProjectService.js +160 -0
- package/services/RobotService.d.ts +278 -0
- package/services/RobotService.js +460 -0
- package/services/ScheduleService.d.ts +22 -0
- package/services/ScheduleService.js +36 -0
- package/services/SearchService.d.ts +12 -0
- package/services/SearchService.js +58 -0
- package/services/SearchServiceNode.d.ts +6 -0
- package/services/SearchServiceNode.js +7 -0
- package/services/SpotProvisioningService.d.ts +14 -0
- package/services/SpotProvisioningService.js +43 -0
- package/services/SpotProvisioningServiceNode.d.ts +15 -0
- package/services/SpotProvisioningServiceNode.js +43 -0
- package/services/StreamService.d.ts +98 -0
- package/services/StreamService.js +142 -0
- package/services/TelemetryService.d.ts +40 -0
- package/services/TelemetryService.js +142 -0
- package/services/TelemetryService.spec.d.ts +1 -0
- package/services/TelemetryService.spec.js +37 -0
- package/services/TelemetryServiceNode.d.ts +6 -0
- package/services/TelemetryServiceNode.js +7 -0
- package/services/TimeSyncerService.d.ts +13 -0
- package/services/TimeSyncerService.js +23 -0
- package/services/UserService.d.ts +200 -0
- package/services/UserService.js +315 -0
- package/services/WebRTCSignallingService.d.ts +22 -0
- package/services/WebRTCSignallingService.js +78 -0
- package/services/WorkflowService.d.ts +71 -0
- package/services/WorkflowService.js +118 -0
- package/services/index.d.ts +26 -0
- package/services/index.js +26 -0
- package/store/RocosStore.d.ts +31 -0
- package/store/RocosStore.js +47 -0
@@ -0,0 +1,2378 @@
|
|
1
|
+
import { WireType } from "@protobuf-ts/runtime";
|
2
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
3
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
4
|
+
import { MESSAGE_TYPE } from "@protobuf-ts/runtime";
|
5
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
6
|
+
/**
|
7
|
+
* @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type
|
8
|
+
*/
|
9
|
+
export var FieldDescriptorProto_Type;
|
10
|
+
(function (FieldDescriptorProto_Type) {
|
11
|
+
/**
|
12
|
+
* @generated synthetic value - protobuf-ts requires all enums to have a 0 value
|
13
|
+
*/
|
14
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
|
15
|
+
/**
|
16
|
+
* 0 is reserved for errors.
|
17
|
+
* Order is weird for historical reasons.
|
18
|
+
*
|
19
|
+
* @generated from protobuf enum value: TYPE_DOUBLE = 1;
|
20
|
+
*/
|
21
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE";
|
22
|
+
/**
|
23
|
+
* @generated from protobuf enum value: TYPE_FLOAT = 2;
|
24
|
+
*/
|
25
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT";
|
26
|
+
/**
|
27
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
28
|
+
* negative values are likely.
|
29
|
+
*
|
30
|
+
* @generated from protobuf enum value: TYPE_INT64 = 3;
|
31
|
+
*/
|
32
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64";
|
33
|
+
/**
|
34
|
+
* @generated from protobuf enum value: TYPE_UINT64 = 4;
|
35
|
+
*/
|
36
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64";
|
37
|
+
/**
|
38
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
39
|
+
* negative values are likely.
|
40
|
+
*
|
41
|
+
* @generated from protobuf enum value: TYPE_INT32 = 5;
|
42
|
+
*/
|
43
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32";
|
44
|
+
/**
|
45
|
+
* @generated from protobuf enum value: TYPE_FIXED64 = 6;
|
46
|
+
*/
|
47
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64";
|
48
|
+
/**
|
49
|
+
* @generated from protobuf enum value: TYPE_FIXED32 = 7;
|
50
|
+
*/
|
51
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32";
|
52
|
+
/**
|
53
|
+
* @generated from protobuf enum value: TYPE_BOOL = 8;
|
54
|
+
*/
|
55
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL";
|
56
|
+
/**
|
57
|
+
* @generated from protobuf enum value: TYPE_STRING = 9;
|
58
|
+
*/
|
59
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING";
|
60
|
+
/**
|
61
|
+
* Tag-delimited aggregate.
|
62
|
+
* Group type is deprecated and not supported in proto3. However, Proto3
|
63
|
+
* implementations should still be able to parse the group wire format and
|
64
|
+
* treat group fields as unknown fields.
|
65
|
+
*
|
66
|
+
* @generated from protobuf enum value: TYPE_GROUP = 10;
|
67
|
+
*/
|
68
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP";
|
69
|
+
/**
|
70
|
+
* Length-delimited aggregate.
|
71
|
+
*
|
72
|
+
* @generated from protobuf enum value: TYPE_MESSAGE = 11;
|
73
|
+
*/
|
74
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE";
|
75
|
+
/**
|
76
|
+
* New in version 2.
|
77
|
+
*
|
78
|
+
* @generated from protobuf enum value: TYPE_BYTES = 12;
|
79
|
+
*/
|
80
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES";
|
81
|
+
/**
|
82
|
+
* @generated from protobuf enum value: TYPE_UINT32 = 13;
|
83
|
+
*/
|
84
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32";
|
85
|
+
/**
|
86
|
+
* @generated from protobuf enum value: TYPE_ENUM = 14;
|
87
|
+
*/
|
88
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM";
|
89
|
+
/**
|
90
|
+
* @generated from protobuf enum value: TYPE_SFIXED32 = 15;
|
91
|
+
*/
|
92
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32";
|
93
|
+
/**
|
94
|
+
* @generated from protobuf enum value: TYPE_SFIXED64 = 16;
|
95
|
+
*/
|
96
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64";
|
97
|
+
/**
|
98
|
+
* Uses ZigZag encoding.
|
99
|
+
*
|
100
|
+
* @generated from protobuf enum value: TYPE_SINT32 = 17;
|
101
|
+
*/
|
102
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32";
|
103
|
+
/**
|
104
|
+
* Uses ZigZag encoding.
|
105
|
+
*
|
106
|
+
* @generated from protobuf enum value: TYPE_SINT64 = 18;
|
107
|
+
*/
|
108
|
+
FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64";
|
109
|
+
})(FieldDescriptorProto_Type || (FieldDescriptorProto_Type = {}));
|
110
|
+
/**
|
111
|
+
* @generated from protobuf enum google.protobuf.FieldDescriptorProto.Label
|
112
|
+
*/
|
113
|
+
export var FieldDescriptorProto_Label;
|
114
|
+
(function (FieldDescriptorProto_Label) {
|
115
|
+
/**
|
116
|
+
* @generated synthetic value - protobuf-ts requires all enums to have a 0 value
|
117
|
+
*/
|
118
|
+
FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
|
119
|
+
/**
|
120
|
+
* 0 is reserved for errors
|
121
|
+
*
|
122
|
+
* @generated from protobuf enum value: LABEL_OPTIONAL = 1;
|
123
|
+
*/
|
124
|
+
FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL";
|
125
|
+
/**
|
126
|
+
* @generated from protobuf enum value: LABEL_REQUIRED = 2;
|
127
|
+
*/
|
128
|
+
FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED";
|
129
|
+
/**
|
130
|
+
* @generated from protobuf enum value: LABEL_REPEATED = 3;
|
131
|
+
*/
|
132
|
+
FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED";
|
133
|
+
})(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {}));
|
134
|
+
/**
|
135
|
+
* Generated classes can be optimized for speed or code size.
|
136
|
+
*
|
137
|
+
* @generated from protobuf enum google.protobuf.FileOptions.OptimizeMode
|
138
|
+
*/
|
139
|
+
export var FileOptions_OptimizeMode;
|
140
|
+
(function (FileOptions_OptimizeMode) {
|
141
|
+
/**
|
142
|
+
* @generated synthetic value - protobuf-ts requires all enums to have a 0 value
|
143
|
+
*/
|
144
|
+
FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNSPECIFIED$"] = 0] = "UNSPECIFIED$";
|
145
|
+
/**
|
146
|
+
* Generate complete code for parsing, serialization,
|
147
|
+
*
|
148
|
+
* @generated from protobuf enum value: SPEED = 1;
|
149
|
+
*/
|
150
|
+
FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
|
151
|
+
/**
|
152
|
+
* etc.
|
153
|
+
*
|
154
|
+
* Use ReflectionOps to implement these methods.
|
155
|
+
*
|
156
|
+
* @generated from protobuf enum value: CODE_SIZE = 2;
|
157
|
+
*/
|
158
|
+
FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
|
159
|
+
/**
|
160
|
+
* Generate code using MessageLite and the lite runtime.
|
161
|
+
*
|
162
|
+
* @generated from protobuf enum value: LITE_RUNTIME = 3;
|
163
|
+
*/
|
164
|
+
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
165
|
+
})(FileOptions_OptimizeMode || (FileOptions_OptimizeMode = {}));
|
166
|
+
/**
|
167
|
+
* @generated from protobuf enum google.protobuf.FieldOptions.CType
|
168
|
+
*/
|
169
|
+
export var FieldOptions_CType;
|
170
|
+
(function (FieldOptions_CType) {
|
171
|
+
/**
|
172
|
+
* Default mode.
|
173
|
+
*
|
174
|
+
* @generated from protobuf enum value: STRING = 0;
|
175
|
+
*/
|
176
|
+
FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
|
177
|
+
/**
|
178
|
+
* @generated from protobuf enum value: CORD = 1;
|
179
|
+
*/
|
180
|
+
FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
|
181
|
+
/**
|
182
|
+
* @generated from protobuf enum value: STRING_PIECE = 2;
|
183
|
+
*/
|
184
|
+
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
185
|
+
})(FieldOptions_CType || (FieldOptions_CType = {}));
|
186
|
+
/**
|
187
|
+
* @generated from protobuf enum google.protobuf.FieldOptions.JSType
|
188
|
+
*/
|
189
|
+
export var FieldOptions_JSType;
|
190
|
+
(function (FieldOptions_JSType) {
|
191
|
+
/**
|
192
|
+
* Use the default type.
|
193
|
+
*
|
194
|
+
* @generated from protobuf enum value: JS_NORMAL = 0;
|
195
|
+
*/
|
196
|
+
FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
|
197
|
+
/**
|
198
|
+
* Use JavaScript strings.
|
199
|
+
*
|
200
|
+
* @generated from protobuf enum value: JS_STRING = 1;
|
201
|
+
*/
|
202
|
+
FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
|
203
|
+
/**
|
204
|
+
* Use JavaScript numbers.
|
205
|
+
*
|
206
|
+
* @generated from protobuf enum value: JS_NUMBER = 2;
|
207
|
+
*/
|
208
|
+
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
209
|
+
})(FieldOptions_JSType || (FieldOptions_JSType = {}));
|
210
|
+
/**
|
211
|
+
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
212
|
+
* Note: as of January 2023, support for this is in progress and does not yet
|
213
|
+
* have an effect (b/264593489).
|
214
|
+
*
|
215
|
+
* @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
|
216
|
+
*/
|
217
|
+
export var FieldOptions_OptionRetention;
|
218
|
+
(function (FieldOptions_OptionRetention) {
|
219
|
+
/**
|
220
|
+
* @generated from protobuf enum value: RETENTION_UNKNOWN = 0;
|
221
|
+
*/
|
222
|
+
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN";
|
223
|
+
/**
|
224
|
+
* @generated from protobuf enum value: RETENTION_RUNTIME = 1;
|
225
|
+
*/
|
226
|
+
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME";
|
227
|
+
/**
|
228
|
+
* @generated from protobuf enum value: RETENTION_SOURCE = 2;
|
229
|
+
*/
|
230
|
+
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
|
231
|
+
})(FieldOptions_OptionRetention || (FieldOptions_OptionRetention = {}));
|
232
|
+
/**
|
233
|
+
* This indicates the types of entities that the field may apply to when used
|
234
|
+
* as an option. If it is unset, then the field may be freely used as an
|
235
|
+
* option on any kind of entity. Note: as of January 2023, support for this is
|
236
|
+
* in progress and does not yet have an effect (b/264593489).
|
237
|
+
*
|
238
|
+
* @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
|
239
|
+
*/
|
240
|
+
export var FieldOptions_OptionTargetType;
|
241
|
+
(function (FieldOptions_OptionTargetType) {
|
242
|
+
/**
|
243
|
+
* @generated from protobuf enum value: TARGET_TYPE_UNKNOWN = 0;
|
244
|
+
*/
|
245
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN";
|
246
|
+
/**
|
247
|
+
* @generated from protobuf enum value: TARGET_TYPE_FILE = 1;
|
248
|
+
*/
|
249
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE";
|
250
|
+
/**
|
251
|
+
* @generated from protobuf enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
|
252
|
+
*/
|
253
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE";
|
254
|
+
/**
|
255
|
+
* @generated from protobuf enum value: TARGET_TYPE_MESSAGE = 3;
|
256
|
+
*/
|
257
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE";
|
258
|
+
/**
|
259
|
+
* @generated from protobuf enum value: TARGET_TYPE_FIELD = 4;
|
260
|
+
*/
|
261
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD";
|
262
|
+
/**
|
263
|
+
* @generated from protobuf enum value: TARGET_TYPE_ONEOF = 5;
|
264
|
+
*/
|
265
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF";
|
266
|
+
/**
|
267
|
+
* @generated from protobuf enum value: TARGET_TYPE_ENUM = 6;
|
268
|
+
*/
|
269
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM";
|
270
|
+
/**
|
271
|
+
* @generated from protobuf enum value: TARGET_TYPE_ENUM_ENTRY = 7;
|
272
|
+
*/
|
273
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY";
|
274
|
+
/**
|
275
|
+
* @generated from protobuf enum value: TARGET_TYPE_SERVICE = 8;
|
276
|
+
*/
|
277
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE";
|
278
|
+
/**
|
279
|
+
* @generated from protobuf enum value: TARGET_TYPE_METHOD = 9;
|
280
|
+
*/
|
281
|
+
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
|
282
|
+
})(FieldOptions_OptionTargetType || (FieldOptions_OptionTargetType = {}));
|
283
|
+
/**
|
284
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
285
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
286
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
287
|
+
*
|
288
|
+
* @generated from protobuf enum google.protobuf.MethodOptions.IdempotencyLevel
|
289
|
+
*/
|
290
|
+
export var MethodOptions_IdempotencyLevel;
|
291
|
+
(function (MethodOptions_IdempotencyLevel) {
|
292
|
+
/**
|
293
|
+
* @generated from protobuf enum value: IDEMPOTENCY_UNKNOWN = 0;
|
294
|
+
*/
|
295
|
+
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
|
296
|
+
/**
|
297
|
+
* implies idempotent
|
298
|
+
*
|
299
|
+
* @generated from protobuf enum value: NO_SIDE_EFFECTS = 1;
|
300
|
+
*/
|
301
|
+
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
|
302
|
+
/**
|
303
|
+
* idempotent, but may have side effects
|
304
|
+
*
|
305
|
+
* @generated from protobuf enum value: IDEMPOTENT = 2;
|
306
|
+
*/
|
307
|
+
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
308
|
+
})(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {}));
|
309
|
+
/**
|
310
|
+
* Represents the identified object's effect on the element in the original
|
311
|
+
* .proto file.
|
312
|
+
*
|
313
|
+
* @generated from protobuf enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
|
314
|
+
*/
|
315
|
+
export var GeneratedCodeInfo_Annotation_Semantic;
|
316
|
+
(function (GeneratedCodeInfo_Annotation_Semantic) {
|
317
|
+
/**
|
318
|
+
* There is no effect or the effect is indescribable.
|
319
|
+
*
|
320
|
+
* @generated from protobuf enum value: NONE = 0;
|
321
|
+
*/
|
322
|
+
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE";
|
323
|
+
/**
|
324
|
+
* The element is set or otherwise mutated.
|
325
|
+
*
|
326
|
+
* @generated from protobuf enum value: SET = 1;
|
327
|
+
*/
|
328
|
+
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET";
|
329
|
+
/**
|
330
|
+
* An alias to the element is returned.
|
331
|
+
*
|
332
|
+
* @generated from protobuf enum value: ALIAS = 2;
|
333
|
+
*/
|
334
|
+
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
|
335
|
+
})(GeneratedCodeInfo_Annotation_Semantic || (GeneratedCodeInfo_Annotation_Semantic = {}));
|
336
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
337
|
+
class FileDescriptorSet$Type extends MessageType {
|
338
|
+
constructor() {
|
339
|
+
super("google.protobuf.FileDescriptorSet", [
|
340
|
+
{ no: 1, name: "file", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FileDescriptorProto }
|
341
|
+
]);
|
342
|
+
}
|
343
|
+
create(value) {
|
344
|
+
const message = { file: [] };
|
345
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
346
|
+
if (value !== undefined)
|
347
|
+
reflectionMergePartial(this, message, value);
|
348
|
+
return message;
|
349
|
+
}
|
350
|
+
internalBinaryRead(reader, length, options, target) {
|
351
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
352
|
+
while (reader.pos < end) {
|
353
|
+
let [fieldNo, wireType] = reader.tag();
|
354
|
+
switch (fieldNo) {
|
355
|
+
case /* repeated google.protobuf.FileDescriptorProto file */ 1:
|
356
|
+
message.file.push(FileDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
357
|
+
break;
|
358
|
+
default:
|
359
|
+
let u = options.readUnknownField;
|
360
|
+
if (u === "throw")
|
361
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
362
|
+
let d = reader.skip(wireType);
|
363
|
+
if (u !== false)
|
364
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
365
|
+
}
|
366
|
+
}
|
367
|
+
return message;
|
368
|
+
}
|
369
|
+
internalBinaryWrite(message, writer, options) {
|
370
|
+
/* repeated google.protobuf.FileDescriptorProto file = 1; */
|
371
|
+
for (let i = 0; i < message.file.length; i++)
|
372
|
+
FileDescriptorProto.internalBinaryWrite(message.file[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
373
|
+
let u = options.writeUnknownFields;
|
374
|
+
if (u !== false)
|
375
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
376
|
+
return writer;
|
377
|
+
}
|
378
|
+
}
|
379
|
+
/**
|
380
|
+
* @generated MessageType for protobuf message google.protobuf.FileDescriptorSet
|
381
|
+
*/
|
382
|
+
export const FileDescriptorSet = new FileDescriptorSet$Type();
|
383
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
384
|
+
class FileDescriptorProto$Type extends MessageType {
|
385
|
+
constructor() {
|
386
|
+
super("google.protobuf.FileDescriptorProto", [
|
387
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
388
|
+
{ no: 2, name: "package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
389
|
+
{ no: 3, name: "dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
390
|
+
{ no: 10, name: "public_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
|
391
|
+
{ no: 11, name: "weak_dependency", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 5 /*ScalarType.INT32*/ },
|
392
|
+
{ no: 4, name: "message_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
|
393
|
+
{ no: 5, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
|
394
|
+
{ no: 6, name: "service", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ServiceDescriptorProto },
|
395
|
+
{ no: 7, name: "extension", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldDescriptorProto },
|
396
|
+
{ no: 8, name: "options", kind: "message", T: () => FileOptions },
|
397
|
+
{ no: 9, name: "source_code_info", kind: "message", T: () => SourceCodeInfo },
|
398
|
+
{ no: 12, name: "syntax", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
399
|
+
{ no: 13, name: "edition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
400
|
+
]);
|
401
|
+
}
|
402
|
+
create(value) {
|
403
|
+
const message = { dependency: [], publicDependency: [], weakDependency: [], messageType: [], enumType: [], service: [], extension: [] };
|
404
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
405
|
+
if (value !== undefined)
|
406
|
+
reflectionMergePartial(this, message, value);
|
407
|
+
return message;
|
408
|
+
}
|
409
|
+
internalBinaryRead(reader, length, options, target) {
|
410
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
411
|
+
while (reader.pos < end) {
|
412
|
+
let [fieldNo, wireType] = reader.tag();
|
413
|
+
switch (fieldNo) {
|
414
|
+
case /* optional string name */ 1:
|
415
|
+
message.name = reader.string();
|
416
|
+
break;
|
417
|
+
case /* optional string package */ 2:
|
418
|
+
message.package = reader.string();
|
419
|
+
break;
|
420
|
+
case /* repeated string dependency */ 3:
|
421
|
+
message.dependency.push(reader.string());
|
422
|
+
break;
|
423
|
+
case /* repeated int32 public_dependency */ 10:
|
424
|
+
if (wireType === WireType.LengthDelimited)
|
425
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
426
|
+
message.publicDependency.push(reader.int32());
|
427
|
+
else
|
428
|
+
message.publicDependency.push(reader.int32());
|
429
|
+
break;
|
430
|
+
case /* repeated int32 weak_dependency */ 11:
|
431
|
+
if (wireType === WireType.LengthDelimited)
|
432
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
433
|
+
message.weakDependency.push(reader.int32());
|
434
|
+
else
|
435
|
+
message.weakDependency.push(reader.int32());
|
436
|
+
break;
|
437
|
+
case /* repeated google.protobuf.DescriptorProto message_type */ 4:
|
438
|
+
message.messageType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
439
|
+
break;
|
440
|
+
case /* repeated google.protobuf.EnumDescriptorProto enum_type */ 5:
|
441
|
+
message.enumType.push(EnumDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
442
|
+
break;
|
443
|
+
case /* repeated google.protobuf.ServiceDescriptorProto service */ 6:
|
444
|
+
message.service.push(ServiceDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
445
|
+
break;
|
446
|
+
case /* repeated google.protobuf.FieldDescriptorProto extension */ 7:
|
447
|
+
message.extension.push(FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
448
|
+
break;
|
449
|
+
case /* optional google.protobuf.FileOptions options */ 8:
|
450
|
+
message.options = FileOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
451
|
+
break;
|
452
|
+
case /* optional google.protobuf.SourceCodeInfo source_code_info */ 9:
|
453
|
+
message.sourceCodeInfo = SourceCodeInfo.internalBinaryRead(reader, reader.uint32(), options, message.sourceCodeInfo);
|
454
|
+
break;
|
455
|
+
case /* optional string syntax */ 12:
|
456
|
+
message.syntax = reader.string();
|
457
|
+
break;
|
458
|
+
case /* optional string edition */ 13:
|
459
|
+
message.edition = reader.string();
|
460
|
+
break;
|
461
|
+
default:
|
462
|
+
let u = options.readUnknownField;
|
463
|
+
if (u === "throw")
|
464
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
465
|
+
let d = reader.skip(wireType);
|
466
|
+
if (u !== false)
|
467
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
468
|
+
}
|
469
|
+
}
|
470
|
+
return message;
|
471
|
+
}
|
472
|
+
internalBinaryWrite(message, writer, options) {
|
473
|
+
/* optional string name = 1; */
|
474
|
+
if (message.name !== undefined)
|
475
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
476
|
+
/* optional string package = 2; */
|
477
|
+
if (message.package !== undefined)
|
478
|
+
writer.tag(2, WireType.LengthDelimited).string(message.package);
|
479
|
+
/* repeated string dependency = 3; */
|
480
|
+
for (let i = 0; i < message.dependency.length; i++)
|
481
|
+
writer.tag(3, WireType.LengthDelimited).string(message.dependency[i]);
|
482
|
+
/* repeated int32 public_dependency = 10; */
|
483
|
+
for (let i = 0; i < message.publicDependency.length; i++)
|
484
|
+
writer.tag(10, WireType.Varint).int32(message.publicDependency[i]);
|
485
|
+
/* repeated int32 weak_dependency = 11; */
|
486
|
+
for (let i = 0; i < message.weakDependency.length; i++)
|
487
|
+
writer.tag(11, WireType.Varint).int32(message.weakDependency[i]);
|
488
|
+
/* repeated google.protobuf.DescriptorProto message_type = 4; */
|
489
|
+
for (let i = 0; i < message.messageType.length; i++)
|
490
|
+
DescriptorProto.internalBinaryWrite(message.messageType[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
491
|
+
/* repeated google.protobuf.EnumDescriptorProto enum_type = 5; */
|
492
|
+
for (let i = 0; i < message.enumType.length; i++)
|
493
|
+
EnumDescriptorProto.internalBinaryWrite(message.enumType[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
494
|
+
/* repeated google.protobuf.ServiceDescriptorProto service = 6; */
|
495
|
+
for (let i = 0; i < message.service.length; i++)
|
496
|
+
ServiceDescriptorProto.internalBinaryWrite(message.service[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
497
|
+
/* repeated google.protobuf.FieldDescriptorProto extension = 7; */
|
498
|
+
for (let i = 0; i < message.extension.length; i++)
|
499
|
+
FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
500
|
+
/* optional google.protobuf.FileOptions options = 8; */
|
501
|
+
if (message.options)
|
502
|
+
FileOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
503
|
+
/* optional google.protobuf.SourceCodeInfo source_code_info = 9; */
|
504
|
+
if (message.sourceCodeInfo)
|
505
|
+
SourceCodeInfo.internalBinaryWrite(message.sourceCodeInfo, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
506
|
+
/* optional string syntax = 12; */
|
507
|
+
if (message.syntax !== undefined)
|
508
|
+
writer.tag(12, WireType.LengthDelimited).string(message.syntax);
|
509
|
+
/* optional string edition = 13; */
|
510
|
+
if (message.edition !== undefined)
|
511
|
+
writer.tag(13, WireType.LengthDelimited).string(message.edition);
|
512
|
+
let u = options.writeUnknownFields;
|
513
|
+
if (u !== false)
|
514
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
515
|
+
return writer;
|
516
|
+
}
|
517
|
+
}
|
518
|
+
/**
|
519
|
+
* @generated MessageType for protobuf message google.protobuf.FileDescriptorProto
|
520
|
+
*/
|
521
|
+
export const FileDescriptorProto = new FileDescriptorProto$Type();
|
522
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
523
|
+
class DescriptorProto$Type extends MessageType {
|
524
|
+
constructor() {
|
525
|
+
super("google.protobuf.DescriptorProto", [
|
526
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
527
|
+
{ no: 2, name: "field", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldDescriptorProto },
|
528
|
+
{ no: 6, name: "extension", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FieldDescriptorProto },
|
529
|
+
{ no: 3, name: "nested_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto },
|
530
|
+
{ no: 4, name: "enum_type", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto },
|
531
|
+
{ no: 5, name: "extension_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ExtensionRange },
|
532
|
+
{ no: 8, name: "oneof_decl", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OneofDescriptorProto },
|
533
|
+
{ no: 7, name: "options", kind: "message", T: () => MessageOptions },
|
534
|
+
{ no: 9, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DescriptorProto_ReservedRange },
|
535
|
+
{ no: 10, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
536
|
+
]);
|
537
|
+
}
|
538
|
+
create(value) {
|
539
|
+
const message = { field: [], extension: [], nestedType: [], enumType: [], extensionRange: [], oneofDecl: [], reservedRange: [], reservedName: [] };
|
540
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
541
|
+
if (value !== undefined)
|
542
|
+
reflectionMergePartial(this, message, value);
|
543
|
+
return message;
|
544
|
+
}
|
545
|
+
internalBinaryRead(reader, length, options, target) {
|
546
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
547
|
+
while (reader.pos < end) {
|
548
|
+
let [fieldNo, wireType] = reader.tag();
|
549
|
+
switch (fieldNo) {
|
550
|
+
case /* optional string name */ 1:
|
551
|
+
message.name = reader.string();
|
552
|
+
break;
|
553
|
+
case /* repeated google.protobuf.FieldDescriptorProto field */ 2:
|
554
|
+
message.field.push(FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
555
|
+
break;
|
556
|
+
case /* repeated google.protobuf.FieldDescriptorProto extension */ 6:
|
557
|
+
message.extension.push(FieldDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
558
|
+
break;
|
559
|
+
case /* repeated google.protobuf.DescriptorProto nested_type */ 3:
|
560
|
+
message.nestedType.push(DescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
561
|
+
break;
|
562
|
+
case /* repeated google.protobuf.EnumDescriptorProto enum_type */ 4:
|
563
|
+
message.enumType.push(EnumDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
564
|
+
break;
|
565
|
+
case /* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range */ 5:
|
566
|
+
message.extensionRange.push(DescriptorProto_ExtensionRange.internalBinaryRead(reader, reader.uint32(), options));
|
567
|
+
break;
|
568
|
+
case /* repeated google.protobuf.OneofDescriptorProto oneof_decl */ 8:
|
569
|
+
message.oneofDecl.push(OneofDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
570
|
+
break;
|
571
|
+
case /* optional google.protobuf.MessageOptions options */ 7:
|
572
|
+
message.options = MessageOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
573
|
+
break;
|
574
|
+
case /* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range */ 9:
|
575
|
+
message.reservedRange.push(DescriptorProto_ReservedRange.internalBinaryRead(reader, reader.uint32(), options));
|
576
|
+
break;
|
577
|
+
case /* repeated string reserved_name */ 10:
|
578
|
+
message.reservedName.push(reader.string());
|
579
|
+
break;
|
580
|
+
default:
|
581
|
+
let u = options.readUnknownField;
|
582
|
+
if (u === "throw")
|
583
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
584
|
+
let d = reader.skip(wireType);
|
585
|
+
if (u !== false)
|
586
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
587
|
+
}
|
588
|
+
}
|
589
|
+
return message;
|
590
|
+
}
|
591
|
+
internalBinaryWrite(message, writer, options) {
|
592
|
+
/* optional string name = 1; */
|
593
|
+
if (message.name !== undefined)
|
594
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
595
|
+
/* repeated google.protobuf.FieldDescriptorProto field = 2; */
|
596
|
+
for (let i = 0; i < message.field.length; i++)
|
597
|
+
FieldDescriptorProto.internalBinaryWrite(message.field[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
598
|
+
/* repeated google.protobuf.FieldDescriptorProto extension = 6; */
|
599
|
+
for (let i = 0; i < message.extension.length; i++)
|
600
|
+
FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
601
|
+
/* repeated google.protobuf.DescriptorProto nested_type = 3; */
|
602
|
+
for (let i = 0; i < message.nestedType.length; i++)
|
603
|
+
DescriptorProto.internalBinaryWrite(message.nestedType[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
604
|
+
/* repeated google.protobuf.EnumDescriptorProto enum_type = 4; */
|
605
|
+
for (let i = 0; i < message.enumType.length; i++)
|
606
|
+
EnumDescriptorProto.internalBinaryWrite(message.enumType[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
607
|
+
/* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */
|
608
|
+
for (let i = 0; i < message.extensionRange.length; i++)
|
609
|
+
DescriptorProto_ExtensionRange.internalBinaryWrite(message.extensionRange[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
610
|
+
/* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
|
611
|
+
for (let i = 0; i < message.oneofDecl.length; i++)
|
612
|
+
OneofDescriptorProto.internalBinaryWrite(message.oneofDecl[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
613
|
+
/* optional google.protobuf.MessageOptions options = 7; */
|
614
|
+
if (message.options)
|
615
|
+
MessageOptions.internalBinaryWrite(message.options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
616
|
+
/* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */
|
617
|
+
for (let i = 0; i < message.reservedRange.length; i++)
|
618
|
+
DescriptorProto_ReservedRange.internalBinaryWrite(message.reservedRange[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
619
|
+
/* repeated string reserved_name = 10; */
|
620
|
+
for (let i = 0; i < message.reservedName.length; i++)
|
621
|
+
writer.tag(10, WireType.LengthDelimited).string(message.reservedName[i]);
|
622
|
+
let u = options.writeUnknownFields;
|
623
|
+
if (u !== false)
|
624
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
625
|
+
return writer;
|
626
|
+
}
|
627
|
+
}
|
628
|
+
/**
|
629
|
+
* @generated MessageType for protobuf message google.protobuf.DescriptorProto
|
630
|
+
*/
|
631
|
+
export const DescriptorProto = new DescriptorProto$Type();
|
632
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
633
|
+
class DescriptorProto_ExtensionRange$Type extends MessageType {
|
634
|
+
constructor() {
|
635
|
+
super("google.protobuf.DescriptorProto.ExtensionRange", [
|
636
|
+
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
637
|
+
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
638
|
+
{ no: 3, name: "options", kind: "message", T: () => ExtensionRangeOptions }
|
639
|
+
]);
|
640
|
+
}
|
641
|
+
create(value) {
|
642
|
+
const message = {};
|
643
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
644
|
+
if (value !== undefined)
|
645
|
+
reflectionMergePartial(this, message, value);
|
646
|
+
return message;
|
647
|
+
}
|
648
|
+
internalBinaryRead(reader, length, options, target) {
|
649
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
650
|
+
while (reader.pos < end) {
|
651
|
+
let [fieldNo, wireType] = reader.tag();
|
652
|
+
switch (fieldNo) {
|
653
|
+
case /* optional int32 start */ 1:
|
654
|
+
message.start = reader.int32();
|
655
|
+
break;
|
656
|
+
case /* optional int32 end */ 2:
|
657
|
+
message.end = reader.int32();
|
658
|
+
break;
|
659
|
+
case /* optional google.protobuf.ExtensionRangeOptions options */ 3:
|
660
|
+
message.options = ExtensionRangeOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
661
|
+
break;
|
662
|
+
default:
|
663
|
+
let u = options.readUnknownField;
|
664
|
+
if (u === "throw")
|
665
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
666
|
+
let d = reader.skip(wireType);
|
667
|
+
if (u !== false)
|
668
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
669
|
+
}
|
670
|
+
}
|
671
|
+
return message;
|
672
|
+
}
|
673
|
+
internalBinaryWrite(message, writer, options) {
|
674
|
+
/* optional int32 start = 1; */
|
675
|
+
if (message.start !== undefined)
|
676
|
+
writer.tag(1, WireType.Varint).int32(message.start);
|
677
|
+
/* optional int32 end = 2; */
|
678
|
+
if (message.end !== undefined)
|
679
|
+
writer.tag(2, WireType.Varint).int32(message.end);
|
680
|
+
/* optional google.protobuf.ExtensionRangeOptions options = 3; */
|
681
|
+
if (message.options)
|
682
|
+
ExtensionRangeOptions.internalBinaryWrite(message.options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
683
|
+
let u = options.writeUnknownFields;
|
684
|
+
if (u !== false)
|
685
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
686
|
+
return writer;
|
687
|
+
}
|
688
|
+
}
|
689
|
+
/**
|
690
|
+
* @generated MessageType for protobuf message google.protobuf.DescriptorProto.ExtensionRange
|
691
|
+
*/
|
692
|
+
export const DescriptorProto_ExtensionRange = new DescriptorProto_ExtensionRange$Type();
|
693
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
694
|
+
class DescriptorProto_ReservedRange$Type extends MessageType {
|
695
|
+
constructor() {
|
696
|
+
super("google.protobuf.DescriptorProto.ReservedRange", [
|
697
|
+
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
698
|
+
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
699
|
+
]);
|
700
|
+
}
|
701
|
+
create(value) {
|
702
|
+
const message = {};
|
703
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
704
|
+
if (value !== undefined)
|
705
|
+
reflectionMergePartial(this, message, value);
|
706
|
+
return message;
|
707
|
+
}
|
708
|
+
internalBinaryRead(reader, length, options, target) {
|
709
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
710
|
+
while (reader.pos < end) {
|
711
|
+
let [fieldNo, wireType] = reader.tag();
|
712
|
+
switch (fieldNo) {
|
713
|
+
case /* optional int32 start */ 1:
|
714
|
+
message.start = reader.int32();
|
715
|
+
break;
|
716
|
+
case /* optional int32 end */ 2:
|
717
|
+
message.end = reader.int32();
|
718
|
+
break;
|
719
|
+
default:
|
720
|
+
let u = options.readUnknownField;
|
721
|
+
if (u === "throw")
|
722
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
723
|
+
let d = reader.skip(wireType);
|
724
|
+
if (u !== false)
|
725
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
726
|
+
}
|
727
|
+
}
|
728
|
+
return message;
|
729
|
+
}
|
730
|
+
internalBinaryWrite(message, writer, options) {
|
731
|
+
/* optional int32 start = 1; */
|
732
|
+
if (message.start !== undefined)
|
733
|
+
writer.tag(1, WireType.Varint).int32(message.start);
|
734
|
+
/* optional int32 end = 2; */
|
735
|
+
if (message.end !== undefined)
|
736
|
+
writer.tag(2, WireType.Varint).int32(message.end);
|
737
|
+
let u = options.writeUnknownFields;
|
738
|
+
if (u !== false)
|
739
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
740
|
+
return writer;
|
741
|
+
}
|
742
|
+
}
|
743
|
+
/**
|
744
|
+
* @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
|
745
|
+
*/
|
746
|
+
export const DescriptorProto_ReservedRange = new DescriptorProto_ReservedRange$Type();
|
747
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
748
|
+
class ExtensionRangeOptions$Type extends MessageType {
|
749
|
+
constructor() {
|
750
|
+
super("google.protobuf.ExtensionRangeOptions", [
|
751
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
752
|
+
]);
|
753
|
+
}
|
754
|
+
create(value) {
|
755
|
+
const message = { uninterpretedOption: [] };
|
756
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
757
|
+
if (value !== undefined)
|
758
|
+
reflectionMergePartial(this, message, value);
|
759
|
+
return message;
|
760
|
+
}
|
761
|
+
internalBinaryRead(reader, length, options, target) {
|
762
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
763
|
+
while (reader.pos < end) {
|
764
|
+
let [fieldNo, wireType] = reader.tag();
|
765
|
+
switch (fieldNo) {
|
766
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
767
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
768
|
+
break;
|
769
|
+
default:
|
770
|
+
let u = options.readUnknownField;
|
771
|
+
if (u === "throw")
|
772
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
773
|
+
let d = reader.skip(wireType);
|
774
|
+
if (u !== false)
|
775
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
776
|
+
}
|
777
|
+
}
|
778
|
+
return message;
|
779
|
+
}
|
780
|
+
internalBinaryWrite(message, writer, options) {
|
781
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
782
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
783
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
784
|
+
let u = options.writeUnknownFields;
|
785
|
+
if (u !== false)
|
786
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
787
|
+
return writer;
|
788
|
+
}
|
789
|
+
}
|
790
|
+
/**
|
791
|
+
* @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
|
792
|
+
*/
|
793
|
+
export const ExtensionRangeOptions = new ExtensionRangeOptions$Type();
|
794
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
795
|
+
class FieldDescriptorProto$Type extends MessageType {
|
796
|
+
constructor() {
|
797
|
+
super("google.protobuf.FieldDescriptorProto", [
|
798
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
799
|
+
{ no: 3, name: "number", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
800
|
+
{ no: 4, name: "label", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Label", FieldDescriptorProto_Label, "LABEL_"] },
|
801
|
+
{ no: 5, name: "type", kind: "enum", opt: true, T: () => ["google.protobuf.FieldDescriptorProto.Type", FieldDescriptorProto_Type, "TYPE_"] },
|
802
|
+
{ no: 6, name: "type_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
803
|
+
{ no: 2, name: "extendee", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
804
|
+
{ no: 7, name: "default_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
805
|
+
{ no: 9, name: "oneof_index", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
806
|
+
{ no: 10, name: "json_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
807
|
+
{ no: 8, name: "options", kind: "message", T: () => FieldOptions },
|
808
|
+
{ no: 17, name: "proto3_optional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
809
|
+
]);
|
810
|
+
}
|
811
|
+
create(value) {
|
812
|
+
const message = {};
|
813
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
814
|
+
if (value !== undefined)
|
815
|
+
reflectionMergePartial(this, message, value);
|
816
|
+
return message;
|
817
|
+
}
|
818
|
+
internalBinaryRead(reader, length, options, target) {
|
819
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
820
|
+
while (reader.pos < end) {
|
821
|
+
let [fieldNo, wireType] = reader.tag();
|
822
|
+
switch (fieldNo) {
|
823
|
+
case /* optional string name */ 1:
|
824
|
+
message.name = reader.string();
|
825
|
+
break;
|
826
|
+
case /* optional int32 number */ 3:
|
827
|
+
message.number = reader.int32();
|
828
|
+
break;
|
829
|
+
case /* optional google.protobuf.FieldDescriptorProto.Label label */ 4:
|
830
|
+
message.label = reader.int32();
|
831
|
+
break;
|
832
|
+
case /* optional google.protobuf.FieldDescriptorProto.Type type */ 5:
|
833
|
+
message.type = reader.int32();
|
834
|
+
break;
|
835
|
+
case /* optional string type_name */ 6:
|
836
|
+
message.typeName = reader.string();
|
837
|
+
break;
|
838
|
+
case /* optional string extendee */ 2:
|
839
|
+
message.extendee = reader.string();
|
840
|
+
break;
|
841
|
+
case /* optional string default_value */ 7:
|
842
|
+
message.defaultValue = reader.string();
|
843
|
+
break;
|
844
|
+
case /* optional int32 oneof_index */ 9:
|
845
|
+
message.oneofIndex = reader.int32();
|
846
|
+
break;
|
847
|
+
case /* optional string json_name */ 10:
|
848
|
+
message.jsonName = reader.string();
|
849
|
+
break;
|
850
|
+
case /* optional google.protobuf.FieldOptions options */ 8:
|
851
|
+
message.options = FieldOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
852
|
+
break;
|
853
|
+
case /* optional bool proto3_optional */ 17:
|
854
|
+
message.proto3Optional = reader.bool();
|
855
|
+
break;
|
856
|
+
default:
|
857
|
+
let u = options.readUnknownField;
|
858
|
+
if (u === "throw")
|
859
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
860
|
+
let d = reader.skip(wireType);
|
861
|
+
if (u !== false)
|
862
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
863
|
+
}
|
864
|
+
}
|
865
|
+
return message;
|
866
|
+
}
|
867
|
+
internalBinaryWrite(message, writer, options) {
|
868
|
+
/* optional string name = 1; */
|
869
|
+
if (message.name !== undefined)
|
870
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
871
|
+
/* optional int32 number = 3; */
|
872
|
+
if (message.number !== undefined)
|
873
|
+
writer.tag(3, WireType.Varint).int32(message.number);
|
874
|
+
/* optional google.protobuf.FieldDescriptorProto.Label label = 4; */
|
875
|
+
if (message.label !== undefined)
|
876
|
+
writer.tag(4, WireType.Varint).int32(message.label);
|
877
|
+
/* optional google.protobuf.FieldDescriptorProto.Type type = 5; */
|
878
|
+
if (message.type !== undefined)
|
879
|
+
writer.tag(5, WireType.Varint).int32(message.type);
|
880
|
+
/* optional string type_name = 6; */
|
881
|
+
if (message.typeName !== undefined)
|
882
|
+
writer.tag(6, WireType.LengthDelimited).string(message.typeName);
|
883
|
+
/* optional string extendee = 2; */
|
884
|
+
if (message.extendee !== undefined)
|
885
|
+
writer.tag(2, WireType.LengthDelimited).string(message.extendee);
|
886
|
+
/* optional string default_value = 7; */
|
887
|
+
if (message.defaultValue !== undefined)
|
888
|
+
writer.tag(7, WireType.LengthDelimited).string(message.defaultValue);
|
889
|
+
/* optional int32 oneof_index = 9; */
|
890
|
+
if (message.oneofIndex !== undefined)
|
891
|
+
writer.tag(9, WireType.Varint).int32(message.oneofIndex);
|
892
|
+
/* optional string json_name = 10; */
|
893
|
+
if (message.jsonName !== undefined)
|
894
|
+
writer.tag(10, WireType.LengthDelimited).string(message.jsonName);
|
895
|
+
/* optional google.protobuf.FieldOptions options = 8; */
|
896
|
+
if (message.options)
|
897
|
+
FieldOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
898
|
+
/* optional bool proto3_optional = 17; */
|
899
|
+
if (message.proto3Optional !== undefined)
|
900
|
+
writer.tag(17, WireType.Varint).bool(message.proto3Optional);
|
901
|
+
let u = options.writeUnknownFields;
|
902
|
+
if (u !== false)
|
903
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
904
|
+
return writer;
|
905
|
+
}
|
906
|
+
}
|
907
|
+
/**
|
908
|
+
* @generated MessageType for protobuf message google.protobuf.FieldDescriptorProto
|
909
|
+
*/
|
910
|
+
export const FieldDescriptorProto = new FieldDescriptorProto$Type();
|
911
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
912
|
+
class OneofDescriptorProto$Type extends MessageType {
|
913
|
+
constructor() {
|
914
|
+
super("google.protobuf.OneofDescriptorProto", [
|
915
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
916
|
+
{ no: 2, name: "options", kind: "message", T: () => OneofOptions }
|
917
|
+
]);
|
918
|
+
}
|
919
|
+
create(value) {
|
920
|
+
const message = {};
|
921
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
922
|
+
if (value !== undefined)
|
923
|
+
reflectionMergePartial(this, message, value);
|
924
|
+
return message;
|
925
|
+
}
|
926
|
+
internalBinaryRead(reader, length, options, target) {
|
927
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
928
|
+
while (reader.pos < end) {
|
929
|
+
let [fieldNo, wireType] = reader.tag();
|
930
|
+
switch (fieldNo) {
|
931
|
+
case /* optional string name */ 1:
|
932
|
+
message.name = reader.string();
|
933
|
+
break;
|
934
|
+
case /* optional google.protobuf.OneofOptions options */ 2:
|
935
|
+
message.options = OneofOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
936
|
+
break;
|
937
|
+
default:
|
938
|
+
let u = options.readUnknownField;
|
939
|
+
if (u === "throw")
|
940
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
941
|
+
let d = reader.skip(wireType);
|
942
|
+
if (u !== false)
|
943
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
944
|
+
}
|
945
|
+
}
|
946
|
+
return message;
|
947
|
+
}
|
948
|
+
internalBinaryWrite(message, writer, options) {
|
949
|
+
/* optional string name = 1; */
|
950
|
+
if (message.name !== undefined)
|
951
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
952
|
+
/* optional google.protobuf.OneofOptions options = 2; */
|
953
|
+
if (message.options)
|
954
|
+
OneofOptions.internalBinaryWrite(message.options, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
955
|
+
let u = options.writeUnknownFields;
|
956
|
+
if (u !== false)
|
957
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
958
|
+
return writer;
|
959
|
+
}
|
960
|
+
}
|
961
|
+
/**
|
962
|
+
* @generated MessageType for protobuf message google.protobuf.OneofDescriptorProto
|
963
|
+
*/
|
964
|
+
export const OneofDescriptorProto = new OneofDescriptorProto$Type();
|
965
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
966
|
+
class EnumDescriptorProto$Type extends MessageType {
|
967
|
+
constructor() {
|
968
|
+
super("google.protobuf.EnumDescriptorProto", [
|
969
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
970
|
+
{ no: 2, name: "value", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumValueDescriptorProto },
|
971
|
+
{ no: 3, name: "options", kind: "message", T: () => EnumOptions },
|
972
|
+
{ no: 4, name: "reserved_range", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EnumDescriptorProto_EnumReservedRange },
|
973
|
+
{ no: 5, name: "reserved_name", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
974
|
+
]);
|
975
|
+
}
|
976
|
+
create(value) {
|
977
|
+
const message = { value: [], reservedRange: [], reservedName: [] };
|
978
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
979
|
+
if (value !== undefined)
|
980
|
+
reflectionMergePartial(this, message, value);
|
981
|
+
return message;
|
982
|
+
}
|
983
|
+
internalBinaryRead(reader, length, options, target) {
|
984
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
985
|
+
while (reader.pos < end) {
|
986
|
+
let [fieldNo, wireType] = reader.tag();
|
987
|
+
switch (fieldNo) {
|
988
|
+
case /* optional string name */ 1:
|
989
|
+
message.name = reader.string();
|
990
|
+
break;
|
991
|
+
case /* repeated google.protobuf.EnumValueDescriptorProto value */ 2:
|
992
|
+
message.value.push(EnumValueDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
993
|
+
break;
|
994
|
+
case /* optional google.protobuf.EnumOptions options */ 3:
|
995
|
+
message.options = EnumOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
996
|
+
break;
|
997
|
+
case /* repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range */ 4:
|
998
|
+
message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.internalBinaryRead(reader, reader.uint32(), options));
|
999
|
+
break;
|
1000
|
+
case /* repeated string reserved_name */ 5:
|
1001
|
+
message.reservedName.push(reader.string());
|
1002
|
+
break;
|
1003
|
+
default:
|
1004
|
+
let u = options.readUnknownField;
|
1005
|
+
if (u === "throw")
|
1006
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1007
|
+
let d = reader.skip(wireType);
|
1008
|
+
if (u !== false)
|
1009
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1010
|
+
}
|
1011
|
+
}
|
1012
|
+
return message;
|
1013
|
+
}
|
1014
|
+
internalBinaryWrite(message, writer, options) {
|
1015
|
+
/* optional string name = 1; */
|
1016
|
+
if (message.name !== undefined)
|
1017
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
1018
|
+
/* repeated google.protobuf.EnumValueDescriptorProto value = 2; */
|
1019
|
+
for (let i = 0; i < message.value.length; i++)
|
1020
|
+
EnumValueDescriptorProto.internalBinaryWrite(message.value[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1021
|
+
/* optional google.protobuf.EnumOptions options = 3; */
|
1022
|
+
if (message.options)
|
1023
|
+
EnumOptions.internalBinaryWrite(message.options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1024
|
+
/* repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; */
|
1025
|
+
for (let i = 0; i < message.reservedRange.length; i++)
|
1026
|
+
EnumDescriptorProto_EnumReservedRange.internalBinaryWrite(message.reservedRange[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1027
|
+
/* repeated string reserved_name = 5; */
|
1028
|
+
for (let i = 0; i < message.reservedName.length; i++)
|
1029
|
+
writer.tag(5, WireType.LengthDelimited).string(message.reservedName[i]);
|
1030
|
+
let u = options.writeUnknownFields;
|
1031
|
+
if (u !== false)
|
1032
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1033
|
+
return writer;
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
/**
|
1037
|
+
* @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto
|
1038
|
+
*/
|
1039
|
+
export const EnumDescriptorProto = new EnumDescriptorProto$Type();
|
1040
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1041
|
+
class EnumDescriptorProto_EnumReservedRange$Type extends MessageType {
|
1042
|
+
constructor() {
|
1043
|
+
super("google.protobuf.EnumDescriptorProto.EnumReservedRange", [
|
1044
|
+
{ no: 1, name: "start", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
1045
|
+
{ no: 2, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
1046
|
+
]);
|
1047
|
+
}
|
1048
|
+
create(value) {
|
1049
|
+
const message = {};
|
1050
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1051
|
+
if (value !== undefined)
|
1052
|
+
reflectionMergePartial(this, message, value);
|
1053
|
+
return message;
|
1054
|
+
}
|
1055
|
+
internalBinaryRead(reader, length, options, target) {
|
1056
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1057
|
+
while (reader.pos < end) {
|
1058
|
+
let [fieldNo, wireType] = reader.tag();
|
1059
|
+
switch (fieldNo) {
|
1060
|
+
case /* optional int32 start */ 1:
|
1061
|
+
message.start = reader.int32();
|
1062
|
+
break;
|
1063
|
+
case /* optional int32 end */ 2:
|
1064
|
+
message.end = reader.int32();
|
1065
|
+
break;
|
1066
|
+
default:
|
1067
|
+
let u = options.readUnknownField;
|
1068
|
+
if (u === "throw")
|
1069
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1070
|
+
let d = reader.skip(wireType);
|
1071
|
+
if (u !== false)
|
1072
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1073
|
+
}
|
1074
|
+
}
|
1075
|
+
return message;
|
1076
|
+
}
|
1077
|
+
internalBinaryWrite(message, writer, options) {
|
1078
|
+
/* optional int32 start = 1; */
|
1079
|
+
if (message.start !== undefined)
|
1080
|
+
writer.tag(1, WireType.Varint).int32(message.start);
|
1081
|
+
/* optional int32 end = 2; */
|
1082
|
+
if (message.end !== undefined)
|
1083
|
+
writer.tag(2, WireType.Varint).int32(message.end);
|
1084
|
+
let u = options.writeUnknownFields;
|
1085
|
+
if (u !== false)
|
1086
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1087
|
+
return writer;
|
1088
|
+
}
|
1089
|
+
}
|
1090
|
+
/**
|
1091
|
+
* @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
1092
|
+
*/
|
1093
|
+
export const EnumDescriptorProto_EnumReservedRange = new EnumDescriptorProto_EnumReservedRange$Type();
|
1094
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1095
|
+
class EnumValueDescriptorProto$Type extends MessageType {
|
1096
|
+
constructor() {
|
1097
|
+
super("google.protobuf.EnumValueDescriptorProto", [
|
1098
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1099
|
+
{ no: 2, name: "number", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
1100
|
+
{ no: 3, name: "options", kind: "message", T: () => EnumValueOptions }
|
1101
|
+
]);
|
1102
|
+
}
|
1103
|
+
create(value) {
|
1104
|
+
const message = {};
|
1105
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1106
|
+
if (value !== undefined)
|
1107
|
+
reflectionMergePartial(this, message, value);
|
1108
|
+
return message;
|
1109
|
+
}
|
1110
|
+
internalBinaryRead(reader, length, options, target) {
|
1111
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1112
|
+
while (reader.pos < end) {
|
1113
|
+
let [fieldNo, wireType] = reader.tag();
|
1114
|
+
switch (fieldNo) {
|
1115
|
+
case /* optional string name */ 1:
|
1116
|
+
message.name = reader.string();
|
1117
|
+
break;
|
1118
|
+
case /* optional int32 number */ 2:
|
1119
|
+
message.number = reader.int32();
|
1120
|
+
break;
|
1121
|
+
case /* optional google.protobuf.EnumValueOptions options */ 3:
|
1122
|
+
message.options = EnumValueOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
1123
|
+
break;
|
1124
|
+
default:
|
1125
|
+
let u = options.readUnknownField;
|
1126
|
+
if (u === "throw")
|
1127
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1128
|
+
let d = reader.skip(wireType);
|
1129
|
+
if (u !== false)
|
1130
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1131
|
+
}
|
1132
|
+
}
|
1133
|
+
return message;
|
1134
|
+
}
|
1135
|
+
internalBinaryWrite(message, writer, options) {
|
1136
|
+
/* optional string name = 1; */
|
1137
|
+
if (message.name !== undefined)
|
1138
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
1139
|
+
/* optional int32 number = 2; */
|
1140
|
+
if (message.number !== undefined)
|
1141
|
+
writer.tag(2, WireType.Varint).int32(message.number);
|
1142
|
+
/* optional google.protobuf.EnumValueOptions options = 3; */
|
1143
|
+
if (message.options)
|
1144
|
+
EnumValueOptions.internalBinaryWrite(message.options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1145
|
+
let u = options.writeUnknownFields;
|
1146
|
+
if (u !== false)
|
1147
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1148
|
+
return writer;
|
1149
|
+
}
|
1150
|
+
}
|
1151
|
+
/**
|
1152
|
+
* @generated MessageType for protobuf message google.protobuf.EnumValueDescriptorProto
|
1153
|
+
*/
|
1154
|
+
export const EnumValueDescriptorProto = new EnumValueDescriptorProto$Type();
|
1155
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1156
|
+
class ServiceDescriptorProto$Type extends MessageType {
|
1157
|
+
constructor() {
|
1158
|
+
super("google.protobuf.ServiceDescriptorProto", [
|
1159
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1160
|
+
{ no: 2, name: "method", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MethodDescriptorProto },
|
1161
|
+
{ no: 3, name: "options", kind: "message", T: () => ServiceOptions }
|
1162
|
+
]);
|
1163
|
+
}
|
1164
|
+
create(value) {
|
1165
|
+
const message = { method: [] };
|
1166
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1167
|
+
if (value !== undefined)
|
1168
|
+
reflectionMergePartial(this, message, value);
|
1169
|
+
return message;
|
1170
|
+
}
|
1171
|
+
internalBinaryRead(reader, length, options, target) {
|
1172
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1173
|
+
while (reader.pos < end) {
|
1174
|
+
let [fieldNo, wireType] = reader.tag();
|
1175
|
+
switch (fieldNo) {
|
1176
|
+
case /* optional string name */ 1:
|
1177
|
+
message.name = reader.string();
|
1178
|
+
break;
|
1179
|
+
case /* repeated google.protobuf.MethodDescriptorProto method */ 2:
|
1180
|
+
message.method.push(MethodDescriptorProto.internalBinaryRead(reader, reader.uint32(), options));
|
1181
|
+
break;
|
1182
|
+
case /* optional google.protobuf.ServiceOptions options */ 3:
|
1183
|
+
message.options = ServiceOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
1184
|
+
break;
|
1185
|
+
default:
|
1186
|
+
let u = options.readUnknownField;
|
1187
|
+
if (u === "throw")
|
1188
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1189
|
+
let d = reader.skip(wireType);
|
1190
|
+
if (u !== false)
|
1191
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1192
|
+
}
|
1193
|
+
}
|
1194
|
+
return message;
|
1195
|
+
}
|
1196
|
+
internalBinaryWrite(message, writer, options) {
|
1197
|
+
/* optional string name = 1; */
|
1198
|
+
if (message.name !== undefined)
|
1199
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
1200
|
+
/* repeated google.protobuf.MethodDescriptorProto method = 2; */
|
1201
|
+
for (let i = 0; i < message.method.length; i++)
|
1202
|
+
MethodDescriptorProto.internalBinaryWrite(message.method[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1203
|
+
/* optional google.protobuf.ServiceOptions options = 3; */
|
1204
|
+
if (message.options)
|
1205
|
+
ServiceOptions.internalBinaryWrite(message.options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1206
|
+
let u = options.writeUnknownFields;
|
1207
|
+
if (u !== false)
|
1208
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1209
|
+
return writer;
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
/**
|
1213
|
+
* @generated MessageType for protobuf message google.protobuf.ServiceDescriptorProto
|
1214
|
+
*/
|
1215
|
+
export const ServiceDescriptorProto = new ServiceDescriptorProto$Type();
|
1216
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1217
|
+
class MethodDescriptorProto$Type extends MessageType {
|
1218
|
+
constructor() {
|
1219
|
+
super("google.protobuf.MethodDescriptorProto", [
|
1220
|
+
{ no: 1, name: "name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1221
|
+
{ no: 2, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1222
|
+
{ no: 3, name: "output_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1223
|
+
{ no: 4, name: "options", kind: "message", T: () => MethodOptions },
|
1224
|
+
{ no: 5, name: "client_streaming", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1225
|
+
{ no: 6, name: "server_streaming", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
1226
|
+
]);
|
1227
|
+
}
|
1228
|
+
create(value) {
|
1229
|
+
const message = {};
|
1230
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1231
|
+
if (value !== undefined)
|
1232
|
+
reflectionMergePartial(this, message, value);
|
1233
|
+
return message;
|
1234
|
+
}
|
1235
|
+
internalBinaryRead(reader, length, options, target) {
|
1236
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1237
|
+
while (reader.pos < end) {
|
1238
|
+
let [fieldNo, wireType] = reader.tag();
|
1239
|
+
switch (fieldNo) {
|
1240
|
+
case /* optional string name */ 1:
|
1241
|
+
message.name = reader.string();
|
1242
|
+
break;
|
1243
|
+
case /* optional string input_type */ 2:
|
1244
|
+
message.inputType = reader.string();
|
1245
|
+
break;
|
1246
|
+
case /* optional string output_type */ 3:
|
1247
|
+
message.outputType = reader.string();
|
1248
|
+
break;
|
1249
|
+
case /* optional google.protobuf.MethodOptions options */ 4:
|
1250
|
+
message.options = MethodOptions.internalBinaryRead(reader, reader.uint32(), options, message.options);
|
1251
|
+
break;
|
1252
|
+
case /* optional bool client_streaming */ 5:
|
1253
|
+
message.clientStreaming = reader.bool();
|
1254
|
+
break;
|
1255
|
+
case /* optional bool server_streaming */ 6:
|
1256
|
+
message.serverStreaming = reader.bool();
|
1257
|
+
break;
|
1258
|
+
default:
|
1259
|
+
let u = options.readUnknownField;
|
1260
|
+
if (u === "throw")
|
1261
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1262
|
+
let d = reader.skip(wireType);
|
1263
|
+
if (u !== false)
|
1264
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1265
|
+
}
|
1266
|
+
}
|
1267
|
+
return message;
|
1268
|
+
}
|
1269
|
+
internalBinaryWrite(message, writer, options) {
|
1270
|
+
/* optional string name = 1; */
|
1271
|
+
if (message.name !== undefined)
|
1272
|
+
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
1273
|
+
/* optional string input_type = 2; */
|
1274
|
+
if (message.inputType !== undefined)
|
1275
|
+
writer.tag(2, WireType.LengthDelimited).string(message.inputType);
|
1276
|
+
/* optional string output_type = 3; */
|
1277
|
+
if (message.outputType !== undefined)
|
1278
|
+
writer.tag(3, WireType.LengthDelimited).string(message.outputType);
|
1279
|
+
/* optional google.protobuf.MethodOptions options = 4; */
|
1280
|
+
if (message.options)
|
1281
|
+
MethodOptions.internalBinaryWrite(message.options, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1282
|
+
/* optional bool client_streaming = 5; */
|
1283
|
+
if (message.clientStreaming !== undefined)
|
1284
|
+
writer.tag(5, WireType.Varint).bool(message.clientStreaming);
|
1285
|
+
/* optional bool server_streaming = 6; */
|
1286
|
+
if (message.serverStreaming !== undefined)
|
1287
|
+
writer.tag(6, WireType.Varint).bool(message.serverStreaming);
|
1288
|
+
let u = options.writeUnknownFields;
|
1289
|
+
if (u !== false)
|
1290
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1291
|
+
return writer;
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
/**
|
1295
|
+
* @generated MessageType for protobuf message google.protobuf.MethodDescriptorProto
|
1296
|
+
*/
|
1297
|
+
export const MethodDescriptorProto = new MethodDescriptorProto$Type();
|
1298
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1299
|
+
class FileOptions$Type extends MessageType {
|
1300
|
+
constructor() {
|
1301
|
+
super("google.protobuf.FileOptions", [
|
1302
|
+
{ no: 1, name: "java_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1303
|
+
{ no: 8, name: "java_outer_classname", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1304
|
+
{ no: 10, name: "java_multiple_files", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1305
|
+
{ no: 20, name: "java_generate_equals_and_hash", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1306
|
+
{ no: 27, name: "java_string_check_utf8", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1307
|
+
{ no: 9, name: "optimize_for", kind: "enum", opt: true, T: () => ["google.protobuf.FileOptions.OptimizeMode", FileOptions_OptimizeMode] },
|
1308
|
+
{ no: 11, name: "go_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1309
|
+
{ no: 16, name: "cc_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1310
|
+
{ no: 17, name: "java_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1311
|
+
{ no: 18, name: "py_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1312
|
+
{ no: 42, name: "php_generic_services", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1313
|
+
{ no: 23, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1314
|
+
{ no: 31, name: "cc_enable_arenas", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1315
|
+
{ no: 36, name: "objc_class_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1316
|
+
{ no: 37, name: "csharp_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1317
|
+
{ no: 39, name: "swift_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1318
|
+
{ no: 40, name: "php_class_prefix", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1319
|
+
{ no: 41, name: "php_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1320
|
+
{ no: 44, name: "php_metadata_namespace", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1321
|
+
{ no: 45, name: "ruby_package", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1322
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1323
|
+
]);
|
1324
|
+
}
|
1325
|
+
create(value) {
|
1326
|
+
const message = { uninterpretedOption: [] };
|
1327
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1328
|
+
if (value !== undefined)
|
1329
|
+
reflectionMergePartial(this, message, value);
|
1330
|
+
return message;
|
1331
|
+
}
|
1332
|
+
internalBinaryRead(reader, length, options, target) {
|
1333
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1334
|
+
while (reader.pos < end) {
|
1335
|
+
let [fieldNo, wireType] = reader.tag();
|
1336
|
+
switch (fieldNo) {
|
1337
|
+
case /* optional string java_package */ 1:
|
1338
|
+
message.javaPackage = reader.string();
|
1339
|
+
break;
|
1340
|
+
case /* optional string java_outer_classname */ 8:
|
1341
|
+
message.javaOuterClassname = reader.string();
|
1342
|
+
break;
|
1343
|
+
case /* optional bool java_multiple_files */ 10:
|
1344
|
+
message.javaMultipleFiles = reader.bool();
|
1345
|
+
break;
|
1346
|
+
case /* optional bool java_generate_equals_and_hash = 20 [deprecated = true];*/ 20:
|
1347
|
+
message.javaGenerateEqualsAndHash = reader.bool();
|
1348
|
+
break;
|
1349
|
+
case /* optional bool java_string_check_utf8 */ 27:
|
1350
|
+
message.javaStringCheckUtf8 = reader.bool();
|
1351
|
+
break;
|
1352
|
+
case /* optional google.protobuf.FileOptions.OptimizeMode optimize_for */ 9:
|
1353
|
+
message.optimizeFor = reader.int32();
|
1354
|
+
break;
|
1355
|
+
case /* optional string go_package */ 11:
|
1356
|
+
message.goPackage = reader.string();
|
1357
|
+
break;
|
1358
|
+
case /* optional bool cc_generic_services */ 16:
|
1359
|
+
message.ccGenericServices = reader.bool();
|
1360
|
+
break;
|
1361
|
+
case /* optional bool java_generic_services */ 17:
|
1362
|
+
message.javaGenericServices = reader.bool();
|
1363
|
+
break;
|
1364
|
+
case /* optional bool py_generic_services */ 18:
|
1365
|
+
message.pyGenericServices = reader.bool();
|
1366
|
+
break;
|
1367
|
+
case /* optional bool php_generic_services */ 42:
|
1368
|
+
message.phpGenericServices = reader.bool();
|
1369
|
+
break;
|
1370
|
+
case /* optional bool deprecated */ 23:
|
1371
|
+
message.deprecated = reader.bool();
|
1372
|
+
break;
|
1373
|
+
case /* optional bool cc_enable_arenas */ 31:
|
1374
|
+
message.ccEnableArenas = reader.bool();
|
1375
|
+
break;
|
1376
|
+
case /* optional string objc_class_prefix */ 36:
|
1377
|
+
message.objcClassPrefix = reader.string();
|
1378
|
+
break;
|
1379
|
+
case /* optional string csharp_namespace */ 37:
|
1380
|
+
message.csharpNamespace = reader.string();
|
1381
|
+
break;
|
1382
|
+
case /* optional string swift_prefix */ 39:
|
1383
|
+
message.swiftPrefix = reader.string();
|
1384
|
+
break;
|
1385
|
+
case /* optional string php_class_prefix */ 40:
|
1386
|
+
message.phpClassPrefix = reader.string();
|
1387
|
+
break;
|
1388
|
+
case /* optional string php_namespace */ 41:
|
1389
|
+
message.phpNamespace = reader.string();
|
1390
|
+
break;
|
1391
|
+
case /* optional string php_metadata_namespace */ 44:
|
1392
|
+
message.phpMetadataNamespace = reader.string();
|
1393
|
+
break;
|
1394
|
+
case /* optional string ruby_package */ 45:
|
1395
|
+
message.rubyPackage = reader.string();
|
1396
|
+
break;
|
1397
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1398
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1399
|
+
break;
|
1400
|
+
default:
|
1401
|
+
let u = options.readUnknownField;
|
1402
|
+
if (u === "throw")
|
1403
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1404
|
+
let d = reader.skip(wireType);
|
1405
|
+
if (u !== false)
|
1406
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1407
|
+
}
|
1408
|
+
}
|
1409
|
+
return message;
|
1410
|
+
}
|
1411
|
+
internalBinaryWrite(message, writer, options) {
|
1412
|
+
/* optional string java_package = 1; */
|
1413
|
+
if (message.javaPackage !== undefined)
|
1414
|
+
writer.tag(1, WireType.LengthDelimited).string(message.javaPackage);
|
1415
|
+
/* optional string java_outer_classname = 8; */
|
1416
|
+
if (message.javaOuterClassname !== undefined)
|
1417
|
+
writer.tag(8, WireType.LengthDelimited).string(message.javaOuterClassname);
|
1418
|
+
/* optional bool java_multiple_files = 10; */
|
1419
|
+
if (message.javaMultipleFiles !== undefined)
|
1420
|
+
writer.tag(10, WireType.Varint).bool(message.javaMultipleFiles);
|
1421
|
+
/* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
|
1422
|
+
if (message.javaGenerateEqualsAndHash !== undefined)
|
1423
|
+
writer.tag(20, WireType.Varint).bool(message.javaGenerateEqualsAndHash);
|
1424
|
+
/* optional bool java_string_check_utf8 = 27; */
|
1425
|
+
if (message.javaStringCheckUtf8 !== undefined)
|
1426
|
+
writer.tag(27, WireType.Varint).bool(message.javaStringCheckUtf8);
|
1427
|
+
/* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9; */
|
1428
|
+
if (message.optimizeFor !== undefined)
|
1429
|
+
writer.tag(9, WireType.Varint).int32(message.optimizeFor);
|
1430
|
+
/* optional string go_package = 11; */
|
1431
|
+
if (message.goPackage !== undefined)
|
1432
|
+
writer.tag(11, WireType.LengthDelimited).string(message.goPackage);
|
1433
|
+
/* optional bool cc_generic_services = 16; */
|
1434
|
+
if (message.ccGenericServices !== undefined)
|
1435
|
+
writer.tag(16, WireType.Varint).bool(message.ccGenericServices);
|
1436
|
+
/* optional bool java_generic_services = 17; */
|
1437
|
+
if (message.javaGenericServices !== undefined)
|
1438
|
+
writer.tag(17, WireType.Varint).bool(message.javaGenericServices);
|
1439
|
+
/* optional bool py_generic_services = 18; */
|
1440
|
+
if (message.pyGenericServices !== undefined)
|
1441
|
+
writer.tag(18, WireType.Varint).bool(message.pyGenericServices);
|
1442
|
+
/* optional bool php_generic_services = 42; */
|
1443
|
+
if (message.phpGenericServices !== undefined)
|
1444
|
+
writer.tag(42, WireType.Varint).bool(message.phpGenericServices);
|
1445
|
+
/* optional bool deprecated = 23; */
|
1446
|
+
if (message.deprecated !== undefined)
|
1447
|
+
writer.tag(23, WireType.Varint).bool(message.deprecated);
|
1448
|
+
/* optional bool cc_enable_arenas = 31; */
|
1449
|
+
if (message.ccEnableArenas !== undefined)
|
1450
|
+
writer.tag(31, WireType.Varint).bool(message.ccEnableArenas);
|
1451
|
+
/* optional string objc_class_prefix = 36; */
|
1452
|
+
if (message.objcClassPrefix !== undefined)
|
1453
|
+
writer.tag(36, WireType.LengthDelimited).string(message.objcClassPrefix);
|
1454
|
+
/* optional string csharp_namespace = 37; */
|
1455
|
+
if (message.csharpNamespace !== undefined)
|
1456
|
+
writer.tag(37, WireType.LengthDelimited).string(message.csharpNamespace);
|
1457
|
+
/* optional string swift_prefix = 39; */
|
1458
|
+
if (message.swiftPrefix !== undefined)
|
1459
|
+
writer.tag(39, WireType.LengthDelimited).string(message.swiftPrefix);
|
1460
|
+
/* optional string php_class_prefix = 40; */
|
1461
|
+
if (message.phpClassPrefix !== undefined)
|
1462
|
+
writer.tag(40, WireType.LengthDelimited).string(message.phpClassPrefix);
|
1463
|
+
/* optional string php_namespace = 41; */
|
1464
|
+
if (message.phpNamespace !== undefined)
|
1465
|
+
writer.tag(41, WireType.LengthDelimited).string(message.phpNamespace);
|
1466
|
+
/* optional string php_metadata_namespace = 44; */
|
1467
|
+
if (message.phpMetadataNamespace !== undefined)
|
1468
|
+
writer.tag(44, WireType.LengthDelimited).string(message.phpMetadataNamespace);
|
1469
|
+
/* optional string ruby_package = 45; */
|
1470
|
+
if (message.rubyPackage !== undefined)
|
1471
|
+
writer.tag(45, WireType.LengthDelimited).string(message.rubyPackage);
|
1472
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1473
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1474
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1475
|
+
let u = options.writeUnknownFields;
|
1476
|
+
if (u !== false)
|
1477
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1478
|
+
return writer;
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
/**
|
1482
|
+
* @generated MessageType for protobuf message google.protobuf.FileOptions
|
1483
|
+
*/
|
1484
|
+
export const FileOptions = new FileOptions$Type();
|
1485
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1486
|
+
class MessageOptions$Type extends MessageType {
|
1487
|
+
constructor() {
|
1488
|
+
super("google.protobuf.MessageOptions", [
|
1489
|
+
{ no: 1, name: "message_set_wire_format", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1490
|
+
{ no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1491
|
+
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1492
|
+
{ no: 7, name: "map_entry", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1493
|
+
{ no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1494
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1495
|
+
]);
|
1496
|
+
}
|
1497
|
+
create(value) {
|
1498
|
+
const message = { uninterpretedOption: [] };
|
1499
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1500
|
+
if (value !== undefined)
|
1501
|
+
reflectionMergePartial(this, message, value);
|
1502
|
+
return message;
|
1503
|
+
}
|
1504
|
+
internalBinaryRead(reader, length, options, target) {
|
1505
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1506
|
+
while (reader.pos < end) {
|
1507
|
+
let [fieldNo, wireType] = reader.tag();
|
1508
|
+
switch (fieldNo) {
|
1509
|
+
case /* optional bool message_set_wire_format */ 1:
|
1510
|
+
message.messageSetWireFormat = reader.bool();
|
1511
|
+
break;
|
1512
|
+
case /* optional bool no_standard_descriptor_accessor */ 2:
|
1513
|
+
message.noStandardDescriptorAccessor = reader.bool();
|
1514
|
+
break;
|
1515
|
+
case /* optional bool deprecated */ 3:
|
1516
|
+
message.deprecated = reader.bool();
|
1517
|
+
break;
|
1518
|
+
case /* optional bool map_entry */ 7:
|
1519
|
+
message.mapEntry = reader.bool();
|
1520
|
+
break;
|
1521
|
+
case /* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];*/ 11:
|
1522
|
+
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
1523
|
+
break;
|
1524
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1525
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1526
|
+
break;
|
1527
|
+
default:
|
1528
|
+
let u = options.readUnknownField;
|
1529
|
+
if (u === "throw")
|
1530
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1531
|
+
let d = reader.skip(wireType);
|
1532
|
+
if (u !== false)
|
1533
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1534
|
+
}
|
1535
|
+
}
|
1536
|
+
return message;
|
1537
|
+
}
|
1538
|
+
internalBinaryWrite(message, writer, options) {
|
1539
|
+
/* optional bool message_set_wire_format = 1; */
|
1540
|
+
if (message.messageSetWireFormat !== undefined)
|
1541
|
+
writer.tag(1, WireType.Varint).bool(message.messageSetWireFormat);
|
1542
|
+
/* optional bool no_standard_descriptor_accessor = 2; */
|
1543
|
+
if (message.noStandardDescriptorAccessor !== undefined)
|
1544
|
+
writer.tag(2, WireType.Varint).bool(message.noStandardDescriptorAccessor);
|
1545
|
+
/* optional bool deprecated = 3; */
|
1546
|
+
if (message.deprecated !== undefined)
|
1547
|
+
writer.tag(3, WireType.Varint).bool(message.deprecated);
|
1548
|
+
/* optional bool map_entry = 7; */
|
1549
|
+
if (message.mapEntry !== undefined)
|
1550
|
+
writer.tag(7, WireType.Varint).bool(message.mapEntry);
|
1551
|
+
/* optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; */
|
1552
|
+
if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
|
1553
|
+
writer.tag(11, WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
|
1554
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1555
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1556
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1557
|
+
let u = options.writeUnknownFields;
|
1558
|
+
if (u !== false)
|
1559
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1560
|
+
return writer;
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
/**
|
1564
|
+
* @generated MessageType for protobuf message google.protobuf.MessageOptions
|
1565
|
+
*/
|
1566
|
+
export const MessageOptions = new MessageOptions$Type();
|
1567
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1568
|
+
class FieldOptions$Type extends MessageType {
|
1569
|
+
constructor() {
|
1570
|
+
super("google.protobuf.FieldOptions", [
|
1571
|
+
{ no: 1, name: "ctype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.CType", FieldOptions_CType] },
|
1572
|
+
{ no: 2, name: "packed", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1573
|
+
{ no: 6, name: "jstype", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.JSType", FieldOptions_JSType] },
|
1574
|
+
{ no: 5, name: "lazy", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1575
|
+
{ no: 15, name: "unverified_lazy", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1576
|
+
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1577
|
+
{ no: 10, name: "weak", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1578
|
+
{ no: 16, name: "debug_redact", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1579
|
+
{ no: 17, name: "retention", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.OptionRetention", FieldOptions_OptionRetention] },
|
1580
|
+
{ no: 18, name: "target", kind: "enum", opt: true, T: () => ["google.protobuf.FieldOptions.OptionTargetType", FieldOptions_OptionTargetType] },
|
1581
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1582
|
+
]);
|
1583
|
+
}
|
1584
|
+
create(value) {
|
1585
|
+
const message = { uninterpretedOption: [] };
|
1586
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1587
|
+
if (value !== undefined)
|
1588
|
+
reflectionMergePartial(this, message, value);
|
1589
|
+
return message;
|
1590
|
+
}
|
1591
|
+
internalBinaryRead(reader, length, options, target) {
|
1592
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1593
|
+
while (reader.pos < end) {
|
1594
|
+
let [fieldNo, wireType] = reader.tag();
|
1595
|
+
switch (fieldNo) {
|
1596
|
+
case /* optional google.protobuf.FieldOptions.CType ctype */ 1:
|
1597
|
+
message.ctype = reader.int32();
|
1598
|
+
break;
|
1599
|
+
case /* optional bool packed */ 2:
|
1600
|
+
message.packed = reader.bool();
|
1601
|
+
break;
|
1602
|
+
case /* optional google.protobuf.FieldOptions.JSType jstype */ 6:
|
1603
|
+
message.jstype = reader.int32();
|
1604
|
+
break;
|
1605
|
+
case /* optional bool lazy */ 5:
|
1606
|
+
message.lazy = reader.bool();
|
1607
|
+
break;
|
1608
|
+
case /* optional bool unverified_lazy */ 15:
|
1609
|
+
message.unverifiedLazy = reader.bool();
|
1610
|
+
break;
|
1611
|
+
case /* optional bool deprecated */ 3:
|
1612
|
+
message.deprecated = reader.bool();
|
1613
|
+
break;
|
1614
|
+
case /* optional bool weak */ 10:
|
1615
|
+
message.weak = reader.bool();
|
1616
|
+
break;
|
1617
|
+
case /* optional bool debug_redact */ 16:
|
1618
|
+
message.debugRedact = reader.bool();
|
1619
|
+
break;
|
1620
|
+
case /* optional google.protobuf.FieldOptions.OptionRetention retention */ 17:
|
1621
|
+
message.retention = reader.int32();
|
1622
|
+
break;
|
1623
|
+
case /* optional google.protobuf.FieldOptions.OptionTargetType target */ 18:
|
1624
|
+
message.target = reader.int32();
|
1625
|
+
break;
|
1626
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1627
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1628
|
+
break;
|
1629
|
+
default:
|
1630
|
+
let u = options.readUnknownField;
|
1631
|
+
if (u === "throw")
|
1632
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1633
|
+
let d = reader.skip(wireType);
|
1634
|
+
if (u !== false)
|
1635
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
return message;
|
1639
|
+
}
|
1640
|
+
internalBinaryWrite(message, writer, options) {
|
1641
|
+
/* optional google.protobuf.FieldOptions.CType ctype = 1; */
|
1642
|
+
if (message.ctype !== undefined)
|
1643
|
+
writer.tag(1, WireType.Varint).int32(message.ctype);
|
1644
|
+
/* optional bool packed = 2; */
|
1645
|
+
if (message.packed !== undefined)
|
1646
|
+
writer.tag(2, WireType.Varint).bool(message.packed);
|
1647
|
+
/* optional google.protobuf.FieldOptions.JSType jstype = 6; */
|
1648
|
+
if (message.jstype !== undefined)
|
1649
|
+
writer.tag(6, WireType.Varint).int32(message.jstype);
|
1650
|
+
/* optional bool lazy = 5; */
|
1651
|
+
if (message.lazy !== undefined)
|
1652
|
+
writer.tag(5, WireType.Varint).bool(message.lazy);
|
1653
|
+
/* optional bool unverified_lazy = 15; */
|
1654
|
+
if (message.unverifiedLazy !== undefined)
|
1655
|
+
writer.tag(15, WireType.Varint).bool(message.unverifiedLazy);
|
1656
|
+
/* optional bool deprecated = 3; */
|
1657
|
+
if (message.deprecated !== undefined)
|
1658
|
+
writer.tag(3, WireType.Varint).bool(message.deprecated);
|
1659
|
+
/* optional bool weak = 10; */
|
1660
|
+
if (message.weak !== undefined)
|
1661
|
+
writer.tag(10, WireType.Varint).bool(message.weak);
|
1662
|
+
/* optional bool debug_redact = 16; */
|
1663
|
+
if (message.debugRedact !== undefined)
|
1664
|
+
writer.tag(16, WireType.Varint).bool(message.debugRedact);
|
1665
|
+
/* optional google.protobuf.FieldOptions.OptionRetention retention = 17; */
|
1666
|
+
if (message.retention !== undefined)
|
1667
|
+
writer.tag(17, WireType.Varint).int32(message.retention);
|
1668
|
+
/* optional google.protobuf.FieldOptions.OptionTargetType target = 18; */
|
1669
|
+
if (message.target !== undefined)
|
1670
|
+
writer.tag(18, WireType.Varint).int32(message.target);
|
1671
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1672
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1673
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1674
|
+
let u = options.writeUnknownFields;
|
1675
|
+
if (u !== false)
|
1676
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1677
|
+
return writer;
|
1678
|
+
}
|
1679
|
+
}
|
1680
|
+
/**
|
1681
|
+
* @generated MessageType for protobuf message google.protobuf.FieldOptions
|
1682
|
+
*/
|
1683
|
+
export const FieldOptions = new FieldOptions$Type();
|
1684
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1685
|
+
class OneofOptions$Type extends MessageType {
|
1686
|
+
constructor() {
|
1687
|
+
super("google.protobuf.OneofOptions", [
|
1688
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1689
|
+
]);
|
1690
|
+
}
|
1691
|
+
create(value) {
|
1692
|
+
const message = { uninterpretedOption: [] };
|
1693
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1694
|
+
if (value !== undefined)
|
1695
|
+
reflectionMergePartial(this, message, value);
|
1696
|
+
return message;
|
1697
|
+
}
|
1698
|
+
internalBinaryRead(reader, length, options, target) {
|
1699
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1700
|
+
while (reader.pos < end) {
|
1701
|
+
let [fieldNo, wireType] = reader.tag();
|
1702
|
+
switch (fieldNo) {
|
1703
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1704
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1705
|
+
break;
|
1706
|
+
default:
|
1707
|
+
let u = options.readUnknownField;
|
1708
|
+
if (u === "throw")
|
1709
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1710
|
+
let d = reader.skip(wireType);
|
1711
|
+
if (u !== false)
|
1712
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1713
|
+
}
|
1714
|
+
}
|
1715
|
+
return message;
|
1716
|
+
}
|
1717
|
+
internalBinaryWrite(message, writer, options) {
|
1718
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1719
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1720
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1721
|
+
let u = options.writeUnknownFields;
|
1722
|
+
if (u !== false)
|
1723
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1724
|
+
return writer;
|
1725
|
+
}
|
1726
|
+
}
|
1727
|
+
/**
|
1728
|
+
* @generated MessageType for protobuf message google.protobuf.OneofOptions
|
1729
|
+
*/
|
1730
|
+
export const OneofOptions = new OneofOptions$Type();
|
1731
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1732
|
+
class EnumOptions$Type extends MessageType {
|
1733
|
+
constructor() {
|
1734
|
+
super("google.protobuf.EnumOptions", [
|
1735
|
+
{ no: 2, name: "allow_alias", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1736
|
+
{ no: 3, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1737
|
+
{ no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1738
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1739
|
+
]);
|
1740
|
+
}
|
1741
|
+
create(value) {
|
1742
|
+
const message = { uninterpretedOption: [] };
|
1743
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1744
|
+
if (value !== undefined)
|
1745
|
+
reflectionMergePartial(this, message, value);
|
1746
|
+
return message;
|
1747
|
+
}
|
1748
|
+
internalBinaryRead(reader, length, options, target) {
|
1749
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1750
|
+
while (reader.pos < end) {
|
1751
|
+
let [fieldNo, wireType] = reader.tag();
|
1752
|
+
switch (fieldNo) {
|
1753
|
+
case /* optional bool allow_alias */ 2:
|
1754
|
+
message.allowAlias = reader.bool();
|
1755
|
+
break;
|
1756
|
+
case /* optional bool deprecated */ 3:
|
1757
|
+
message.deprecated = reader.bool();
|
1758
|
+
break;
|
1759
|
+
case /* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];*/ 6:
|
1760
|
+
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
1761
|
+
break;
|
1762
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1763
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1764
|
+
break;
|
1765
|
+
default:
|
1766
|
+
let u = options.readUnknownField;
|
1767
|
+
if (u === "throw")
|
1768
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1769
|
+
let d = reader.skip(wireType);
|
1770
|
+
if (u !== false)
|
1771
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
return message;
|
1775
|
+
}
|
1776
|
+
internalBinaryWrite(message, writer, options) {
|
1777
|
+
/* optional bool allow_alias = 2; */
|
1778
|
+
if (message.allowAlias !== undefined)
|
1779
|
+
writer.tag(2, WireType.Varint).bool(message.allowAlias);
|
1780
|
+
/* optional bool deprecated = 3; */
|
1781
|
+
if (message.deprecated !== undefined)
|
1782
|
+
writer.tag(3, WireType.Varint).bool(message.deprecated);
|
1783
|
+
/* optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; */
|
1784
|
+
if (message.deprecatedLegacyJsonFieldConflicts !== undefined)
|
1785
|
+
writer.tag(6, WireType.Varint).bool(message.deprecatedLegacyJsonFieldConflicts);
|
1786
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1787
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1788
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1789
|
+
let u = options.writeUnknownFields;
|
1790
|
+
if (u !== false)
|
1791
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1792
|
+
return writer;
|
1793
|
+
}
|
1794
|
+
}
|
1795
|
+
/**
|
1796
|
+
* @generated MessageType for protobuf message google.protobuf.EnumOptions
|
1797
|
+
*/
|
1798
|
+
export const EnumOptions = new EnumOptions$Type();
|
1799
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1800
|
+
class EnumValueOptions$Type extends MessageType {
|
1801
|
+
constructor() {
|
1802
|
+
super("google.protobuf.EnumValueOptions", [
|
1803
|
+
{ no: 1, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1804
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1805
|
+
]);
|
1806
|
+
}
|
1807
|
+
create(value) {
|
1808
|
+
const message = { uninterpretedOption: [] };
|
1809
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1810
|
+
if (value !== undefined)
|
1811
|
+
reflectionMergePartial(this, message, value);
|
1812
|
+
return message;
|
1813
|
+
}
|
1814
|
+
internalBinaryRead(reader, length, options, target) {
|
1815
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1816
|
+
while (reader.pos < end) {
|
1817
|
+
let [fieldNo, wireType] = reader.tag();
|
1818
|
+
switch (fieldNo) {
|
1819
|
+
case /* optional bool deprecated */ 1:
|
1820
|
+
message.deprecated = reader.bool();
|
1821
|
+
break;
|
1822
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1823
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1824
|
+
break;
|
1825
|
+
default:
|
1826
|
+
let u = options.readUnknownField;
|
1827
|
+
if (u === "throw")
|
1828
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1829
|
+
let d = reader.skip(wireType);
|
1830
|
+
if (u !== false)
|
1831
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1832
|
+
}
|
1833
|
+
}
|
1834
|
+
return message;
|
1835
|
+
}
|
1836
|
+
internalBinaryWrite(message, writer, options) {
|
1837
|
+
/* optional bool deprecated = 1; */
|
1838
|
+
if (message.deprecated !== undefined)
|
1839
|
+
writer.tag(1, WireType.Varint).bool(message.deprecated);
|
1840
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1841
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1842
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1843
|
+
let u = options.writeUnknownFields;
|
1844
|
+
if (u !== false)
|
1845
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1846
|
+
return writer;
|
1847
|
+
}
|
1848
|
+
}
|
1849
|
+
/**
|
1850
|
+
* @generated MessageType for protobuf message google.protobuf.EnumValueOptions
|
1851
|
+
*/
|
1852
|
+
export const EnumValueOptions = new EnumValueOptions$Type();
|
1853
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1854
|
+
class ServiceOptions$Type extends MessageType {
|
1855
|
+
constructor() {
|
1856
|
+
super("google.protobuf.ServiceOptions", [
|
1857
|
+
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1858
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1859
|
+
]);
|
1860
|
+
}
|
1861
|
+
create(value) {
|
1862
|
+
const message = { uninterpretedOption: [] };
|
1863
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1864
|
+
if (value !== undefined)
|
1865
|
+
reflectionMergePartial(this, message, value);
|
1866
|
+
return message;
|
1867
|
+
}
|
1868
|
+
internalBinaryRead(reader, length, options, target) {
|
1869
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1870
|
+
while (reader.pos < end) {
|
1871
|
+
let [fieldNo, wireType] = reader.tag();
|
1872
|
+
switch (fieldNo) {
|
1873
|
+
case /* optional bool deprecated */ 33:
|
1874
|
+
message.deprecated = reader.bool();
|
1875
|
+
break;
|
1876
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1877
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1878
|
+
break;
|
1879
|
+
default:
|
1880
|
+
let u = options.readUnknownField;
|
1881
|
+
if (u === "throw")
|
1882
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1883
|
+
let d = reader.skip(wireType);
|
1884
|
+
if (u !== false)
|
1885
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
return message;
|
1889
|
+
}
|
1890
|
+
internalBinaryWrite(message, writer, options) {
|
1891
|
+
/* optional bool deprecated = 33; */
|
1892
|
+
if (message.deprecated !== undefined)
|
1893
|
+
writer.tag(33, WireType.Varint).bool(message.deprecated);
|
1894
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1895
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1896
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1897
|
+
let u = options.writeUnknownFields;
|
1898
|
+
if (u !== false)
|
1899
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1900
|
+
return writer;
|
1901
|
+
}
|
1902
|
+
}
|
1903
|
+
/**
|
1904
|
+
* @generated MessageType for protobuf message google.protobuf.ServiceOptions
|
1905
|
+
*/
|
1906
|
+
export const ServiceOptions = new ServiceOptions$Type();
|
1907
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1908
|
+
class MethodOptions$Type extends MessageType {
|
1909
|
+
constructor() {
|
1910
|
+
super("google.protobuf.MethodOptions", [
|
1911
|
+
{ no: 33, name: "deprecated", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1912
|
+
{ no: 34, name: "idempotency_level", kind: "enum", opt: true, T: () => ["google.protobuf.MethodOptions.IdempotencyLevel", MethodOptions_IdempotencyLevel] },
|
1913
|
+
{ no: 999, name: "uninterpreted_option", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption }
|
1914
|
+
]);
|
1915
|
+
}
|
1916
|
+
create(value) {
|
1917
|
+
const message = { uninterpretedOption: [] };
|
1918
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1919
|
+
if (value !== undefined)
|
1920
|
+
reflectionMergePartial(this, message, value);
|
1921
|
+
return message;
|
1922
|
+
}
|
1923
|
+
internalBinaryRead(reader, length, options, target) {
|
1924
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1925
|
+
while (reader.pos < end) {
|
1926
|
+
let [fieldNo, wireType] = reader.tag();
|
1927
|
+
switch (fieldNo) {
|
1928
|
+
case /* optional bool deprecated */ 33:
|
1929
|
+
message.deprecated = reader.bool();
|
1930
|
+
break;
|
1931
|
+
case /* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level */ 34:
|
1932
|
+
message.idempotencyLevel = reader.int32();
|
1933
|
+
break;
|
1934
|
+
case /* repeated google.protobuf.UninterpretedOption uninterpreted_option */ 999:
|
1935
|
+
message.uninterpretedOption.push(UninterpretedOption.internalBinaryRead(reader, reader.uint32(), options));
|
1936
|
+
break;
|
1937
|
+
default:
|
1938
|
+
let u = options.readUnknownField;
|
1939
|
+
if (u === "throw")
|
1940
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1941
|
+
let d = reader.skip(wireType);
|
1942
|
+
if (u !== false)
|
1943
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1944
|
+
}
|
1945
|
+
}
|
1946
|
+
return message;
|
1947
|
+
}
|
1948
|
+
internalBinaryWrite(message, writer, options) {
|
1949
|
+
/* optional bool deprecated = 33; */
|
1950
|
+
if (message.deprecated !== undefined)
|
1951
|
+
writer.tag(33, WireType.Varint).bool(message.deprecated);
|
1952
|
+
/* optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34; */
|
1953
|
+
if (message.idempotencyLevel !== undefined)
|
1954
|
+
writer.tag(34, WireType.Varint).int32(message.idempotencyLevel);
|
1955
|
+
/* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
|
1956
|
+
for (let i = 0; i < message.uninterpretedOption.length; i++)
|
1957
|
+
UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
|
1958
|
+
let u = options.writeUnknownFields;
|
1959
|
+
if (u !== false)
|
1960
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1961
|
+
return writer;
|
1962
|
+
}
|
1963
|
+
}
|
1964
|
+
/**
|
1965
|
+
* @generated MessageType for protobuf message google.protobuf.MethodOptions
|
1966
|
+
*/
|
1967
|
+
export const MethodOptions = new MethodOptions$Type();
|
1968
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1969
|
+
class UninterpretedOption$Type extends MessageType {
|
1970
|
+
constructor() {
|
1971
|
+
super("google.protobuf.UninterpretedOption", [
|
1972
|
+
{ no: 2, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UninterpretedOption_NamePart },
|
1973
|
+
{ no: 3, name: "identifier_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1974
|
+
{ no: 4, name: "positive_int_value", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/ },
|
1975
|
+
{ no: 5, name: "negative_int_value", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/ },
|
1976
|
+
{ no: 6, name: "double_value", kind: "scalar", opt: true, T: 1 /*ScalarType.DOUBLE*/ },
|
1977
|
+
{ no: 7, name: "string_value", kind: "scalar", opt: true, T: 12 /*ScalarType.BYTES*/ },
|
1978
|
+
{ no: 8, name: "aggregate_value", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
1979
|
+
]);
|
1980
|
+
}
|
1981
|
+
create(value) {
|
1982
|
+
const message = { name: [] };
|
1983
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
1984
|
+
if (value !== undefined)
|
1985
|
+
reflectionMergePartial(this, message, value);
|
1986
|
+
return message;
|
1987
|
+
}
|
1988
|
+
internalBinaryRead(reader, length, options, target) {
|
1989
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1990
|
+
while (reader.pos < end) {
|
1991
|
+
let [fieldNo, wireType] = reader.tag();
|
1992
|
+
switch (fieldNo) {
|
1993
|
+
case /* repeated google.protobuf.UninterpretedOption.NamePart name */ 2:
|
1994
|
+
message.name.push(UninterpretedOption_NamePart.internalBinaryRead(reader, reader.uint32(), options));
|
1995
|
+
break;
|
1996
|
+
case /* optional string identifier_value */ 3:
|
1997
|
+
message.identifierValue = reader.string();
|
1998
|
+
break;
|
1999
|
+
case /* optional uint64 positive_int_value */ 4:
|
2000
|
+
message.positiveIntValue = reader.uint64().toString();
|
2001
|
+
break;
|
2002
|
+
case /* optional int64 negative_int_value */ 5:
|
2003
|
+
message.negativeIntValue = reader.int64().toString();
|
2004
|
+
break;
|
2005
|
+
case /* optional double double_value */ 6:
|
2006
|
+
message.doubleValue = reader.double();
|
2007
|
+
break;
|
2008
|
+
case /* optional bytes string_value */ 7:
|
2009
|
+
message.stringValue = reader.bytes();
|
2010
|
+
break;
|
2011
|
+
case /* optional string aggregate_value */ 8:
|
2012
|
+
message.aggregateValue = reader.string();
|
2013
|
+
break;
|
2014
|
+
default:
|
2015
|
+
let u = options.readUnknownField;
|
2016
|
+
if (u === "throw")
|
2017
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2018
|
+
let d = reader.skip(wireType);
|
2019
|
+
if (u !== false)
|
2020
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
return message;
|
2024
|
+
}
|
2025
|
+
internalBinaryWrite(message, writer, options) {
|
2026
|
+
/* repeated google.protobuf.UninterpretedOption.NamePart name = 2; */
|
2027
|
+
for (let i = 0; i < message.name.length; i++)
|
2028
|
+
UninterpretedOption_NamePart.internalBinaryWrite(message.name[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
2029
|
+
/* optional string identifier_value = 3; */
|
2030
|
+
if (message.identifierValue !== undefined)
|
2031
|
+
writer.tag(3, WireType.LengthDelimited).string(message.identifierValue);
|
2032
|
+
/* optional uint64 positive_int_value = 4; */
|
2033
|
+
if (message.positiveIntValue !== undefined)
|
2034
|
+
writer.tag(4, WireType.Varint).uint64(message.positiveIntValue);
|
2035
|
+
/* optional int64 negative_int_value = 5; */
|
2036
|
+
if (message.negativeIntValue !== undefined)
|
2037
|
+
writer.tag(5, WireType.Varint).int64(message.negativeIntValue);
|
2038
|
+
/* optional double double_value = 6; */
|
2039
|
+
if (message.doubleValue !== undefined)
|
2040
|
+
writer.tag(6, WireType.Bit64).double(message.doubleValue);
|
2041
|
+
/* optional bytes string_value = 7; */
|
2042
|
+
if (message.stringValue !== undefined)
|
2043
|
+
writer.tag(7, WireType.LengthDelimited).bytes(message.stringValue);
|
2044
|
+
/* optional string aggregate_value = 8; */
|
2045
|
+
if (message.aggregateValue !== undefined)
|
2046
|
+
writer.tag(8, WireType.LengthDelimited).string(message.aggregateValue);
|
2047
|
+
let u = options.writeUnknownFields;
|
2048
|
+
if (u !== false)
|
2049
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2050
|
+
return writer;
|
2051
|
+
}
|
2052
|
+
}
|
2053
|
+
/**
|
2054
|
+
* @generated MessageType for protobuf message google.protobuf.UninterpretedOption
|
2055
|
+
*/
|
2056
|
+
export const UninterpretedOption = new UninterpretedOption$Type();
|
2057
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2058
|
+
class UninterpretedOption_NamePart$Type extends MessageType {
|
2059
|
+
constructor() {
|
2060
|
+
super("google.protobuf.UninterpretedOption.NamePart", [
|
2061
|
+
{ no: 1, name: "name_part", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
2062
|
+
{ no: 2, name: "is_extension", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
2063
|
+
]);
|
2064
|
+
}
|
2065
|
+
create(value) {
|
2066
|
+
const message = { namePart: "", isExtension: false };
|
2067
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
2068
|
+
if (value !== undefined)
|
2069
|
+
reflectionMergePartial(this, message, value);
|
2070
|
+
return message;
|
2071
|
+
}
|
2072
|
+
internalBinaryRead(reader, length, options, target) {
|
2073
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2074
|
+
while (reader.pos < end) {
|
2075
|
+
let [fieldNo, wireType] = reader.tag();
|
2076
|
+
switch (fieldNo) {
|
2077
|
+
case /* string name_part */ 1:
|
2078
|
+
message.namePart = reader.string();
|
2079
|
+
break;
|
2080
|
+
case /* bool is_extension */ 2:
|
2081
|
+
message.isExtension = reader.bool();
|
2082
|
+
break;
|
2083
|
+
default:
|
2084
|
+
let u = options.readUnknownField;
|
2085
|
+
if (u === "throw")
|
2086
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2087
|
+
let d = reader.skip(wireType);
|
2088
|
+
if (u !== false)
|
2089
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2090
|
+
}
|
2091
|
+
}
|
2092
|
+
return message;
|
2093
|
+
}
|
2094
|
+
internalBinaryWrite(message, writer, options) {
|
2095
|
+
/* string name_part = 1; */
|
2096
|
+
if (message.namePart !== "")
|
2097
|
+
writer.tag(1, WireType.LengthDelimited).string(message.namePart);
|
2098
|
+
/* bool is_extension = 2; */
|
2099
|
+
if (message.isExtension !== false)
|
2100
|
+
writer.tag(2, WireType.Varint).bool(message.isExtension);
|
2101
|
+
let u = options.writeUnknownFields;
|
2102
|
+
if (u !== false)
|
2103
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2104
|
+
return writer;
|
2105
|
+
}
|
2106
|
+
}
|
2107
|
+
/**
|
2108
|
+
* @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
|
2109
|
+
*/
|
2110
|
+
export const UninterpretedOption_NamePart = new UninterpretedOption_NamePart$Type();
|
2111
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2112
|
+
class SourceCodeInfo$Type extends MessageType {
|
2113
|
+
constructor() {
|
2114
|
+
super("google.protobuf.SourceCodeInfo", [
|
2115
|
+
{ no: 1, name: "location", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SourceCodeInfo_Location }
|
2116
|
+
]);
|
2117
|
+
}
|
2118
|
+
create(value) {
|
2119
|
+
const message = { location: [] };
|
2120
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
2121
|
+
if (value !== undefined)
|
2122
|
+
reflectionMergePartial(this, message, value);
|
2123
|
+
return message;
|
2124
|
+
}
|
2125
|
+
internalBinaryRead(reader, length, options, target) {
|
2126
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2127
|
+
while (reader.pos < end) {
|
2128
|
+
let [fieldNo, wireType] = reader.tag();
|
2129
|
+
switch (fieldNo) {
|
2130
|
+
case /* repeated google.protobuf.SourceCodeInfo.Location location */ 1:
|
2131
|
+
message.location.push(SourceCodeInfo_Location.internalBinaryRead(reader, reader.uint32(), options));
|
2132
|
+
break;
|
2133
|
+
default:
|
2134
|
+
let u = options.readUnknownField;
|
2135
|
+
if (u === "throw")
|
2136
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2137
|
+
let d = reader.skip(wireType);
|
2138
|
+
if (u !== false)
|
2139
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2140
|
+
}
|
2141
|
+
}
|
2142
|
+
return message;
|
2143
|
+
}
|
2144
|
+
internalBinaryWrite(message, writer, options) {
|
2145
|
+
/* repeated google.protobuf.SourceCodeInfo.Location location = 1; */
|
2146
|
+
for (let i = 0; i < message.location.length; i++)
|
2147
|
+
SourceCodeInfo_Location.internalBinaryWrite(message.location[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
2148
|
+
let u = options.writeUnknownFields;
|
2149
|
+
if (u !== false)
|
2150
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2151
|
+
return writer;
|
2152
|
+
}
|
2153
|
+
}
|
2154
|
+
/**
|
2155
|
+
* @generated MessageType for protobuf message google.protobuf.SourceCodeInfo
|
2156
|
+
*/
|
2157
|
+
export const SourceCodeInfo = new SourceCodeInfo$Type();
|
2158
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2159
|
+
class SourceCodeInfo_Location$Type extends MessageType {
|
2160
|
+
constructor() {
|
2161
|
+
super("google.protobuf.SourceCodeInfo.Location", [
|
2162
|
+
{ no: 1, name: "path", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
2163
|
+
{ no: 2, name: "span", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
2164
|
+
{ no: 3, name: "leading_comments", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
2165
|
+
{ no: 4, name: "trailing_comments", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
2166
|
+
{ no: 6, name: "leading_detached_comments", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
2167
|
+
]);
|
2168
|
+
}
|
2169
|
+
create(value) {
|
2170
|
+
const message = { path: [], span: [], leadingDetachedComments: [] };
|
2171
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
2172
|
+
if (value !== undefined)
|
2173
|
+
reflectionMergePartial(this, message, value);
|
2174
|
+
return message;
|
2175
|
+
}
|
2176
|
+
internalBinaryRead(reader, length, options, target) {
|
2177
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2178
|
+
while (reader.pos < end) {
|
2179
|
+
let [fieldNo, wireType] = reader.tag();
|
2180
|
+
switch (fieldNo) {
|
2181
|
+
case /* repeated int32 path = 1 [packed = true];*/ 1:
|
2182
|
+
if (wireType === WireType.LengthDelimited)
|
2183
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
2184
|
+
message.path.push(reader.int32());
|
2185
|
+
else
|
2186
|
+
message.path.push(reader.int32());
|
2187
|
+
break;
|
2188
|
+
case /* repeated int32 span = 2 [packed = true];*/ 2:
|
2189
|
+
if (wireType === WireType.LengthDelimited)
|
2190
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
2191
|
+
message.span.push(reader.int32());
|
2192
|
+
else
|
2193
|
+
message.span.push(reader.int32());
|
2194
|
+
break;
|
2195
|
+
case /* optional string leading_comments */ 3:
|
2196
|
+
message.leadingComments = reader.string();
|
2197
|
+
break;
|
2198
|
+
case /* optional string trailing_comments */ 4:
|
2199
|
+
message.trailingComments = reader.string();
|
2200
|
+
break;
|
2201
|
+
case /* repeated string leading_detached_comments */ 6:
|
2202
|
+
message.leadingDetachedComments.push(reader.string());
|
2203
|
+
break;
|
2204
|
+
default:
|
2205
|
+
let u = options.readUnknownField;
|
2206
|
+
if (u === "throw")
|
2207
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2208
|
+
let d = reader.skip(wireType);
|
2209
|
+
if (u !== false)
|
2210
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2211
|
+
}
|
2212
|
+
}
|
2213
|
+
return message;
|
2214
|
+
}
|
2215
|
+
internalBinaryWrite(message, writer, options) {
|
2216
|
+
/* repeated int32 path = 1 [packed = true]; */
|
2217
|
+
if (message.path.length) {
|
2218
|
+
writer.tag(1, WireType.LengthDelimited).fork();
|
2219
|
+
for (let i = 0; i < message.path.length; i++)
|
2220
|
+
writer.int32(message.path[i]);
|
2221
|
+
writer.join();
|
2222
|
+
}
|
2223
|
+
/* repeated int32 span = 2 [packed = true]; */
|
2224
|
+
if (message.span.length) {
|
2225
|
+
writer.tag(2, WireType.LengthDelimited).fork();
|
2226
|
+
for (let i = 0; i < message.span.length; i++)
|
2227
|
+
writer.int32(message.span[i]);
|
2228
|
+
writer.join();
|
2229
|
+
}
|
2230
|
+
/* optional string leading_comments = 3; */
|
2231
|
+
if (message.leadingComments !== undefined)
|
2232
|
+
writer.tag(3, WireType.LengthDelimited).string(message.leadingComments);
|
2233
|
+
/* optional string trailing_comments = 4; */
|
2234
|
+
if (message.trailingComments !== undefined)
|
2235
|
+
writer.tag(4, WireType.LengthDelimited).string(message.trailingComments);
|
2236
|
+
/* repeated string leading_detached_comments = 6; */
|
2237
|
+
for (let i = 0; i < message.leadingDetachedComments.length; i++)
|
2238
|
+
writer.tag(6, WireType.LengthDelimited).string(message.leadingDetachedComments[i]);
|
2239
|
+
let u = options.writeUnknownFields;
|
2240
|
+
if (u !== false)
|
2241
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2242
|
+
return writer;
|
2243
|
+
}
|
2244
|
+
}
|
2245
|
+
/**
|
2246
|
+
* @generated MessageType for protobuf message google.protobuf.SourceCodeInfo.Location
|
2247
|
+
*/
|
2248
|
+
export const SourceCodeInfo_Location = new SourceCodeInfo_Location$Type();
|
2249
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2250
|
+
class GeneratedCodeInfo$Type extends MessageType {
|
2251
|
+
constructor() {
|
2252
|
+
super("google.protobuf.GeneratedCodeInfo", [
|
2253
|
+
{ no: 1, name: "annotation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GeneratedCodeInfo_Annotation }
|
2254
|
+
]);
|
2255
|
+
}
|
2256
|
+
create(value) {
|
2257
|
+
const message = { annotation: [] };
|
2258
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
2259
|
+
if (value !== undefined)
|
2260
|
+
reflectionMergePartial(this, message, value);
|
2261
|
+
return message;
|
2262
|
+
}
|
2263
|
+
internalBinaryRead(reader, length, options, target) {
|
2264
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2265
|
+
while (reader.pos < end) {
|
2266
|
+
let [fieldNo, wireType] = reader.tag();
|
2267
|
+
switch (fieldNo) {
|
2268
|
+
case /* repeated google.protobuf.GeneratedCodeInfo.Annotation annotation */ 1:
|
2269
|
+
message.annotation.push(GeneratedCodeInfo_Annotation.internalBinaryRead(reader, reader.uint32(), options));
|
2270
|
+
break;
|
2271
|
+
default:
|
2272
|
+
let u = options.readUnknownField;
|
2273
|
+
if (u === "throw")
|
2274
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2275
|
+
let d = reader.skip(wireType);
|
2276
|
+
if (u !== false)
|
2277
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2278
|
+
}
|
2279
|
+
}
|
2280
|
+
return message;
|
2281
|
+
}
|
2282
|
+
internalBinaryWrite(message, writer, options) {
|
2283
|
+
/* repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; */
|
2284
|
+
for (let i = 0; i < message.annotation.length; i++)
|
2285
|
+
GeneratedCodeInfo_Annotation.internalBinaryWrite(message.annotation[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
2286
|
+
let u = options.writeUnknownFields;
|
2287
|
+
if (u !== false)
|
2288
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2289
|
+
return writer;
|
2290
|
+
}
|
2291
|
+
}
|
2292
|
+
/**
|
2293
|
+
* @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo
|
2294
|
+
*/
|
2295
|
+
export const GeneratedCodeInfo = new GeneratedCodeInfo$Type();
|
2296
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2297
|
+
class GeneratedCodeInfo_Annotation$Type extends MessageType {
|
2298
|
+
constructor() {
|
2299
|
+
super("google.protobuf.GeneratedCodeInfo.Annotation", [
|
2300
|
+
{ no: 1, name: "path", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
2301
|
+
{ no: 2, name: "source_file", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
2302
|
+
{ no: 3, name: "begin", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
2303
|
+
{ no: 4, name: "end", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
|
2304
|
+
{ no: 5, name: "semantic", kind: "enum", opt: true, T: () => ["google.protobuf.GeneratedCodeInfo.Annotation.Semantic", GeneratedCodeInfo_Annotation_Semantic] }
|
2305
|
+
]);
|
2306
|
+
}
|
2307
|
+
create(value) {
|
2308
|
+
const message = { path: [] };
|
2309
|
+
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });
|
2310
|
+
if (value !== undefined)
|
2311
|
+
reflectionMergePartial(this, message, value);
|
2312
|
+
return message;
|
2313
|
+
}
|
2314
|
+
internalBinaryRead(reader, length, options, target) {
|
2315
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2316
|
+
while (reader.pos < end) {
|
2317
|
+
let [fieldNo, wireType] = reader.tag();
|
2318
|
+
switch (fieldNo) {
|
2319
|
+
case /* repeated int32 path = 1 [packed = true];*/ 1:
|
2320
|
+
if (wireType === WireType.LengthDelimited)
|
2321
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
2322
|
+
message.path.push(reader.int32());
|
2323
|
+
else
|
2324
|
+
message.path.push(reader.int32());
|
2325
|
+
break;
|
2326
|
+
case /* optional string source_file */ 2:
|
2327
|
+
message.sourceFile = reader.string();
|
2328
|
+
break;
|
2329
|
+
case /* optional int32 begin */ 3:
|
2330
|
+
message.begin = reader.int32();
|
2331
|
+
break;
|
2332
|
+
case /* optional int32 end */ 4:
|
2333
|
+
message.end = reader.int32();
|
2334
|
+
break;
|
2335
|
+
case /* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic */ 5:
|
2336
|
+
message.semantic = reader.int32();
|
2337
|
+
break;
|
2338
|
+
default:
|
2339
|
+
let u = options.readUnknownField;
|
2340
|
+
if (u === "throw")
|
2341
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2342
|
+
let d = reader.skip(wireType);
|
2343
|
+
if (u !== false)
|
2344
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2345
|
+
}
|
2346
|
+
}
|
2347
|
+
return message;
|
2348
|
+
}
|
2349
|
+
internalBinaryWrite(message, writer, options) {
|
2350
|
+
/* repeated int32 path = 1 [packed = true]; */
|
2351
|
+
if (message.path.length) {
|
2352
|
+
writer.tag(1, WireType.LengthDelimited).fork();
|
2353
|
+
for (let i = 0; i < message.path.length; i++)
|
2354
|
+
writer.int32(message.path[i]);
|
2355
|
+
writer.join();
|
2356
|
+
}
|
2357
|
+
/* optional string source_file = 2; */
|
2358
|
+
if (message.sourceFile !== undefined)
|
2359
|
+
writer.tag(2, WireType.LengthDelimited).string(message.sourceFile);
|
2360
|
+
/* optional int32 begin = 3; */
|
2361
|
+
if (message.begin !== undefined)
|
2362
|
+
writer.tag(3, WireType.Varint).int32(message.begin);
|
2363
|
+
/* optional int32 end = 4; */
|
2364
|
+
if (message.end !== undefined)
|
2365
|
+
writer.tag(4, WireType.Varint).int32(message.end);
|
2366
|
+
/* optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; */
|
2367
|
+
if (message.semantic !== undefined)
|
2368
|
+
writer.tag(5, WireType.Varint).int32(message.semantic);
|
2369
|
+
let u = options.writeUnknownFields;
|
2370
|
+
if (u !== false)
|
2371
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2372
|
+
return writer;
|
2373
|
+
}
|
2374
|
+
}
|
2375
|
+
/**
|
2376
|
+
* @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo.Annotation
|
2377
|
+
*/
|
2378
|
+
export const GeneratedCodeInfo_Annotation = new GeneratedCodeInfo_Annotation$Type();
|