@dronedeploy/rocos-js-sdk 0.0.1 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/IRocosSDK.d.ts +55 -0
- package/IRocosSDK.js +6 -0
- package/README.md +90 -0
- package/RocosSDK.d.ts +138 -0
- package/RocosSDK.js +294 -0
- package/api/StreamRegister.d.ts +13 -0
- package/api/StreamRegister.js +58 -0
- package/api/atoms/StreamHeartbeat.d.ts +27 -0
- package/api/atoms/StreamHeartbeat.js +115 -0
- package/api/streams/caller/CallerStream.d.ts +13 -0
- package/api/streams/caller/CallerStream.js +85 -0
- package/api/streams/caller/CallerStreamAbstract.d.ts +28 -0
- package/api/streams/caller/CallerStreamAbstract.js +99 -0
- package/api/streams/caller/CallerStreamNode.d.ts +13 -0
- package/api/streams/caller/CallerStreamNode.js +128 -0
- package/api/streams/command/CommandStream.d.ts +12 -0
- package/api/streams/command/CommandStream.js +68 -0
- package/api/streams/command/CommandStreamAbstract.d.ts +24 -0
- package/api/streams/command/CommandStreamAbstract.js +72 -0
- package/api/streams/command/CommandStreamNode.d.ts +12 -0
- package/api/streams/command/CommandStreamNode.js +93 -0
- package/api/streams/control/ControlStream.d.ts +14 -0
- package/api/streams/control/ControlStream.js +81 -0
- package/api/streams/control/ControlStreamAbstract.d.ts +28 -0
- package/api/streams/control/ControlStreamAbstract.js +108 -0
- package/api/streams/control/ControlStreamNode.d.ts +14 -0
- package/api/streams/control/ControlStreamNode.js +98 -0
- package/api/streams/fileAccessor/FileAccessorStream.d.ts +10 -0
- package/api/streams/fileAccessor/FileAccessorStream.js +74 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +26 -0
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.js +82 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.d.ts +10 -0
- package/api/streams/fileAccessor/FileAccessorStreamNode.js +96 -0
- package/api/streams/search/SearchStream.d.ts +16 -0
- package/api/streams/search/SearchStream.js +120 -0
- package/api/streams/search/SearchStreamAbstract.d.ts +30 -0
- package/api/streams/search/SearchStreamAbstract.js +74 -0
- package/api/streams/search/SearchStreamNode.d.ts +16 -0
- package/api/streams/search/SearchStreamNode.js +143 -0
- package/api/streams/telemetry/TelemetryStream.d.ts +17 -0
- package/api/streams/telemetry/TelemetryStream.js +126 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.d.ts +62 -0
- package/api/streams/telemetry/TelemetryStreamAbstract.js +421 -0
- package/api/streams/telemetry/TelemetryStreamNode.d.ts +21 -0
- package/api/streams/telemetry/TelemetryStreamNode.js +195 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +44 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.js +67 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +32 -0
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +65 -0
- package/constants/api.d.ts +121 -0
- package/constants/api.js +126 -0
- package/constants/grpc.d.ts +5 -0
- package/constants/grpc.js +8 -0
- package/constants/identifier.d.ts +6 -0
- package/constants/identifier.js +9 -0
- package/constants/timezones.d.ts +2 -0
- package/constants/timezones.js +430 -0
- package/demo/angular/.editorconfig +16 -0
- package/demo/angular/.eslintignore +4 -0
- package/demo/angular/.eslintrc.json +50 -0
- package/demo/angular/README.md +36 -0
- package/demo/angular/angular.json +132 -0
- package/demo/angular/karma.conf.js +44 -0
- package/demo/angular/package.json +41 -0
- package/demo/angular/src/app/app.component.css +0 -0
- package/demo/angular/src/app/app.component.html +9 -0
- package/demo/angular/src/app/app.component.ts +10 -0
- package/demo/angular/src/app/app.module.ts +38 -0
- package/demo/angular/src/app/components/assets/assets.component.css +0 -0
- package/demo/angular/src/app/components/assets/assets.component.html +29 -0
- package/demo/angular/src/app/components/assets/assets.component.ts +107 -0
- package/demo/angular/src/app/components/auth/auth.component.css +0 -0
- package/demo/angular/src/app/components/auth/auth.component.html +27 -0
- package/demo/angular/src/app/components/auth/auth.component.ts +33 -0
- package/demo/angular/src/app/components/caller/caller.component.css +0 -0
- package/demo/angular/src/app/components/caller/caller.component.html +22 -0
- package/demo/angular/src/app/components/caller/caller.component.ts +61 -0
- package/demo/angular/src/app/components/command/command.component.css +0 -0
- package/demo/angular/src/app/components/command/command.component.html +22 -0
- package/demo/angular/src/app/components/command/command.component.ts +60 -0
- package/demo/angular/src/app/components/integrations/integrations.component.ts +43 -0
- package/demo/angular/src/app/components/robots/robots.component.css +0 -0
- package/demo/angular/src/app/components/robots/robots.component.html +13 -0
- package/demo/angular/src/app/components/robots/robots.component.ts +26 -0
- package/demo/angular/src/app/components/sdk/sdk.component.css +0 -0
- package/demo/angular/src/app/components/sdk/sdk.component.html +43 -0
- package/demo/angular/src/app/components/sdk/sdk.component.ts +50 -0
- package/demo/angular/src/app/components/subscription/subscription.component.css +0 -0
- package/demo/angular/src/app/components/subscription/subscription.component.html +6 -0
- package/demo/angular/src/app/components/subscription/subscription.component.ts +40 -0
- package/demo/angular/src/app/components/telemetry/telemetry.component.css +0 -0
- package/demo/angular/src/app/components/telemetry/telemetry.component.html +19 -0
- package/demo/angular/src/app/components/telemetry/telemetry.component.ts +61 -0
- package/demo/angular/src/app/components/token/token.component.css +0 -0
- package/demo/angular/src/app/components/token/token.component.html +10 -0
- package/demo/angular/src/app/components/token/token.component.ts +18 -0
- package/demo/angular/src/app/components/video/p2pvideo/index.ts +646 -0
- package/demo/angular/src/app/components/video/video-source.ts +315 -0
- package/demo/angular/src/app/components/video/video.component.css +6 -0
- package/demo/angular/src/app/components/video/video.component.html +54 -0
- package/demo/angular/src/app/components/video/video.component.ts +151 -0
- package/demo/angular/src/app/services/sdk.service.ts +193 -0
- package/demo/angular/src/assets/.gitkeep +0 -0
- package/demo/angular/src/assets/HKGrotesk-Bold.otf +0 -0
- package/demo/angular/src/assets/HKGrotesk-Regular.otf +0 -0
- package/demo/angular/src/assets/logo.svg +16 -0
- package/demo/angular/src/environments/environment.prod.ts +3 -0
- package/demo/angular/src/environments/environment.ts +16 -0
- package/demo/angular/src/favicon.ico +0 -0
- package/demo/angular/src/index.html +15 -0
- package/demo/angular/src/main.ts +7 -0
- package/demo/angular/src/polyfills.ts +53 -0
- package/demo/angular/src/styles.css +198 -0
- package/demo/angular/tsconfig.app.json +15 -0
- package/demo/angular/tsconfig.json +39 -0
- package/demo/html/README.md +8 -0
- package/demo/html/assets/HKGrotesk-Bold.otf +0 -0
- package/demo/html/assets/HKGrotesk-Regular.otf +0 -0
- package/demo/html/assets/logo.svg +16 -0
- package/demo/html/favicon.ico +0 -0
- package/demo/html/index.html +416 -0
- package/demo/html/rocos-js-sdk.js +3 -0
- package/demo/html/rocos-js-sdk.js.LICENSE.txt +8 -0
- package/demo/html/rocos-js-sdk.js.map +1 -0
- package/demo/html/styles.css +190 -0
- package/demo/node/README.md +17 -0
- package/demo/node/index.js +134 -0
- package/demo/node/package.json +8 -0
- package/demo/react/.env +1 -0
- package/demo/react/.env.dist +1 -0
- package/demo/react/.eslintrc.json +46 -0
- package/demo/react/README.md +65 -0
- package/demo/react/package.json +60 -0
- package/demo/react/public/favicon.ico +0 -0
- package/demo/react/public/index.html +43 -0
- package/demo/react/public/logo192.png +0 -0
- package/demo/react/public/logo512.png +0 -0
- package/demo/react/public/manifest.json +25 -0
- package/demo/react/public/robots.txt +3 -0
- package/demo/react/src/App.css +190 -0
- package/demo/react/src/App.tsx +31 -0
- package/demo/react/src/actions/index.ts +8 -0
- package/demo/react/src/actions/sdkActions.ts +62 -0
- package/demo/react/src/assets/HKGrotesk-Bold.otf +0 -0
- package/demo/react/src/assets/HKGrotesk-Regular.otf +0 -0
- package/demo/react/src/assets/logo.svg +16 -0
- package/demo/react/src/components/AuthForm.tsx +76 -0
- package/demo/react/src/components/CallerBox.tsx +53 -0
- package/demo/react/src/components/CallerForm.tsx +98 -0
- package/demo/react/src/components/CommandBox.tsx +47 -0
- package/demo/react/src/components/CommandForm.tsx +98 -0
- package/demo/react/src/components/RobotsForm.tsx +51 -0
- package/demo/react/src/components/SubscriptionBox.tsx +55 -0
- package/demo/react/src/components/TelemetryForm.tsx +98 -0
- package/demo/react/src/components/TokenForm.tsx +39 -0
- package/demo/react/src/config.json +14 -0
- package/demo/react/src/controllers/RocosSDKController.ts +48 -0
- package/demo/react/src/helpers/deepEqual.ts +27 -0
- package/demo/react/src/hooks/useInput.ts +29 -0
- package/demo/react/src/index.css +11 -0
- package/demo/react/src/index.tsx +26 -0
- package/demo/react/src/react-app-env.d.ts +1 -0
- package/demo/react/src/reducers/sdkReducer.ts +133 -0
- package/demo/react/src/reportWebVitals.ts +15 -0
- package/demo/react/src/selectors/sdkSelector.ts +11 -0
- package/demo/react/src/setupTests.ts +5 -0
- package/demo/react/src/store.ts +14 -0
- package/demo/react/tsconfig.json +26 -0
- package/demo/sdk-sizer/dist/sdk-sizer/3rdpartylicenses.txt +975 -0
- package/demo/sdk-sizer/dist/sdk-sizer/favicon.ico +0 -0
- package/demo/sdk-sizer/dist/sdk-sizer/index.html +12 -0
- package/demo/sdk-sizer/dist/sdk-sizer/main.c9183649ce1856ef.js +2 -0
- package/demo/sdk-sizer/dist/sdk-sizer/main.c9183649ce1856ef.js.map +1 -0
- package/demo/sdk-sizer/dist/sdk-sizer/polyfills.701c8e5d007909aa.js +2 -0
- package/demo/sdk-sizer/dist/sdk-sizer/polyfills.701c8e5d007909aa.js.map +1 -0
- package/demo/sdk-sizer/dist/sdk-sizer/runtime.00e20e689f5284a8.js +2 -0
- package/demo/sdk-sizer/dist/sdk-sizer/runtime.00e20e689f5284a8.js.map +1 -0
- package/demo/sdk-sizer/dist/sdk-sizer/stats.json +1 -0
- package/demo/sdk-sizer/dist/sdk-sizer/styles.b45f7e627ac8cbce.css +2 -0
- package/demo/sdk-sizer/dist/sdk-sizer/styles.b45f7e627ac8cbce.css.map +1 -0
- package/grpc/file-accessor/filagree_grpc_pb.d.ts +41 -0
- package/grpc/file-accessor/filagree_grpc_pb.js +121 -0
- package/grpc/file-accessor/filagree_pb.d.ts +339 -0
- package/grpc/file-accessor/filagree_pb.js +2261 -0
- package/grpc/file-accessor/filagree_pb_service.d.ts +115 -0
- package/grpc/file-accessor/filagree_pb_service.js +257 -0
- package/grpc/rambo/rambo.v1_grpc_pb.d.ts +39 -0
- package/grpc/rambo/rambo.v1_grpc_pb.js +73 -0
- package/grpc/rambo/rambo.v1_pb.d.ts +365 -0
- package/grpc/rambo/rambo.v1_pb.js +2469 -0
- package/grpc/rambo/rambo.v1_pb_service.d.ts +76 -0
- package/grpc/rambo/rambo.v1_pb_service.js +138 -0
- package/grpc/rambo/uri.v1_grpc_pb.d.ts +1 -0
- package/grpc/rambo/uri.v1_grpc_pb.js +1 -0
- package/grpc/rambo/uri.v1_pb.d.ts +80 -0
- package/grpc/rambo/uri.v1_pb.js +563 -0
- package/grpc/rambo/uri.v1_pb_service.d.ts +3 -0
- package/grpc/rambo/uri.v1_pb_service.js +3 -0
- package/grpc/robot-control/conker_grpc_pb.d.ts +46 -0
- package/grpc/robot-control/conker_grpc_pb.js +143 -0
- package/grpc/robot-control/conker_pb.d.ts +168 -0
- package/grpc/robot-control/conker_pb.js +1287 -0
- package/grpc/robot-control/conker_pb_service.d.ts +126 -0
- package/grpc/robot-control/conker_pb_service.js +301 -0
- package/grpc/serviette/common.v1_grpc_pb.d.ts +1 -0
- package/grpc/serviette/common.v1_grpc_pb.js +1 -0
- package/grpc/serviette/common.v1_pb.d.ts +8 -0
- package/grpc/serviette/common.v1_pb.js +45 -0
- package/grpc/serviette/common.v1_pb_service.d.ts +3 -0
- package/grpc/serviette/common.v1_pb_service.js +3 -0
- package/grpc/serviette/serviette.v1_grpc_pb.d.ts +137 -0
- package/grpc/serviette/serviette.v1_grpc_pb.js +331 -0
- package/grpc/serviette/serviette.v1_pb.d.ts +884 -0
- package/grpc/serviette/serviette.v1_pb.js +6363 -0
- package/grpc/serviette/serviette.v1_pb_service.d.ts +278 -0
- package/grpc/serviette/serviette.v1_pb_service.js +699 -0
- package/grpc/serviette/uri.v1_grpc_pb.d.ts +1 -0
- package/grpc/serviette/uri.v1_grpc_pb.js +1 -0
- package/grpc/serviette/uri.v1_pb.d.ts +102 -0
- package/grpc/serviette/uri.v1_pb.js +741 -0
- package/grpc/serviette/uri.v1_pb_service.d.ts +3 -0
- package/grpc/serviette/uri.v1_pb_service.js +3 -0
- package/grpc/slowlane/slowlane_grpc_pb.d.ts +38 -0
- package/grpc/slowlane/slowlane_grpc_pb.js +132 -0
- package/grpc/slowlane/slowlane_pb.d.ts +373 -0
- package/grpc/slowlane/slowlane_pb.js +2908 -0
- package/grpc/slowlane/slowlane_pb_service.d.ts +112 -0
- package/grpc/slowlane/slowlane_pb_service.js +189 -0
- package/grpc/teletubby/teletubby_grpc_pb.d.ts +73 -0
- package/grpc/teletubby/teletubby_grpc_pb.js +231 -0
- package/grpc/teletubby/teletubby_pb.d.ts +647 -0
- package/grpc/teletubby/teletubby_pb.js +4786 -0
- package/grpc/teletubby/teletubby_pb_service.d.ts +193 -0
- package/grpc/teletubby/teletubby_pb_service.js +436 -0
- package/grpc/video/pigeon_grpc_pb.d.ts +59 -0
- package/grpc/video/pigeon_grpc_pb.js +180 -0
- package/grpc/video/pigeon_pb.d.ts +237 -0
- package/grpc/video/pigeon_pb.js +1775 -0
- package/grpc/video/pigeon_pb_service.d.ts +152 -0
- package/grpc/video/pigeon_pb_service.js +292 -0
- package/helpers/arrayRemove.d.ts +1 -0
- package/helpers/arrayRemove.js +7 -0
- package/helpers/arrayUnique.d.ts +1 -0
- package/helpers/arrayUnique.js +7 -0
- package/helpers/average.d.ts +1 -0
- package/helpers/average.js +11 -0
- package/helpers/cleanObject.d.ts +1 -0
- package/helpers/cleanObject.js +20 -0
- package/helpers/enviroment.d.ts +8 -0
- package/helpers/enviroment.js +20 -0
- package/helpers/flattenCallsignsLookup.d.ts +2 -0
- package/helpers/flattenCallsignsLookup.js +10 -0
- package/helpers/flattenObject.d.ts +1 -0
- package/helpers/flattenObject.js +17 -0
- package/helpers/formatServiceUrl.d.ts +1 -0
- package/helpers/formatServiceUrl.js +11 -0
- package/helpers/generateUUID.d.ts +1 -0
- package/helpers/generateUUID.js +8 -0
- package/helpers/getSubscriptionsDifference.d.ts +10 -0
- package/helpers/getSubscriptionsDifference.js +39 -0
- package/helpers/getUniqueConfigKey.d.ts +7 -0
- package/helpers/getUniqueConfigKey.js +19 -0
- package/helpers/getUniqueId.d.ts +9 -0
- package/helpers/getUniqueId.js +15 -0
- package/helpers/getUnixTimeMs.d.ts +1 -0
- package/helpers/getUnixTimeMs.js +8 -0
- package/helpers/index.d.ts +3 -0
- package/helpers/index.js +15 -0
- package/helpers/nanosecondToMillisecond.d.ts +1 -0
- package/helpers/nanosecondToMillisecond.js +7 -0
- package/helpers/randomString.d.ts +1 -0
- package/helpers/randomString.js +7 -0
- package/helpers/standardDeviation.d.ts +1 -0
- package/helpers/standardDeviation.js +16 -0
- package/helpers/stringToUint8Array.d.ts +1 -0
- package/helpers/stringToUint8Array.js +14 -0
- package/helpers/uint8ArrayToString.d.ts +1 -0
- package/helpers/uint8ArrayToString.js +15 -0
- package/index.d.ts +7 -0
- package/index.js +19 -0
- package/logger/RocosLogger.d.ts +7 -0
- package/logger/RocosLogger.js +63 -0
- package/models/ExportDataQuery.d.ts +8 -0
- package/models/ExportDataQuery.js +17 -0
- package/models/ExternalProject.d.ts +6 -0
- package/models/ExternalProject.js +6 -0
- package/models/IBaseService.d.ts +3 -0
- package/models/IBaseService.js +2 -0
- package/models/IConfigGroup.d.ts +5 -0
- package/models/IConfigGroup.js +2 -0
- package/models/IDebugLevel.d.ts +2 -0
- package/models/IDebugLevel.js +2 -0
- package/models/IExportDataQuery.d.ts +9 -0
- package/models/IExportDataQuery.js +2 -0
- package/models/IFunctionConfig.d.ts +8 -0
- package/models/IFunctionConfig.js +2 -0
- package/models/IInvitation.d.ts +6 -0
- package/models/IInvitation.js +2 -0
- package/models/IInvitationExists.d.ts +4 -0
- package/models/IInvitationExists.js +2 -0
- package/models/IOperation.d.ts +6 -0
- package/models/IOperation.js +2 -0
- package/models/IPersonalAccessToken.d.ts +16 -0
- package/models/IPersonalAccessToken.js +2 -0
- package/models/IProject.d.ts +4 -0
- package/models/IProject.js +2 -0
- package/models/IProjectApplication.d.ts +6 -0
- package/models/IProjectApplication.js +2 -0
- package/models/IRobot.d.ts +17 -0
- package/models/IRobot.js +2 -0
- package/models/IRobotConfig.d.ts +8 -0
- package/models/IRobotConfig.js +2 -0
- package/models/IRobotPlugin.d.ts +3 -0
- package/models/IRobotPlugin.js +2 -0
- package/models/IRobotTemplate.d.ts +10 -0
- package/models/IRobotTemplate.js +2 -0
- package/models/IRocosSDKConfig.d.ts +25 -0
- package/models/IRocosSDKConfig.js +2 -0
- package/models/ISignupParams.d.ts +8 -0
- package/models/ISignupParams.js +2 -0
- package/models/ISource.d.ts +8 -0
- package/models/ISource.js +2 -0
- package/models/IStream.d.ts +9 -0
- package/models/IStream.js +2 -0
- package/models/IStreamConfig.d.ts +9 -0
- package/models/IStreamConfig.js +2 -0
- package/models/IStreamOptions.d.ts +7 -0
- package/models/IStreamOptions.js +2 -0
- package/models/IStreamSource.d.ts +8 -0
- package/models/IStreamSource.js +2 -0
- package/models/ISubscriberStatus.d.ts +5 -0
- package/models/ISubscriberStatus.js +2 -0
- package/models/ITelemetryStreamConfig.d.ts +7 -0
- package/models/ITelemetryStreamConfig.js +2 -0
- package/models/IToken.d.ts +5 -0
- package/models/IToken.js +2 -0
- package/models/IWidget.d.ts +25 -0
- package/models/IWidget.js +2 -0
- package/models/IWidgetLineGroup.d.ts +8 -0
- package/models/IWidgetLineGroup.js +2 -0
- package/models/ResponseLevelEnum.d.ts +6 -0
- package/models/ResponseLevelEnum.js +10 -0
- package/models/Robot.d.ts +19 -0
- package/models/Robot.js +12 -0
- package/models/RobotConfig.d.ts +10 -0
- package/models/RobotConfig.js +9 -0
- package/models/RobotPlugin.d.ts +5 -0
- package/models/RobotPlugin.js +9 -0
- package/models/RobotTemplate.d.ts +12 -0
- package/models/RobotTemplate.js +30 -0
- package/models/RocosError.d.ts +30 -0
- package/models/RocosError.js +43 -0
- package/models/ServiceEnum.d.ts +26 -0
- package/models/ServiceEnum.js +30 -0
- package/models/Stream.d.ts +10 -0
- package/models/Stream.js +15 -0
- package/models/StreamOptions.d.ts +9 -0
- package/models/StreamOptions.js +37 -0
- package/models/StreamSource.d.ts +10 -0
- package/models/StreamSource.js +15 -0
- package/models/SubscriberStatusEnum.d.ts +6 -0
- package/models/SubscriberStatusEnum.js +10 -0
- package/models/Token.d.ts +8 -0
- package/models/Token.js +15 -0
- package/models/Widget.d.ts +27 -0
- package/models/Widget.js +16 -0
- package/models/WidgetLineGroup.d.ts +10 -0
- package/models/WidgetLineGroup.js +9 -0
- package/models/asset-storage/AssetModelItem.d.ts +29 -0
- package/models/asset-storage/AssetModelItem.js +2 -0
- package/models/caller/IRocosCallerMessageChunk.d.ts +9 -0
- package/models/caller/IRocosCallerMessageChunk.js +2 -0
- package/models/caller/IRocosCallerMessageChunks.d.ts +5 -0
- package/models/caller/IRocosCallerMessageChunks.js +2 -0
- package/models/caller/IRocosCallerMessageHeartbeat.d.ts +2 -0
- package/models/caller/IRocosCallerMessageHeartbeat.js +2 -0
- package/models/caller/IRocosCallerMessageResponse.d.ts +9 -0
- package/models/caller/IRocosCallerMessageResponse.js +2 -0
- package/models/caller/IRocosCallerMessageResponseAck.d.ts +2 -0
- package/models/caller/IRocosCallerMessageResponseAck.js +2 -0
- package/models/caller/IRocosCallerMessageResponseResult.d.ts +2 -0
- package/models/caller/IRocosCallerMessageResponseResult.js +2 -0
- package/models/caller/IRocosCallerMessageResponseUid.d.ts +2 -0
- package/models/caller/IRocosCallerMessageResponseUid.js +2 -0
- package/models/caller/IRocosCallerMessageResponses.d.ts +5 -0
- package/models/caller/IRocosCallerMessageResponses.js +2 -0
- package/models/caller/RocosCallerResultStatus.d.ts +1 -0
- package/models/caller/RocosCallerResultStatus.js +5 -0
- package/models/callsigns/CallsignsEnums.d.ts +13 -0
- package/models/callsigns/CallsignsEnums.js +20 -0
- package/models/callsigns/CallsignsLookup.d.ts +8 -0
- package/models/callsigns/CallsignsLookup.js +33 -0
- package/models/callsigns/CallsignsQuery.d.ts +9 -0
- package/models/callsigns/CallsignsQuery.js +18 -0
- package/models/callsigns/CallsignsQueryPredicate.d.ts +9 -0
- package/models/callsigns/CallsignsQueryPredicate.js +19 -0
- package/models/command/IRocosCommandMessageHeartbeat.d.ts +2 -0
- package/models/command/IRocosCommandMessageHeartbeat.js +2 -0
- package/models/command/IRocosCommandMessageResponse.d.ts +2 -0
- package/models/command/IRocosCommandMessageResponse.js +2 -0
- package/models/command/RocosCommandResultStatus.d.ts +1 -0
- package/models/command/RocosCommandResultStatus.js +5 -0
- package/models/file/FileEnums.d.ts +30 -0
- package/models/file/FileEnums.js +36 -0
- package/models/index.d.ts +101 -0
- package/models/index.js +113 -0
- package/models/integrations/Overlay.d.ts +49 -0
- package/models/integrations/Overlay.js +2 -0
- package/models/integrations/Plan.d.ts +324 -0
- package/models/integrations/Plan.js +2 -0
- package/models/maps/Map.d.ts +12 -0
- package/models/maps/Map.js +2 -0
- package/models/message/IRocosCallerMessage.d.ts +8 -0
- package/models/message/IRocosCallerMessage.js +2 -0
- package/models/message/IRocosChangeMessage.d.ts +6 -0
- package/models/message/IRocosChangeMessage.js +2 -0
- package/models/message/IRocosCommandMessage.d.ts +6 -0
- package/models/message/IRocosCommandMessage.js +2 -0
- package/models/message/IRocosControlMessage.d.ts +7 -0
- package/models/message/IRocosControlMessage.js +2 -0
- package/models/message/IRocosOpResultMessage.d.ts +6 -0
- package/models/message/IRocosOpResultMessage.js +2 -0
- package/models/message/IRocosSearchMessage.d.ts +5 -0
- package/models/message/IRocosSearchMessage.js +2 -0
- package/models/message/IRocosSearchRowMessage.d.ts +9 -0
- package/models/message/IRocosSearchRowMessage.js +2 -0
- package/models/message/IRocosSearchStatusMessage.d.ts +4 -0
- package/models/message/IRocosSearchStatusMessage.js +2 -0
- package/models/message/IRocosTelemetryMessage.d.ts +18 -0
- package/models/message/IRocosTelemetryMessage.js +2 -0
- package/models/message/IStreamStatusMessage.d.ts +5 -0
- package/models/message/IStreamStatusMessage.js +2 -0
- package/models/message/RocosCallerMessage.d.ts +12 -0
- package/models/message/RocosCallerMessage.js +23 -0
- package/models/message/RocosCommandMessage.d.ts +10 -0
- package/models/message/RocosCommandMessage.js +16 -0
- package/models/message/RocosControlMessage.d.ts +11 -0
- package/models/message/RocosControlMessage.js +18 -0
- package/models/message/RocosOpResultMessage.d.ts +9 -0
- package/models/message/RocosOpResultMessage.js +22 -0
- package/models/message/RocosSearchMessage.d.ts +9 -0
- package/models/message/RocosSearchMessage.js +28 -0
- package/models/message/RocosSearchRowMessage.d.ts +13 -0
- package/models/message/RocosSearchRowMessage.js +20 -0
- package/models/message/RocosTelemetryMessage.d.ts +24 -0
- package/models/message/RocosTelemetryMessage.js +105 -0
- package/models/params/ICallerParams.d.ts +15 -0
- package/models/params/ICallerParams.js +2 -0
- package/models/params/ICommandParams.d.ts +9 -0
- package/models/params/ICommandParams.js +2 -0
- package/models/params/IControlParams.d.ts +8 -0
- package/models/params/IControlParams.js +2 -0
- package/models/params/IFileAccessorParams.d.ts +11 -0
- package/models/params/IFileAccessorParams.js +2 -0
- package/models/params/ISearchParams.d.ts +10 -0
- package/models/params/ISearchParams.js +2 -0
- package/models/params/ITelemetryParams.d.ts +18 -0
- package/models/params/ITelemetryParams.js +2 -0
- package/models/params/IWebRTCSignallingParams.d.ts +21 -0
- package/models/params/IWebRTCSignallingParams.js +2 -0
- package/models/projects/ProjectUser.d.ts +6 -0
- package/models/projects/ProjectUser.js +2 -0
- package/models/schedule/IScheduleAction.d.ts +13 -0
- package/models/schedule/IScheduleAction.js +9 -0
- package/models/schedule/IScheduleInfo.d.ts +11 -0
- package/models/schedule/IScheduleInfo.js +2 -0
- package/models/schedule/IScheduleJob.d.ts +12 -0
- package/models/schedule/IScheduleJob.js +2 -0
- package/models/search/SearchQueryFilter.d.ts +5 -0
- package/models/search/SearchQueryFilter.js +9 -0
- package/models/search/SearchStreamQuery.d.ts +15 -0
- package/models/search/SearchStreamQuery.js +10 -0
- package/models/stream/IBaseStream.d.ts +8 -0
- package/models/stream/IBaseStream.js +2 -0
- package/models/stream/ICallerStream.d.ts +8 -0
- package/models/stream/ICallerStream.js +2 -0
- package/models/stream/ICommandStream.d.ts +7 -0
- package/models/stream/ICommandStream.js +2 -0
- package/models/stream/IControlStream.d.ts +9 -0
- package/models/stream/IControlStream.js +2 -0
- package/models/stream/IFileAccessorStream.d.ts +10 -0
- package/models/stream/IFileAccessorStream.js +2 -0
- package/models/stream/ISearchStream.d.ts +11 -0
- package/models/stream/ISearchStream.js +2 -0
- package/models/stream/ITelemetryStream.d.ts +10 -0
- package/models/stream/ITelemetryStream.js +2 -0
- package/models/stream/IWebRTCSignallingStream.d.ts +41 -0
- package/models/stream/IWebRTCSignallingStream.js +7 -0
- package/models/types.d.ts +5 -0
- package/models/types.js +2 -0
- package/node/RocosSDKNode.d.ts +42 -0
- package/node/RocosSDKNode.js +148 -0
- package/node/index.d.ts +7 -0
- package/node/index.js +19 -0
- package/package.json +25 -6
- package/services/AssetStorageService.d.ts +92 -0
- package/services/AssetStorageService.js +153 -0
- package/services/AuthService.d.ts +61 -0
- package/services/AuthService.js +154 -0
- package/services/BaseServiceAbstract.d.ts +38 -0
- package/services/BaseServiceAbstract.js +103 -0
- package/services/CallerService.d.ts +22 -0
- package/services/CallerService.js +96 -0
- package/services/CallerServiceNode.d.ts +6 -0
- package/services/CallerServiceNode.js +11 -0
- package/services/CommandService.d.ts +21 -0
- package/services/CommandService.js +81 -0
- package/services/CommandServiceNode.d.ts +6 -0
- package/services/CommandServiceNode.js +11 -0
- package/services/ConfigGroupService.d.ts +89 -0
- package/services/ConfigGroupService.js +157 -0
- package/services/ControlService.d.ts +23 -0
- package/services/ControlService.js +100 -0
- package/services/ControlServiceNode.d.ts +6 -0
- package/services/ControlServiceNode.js +11 -0
- package/services/DashboardService.d.ts +97 -0
- package/services/DashboardService.js +146 -0
- package/services/EventService.d.ts +53 -0
- package/services/EventService.js +89 -0
- package/services/FileAccessorService.d.ts +25 -0
- package/services/FileAccessorService.js +85 -0
- package/services/FileAccessorServiceNode.d.ts +6 -0
- package/services/FileAccessorServiceNode.js +11 -0
- package/services/FunctionService.d.ts +68 -0
- package/services/FunctionService.js +103 -0
- package/services/IntegrationService.d.ts +48 -0
- package/services/IntegrationService.js +77 -0
- package/services/MapService.d.ts +96 -0
- package/services/MapService.js +119 -0
- package/services/PlatformTimeService.d.ts +35 -0
- package/services/PlatformTimeService.js +160 -0
- package/services/ProfileService.d.ts +244 -0
- package/services/ProfileService.js +366 -0
- package/services/ProjectService.d.ts +110 -0
- package/services/ProjectService.js +164 -0
- package/services/RobotService.d.ts +282 -0
- package/services/RobotService.js +467 -0
- package/services/ScheduleService.d.ts +22 -0
- package/services/ScheduleService.js +40 -0
- package/services/SearchService.d.ts +25 -0
- package/services/SearchService.js +93 -0
- package/services/SearchServiceNode.d.ts +6 -0
- package/services/SearchServiceNode.js +11 -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 +146 -0
- package/services/TelemetryService.d.ts +43 -0
- package/services/TelemetryService.js +144 -0
- package/services/TelemetryServiceNode.d.ts +6 -0
- package/services/TelemetryServiceNode.js +11 -0
- package/services/TimeSyncerService.d.ts +13 -0
- package/services/TimeSyncerService.js +27 -0
- package/services/UserService.d.ts +200 -0
- package/services/UserService.js +319 -0
- package/services/WebRTCSignallingService.d.ts +22 -0
- package/services/WebRTCSignallingService.js +81 -0
- package/services/WorkflowService.d.ts +71 -0
- package/services/WorkflowService.js +122 -0
- package/services/index.d.ts +26 -0
- package/services/index.js +38 -0
- package/store/RocosStore.d.ts +31 -0
- package/store/RocosStore.js +53 -0
- package/utils/axisangle.d.ts +18 -0
- package/utils/axisangle.js +48 -0
- package/utils/eulerangles.d.ts +22 -0
- package/utils/eulerangles.js +133 -0
- package/utils/helperfunctions.d.ts +5 -0
- package/utils/helperfunctions.js +50 -0
- package/utils/localtransform.d.ts +17 -0
- package/utils/localtransform.js +50 -0
- package/utils/localtransformtree.d.ts +17 -0
- package/utils/localtransformtree.js +88 -0
- package/utils/misc.d.ts +17 -0
- package/utils/misc.js +23 -0
- package/utils/positionvector.d.ts +13 -0
- package/utils/positionvector.js +79 -0
- package/utils/quaternion.d.ts +20 -0
- package/utils/quaternion.js +62 -0
- package/utils/rotationmatrix.d.ts +23 -0
- package/utils/rotationmatrix.js +262 -0
- package/utils/transformationmatrix.d.ts +12 -0
- package/utils/transformationmatrix.js +123 -0
- package/utils/vector3.d.ts +11 -0
- package/utils/vector3.js +61 -0
|
@@ -0,0 +1,2908 @@
|
|
|
1
|
+
// source: slowlane.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
6
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
var jspb = require('google-protobuf');
|
|
14
|
+
var goog = jspb;
|
|
15
|
+
var global = Function('return this')();
|
|
16
|
+
|
|
17
|
+
goog.exportSymbol('proto.search.v1.DataRow', null, global);
|
|
18
|
+
goog.exportSymbol('proto.search.v1.Dataset', null, global);
|
|
19
|
+
goog.exportSymbol('proto.search.v1.DeleteProjectMessage', null, global);
|
|
20
|
+
goog.exportSymbol('proto.search.v1.Empty', null, global);
|
|
21
|
+
goog.exportSymbol('proto.search.v1.Filter', null, global);
|
|
22
|
+
goog.exportSymbol('proto.search.v1.QueryDSLMessage', null, global);
|
|
23
|
+
goog.exportSymbol('proto.search.v1.QueryMessage', null, global);
|
|
24
|
+
goog.exportSymbol('proto.search.v1.QueryResult', null, global);
|
|
25
|
+
goog.exportSymbol('proto.search.v1.Row', null, global);
|
|
26
|
+
goog.exportSymbol('proto.search.v1.RowSet', null, global);
|
|
27
|
+
goog.exportSymbol('proto.search.v1.SearchQueryMessage', null, global);
|
|
28
|
+
goog.exportSymbol('proto.search.v1.Status', null, global);
|
|
29
|
+
/**
|
|
30
|
+
* Generated by JsPbCodeGenerator.
|
|
31
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
33
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
34
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
35
|
+
* valid.
|
|
36
|
+
* @extends {jspb.Message}
|
|
37
|
+
* @constructor
|
|
38
|
+
*/
|
|
39
|
+
proto.search.v1.SearchQueryMessage = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.SearchQueryMessage.repeatedFields_, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.search.v1.SearchQueryMessage, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.search.v1.SearchQueryMessage.displayName = 'proto.search.v1.SearchQueryMessage';
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Generated by JsPbCodeGenerator.
|
|
52
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
53
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
54
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
55
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
56
|
+
* valid.
|
|
57
|
+
* @extends {jspb.Message}
|
|
58
|
+
* @constructor
|
|
59
|
+
*/
|
|
60
|
+
proto.search.v1.Filter = function(opt_data) {
|
|
61
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.Filter.repeatedFields_, null);
|
|
62
|
+
};
|
|
63
|
+
goog.inherits(proto.search.v1.Filter, jspb.Message);
|
|
64
|
+
if (goog.DEBUG && !COMPILED) {
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* @override
|
|
68
|
+
*/
|
|
69
|
+
proto.search.v1.Filter.displayName = 'proto.search.v1.Filter';
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Generated by JsPbCodeGenerator.
|
|
73
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
74
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
75
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
76
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
77
|
+
* valid.
|
|
78
|
+
* @extends {jspb.Message}
|
|
79
|
+
* @constructor
|
|
80
|
+
*/
|
|
81
|
+
proto.search.v1.QueryDSLMessage = function(opt_data) {
|
|
82
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
83
|
+
};
|
|
84
|
+
goog.inherits(proto.search.v1.QueryDSLMessage, jspb.Message);
|
|
85
|
+
if (goog.DEBUG && !COMPILED) {
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @override
|
|
89
|
+
*/
|
|
90
|
+
proto.search.v1.QueryDSLMessage.displayName = 'proto.search.v1.QueryDSLMessage';
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Generated by JsPbCodeGenerator.
|
|
94
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
95
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
96
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
97
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
98
|
+
* valid.
|
|
99
|
+
* @extends {jspb.Message}
|
|
100
|
+
* @constructor
|
|
101
|
+
*/
|
|
102
|
+
proto.search.v1.DeleteProjectMessage = function(opt_data) {
|
|
103
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
104
|
+
};
|
|
105
|
+
goog.inherits(proto.search.v1.DeleteProjectMessage, jspb.Message);
|
|
106
|
+
if (goog.DEBUG && !COMPILED) {
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @override
|
|
110
|
+
*/
|
|
111
|
+
proto.search.v1.DeleteProjectMessage.displayName = 'proto.search.v1.DeleteProjectMessage';
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Generated by JsPbCodeGenerator.
|
|
115
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
116
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
117
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
118
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
119
|
+
* valid.
|
|
120
|
+
* @extends {jspb.Message}
|
|
121
|
+
* @constructor
|
|
122
|
+
*/
|
|
123
|
+
proto.search.v1.QueryResult = function(opt_data) {
|
|
124
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
125
|
+
};
|
|
126
|
+
goog.inherits(proto.search.v1.QueryResult, jspb.Message);
|
|
127
|
+
if (goog.DEBUG && !COMPILED) {
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
* @override
|
|
131
|
+
*/
|
|
132
|
+
proto.search.v1.QueryResult.displayName = 'proto.search.v1.QueryResult';
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Generated by JsPbCodeGenerator.
|
|
136
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
137
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
138
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
139
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
140
|
+
* valid.
|
|
141
|
+
* @extends {jspb.Message}
|
|
142
|
+
* @constructor
|
|
143
|
+
*/
|
|
144
|
+
proto.search.v1.QueryMessage = function(opt_data) {
|
|
145
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.QueryMessage.repeatedFields_, null);
|
|
146
|
+
};
|
|
147
|
+
goog.inherits(proto.search.v1.QueryMessage, jspb.Message);
|
|
148
|
+
if (goog.DEBUG && !COMPILED) {
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @override
|
|
152
|
+
*/
|
|
153
|
+
proto.search.v1.QueryMessage.displayName = 'proto.search.v1.QueryMessage';
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Generated by JsPbCodeGenerator.
|
|
157
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
158
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
159
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
160
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
161
|
+
* valid.
|
|
162
|
+
* @extends {jspb.Message}
|
|
163
|
+
* @constructor
|
|
164
|
+
*/
|
|
165
|
+
proto.search.v1.Row = function(opt_data) {
|
|
166
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
167
|
+
};
|
|
168
|
+
goog.inherits(proto.search.v1.Row, jspb.Message);
|
|
169
|
+
if (goog.DEBUG && !COMPILED) {
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @override
|
|
173
|
+
*/
|
|
174
|
+
proto.search.v1.Row.displayName = 'proto.search.v1.Row';
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Generated by JsPbCodeGenerator.
|
|
178
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
179
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
180
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
181
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
182
|
+
* valid.
|
|
183
|
+
* @extends {jspb.Message}
|
|
184
|
+
* @constructor
|
|
185
|
+
*/
|
|
186
|
+
proto.search.v1.RowSet = function(opt_data) {
|
|
187
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.RowSet.repeatedFields_, null);
|
|
188
|
+
};
|
|
189
|
+
goog.inherits(proto.search.v1.RowSet, jspb.Message);
|
|
190
|
+
if (goog.DEBUG && !COMPILED) {
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @override
|
|
194
|
+
*/
|
|
195
|
+
proto.search.v1.RowSet.displayName = 'proto.search.v1.RowSet';
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Generated by JsPbCodeGenerator.
|
|
199
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
200
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
201
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
202
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
203
|
+
* valid.
|
|
204
|
+
* @extends {jspb.Message}
|
|
205
|
+
* @constructor
|
|
206
|
+
*/
|
|
207
|
+
proto.search.v1.DataRow = function(opt_data) {
|
|
208
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.DataRow.repeatedFields_, null);
|
|
209
|
+
};
|
|
210
|
+
goog.inherits(proto.search.v1.DataRow, jspb.Message);
|
|
211
|
+
if (goog.DEBUG && !COMPILED) {
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
* @override
|
|
215
|
+
*/
|
|
216
|
+
proto.search.v1.DataRow.displayName = 'proto.search.v1.DataRow';
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Generated by JsPbCodeGenerator.
|
|
220
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
221
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
222
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
223
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
224
|
+
* valid.
|
|
225
|
+
* @extends {jspb.Message}
|
|
226
|
+
* @constructor
|
|
227
|
+
*/
|
|
228
|
+
proto.search.v1.Dataset = function(opt_data) {
|
|
229
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.search.v1.Dataset.repeatedFields_, null);
|
|
230
|
+
};
|
|
231
|
+
goog.inherits(proto.search.v1.Dataset, jspb.Message);
|
|
232
|
+
if (goog.DEBUG && !COMPILED) {
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* @override
|
|
236
|
+
*/
|
|
237
|
+
proto.search.v1.Dataset.displayName = 'proto.search.v1.Dataset';
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Generated by JsPbCodeGenerator.
|
|
241
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
242
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
243
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
244
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
245
|
+
* valid.
|
|
246
|
+
* @extends {jspb.Message}
|
|
247
|
+
* @constructor
|
|
248
|
+
*/
|
|
249
|
+
proto.search.v1.Empty = function(opt_data) {
|
|
250
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
251
|
+
};
|
|
252
|
+
goog.inherits(proto.search.v1.Empty, jspb.Message);
|
|
253
|
+
if (goog.DEBUG && !COMPILED) {
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
* @override
|
|
257
|
+
*/
|
|
258
|
+
proto.search.v1.Empty.displayName = 'proto.search.v1.Empty';
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Generated by JsPbCodeGenerator.
|
|
262
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
263
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
264
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
265
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
266
|
+
* valid.
|
|
267
|
+
* @extends {jspb.Message}
|
|
268
|
+
* @constructor
|
|
269
|
+
*/
|
|
270
|
+
proto.search.v1.Status = function(opt_data) {
|
|
271
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
272
|
+
};
|
|
273
|
+
goog.inherits(proto.search.v1.Status, jspb.Message);
|
|
274
|
+
if (goog.DEBUG && !COMPILED) {
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
* @override
|
|
278
|
+
*/
|
|
279
|
+
proto.search.v1.Status.displayName = 'proto.search.v1.Status';
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* List of repeated fields within this message type.
|
|
284
|
+
* @private {!Array<number>}
|
|
285
|
+
* @const
|
|
286
|
+
*/
|
|
287
|
+
proto.search.v1.SearchQueryMessage.repeatedFields_ = [1,2,3,4,5];
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
292
|
+
/**
|
|
293
|
+
* Creates an object representation of this proto.
|
|
294
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
295
|
+
* Optional fields that are not set will be set to undefined.
|
|
296
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
297
|
+
* For the list of reserved names please see:
|
|
298
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
299
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
300
|
+
* JSPB instance for transitional soy proto support:
|
|
301
|
+
* http://goto/soy-param-migration
|
|
302
|
+
* @return {!Object}
|
|
303
|
+
*/
|
|
304
|
+
proto.search.v1.SearchQueryMessage.prototype.toObject = function(opt_includeInstance) {
|
|
305
|
+
return proto.search.v1.SearchQueryMessage.toObject(opt_includeInstance, this);
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Static version of the {@see toObject} method.
|
|
311
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
312
|
+
* the JSPB instance for transitional soy proto support:
|
|
313
|
+
* http://goto/soy-param-migration
|
|
314
|
+
* @param {!proto.search.v1.SearchQueryMessage} msg The msg instance to transform.
|
|
315
|
+
* @return {!Object}
|
|
316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
317
|
+
*/
|
|
318
|
+
proto.search.v1.SearchQueryMessage.toObject = function(includeInstance, msg) {
|
|
319
|
+
var f, obj = {
|
|
320
|
+
streamidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
321
|
+
dataidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
322
|
+
callsignsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
323
|
+
groupbyfieldsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
324
|
+
payloadidsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
325
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
326
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
327
|
+
interval: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
328
|
+
refreshdelay: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
if (includeInstance) {
|
|
332
|
+
obj.$jspbMessageInstance = msg;
|
|
333
|
+
}
|
|
334
|
+
return obj;
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
341
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
342
|
+
* @return {!proto.search.v1.SearchQueryMessage}
|
|
343
|
+
*/
|
|
344
|
+
proto.search.v1.SearchQueryMessage.deserializeBinary = function(bytes) {
|
|
345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
346
|
+
var msg = new proto.search.v1.SearchQueryMessage;
|
|
347
|
+
return proto.search.v1.SearchQueryMessage.deserializeBinaryFromReader(msg, reader);
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
353
|
+
* given reader into the given message object.
|
|
354
|
+
* @param {!proto.search.v1.SearchQueryMessage} msg The message object to deserialize into.
|
|
355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
356
|
+
* @return {!proto.search.v1.SearchQueryMessage}
|
|
357
|
+
*/
|
|
358
|
+
proto.search.v1.SearchQueryMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
359
|
+
while (reader.nextField()) {
|
|
360
|
+
if (reader.isEndGroup()) {
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
var field = reader.getFieldNumber();
|
|
364
|
+
switch (field) {
|
|
365
|
+
case 1:
|
|
366
|
+
var value = /** @type {string} */ (reader.readString());
|
|
367
|
+
msg.addStreamids(value);
|
|
368
|
+
break;
|
|
369
|
+
case 2:
|
|
370
|
+
var value = /** @type {string} */ (reader.readString());
|
|
371
|
+
msg.addDataids(value);
|
|
372
|
+
break;
|
|
373
|
+
case 3:
|
|
374
|
+
var value = /** @type {string} */ (reader.readString());
|
|
375
|
+
msg.addCallsigns(value);
|
|
376
|
+
break;
|
|
377
|
+
case 4:
|
|
378
|
+
var value = /** @type {string} */ (reader.readString());
|
|
379
|
+
msg.addGroupbyfields(value);
|
|
380
|
+
break;
|
|
381
|
+
case 5:
|
|
382
|
+
var value = /** @type {string} */ (reader.readString());
|
|
383
|
+
msg.addPayloadids(value);
|
|
384
|
+
break;
|
|
385
|
+
case 6:
|
|
386
|
+
var value = /** @type {string} */ (reader.readString());
|
|
387
|
+
msg.setStartdate(value);
|
|
388
|
+
break;
|
|
389
|
+
case 7:
|
|
390
|
+
var value = /** @type {string} */ (reader.readString());
|
|
391
|
+
msg.setEnddate(value);
|
|
392
|
+
break;
|
|
393
|
+
case 8:
|
|
394
|
+
var value = /** @type {string} */ (reader.readString());
|
|
395
|
+
msg.setInterval(value);
|
|
396
|
+
break;
|
|
397
|
+
case 9:
|
|
398
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
399
|
+
msg.setRefreshdelay(value);
|
|
400
|
+
break;
|
|
401
|
+
default:
|
|
402
|
+
reader.skipField();
|
|
403
|
+
break;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
return msg;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
412
|
+
* @return {!Uint8Array}
|
|
413
|
+
*/
|
|
414
|
+
proto.search.v1.SearchQueryMessage.prototype.serializeBinary = function() {
|
|
415
|
+
var writer = new jspb.BinaryWriter();
|
|
416
|
+
proto.search.v1.SearchQueryMessage.serializeBinaryToWriter(this, writer);
|
|
417
|
+
return writer.getResultBuffer();
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
423
|
+
* format), writing to the given BinaryWriter.
|
|
424
|
+
* @param {!proto.search.v1.SearchQueryMessage} message
|
|
425
|
+
* @param {!jspb.BinaryWriter} writer
|
|
426
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
427
|
+
*/
|
|
428
|
+
proto.search.v1.SearchQueryMessage.serializeBinaryToWriter = function(message, writer) {
|
|
429
|
+
var f = undefined;
|
|
430
|
+
f = message.getStreamidsList();
|
|
431
|
+
if (f.length > 0) {
|
|
432
|
+
writer.writeRepeatedString(
|
|
433
|
+
1,
|
|
434
|
+
f
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
f = message.getDataidsList();
|
|
438
|
+
if (f.length > 0) {
|
|
439
|
+
writer.writeRepeatedString(
|
|
440
|
+
2,
|
|
441
|
+
f
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
f = message.getCallsignsList();
|
|
445
|
+
if (f.length > 0) {
|
|
446
|
+
writer.writeRepeatedString(
|
|
447
|
+
3,
|
|
448
|
+
f
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
f = message.getGroupbyfieldsList();
|
|
452
|
+
if (f.length > 0) {
|
|
453
|
+
writer.writeRepeatedString(
|
|
454
|
+
4,
|
|
455
|
+
f
|
|
456
|
+
);
|
|
457
|
+
}
|
|
458
|
+
f = message.getPayloadidsList();
|
|
459
|
+
if (f.length > 0) {
|
|
460
|
+
writer.writeRepeatedString(
|
|
461
|
+
5,
|
|
462
|
+
f
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
f = message.getStartdate();
|
|
466
|
+
if (f.length > 0) {
|
|
467
|
+
writer.writeString(
|
|
468
|
+
6,
|
|
469
|
+
f
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
f = message.getEnddate();
|
|
473
|
+
if (f.length > 0) {
|
|
474
|
+
writer.writeString(
|
|
475
|
+
7,
|
|
476
|
+
f
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
f = message.getInterval();
|
|
480
|
+
if (f.length > 0) {
|
|
481
|
+
writer.writeString(
|
|
482
|
+
8,
|
|
483
|
+
f
|
|
484
|
+
);
|
|
485
|
+
}
|
|
486
|
+
f = message.getRefreshdelay();
|
|
487
|
+
if (f !== 0) {
|
|
488
|
+
writer.writeUint64(
|
|
489
|
+
9,
|
|
490
|
+
f
|
|
491
|
+
);
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* repeated string streamIds = 1;
|
|
498
|
+
* @return {!Array<string>}
|
|
499
|
+
*/
|
|
500
|
+
proto.search.v1.SearchQueryMessage.prototype.getStreamidsList = function() {
|
|
501
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @param {!Array<string>} value
|
|
507
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
508
|
+
*/
|
|
509
|
+
proto.search.v1.SearchQueryMessage.prototype.setStreamidsList = function(value) {
|
|
510
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @param {string} value
|
|
516
|
+
* @param {number=} opt_index
|
|
517
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
518
|
+
*/
|
|
519
|
+
proto.search.v1.SearchQueryMessage.prototype.addStreamids = function(value, opt_index) {
|
|
520
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Clears the list making it empty but non-null.
|
|
526
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
527
|
+
*/
|
|
528
|
+
proto.search.v1.SearchQueryMessage.prototype.clearStreamidsList = function() {
|
|
529
|
+
return this.setStreamidsList([]);
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* repeated string dataIds = 2;
|
|
535
|
+
* @return {!Array<string>}
|
|
536
|
+
*/
|
|
537
|
+
proto.search.v1.SearchQueryMessage.prototype.getDataidsList = function() {
|
|
538
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @param {!Array<string>} value
|
|
544
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
545
|
+
*/
|
|
546
|
+
proto.search.v1.SearchQueryMessage.prototype.setDataidsList = function(value) {
|
|
547
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @param {string} value
|
|
553
|
+
* @param {number=} opt_index
|
|
554
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
555
|
+
*/
|
|
556
|
+
proto.search.v1.SearchQueryMessage.prototype.addDataids = function(value, opt_index) {
|
|
557
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Clears the list making it empty but non-null.
|
|
563
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
564
|
+
*/
|
|
565
|
+
proto.search.v1.SearchQueryMessage.prototype.clearDataidsList = function() {
|
|
566
|
+
return this.setDataidsList([]);
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* repeated string callsigns = 3;
|
|
572
|
+
* @return {!Array<string>}
|
|
573
|
+
*/
|
|
574
|
+
proto.search.v1.SearchQueryMessage.prototype.getCallsignsList = function() {
|
|
575
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @param {!Array<string>} value
|
|
581
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
582
|
+
*/
|
|
583
|
+
proto.search.v1.SearchQueryMessage.prototype.setCallsignsList = function(value) {
|
|
584
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @param {string} value
|
|
590
|
+
* @param {number=} opt_index
|
|
591
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
592
|
+
*/
|
|
593
|
+
proto.search.v1.SearchQueryMessage.prototype.addCallsigns = function(value, opt_index) {
|
|
594
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Clears the list making it empty but non-null.
|
|
600
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
601
|
+
*/
|
|
602
|
+
proto.search.v1.SearchQueryMessage.prototype.clearCallsignsList = function() {
|
|
603
|
+
return this.setCallsignsList([]);
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* repeated string groupByFields = 4;
|
|
609
|
+
* @return {!Array<string>}
|
|
610
|
+
*/
|
|
611
|
+
proto.search.v1.SearchQueryMessage.prototype.getGroupbyfieldsList = function() {
|
|
612
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @param {!Array<string>} value
|
|
618
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
619
|
+
*/
|
|
620
|
+
proto.search.v1.SearchQueryMessage.prototype.setGroupbyfieldsList = function(value) {
|
|
621
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @param {string} value
|
|
627
|
+
* @param {number=} opt_index
|
|
628
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
629
|
+
*/
|
|
630
|
+
proto.search.v1.SearchQueryMessage.prototype.addGroupbyfields = function(value, opt_index) {
|
|
631
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Clears the list making it empty but non-null.
|
|
637
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
638
|
+
*/
|
|
639
|
+
proto.search.v1.SearchQueryMessage.prototype.clearGroupbyfieldsList = function() {
|
|
640
|
+
return this.setGroupbyfieldsList([]);
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* repeated string payloadIds = 5;
|
|
646
|
+
* @return {!Array<string>}
|
|
647
|
+
*/
|
|
648
|
+
proto.search.v1.SearchQueryMessage.prototype.getPayloadidsList = function() {
|
|
649
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @param {!Array<string>} value
|
|
655
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
656
|
+
*/
|
|
657
|
+
proto.search.v1.SearchQueryMessage.prototype.setPayloadidsList = function(value) {
|
|
658
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @param {string} value
|
|
664
|
+
* @param {number=} opt_index
|
|
665
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
666
|
+
*/
|
|
667
|
+
proto.search.v1.SearchQueryMessage.prototype.addPayloadids = function(value, opt_index) {
|
|
668
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Clears the list making it empty but non-null.
|
|
674
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
675
|
+
*/
|
|
676
|
+
proto.search.v1.SearchQueryMessage.prototype.clearPayloadidsList = function() {
|
|
677
|
+
return this.setPayloadidsList([]);
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* optional string startDate = 6;
|
|
683
|
+
* @return {string}
|
|
684
|
+
*/
|
|
685
|
+
proto.search.v1.SearchQueryMessage.prototype.getStartdate = function() {
|
|
686
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @param {string} value
|
|
692
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
693
|
+
*/
|
|
694
|
+
proto.search.v1.SearchQueryMessage.prototype.setStartdate = function(value) {
|
|
695
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* optional string endDate = 7;
|
|
701
|
+
* @return {string}
|
|
702
|
+
*/
|
|
703
|
+
proto.search.v1.SearchQueryMessage.prototype.getEnddate = function() {
|
|
704
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* @param {string} value
|
|
710
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
711
|
+
*/
|
|
712
|
+
proto.search.v1.SearchQueryMessage.prototype.setEnddate = function(value) {
|
|
713
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* optional string interval = 8;
|
|
719
|
+
* @return {string}
|
|
720
|
+
*/
|
|
721
|
+
proto.search.v1.SearchQueryMessage.prototype.getInterval = function() {
|
|
722
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @param {string} value
|
|
728
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
729
|
+
*/
|
|
730
|
+
proto.search.v1.SearchQueryMessage.prototype.setInterval = function(value) {
|
|
731
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* optional uint64 refreshDelay = 9;
|
|
737
|
+
* @return {number}
|
|
738
|
+
*/
|
|
739
|
+
proto.search.v1.SearchQueryMessage.prototype.getRefreshdelay = function() {
|
|
740
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* @param {number} value
|
|
746
|
+
* @return {!proto.search.v1.SearchQueryMessage} returns this
|
|
747
|
+
*/
|
|
748
|
+
proto.search.v1.SearchQueryMessage.prototype.setRefreshdelay = function(value) {
|
|
749
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* List of repeated fields within this message type.
|
|
756
|
+
* @private {!Array<number>}
|
|
757
|
+
* @const
|
|
758
|
+
*/
|
|
759
|
+
proto.search.v1.Filter.repeatedFields_ = [2];
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
764
|
+
/**
|
|
765
|
+
* Creates an object representation of this proto.
|
|
766
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
767
|
+
* Optional fields that are not set will be set to undefined.
|
|
768
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
769
|
+
* For the list of reserved names please see:
|
|
770
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
771
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
772
|
+
* JSPB instance for transitional soy proto support:
|
|
773
|
+
* http://goto/soy-param-migration
|
|
774
|
+
* @return {!Object}
|
|
775
|
+
*/
|
|
776
|
+
proto.search.v1.Filter.prototype.toObject = function(opt_includeInstance) {
|
|
777
|
+
return proto.search.v1.Filter.toObject(opt_includeInstance, this);
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Static version of the {@see toObject} method.
|
|
783
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
784
|
+
* the JSPB instance for transitional soy proto support:
|
|
785
|
+
* http://goto/soy-param-migration
|
|
786
|
+
* @param {!proto.search.v1.Filter} msg The msg instance to transform.
|
|
787
|
+
* @return {!Object}
|
|
788
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
789
|
+
*/
|
|
790
|
+
proto.search.v1.Filter.toObject = function(includeInstance, msg) {
|
|
791
|
+
var f, obj = {
|
|
792
|
+
keyword: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
793
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
if (includeInstance) {
|
|
797
|
+
obj.$jspbMessageInstance = msg;
|
|
798
|
+
}
|
|
799
|
+
return obj;
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Deserializes binary data (in protobuf wire format).
|
|
806
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
807
|
+
* @return {!proto.search.v1.Filter}
|
|
808
|
+
*/
|
|
809
|
+
proto.search.v1.Filter.deserializeBinary = function(bytes) {
|
|
810
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
811
|
+
var msg = new proto.search.v1.Filter;
|
|
812
|
+
return proto.search.v1.Filter.deserializeBinaryFromReader(msg, reader);
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
818
|
+
* given reader into the given message object.
|
|
819
|
+
* @param {!proto.search.v1.Filter} msg The message object to deserialize into.
|
|
820
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
821
|
+
* @return {!proto.search.v1.Filter}
|
|
822
|
+
*/
|
|
823
|
+
proto.search.v1.Filter.deserializeBinaryFromReader = function(msg, reader) {
|
|
824
|
+
while (reader.nextField()) {
|
|
825
|
+
if (reader.isEndGroup()) {
|
|
826
|
+
break;
|
|
827
|
+
}
|
|
828
|
+
var field = reader.getFieldNumber();
|
|
829
|
+
switch (field) {
|
|
830
|
+
case 1:
|
|
831
|
+
var value = /** @type {string} */ (reader.readString());
|
|
832
|
+
msg.setKeyword(value);
|
|
833
|
+
break;
|
|
834
|
+
case 2:
|
|
835
|
+
var value = /** @type {string} */ (reader.readString());
|
|
836
|
+
msg.addIds(value);
|
|
837
|
+
break;
|
|
838
|
+
default:
|
|
839
|
+
reader.skipField();
|
|
840
|
+
break;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
return msg;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
849
|
+
* @return {!Uint8Array}
|
|
850
|
+
*/
|
|
851
|
+
proto.search.v1.Filter.prototype.serializeBinary = function() {
|
|
852
|
+
var writer = new jspb.BinaryWriter();
|
|
853
|
+
proto.search.v1.Filter.serializeBinaryToWriter(this, writer);
|
|
854
|
+
return writer.getResultBuffer();
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
860
|
+
* format), writing to the given BinaryWriter.
|
|
861
|
+
* @param {!proto.search.v1.Filter} message
|
|
862
|
+
* @param {!jspb.BinaryWriter} writer
|
|
863
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
864
|
+
*/
|
|
865
|
+
proto.search.v1.Filter.serializeBinaryToWriter = function(message, writer) {
|
|
866
|
+
var f = undefined;
|
|
867
|
+
f = message.getKeyword();
|
|
868
|
+
if (f.length > 0) {
|
|
869
|
+
writer.writeString(
|
|
870
|
+
1,
|
|
871
|
+
f
|
|
872
|
+
);
|
|
873
|
+
}
|
|
874
|
+
f = message.getIdsList();
|
|
875
|
+
if (f.length > 0) {
|
|
876
|
+
writer.writeRepeatedString(
|
|
877
|
+
2,
|
|
878
|
+
f
|
|
879
|
+
);
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* optional string keyword = 1;
|
|
886
|
+
* @return {string}
|
|
887
|
+
*/
|
|
888
|
+
proto.search.v1.Filter.prototype.getKeyword = function() {
|
|
889
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* @param {string} value
|
|
895
|
+
* @return {!proto.search.v1.Filter} returns this
|
|
896
|
+
*/
|
|
897
|
+
proto.search.v1.Filter.prototype.setKeyword = function(value) {
|
|
898
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* repeated string ids = 2;
|
|
904
|
+
* @return {!Array<string>}
|
|
905
|
+
*/
|
|
906
|
+
proto.search.v1.Filter.prototype.getIdsList = function() {
|
|
907
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @param {!Array<string>} value
|
|
913
|
+
* @return {!proto.search.v1.Filter} returns this
|
|
914
|
+
*/
|
|
915
|
+
proto.search.v1.Filter.prototype.setIdsList = function(value) {
|
|
916
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @param {string} value
|
|
922
|
+
* @param {number=} opt_index
|
|
923
|
+
* @return {!proto.search.v1.Filter} returns this
|
|
924
|
+
*/
|
|
925
|
+
proto.search.v1.Filter.prototype.addIds = function(value, opt_index) {
|
|
926
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Clears the list making it empty but non-null.
|
|
932
|
+
* @return {!proto.search.v1.Filter} returns this
|
|
933
|
+
*/
|
|
934
|
+
proto.search.v1.Filter.prototype.clearIdsList = function() {
|
|
935
|
+
return this.setIdsList([]);
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
943
|
+
/**
|
|
944
|
+
* Creates an object representation of this proto.
|
|
945
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
946
|
+
* Optional fields that are not set will be set to undefined.
|
|
947
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
948
|
+
* For the list of reserved names please see:
|
|
949
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
950
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
951
|
+
* JSPB instance for transitional soy proto support:
|
|
952
|
+
* http://goto/soy-param-migration
|
|
953
|
+
* @return {!Object}
|
|
954
|
+
*/
|
|
955
|
+
proto.search.v1.QueryDSLMessage.prototype.toObject = function(opt_includeInstance) {
|
|
956
|
+
return proto.search.v1.QueryDSLMessage.toObject(opt_includeInstance, this);
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Static version of the {@see toObject} method.
|
|
962
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
963
|
+
* the JSPB instance for transitional soy proto support:
|
|
964
|
+
* http://goto/soy-param-migration
|
|
965
|
+
* @param {!proto.search.v1.QueryDSLMessage} msg The msg instance to transform.
|
|
966
|
+
* @return {!Object}
|
|
967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
968
|
+
*/
|
|
969
|
+
proto.search.v1.QueryDSLMessage.toObject = function(includeInstance, msg) {
|
|
970
|
+
var f, obj = {
|
|
971
|
+
projectid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
972
|
+
dslquery: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
if (includeInstance) {
|
|
976
|
+
obj.$jspbMessageInstance = msg;
|
|
977
|
+
}
|
|
978
|
+
return obj;
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Deserializes binary data (in protobuf wire format).
|
|
985
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
986
|
+
* @return {!proto.search.v1.QueryDSLMessage}
|
|
987
|
+
*/
|
|
988
|
+
proto.search.v1.QueryDSLMessage.deserializeBinary = function(bytes) {
|
|
989
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
990
|
+
var msg = new proto.search.v1.QueryDSLMessage;
|
|
991
|
+
return proto.search.v1.QueryDSLMessage.deserializeBinaryFromReader(msg, reader);
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
997
|
+
* given reader into the given message object.
|
|
998
|
+
* @param {!proto.search.v1.QueryDSLMessage} msg The message object to deserialize into.
|
|
999
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1000
|
+
* @return {!proto.search.v1.QueryDSLMessage}
|
|
1001
|
+
*/
|
|
1002
|
+
proto.search.v1.QueryDSLMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
1003
|
+
while (reader.nextField()) {
|
|
1004
|
+
if (reader.isEndGroup()) {
|
|
1005
|
+
break;
|
|
1006
|
+
}
|
|
1007
|
+
var field = reader.getFieldNumber();
|
|
1008
|
+
switch (field) {
|
|
1009
|
+
case 1:
|
|
1010
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1011
|
+
msg.setProjectid(value);
|
|
1012
|
+
break;
|
|
1013
|
+
case 2:
|
|
1014
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1015
|
+
msg.setDslquery(value);
|
|
1016
|
+
break;
|
|
1017
|
+
default:
|
|
1018
|
+
reader.skipField();
|
|
1019
|
+
break;
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
return msg;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1028
|
+
* @return {!Uint8Array}
|
|
1029
|
+
*/
|
|
1030
|
+
proto.search.v1.QueryDSLMessage.prototype.serializeBinary = function() {
|
|
1031
|
+
var writer = new jspb.BinaryWriter();
|
|
1032
|
+
proto.search.v1.QueryDSLMessage.serializeBinaryToWriter(this, writer);
|
|
1033
|
+
return writer.getResultBuffer();
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1039
|
+
* format), writing to the given BinaryWriter.
|
|
1040
|
+
* @param {!proto.search.v1.QueryDSLMessage} message
|
|
1041
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1042
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1043
|
+
*/
|
|
1044
|
+
proto.search.v1.QueryDSLMessage.serializeBinaryToWriter = function(message, writer) {
|
|
1045
|
+
var f = undefined;
|
|
1046
|
+
f = message.getProjectid();
|
|
1047
|
+
if (f.length > 0) {
|
|
1048
|
+
writer.writeString(
|
|
1049
|
+
1,
|
|
1050
|
+
f
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
f = message.getDslquery();
|
|
1054
|
+
if (f.length > 0) {
|
|
1055
|
+
writer.writeString(
|
|
1056
|
+
2,
|
|
1057
|
+
f
|
|
1058
|
+
);
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* optional string projectId = 1;
|
|
1065
|
+
* @return {string}
|
|
1066
|
+
*/
|
|
1067
|
+
proto.search.v1.QueryDSLMessage.prototype.getProjectid = function() {
|
|
1068
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1069
|
+
};
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* @param {string} value
|
|
1074
|
+
* @return {!proto.search.v1.QueryDSLMessage} returns this
|
|
1075
|
+
*/
|
|
1076
|
+
proto.search.v1.QueryDSLMessage.prototype.setProjectid = function(value) {
|
|
1077
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* optional string DSLQuery = 2;
|
|
1083
|
+
* @return {string}
|
|
1084
|
+
*/
|
|
1085
|
+
proto.search.v1.QueryDSLMessage.prototype.getDslquery = function() {
|
|
1086
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* @param {string} value
|
|
1092
|
+
* @return {!proto.search.v1.QueryDSLMessage} returns this
|
|
1093
|
+
*/
|
|
1094
|
+
proto.search.v1.QueryDSLMessage.prototype.setDslquery = function(value) {
|
|
1095
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1103
|
+
/**
|
|
1104
|
+
* Creates an object representation of this proto.
|
|
1105
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1106
|
+
* Optional fields that are not set will be set to undefined.
|
|
1107
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1108
|
+
* For the list of reserved names please see:
|
|
1109
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1110
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1111
|
+
* JSPB instance for transitional soy proto support:
|
|
1112
|
+
* http://goto/soy-param-migration
|
|
1113
|
+
* @return {!Object}
|
|
1114
|
+
*/
|
|
1115
|
+
proto.search.v1.DeleteProjectMessage.prototype.toObject = function(opt_includeInstance) {
|
|
1116
|
+
return proto.search.v1.DeleteProjectMessage.toObject(opt_includeInstance, this);
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Static version of the {@see toObject} method.
|
|
1122
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1123
|
+
* the JSPB instance for transitional soy proto support:
|
|
1124
|
+
* http://goto/soy-param-migration
|
|
1125
|
+
* @param {!proto.search.v1.DeleteProjectMessage} msg The msg instance to transform.
|
|
1126
|
+
* @return {!Object}
|
|
1127
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1128
|
+
*/
|
|
1129
|
+
proto.search.v1.DeleteProjectMessage.toObject = function(includeInstance, msg) {
|
|
1130
|
+
var f, obj = {
|
|
1131
|
+
projectid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
if (includeInstance) {
|
|
1135
|
+
obj.$jspbMessageInstance = msg;
|
|
1136
|
+
}
|
|
1137
|
+
return obj;
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1144
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1145
|
+
* @return {!proto.search.v1.DeleteProjectMessage}
|
|
1146
|
+
*/
|
|
1147
|
+
proto.search.v1.DeleteProjectMessage.deserializeBinary = function(bytes) {
|
|
1148
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1149
|
+
var msg = new proto.search.v1.DeleteProjectMessage;
|
|
1150
|
+
return proto.search.v1.DeleteProjectMessage.deserializeBinaryFromReader(msg, reader);
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1156
|
+
* given reader into the given message object.
|
|
1157
|
+
* @param {!proto.search.v1.DeleteProjectMessage} msg The message object to deserialize into.
|
|
1158
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1159
|
+
* @return {!proto.search.v1.DeleteProjectMessage}
|
|
1160
|
+
*/
|
|
1161
|
+
proto.search.v1.DeleteProjectMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
1162
|
+
while (reader.nextField()) {
|
|
1163
|
+
if (reader.isEndGroup()) {
|
|
1164
|
+
break;
|
|
1165
|
+
}
|
|
1166
|
+
var field = reader.getFieldNumber();
|
|
1167
|
+
switch (field) {
|
|
1168
|
+
case 1:
|
|
1169
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1170
|
+
msg.setProjectid(value);
|
|
1171
|
+
break;
|
|
1172
|
+
default:
|
|
1173
|
+
reader.skipField();
|
|
1174
|
+
break;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
return msg;
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1183
|
+
* @return {!Uint8Array}
|
|
1184
|
+
*/
|
|
1185
|
+
proto.search.v1.DeleteProjectMessage.prototype.serializeBinary = function() {
|
|
1186
|
+
var writer = new jspb.BinaryWriter();
|
|
1187
|
+
proto.search.v1.DeleteProjectMessage.serializeBinaryToWriter(this, writer);
|
|
1188
|
+
return writer.getResultBuffer();
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1194
|
+
* format), writing to the given BinaryWriter.
|
|
1195
|
+
* @param {!proto.search.v1.DeleteProjectMessage} message
|
|
1196
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1197
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1198
|
+
*/
|
|
1199
|
+
proto.search.v1.DeleteProjectMessage.serializeBinaryToWriter = function(message, writer) {
|
|
1200
|
+
var f = undefined;
|
|
1201
|
+
f = message.getProjectid();
|
|
1202
|
+
if (f.length > 0) {
|
|
1203
|
+
writer.writeString(
|
|
1204
|
+
1,
|
|
1205
|
+
f
|
|
1206
|
+
);
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* optional string projectId = 1;
|
|
1213
|
+
* @return {string}
|
|
1214
|
+
*/
|
|
1215
|
+
proto.search.v1.DeleteProjectMessage.prototype.getProjectid = function() {
|
|
1216
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* @param {string} value
|
|
1222
|
+
* @return {!proto.search.v1.DeleteProjectMessage} returns this
|
|
1223
|
+
*/
|
|
1224
|
+
proto.search.v1.DeleteProjectMessage.prototype.setProjectid = function(value) {
|
|
1225
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1233
|
+
/**
|
|
1234
|
+
* Creates an object representation of this proto.
|
|
1235
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1236
|
+
* Optional fields that are not set will be set to undefined.
|
|
1237
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1238
|
+
* For the list of reserved names please see:
|
|
1239
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1240
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1241
|
+
* JSPB instance for transitional soy proto support:
|
|
1242
|
+
* http://goto/soy-param-migration
|
|
1243
|
+
* @return {!Object}
|
|
1244
|
+
*/
|
|
1245
|
+
proto.search.v1.QueryResult.prototype.toObject = function(opt_includeInstance) {
|
|
1246
|
+
return proto.search.v1.QueryResult.toObject(opt_includeInstance, this);
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Static version of the {@see toObject} method.
|
|
1252
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1253
|
+
* the JSPB instance for transitional soy proto support:
|
|
1254
|
+
* http://goto/soy-param-migration
|
|
1255
|
+
* @param {!proto.search.v1.QueryResult} msg The msg instance to transform.
|
|
1256
|
+
* @return {!Object}
|
|
1257
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1258
|
+
*/
|
|
1259
|
+
proto.search.v1.QueryResult.toObject = function(includeInstance, msg) {
|
|
1260
|
+
var f, obj = {
|
|
1261
|
+
result: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
if (includeInstance) {
|
|
1265
|
+
obj.$jspbMessageInstance = msg;
|
|
1266
|
+
}
|
|
1267
|
+
return obj;
|
|
1268
|
+
};
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1274
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1275
|
+
* @return {!proto.search.v1.QueryResult}
|
|
1276
|
+
*/
|
|
1277
|
+
proto.search.v1.QueryResult.deserializeBinary = function(bytes) {
|
|
1278
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1279
|
+
var msg = new proto.search.v1.QueryResult;
|
|
1280
|
+
return proto.search.v1.QueryResult.deserializeBinaryFromReader(msg, reader);
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1286
|
+
* given reader into the given message object.
|
|
1287
|
+
* @param {!proto.search.v1.QueryResult} msg The message object to deserialize into.
|
|
1288
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1289
|
+
* @return {!proto.search.v1.QueryResult}
|
|
1290
|
+
*/
|
|
1291
|
+
proto.search.v1.QueryResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
1292
|
+
while (reader.nextField()) {
|
|
1293
|
+
if (reader.isEndGroup()) {
|
|
1294
|
+
break;
|
|
1295
|
+
}
|
|
1296
|
+
var field = reader.getFieldNumber();
|
|
1297
|
+
switch (field) {
|
|
1298
|
+
case 1:
|
|
1299
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1300
|
+
msg.setResult(value);
|
|
1301
|
+
break;
|
|
1302
|
+
default:
|
|
1303
|
+
reader.skipField();
|
|
1304
|
+
break;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
return msg;
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1313
|
+
* @return {!Uint8Array}
|
|
1314
|
+
*/
|
|
1315
|
+
proto.search.v1.QueryResult.prototype.serializeBinary = function() {
|
|
1316
|
+
var writer = new jspb.BinaryWriter();
|
|
1317
|
+
proto.search.v1.QueryResult.serializeBinaryToWriter(this, writer);
|
|
1318
|
+
return writer.getResultBuffer();
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1324
|
+
* format), writing to the given BinaryWriter.
|
|
1325
|
+
* @param {!proto.search.v1.QueryResult} message
|
|
1326
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1327
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1328
|
+
*/
|
|
1329
|
+
proto.search.v1.QueryResult.serializeBinaryToWriter = function(message, writer) {
|
|
1330
|
+
var f = undefined;
|
|
1331
|
+
f = message.getResult();
|
|
1332
|
+
if (f.length > 0) {
|
|
1333
|
+
writer.writeString(
|
|
1334
|
+
1,
|
|
1335
|
+
f
|
|
1336
|
+
);
|
|
1337
|
+
}
|
|
1338
|
+
};
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* optional string result = 1;
|
|
1343
|
+
* @return {string}
|
|
1344
|
+
*/
|
|
1345
|
+
proto.search.v1.QueryResult.prototype.getResult = function() {
|
|
1346
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1347
|
+
};
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* @param {string} value
|
|
1352
|
+
* @return {!proto.search.v1.QueryResult} returns this
|
|
1353
|
+
*/
|
|
1354
|
+
proto.search.v1.QueryResult.prototype.setResult = function(value) {
|
|
1355
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* List of repeated fields within this message type.
|
|
1362
|
+
* @private {!Array<number>}
|
|
1363
|
+
* @const
|
|
1364
|
+
*/
|
|
1365
|
+
proto.search.v1.QueryMessage.repeatedFields_ = [1,2,3];
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1370
|
+
/**
|
|
1371
|
+
* Creates an object representation of this proto.
|
|
1372
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1373
|
+
* Optional fields that are not set will be set to undefined.
|
|
1374
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1375
|
+
* For the list of reserved names please see:
|
|
1376
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1377
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1378
|
+
* JSPB instance for transitional soy proto support:
|
|
1379
|
+
* http://goto/soy-param-migration
|
|
1380
|
+
* @return {!Object}
|
|
1381
|
+
*/
|
|
1382
|
+
proto.search.v1.QueryMessage.prototype.toObject = function(opt_includeInstance) {
|
|
1383
|
+
return proto.search.v1.QueryMessage.toObject(opt_includeInstance, this);
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Static version of the {@see toObject} method.
|
|
1389
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1390
|
+
* the JSPB instance for transitional soy proto support:
|
|
1391
|
+
* http://goto/soy-param-migration
|
|
1392
|
+
* @param {!proto.search.v1.QueryMessage} msg The msg instance to transform.
|
|
1393
|
+
* @return {!Object}
|
|
1394
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1395
|
+
*/
|
|
1396
|
+
proto.search.v1.QueryMessage.toObject = function(includeInstance, msg) {
|
|
1397
|
+
var f, obj = {
|
|
1398
|
+
filtersList: jspb.Message.toObjectList(msg.getFiltersList(),
|
|
1399
|
+
proto.search.v1.Filter.toObject, includeInstance),
|
|
1400
|
+
groupbyfieldsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1401
|
+
payloadidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1402
|
+
startdate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1403
|
+
enddate: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1404
|
+
interval: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1405
|
+
refreshdelay: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1406
|
+
datefield: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1407
|
+
projectid: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1408
|
+
disabledatehistogram: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
if (includeInstance) {
|
|
1412
|
+
obj.$jspbMessageInstance = msg;
|
|
1413
|
+
}
|
|
1414
|
+
return obj;
|
|
1415
|
+
};
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1421
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1422
|
+
* @return {!proto.search.v1.QueryMessage}
|
|
1423
|
+
*/
|
|
1424
|
+
proto.search.v1.QueryMessage.deserializeBinary = function(bytes) {
|
|
1425
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1426
|
+
var msg = new proto.search.v1.QueryMessage;
|
|
1427
|
+
return proto.search.v1.QueryMessage.deserializeBinaryFromReader(msg, reader);
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1433
|
+
* given reader into the given message object.
|
|
1434
|
+
* @param {!proto.search.v1.QueryMessage} msg The message object to deserialize into.
|
|
1435
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1436
|
+
* @return {!proto.search.v1.QueryMessage}
|
|
1437
|
+
*/
|
|
1438
|
+
proto.search.v1.QueryMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
1439
|
+
while (reader.nextField()) {
|
|
1440
|
+
if (reader.isEndGroup()) {
|
|
1441
|
+
break;
|
|
1442
|
+
}
|
|
1443
|
+
var field = reader.getFieldNumber();
|
|
1444
|
+
switch (field) {
|
|
1445
|
+
case 1:
|
|
1446
|
+
var value = new proto.search.v1.Filter;
|
|
1447
|
+
reader.readMessage(value,proto.search.v1.Filter.deserializeBinaryFromReader);
|
|
1448
|
+
msg.addFilters(value);
|
|
1449
|
+
break;
|
|
1450
|
+
case 2:
|
|
1451
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1452
|
+
msg.addGroupbyfields(value);
|
|
1453
|
+
break;
|
|
1454
|
+
case 3:
|
|
1455
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1456
|
+
msg.addPayloadids(value);
|
|
1457
|
+
break;
|
|
1458
|
+
case 4:
|
|
1459
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1460
|
+
msg.setStartdate(value);
|
|
1461
|
+
break;
|
|
1462
|
+
case 5:
|
|
1463
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1464
|
+
msg.setEnddate(value);
|
|
1465
|
+
break;
|
|
1466
|
+
case 6:
|
|
1467
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1468
|
+
msg.setInterval(value);
|
|
1469
|
+
break;
|
|
1470
|
+
case 7:
|
|
1471
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1472
|
+
msg.setRefreshdelay(value);
|
|
1473
|
+
break;
|
|
1474
|
+
case 8:
|
|
1475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1476
|
+
msg.setDatefield(value);
|
|
1477
|
+
break;
|
|
1478
|
+
case 9:
|
|
1479
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1480
|
+
msg.setProjectid(value);
|
|
1481
|
+
break;
|
|
1482
|
+
case 10:
|
|
1483
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1484
|
+
msg.setDisabledatehistogram(value);
|
|
1485
|
+
break;
|
|
1486
|
+
default:
|
|
1487
|
+
reader.skipField();
|
|
1488
|
+
break;
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
return msg;
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1497
|
+
* @return {!Uint8Array}
|
|
1498
|
+
*/
|
|
1499
|
+
proto.search.v1.QueryMessage.prototype.serializeBinary = function() {
|
|
1500
|
+
var writer = new jspb.BinaryWriter();
|
|
1501
|
+
proto.search.v1.QueryMessage.serializeBinaryToWriter(this, writer);
|
|
1502
|
+
return writer.getResultBuffer();
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1508
|
+
* format), writing to the given BinaryWriter.
|
|
1509
|
+
* @param {!proto.search.v1.QueryMessage} message
|
|
1510
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1511
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1512
|
+
*/
|
|
1513
|
+
proto.search.v1.QueryMessage.serializeBinaryToWriter = function(message, writer) {
|
|
1514
|
+
var f = undefined;
|
|
1515
|
+
f = message.getFiltersList();
|
|
1516
|
+
if (f.length > 0) {
|
|
1517
|
+
writer.writeRepeatedMessage(
|
|
1518
|
+
1,
|
|
1519
|
+
f,
|
|
1520
|
+
proto.search.v1.Filter.serializeBinaryToWriter
|
|
1521
|
+
);
|
|
1522
|
+
}
|
|
1523
|
+
f = message.getGroupbyfieldsList();
|
|
1524
|
+
if (f.length > 0) {
|
|
1525
|
+
writer.writeRepeatedString(
|
|
1526
|
+
2,
|
|
1527
|
+
f
|
|
1528
|
+
);
|
|
1529
|
+
}
|
|
1530
|
+
f = message.getPayloadidsList();
|
|
1531
|
+
if (f.length > 0) {
|
|
1532
|
+
writer.writeRepeatedString(
|
|
1533
|
+
3,
|
|
1534
|
+
f
|
|
1535
|
+
);
|
|
1536
|
+
}
|
|
1537
|
+
f = message.getStartdate();
|
|
1538
|
+
if (f.length > 0) {
|
|
1539
|
+
writer.writeString(
|
|
1540
|
+
4,
|
|
1541
|
+
f
|
|
1542
|
+
);
|
|
1543
|
+
}
|
|
1544
|
+
f = message.getEnddate();
|
|
1545
|
+
if (f.length > 0) {
|
|
1546
|
+
writer.writeString(
|
|
1547
|
+
5,
|
|
1548
|
+
f
|
|
1549
|
+
);
|
|
1550
|
+
}
|
|
1551
|
+
f = message.getInterval();
|
|
1552
|
+
if (f.length > 0) {
|
|
1553
|
+
writer.writeString(
|
|
1554
|
+
6,
|
|
1555
|
+
f
|
|
1556
|
+
);
|
|
1557
|
+
}
|
|
1558
|
+
f = message.getRefreshdelay();
|
|
1559
|
+
if (f !== 0) {
|
|
1560
|
+
writer.writeUint64(
|
|
1561
|
+
7,
|
|
1562
|
+
f
|
|
1563
|
+
);
|
|
1564
|
+
}
|
|
1565
|
+
f = message.getDatefield();
|
|
1566
|
+
if (f.length > 0) {
|
|
1567
|
+
writer.writeString(
|
|
1568
|
+
8,
|
|
1569
|
+
f
|
|
1570
|
+
);
|
|
1571
|
+
}
|
|
1572
|
+
f = message.getProjectid();
|
|
1573
|
+
if (f.length > 0) {
|
|
1574
|
+
writer.writeString(
|
|
1575
|
+
9,
|
|
1576
|
+
f
|
|
1577
|
+
);
|
|
1578
|
+
}
|
|
1579
|
+
f = message.getDisabledatehistogram();
|
|
1580
|
+
if (f !== 0) {
|
|
1581
|
+
writer.writeUint64(
|
|
1582
|
+
10,
|
|
1583
|
+
f
|
|
1584
|
+
);
|
|
1585
|
+
}
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* repeated Filter filters = 1;
|
|
1591
|
+
* @return {!Array<!proto.search.v1.Filter>}
|
|
1592
|
+
*/
|
|
1593
|
+
proto.search.v1.QueryMessage.prototype.getFiltersList = function() {
|
|
1594
|
+
return /** @type{!Array<!proto.search.v1.Filter>} */ (
|
|
1595
|
+
jspb.Message.getRepeatedWrapperField(this, proto.search.v1.Filter, 1));
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* @param {!Array<!proto.search.v1.Filter>} value
|
|
1601
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1602
|
+
*/
|
|
1603
|
+
proto.search.v1.QueryMessage.prototype.setFiltersList = function(value) {
|
|
1604
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @param {!proto.search.v1.Filter=} opt_value
|
|
1610
|
+
* @param {number=} opt_index
|
|
1611
|
+
* @return {!proto.search.v1.Filter}
|
|
1612
|
+
*/
|
|
1613
|
+
proto.search.v1.QueryMessage.prototype.addFilters = function(opt_value, opt_index) {
|
|
1614
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.search.v1.Filter, opt_index);
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Clears the list making it empty but non-null.
|
|
1620
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1621
|
+
*/
|
|
1622
|
+
proto.search.v1.QueryMessage.prototype.clearFiltersList = function() {
|
|
1623
|
+
return this.setFiltersList([]);
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* repeated string groupByFields = 2;
|
|
1629
|
+
* @return {!Array<string>}
|
|
1630
|
+
*/
|
|
1631
|
+
proto.search.v1.QueryMessage.prototype.getGroupbyfieldsList = function() {
|
|
1632
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* @param {!Array<string>} value
|
|
1638
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1639
|
+
*/
|
|
1640
|
+
proto.search.v1.QueryMessage.prototype.setGroupbyfieldsList = function(value) {
|
|
1641
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1642
|
+
};
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @param {string} value
|
|
1647
|
+
* @param {number=} opt_index
|
|
1648
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1649
|
+
*/
|
|
1650
|
+
proto.search.v1.QueryMessage.prototype.addGroupbyfields = function(value, opt_index) {
|
|
1651
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Clears the list making it empty but non-null.
|
|
1657
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1658
|
+
*/
|
|
1659
|
+
proto.search.v1.QueryMessage.prototype.clearGroupbyfieldsList = function() {
|
|
1660
|
+
return this.setGroupbyfieldsList([]);
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* repeated string payloadIds = 3;
|
|
1666
|
+
* @return {!Array<string>}
|
|
1667
|
+
*/
|
|
1668
|
+
proto.search.v1.QueryMessage.prototype.getPayloadidsList = function() {
|
|
1669
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* @param {!Array<string>} value
|
|
1675
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1676
|
+
*/
|
|
1677
|
+
proto.search.v1.QueryMessage.prototype.setPayloadidsList = function(value) {
|
|
1678
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @param {string} value
|
|
1684
|
+
* @param {number=} opt_index
|
|
1685
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1686
|
+
*/
|
|
1687
|
+
proto.search.v1.QueryMessage.prototype.addPayloadids = function(value, opt_index) {
|
|
1688
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Clears the list making it empty but non-null.
|
|
1694
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1695
|
+
*/
|
|
1696
|
+
proto.search.v1.QueryMessage.prototype.clearPayloadidsList = function() {
|
|
1697
|
+
return this.setPayloadidsList([]);
|
|
1698
|
+
};
|
|
1699
|
+
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* optional string startDate = 4;
|
|
1703
|
+
* @return {string}
|
|
1704
|
+
*/
|
|
1705
|
+
proto.search.v1.QueryMessage.prototype.getStartdate = function() {
|
|
1706
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* @param {string} value
|
|
1712
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1713
|
+
*/
|
|
1714
|
+
proto.search.v1.QueryMessage.prototype.setStartdate = function(value) {
|
|
1715
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* optional string endDate = 5;
|
|
1721
|
+
* @return {string}
|
|
1722
|
+
*/
|
|
1723
|
+
proto.search.v1.QueryMessage.prototype.getEnddate = function() {
|
|
1724
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* @param {string} value
|
|
1730
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1731
|
+
*/
|
|
1732
|
+
proto.search.v1.QueryMessage.prototype.setEnddate = function(value) {
|
|
1733
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* optional string interval = 6;
|
|
1739
|
+
* @return {string}
|
|
1740
|
+
*/
|
|
1741
|
+
proto.search.v1.QueryMessage.prototype.getInterval = function() {
|
|
1742
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* @param {string} value
|
|
1748
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1749
|
+
*/
|
|
1750
|
+
proto.search.v1.QueryMessage.prototype.setInterval = function(value) {
|
|
1751
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* optional uint64 refreshDelay = 7;
|
|
1757
|
+
* @return {number}
|
|
1758
|
+
*/
|
|
1759
|
+
proto.search.v1.QueryMessage.prototype.getRefreshdelay = function() {
|
|
1760
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1761
|
+
};
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
/**
|
|
1765
|
+
* @param {number} value
|
|
1766
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1767
|
+
*/
|
|
1768
|
+
proto.search.v1.QueryMessage.prototype.setRefreshdelay = function(value) {
|
|
1769
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* optional string dateField = 8;
|
|
1775
|
+
* @return {string}
|
|
1776
|
+
*/
|
|
1777
|
+
proto.search.v1.QueryMessage.prototype.getDatefield = function() {
|
|
1778
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* @param {string} value
|
|
1784
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1785
|
+
*/
|
|
1786
|
+
proto.search.v1.QueryMessage.prototype.setDatefield = function(value) {
|
|
1787
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1788
|
+
};
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* optional string projectId = 9;
|
|
1793
|
+
* @return {string}
|
|
1794
|
+
*/
|
|
1795
|
+
proto.search.v1.QueryMessage.prototype.getProjectid = function() {
|
|
1796
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* @param {string} value
|
|
1802
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1803
|
+
*/
|
|
1804
|
+
proto.search.v1.QueryMessage.prototype.setProjectid = function(value) {
|
|
1805
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* optional uint64 disableDateHistogram = 10;
|
|
1811
|
+
* @return {number}
|
|
1812
|
+
*/
|
|
1813
|
+
proto.search.v1.QueryMessage.prototype.getDisabledatehistogram = function() {
|
|
1814
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* @param {number} value
|
|
1820
|
+
* @return {!proto.search.v1.QueryMessage} returns this
|
|
1821
|
+
*/
|
|
1822
|
+
proto.search.v1.QueryMessage.prototype.setDisabledatehistogram = function(value) {
|
|
1823
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1831
|
+
/**
|
|
1832
|
+
* Creates an object representation of this proto.
|
|
1833
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1834
|
+
* Optional fields that are not set will be set to undefined.
|
|
1835
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1836
|
+
* For the list of reserved names please see:
|
|
1837
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1838
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1839
|
+
* JSPB instance for transitional soy proto support:
|
|
1840
|
+
* http://goto/soy-param-migration
|
|
1841
|
+
* @return {!Object}
|
|
1842
|
+
*/
|
|
1843
|
+
proto.search.v1.Row.prototype.toObject = function(opt_includeInstance) {
|
|
1844
|
+
return proto.search.v1.Row.toObject(opt_includeInstance, this);
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Static version of the {@see toObject} method.
|
|
1850
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1851
|
+
* the JSPB instance for transitional soy proto support:
|
|
1852
|
+
* http://goto/soy-param-migration
|
|
1853
|
+
* @param {!proto.search.v1.Row} msg The msg instance to transform.
|
|
1854
|
+
* @return {!Object}
|
|
1855
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1856
|
+
*/
|
|
1857
|
+
proto.search.v1.Row.toObject = function(includeInstance, msg) {
|
|
1858
|
+
var f, obj = {
|
|
1859
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1860
|
+
count: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1861
|
+
avgsize: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
1862
|
+
totalsize: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
1863
|
+
payload: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1864
|
+
transpersecond: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
1865
|
+
bytespersecond: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
if (includeInstance) {
|
|
1869
|
+
obj.$jspbMessageInstance = msg;
|
|
1870
|
+
}
|
|
1871
|
+
return obj;
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1878
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1879
|
+
* @return {!proto.search.v1.Row}
|
|
1880
|
+
*/
|
|
1881
|
+
proto.search.v1.Row.deserializeBinary = function(bytes) {
|
|
1882
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1883
|
+
var msg = new proto.search.v1.Row;
|
|
1884
|
+
return proto.search.v1.Row.deserializeBinaryFromReader(msg, reader);
|
|
1885
|
+
};
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1890
|
+
* given reader into the given message object.
|
|
1891
|
+
* @param {!proto.search.v1.Row} msg The message object to deserialize into.
|
|
1892
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1893
|
+
* @return {!proto.search.v1.Row}
|
|
1894
|
+
*/
|
|
1895
|
+
proto.search.v1.Row.deserializeBinaryFromReader = function(msg, reader) {
|
|
1896
|
+
while (reader.nextField()) {
|
|
1897
|
+
if (reader.isEndGroup()) {
|
|
1898
|
+
break;
|
|
1899
|
+
}
|
|
1900
|
+
var field = reader.getFieldNumber();
|
|
1901
|
+
switch (field) {
|
|
1902
|
+
case 1:
|
|
1903
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1904
|
+
msg.setKey(value);
|
|
1905
|
+
break;
|
|
1906
|
+
case 2:
|
|
1907
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1908
|
+
msg.setCount(value);
|
|
1909
|
+
break;
|
|
1910
|
+
case 3:
|
|
1911
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1912
|
+
msg.setAvgsize(value);
|
|
1913
|
+
break;
|
|
1914
|
+
case 4:
|
|
1915
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1916
|
+
msg.setTotalsize(value);
|
|
1917
|
+
break;
|
|
1918
|
+
case 5:
|
|
1919
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1920
|
+
msg.setPayload(value);
|
|
1921
|
+
break;
|
|
1922
|
+
case 6:
|
|
1923
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1924
|
+
msg.setTranspersecond(value);
|
|
1925
|
+
break;
|
|
1926
|
+
case 7:
|
|
1927
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1928
|
+
msg.setBytespersecond(value);
|
|
1929
|
+
break;
|
|
1930
|
+
default:
|
|
1931
|
+
reader.skipField();
|
|
1932
|
+
break;
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
return msg;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1941
|
+
* @return {!Uint8Array}
|
|
1942
|
+
*/
|
|
1943
|
+
proto.search.v1.Row.prototype.serializeBinary = function() {
|
|
1944
|
+
var writer = new jspb.BinaryWriter();
|
|
1945
|
+
proto.search.v1.Row.serializeBinaryToWriter(this, writer);
|
|
1946
|
+
return writer.getResultBuffer();
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1952
|
+
* format), writing to the given BinaryWriter.
|
|
1953
|
+
* @param {!proto.search.v1.Row} message
|
|
1954
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1955
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1956
|
+
*/
|
|
1957
|
+
proto.search.v1.Row.serializeBinaryToWriter = function(message, writer) {
|
|
1958
|
+
var f = undefined;
|
|
1959
|
+
f = message.getKey();
|
|
1960
|
+
if (f.length > 0) {
|
|
1961
|
+
writer.writeString(
|
|
1962
|
+
1,
|
|
1963
|
+
f
|
|
1964
|
+
);
|
|
1965
|
+
}
|
|
1966
|
+
f = message.getCount();
|
|
1967
|
+
if (f !== 0) {
|
|
1968
|
+
writer.writeUint64(
|
|
1969
|
+
2,
|
|
1970
|
+
f
|
|
1971
|
+
);
|
|
1972
|
+
}
|
|
1973
|
+
f = message.getAvgsize();
|
|
1974
|
+
if (f !== 0.0) {
|
|
1975
|
+
writer.writeDouble(
|
|
1976
|
+
3,
|
|
1977
|
+
f
|
|
1978
|
+
);
|
|
1979
|
+
}
|
|
1980
|
+
f = message.getTotalsize();
|
|
1981
|
+
if (f !== 0.0) {
|
|
1982
|
+
writer.writeDouble(
|
|
1983
|
+
4,
|
|
1984
|
+
f
|
|
1985
|
+
);
|
|
1986
|
+
}
|
|
1987
|
+
f = message.getPayload();
|
|
1988
|
+
if (f.length > 0) {
|
|
1989
|
+
writer.writeString(
|
|
1990
|
+
5,
|
|
1991
|
+
f
|
|
1992
|
+
);
|
|
1993
|
+
}
|
|
1994
|
+
f = message.getTranspersecond();
|
|
1995
|
+
if (f !== 0.0) {
|
|
1996
|
+
writer.writeDouble(
|
|
1997
|
+
6,
|
|
1998
|
+
f
|
|
1999
|
+
);
|
|
2000
|
+
}
|
|
2001
|
+
f = message.getBytespersecond();
|
|
2002
|
+
if (f !== 0.0) {
|
|
2003
|
+
writer.writeDouble(
|
|
2004
|
+
7,
|
|
2005
|
+
f
|
|
2006
|
+
);
|
|
2007
|
+
}
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* optional string key = 1;
|
|
2013
|
+
* @return {string}
|
|
2014
|
+
*/
|
|
2015
|
+
proto.search.v1.Row.prototype.getKey = function() {
|
|
2016
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* @param {string} value
|
|
2022
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2023
|
+
*/
|
|
2024
|
+
proto.search.v1.Row.prototype.setKey = function(value) {
|
|
2025
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* optional uint64 count = 2;
|
|
2031
|
+
* @return {number}
|
|
2032
|
+
*/
|
|
2033
|
+
proto.search.v1.Row.prototype.getCount = function() {
|
|
2034
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2035
|
+
};
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* @param {number} value
|
|
2040
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2041
|
+
*/
|
|
2042
|
+
proto.search.v1.Row.prototype.setCount = function(value) {
|
|
2043
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
2044
|
+
};
|
|
2045
|
+
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* optional double avgSize = 3;
|
|
2049
|
+
* @return {number}
|
|
2050
|
+
*/
|
|
2051
|
+
proto.search.v1.Row.prototype.getAvgsize = function() {
|
|
2052
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
2053
|
+
};
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* @param {number} value
|
|
2058
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2059
|
+
*/
|
|
2060
|
+
proto.search.v1.Row.prototype.setAvgsize = function(value) {
|
|
2061
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
2062
|
+
};
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* optional double totalSize = 4;
|
|
2067
|
+
* @return {number}
|
|
2068
|
+
*/
|
|
2069
|
+
proto.search.v1.Row.prototype.getTotalsize = function() {
|
|
2070
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* @param {number} value
|
|
2076
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2077
|
+
*/
|
|
2078
|
+
proto.search.v1.Row.prototype.setTotalsize = function(value) {
|
|
2079
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* optional string payload = 5;
|
|
2085
|
+
* @return {string}
|
|
2086
|
+
*/
|
|
2087
|
+
proto.search.v1.Row.prototype.getPayload = function() {
|
|
2088
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* @param {string} value
|
|
2094
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2095
|
+
*/
|
|
2096
|
+
proto.search.v1.Row.prototype.setPayload = function(value) {
|
|
2097
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* optional double transPerSecond = 6;
|
|
2103
|
+
* @return {number}
|
|
2104
|
+
*/
|
|
2105
|
+
proto.search.v1.Row.prototype.getTranspersecond = function() {
|
|
2106
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
2107
|
+
};
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* @param {number} value
|
|
2112
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2113
|
+
*/
|
|
2114
|
+
proto.search.v1.Row.prototype.setTranspersecond = function(value) {
|
|
2115
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* optional double bytesPerSecond = 7;
|
|
2121
|
+
* @return {number}
|
|
2122
|
+
*/
|
|
2123
|
+
proto.search.v1.Row.prototype.getBytespersecond = function() {
|
|
2124
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* @param {number} value
|
|
2130
|
+
* @return {!proto.search.v1.Row} returns this
|
|
2131
|
+
*/
|
|
2132
|
+
proto.search.v1.Row.prototype.setBytespersecond = function(value) {
|
|
2133
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
2134
|
+
};
|
|
2135
|
+
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* List of repeated fields within this message type.
|
|
2140
|
+
* @private {!Array<number>}
|
|
2141
|
+
* @const
|
|
2142
|
+
*/
|
|
2143
|
+
proto.search.v1.RowSet.repeatedFields_ = [1];
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2148
|
+
/**
|
|
2149
|
+
* Creates an object representation of this proto.
|
|
2150
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2151
|
+
* Optional fields that are not set will be set to undefined.
|
|
2152
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2153
|
+
* For the list of reserved names please see:
|
|
2154
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2155
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2156
|
+
* JSPB instance for transitional soy proto support:
|
|
2157
|
+
* http://goto/soy-param-migration
|
|
2158
|
+
* @return {!Object}
|
|
2159
|
+
*/
|
|
2160
|
+
proto.search.v1.RowSet.prototype.toObject = function(opt_includeInstance) {
|
|
2161
|
+
return proto.search.v1.RowSet.toObject(opt_includeInstance, this);
|
|
2162
|
+
};
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* Static version of the {@see toObject} method.
|
|
2167
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2168
|
+
* the JSPB instance for transitional soy proto support:
|
|
2169
|
+
* http://goto/soy-param-migration
|
|
2170
|
+
* @param {!proto.search.v1.RowSet} msg The msg instance to transform.
|
|
2171
|
+
* @return {!Object}
|
|
2172
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2173
|
+
*/
|
|
2174
|
+
proto.search.v1.RowSet.toObject = function(includeInstance, msg) {
|
|
2175
|
+
var f, obj = {
|
|
2176
|
+
rowsetList: jspb.Message.toObjectList(msg.getRowsetList(),
|
|
2177
|
+
proto.search.v1.Row.toObject, includeInstance)
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
if (includeInstance) {
|
|
2181
|
+
obj.$jspbMessageInstance = msg;
|
|
2182
|
+
}
|
|
2183
|
+
return obj;
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2190
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2191
|
+
* @return {!proto.search.v1.RowSet}
|
|
2192
|
+
*/
|
|
2193
|
+
proto.search.v1.RowSet.deserializeBinary = function(bytes) {
|
|
2194
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2195
|
+
var msg = new proto.search.v1.RowSet;
|
|
2196
|
+
return proto.search.v1.RowSet.deserializeBinaryFromReader(msg, reader);
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2202
|
+
* given reader into the given message object.
|
|
2203
|
+
* @param {!proto.search.v1.RowSet} msg The message object to deserialize into.
|
|
2204
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2205
|
+
* @return {!proto.search.v1.RowSet}
|
|
2206
|
+
*/
|
|
2207
|
+
proto.search.v1.RowSet.deserializeBinaryFromReader = function(msg, reader) {
|
|
2208
|
+
while (reader.nextField()) {
|
|
2209
|
+
if (reader.isEndGroup()) {
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
var field = reader.getFieldNumber();
|
|
2213
|
+
switch (field) {
|
|
2214
|
+
case 1:
|
|
2215
|
+
var value = new proto.search.v1.Row;
|
|
2216
|
+
reader.readMessage(value,proto.search.v1.Row.deserializeBinaryFromReader);
|
|
2217
|
+
msg.addRowset(value);
|
|
2218
|
+
break;
|
|
2219
|
+
default:
|
|
2220
|
+
reader.skipField();
|
|
2221
|
+
break;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
return msg;
|
|
2225
|
+
};
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2230
|
+
* @return {!Uint8Array}
|
|
2231
|
+
*/
|
|
2232
|
+
proto.search.v1.RowSet.prototype.serializeBinary = function() {
|
|
2233
|
+
var writer = new jspb.BinaryWriter();
|
|
2234
|
+
proto.search.v1.RowSet.serializeBinaryToWriter(this, writer);
|
|
2235
|
+
return writer.getResultBuffer();
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2241
|
+
* format), writing to the given BinaryWriter.
|
|
2242
|
+
* @param {!proto.search.v1.RowSet} message
|
|
2243
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2244
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2245
|
+
*/
|
|
2246
|
+
proto.search.v1.RowSet.serializeBinaryToWriter = function(message, writer) {
|
|
2247
|
+
var f = undefined;
|
|
2248
|
+
f = message.getRowsetList();
|
|
2249
|
+
if (f.length > 0) {
|
|
2250
|
+
writer.writeRepeatedMessage(
|
|
2251
|
+
1,
|
|
2252
|
+
f,
|
|
2253
|
+
proto.search.v1.Row.serializeBinaryToWriter
|
|
2254
|
+
);
|
|
2255
|
+
}
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* repeated Row rowset = 1;
|
|
2261
|
+
* @return {!Array<!proto.search.v1.Row>}
|
|
2262
|
+
*/
|
|
2263
|
+
proto.search.v1.RowSet.prototype.getRowsetList = function() {
|
|
2264
|
+
return /** @type{!Array<!proto.search.v1.Row>} */ (
|
|
2265
|
+
jspb.Message.getRepeatedWrapperField(this, proto.search.v1.Row, 1));
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
* @param {!Array<!proto.search.v1.Row>} value
|
|
2271
|
+
* @return {!proto.search.v1.RowSet} returns this
|
|
2272
|
+
*/
|
|
2273
|
+
proto.search.v1.RowSet.prototype.setRowsetList = function(value) {
|
|
2274
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2275
|
+
};
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* @param {!proto.search.v1.Row=} opt_value
|
|
2280
|
+
* @param {number=} opt_index
|
|
2281
|
+
* @return {!proto.search.v1.Row}
|
|
2282
|
+
*/
|
|
2283
|
+
proto.search.v1.RowSet.prototype.addRowset = function(opt_value, opt_index) {
|
|
2284
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.search.v1.Row, opt_index);
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Clears the list making it empty but non-null.
|
|
2290
|
+
* @return {!proto.search.v1.RowSet} returns this
|
|
2291
|
+
*/
|
|
2292
|
+
proto.search.v1.RowSet.prototype.clearRowsetList = function() {
|
|
2293
|
+
return this.setRowsetList([]);
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* List of repeated fields within this message type.
|
|
2300
|
+
* @private {!Array<number>}
|
|
2301
|
+
* @const
|
|
2302
|
+
*/
|
|
2303
|
+
proto.search.v1.DataRow.repeatedFields_ = [2];
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2308
|
+
/**
|
|
2309
|
+
* Creates an object representation of this proto.
|
|
2310
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2311
|
+
* Optional fields that are not set will be set to undefined.
|
|
2312
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2313
|
+
* For the list of reserved names please see:
|
|
2314
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2315
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2316
|
+
* JSPB instance for transitional soy proto support:
|
|
2317
|
+
* http://goto/soy-param-migration
|
|
2318
|
+
* @return {!Object}
|
|
2319
|
+
*/
|
|
2320
|
+
proto.search.v1.DataRow.prototype.toObject = function(opt_includeInstance) {
|
|
2321
|
+
return proto.search.v1.DataRow.toObject(opt_includeInstance, this);
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* Static version of the {@see toObject} method.
|
|
2327
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2328
|
+
* the JSPB instance for transitional soy proto support:
|
|
2329
|
+
* http://goto/soy-param-migration
|
|
2330
|
+
* @param {!proto.search.v1.DataRow} msg The msg instance to transform.
|
|
2331
|
+
* @return {!Object}
|
|
2332
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2333
|
+
*/
|
|
2334
|
+
proto.search.v1.DataRow.toObject = function(includeInstance, msg) {
|
|
2335
|
+
var f, obj = {
|
|
2336
|
+
date: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2337
|
+
rowList: jspb.Message.toObjectList(msg.getRowList(),
|
|
2338
|
+
proto.search.v1.Row.toObject, includeInstance)
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
if (includeInstance) {
|
|
2342
|
+
obj.$jspbMessageInstance = msg;
|
|
2343
|
+
}
|
|
2344
|
+
return obj;
|
|
2345
|
+
};
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2351
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2352
|
+
* @return {!proto.search.v1.DataRow}
|
|
2353
|
+
*/
|
|
2354
|
+
proto.search.v1.DataRow.deserializeBinary = function(bytes) {
|
|
2355
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2356
|
+
var msg = new proto.search.v1.DataRow;
|
|
2357
|
+
return proto.search.v1.DataRow.deserializeBinaryFromReader(msg, reader);
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2363
|
+
* given reader into the given message object.
|
|
2364
|
+
* @param {!proto.search.v1.DataRow} msg The message object to deserialize into.
|
|
2365
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2366
|
+
* @return {!proto.search.v1.DataRow}
|
|
2367
|
+
*/
|
|
2368
|
+
proto.search.v1.DataRow.deserializeBinaryFromReader = function(msg, reader) {
|
|
2369
|
+
while (reader.nextField()) {
|
|
2370
|
+
if (reader.isEndGroup()) {
|
|
2371
|
+
break;
|
|
2372
|
+
}
|
|
2373
|
+
var field = reader.getFieldNumber();
|
|
2374
|
+
switch (field) {
|
|
2375
|
+
case 1:
|
|
2376
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2377
|
+
msg.setDate(value);
|
|
2378
|
+
break;
|
|
2379
|
+
case 2:
|
|
2380
|
+
var value = new proto.search.v1.Row;
|
|
2381
|
+
reader.readMessage(value,proto.search.v1.Row.deserializeBinaryFromReader);
|
|
2382
|
+
msg.addRow(value);
|
|
2383
|
+
break;
|
|
2384
|
+
default:
|
|
2385
|
+
reader.skipField();
|
|
2386
|
+
break;
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
return msg;
|
|
2390
|
+
};
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2395
|
+
* @return {!Uint8Array}
|
|
2396
|
+
*/
|
|
2397
|
+
proto.search.v1.DataRow.prototype.serializeBinary = function() {
|
|
2398
|
+
var writer = new jspb.BinaryWriter();
|
|
2399
|
+
proto.search.v1.DataRow.serializeBinaryToWriter(this, writer);
|
|
2400
|
+
return writer.getResultBuffer();
|
|
2401
|
+
};
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2406
|
+
* format), writing to the given BinaryWriter.
|
|
2407
|
+
* @param {!proto.search.v1.DataRow} message
|
|
2408
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2409
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2410
|
+
*/
|
|
2411
|
+
proto.search.v1.DataRow.serializeBinaryToWriter = function(message, writer) {
|
|
2412
|
+
var f = undefined;
|
|
2413
|
+
f = message.getDate();
|
|
2414
|
+
if (f.length > 0) {
|
|
2415
|
+
writer.writeString(
|
|
2416
|
+
1,
|
|
2417
|
+
f
|
|
2418
|
+
);
|
|
2419
|
+
}
|
|
2420
|
+
f = message.getRowList();
|
|
2421
|
+
if (f.length > 0) {
|
|
2422
|
+
writer.writeRepeatedMessage(
|
|
2423
|
+
2,
|
|
2424
|
+
f,
|
|
2425
|
+
proto.search.v1.Row.serializeBinaryToWriter
|
|
2426
|
+
);
|
|
2427
|
+
}
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* optional string date = 1;
|
|
2433
|
+
* @return {string}
|
|
2434
|
+
*/
|
|
2435
|
+
proto.search.v1.DataRow.prototype.getDate = function() {
|
|
2436
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* @param {string} value
|
|
2442
|
+
* @return {!proto.search.v1.DataRow} returns this
|
|
2443
|
+
*/
|
|
2444
|
+
proto.search.v1.DataRow.prototype.setDate = function(value) {
|
|
2445
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2446
|
+
};
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* repeated Row row = 2;
|
|
2451
|
+
* @return {!Array<!proto.search.v1.Row>}
|
|
2452
|
+
*/
|
|
2453
|
+
proto.search.v1.DataRow.prototype.getRowList = function() {
|
|
2454
|
+
return /** @type{!Array<!proto.search.v1.Row>} */ (
|
|
2455
|
+
jspb.Message.getRepeatedWrapperField(this, proto.search.v1.Row, 2));
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
/**
|
|
2460
|
+
* @param {!Array<!proto.search.v1.Row>} value
|
|
2461
|
+
* @return {!proto.search.v1.DataRow} returns this
|
|
2462
|
+
*/
|
|
2463
|
+
proto.search.v1.DataRow.prototype.setRowList = function(value) {
|
|
2464
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
/**
|
|
2469
|
+
* @param {!proto.search.v1.Row=} opt_value
|
|
2470
|
+
* @param {number=} opt_index
|
|
2471
|
+
* @return {!proto.search.v1.Row}
|
|
2472
|
+
*/
|
|
2473
|
+
proto.search.v1.DataRow.prototype.addRow = function(opt_value, opt_index) {
|
|
2474
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.search.v1.Row, opt_index);
|
|
2475
|
+
};
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Clears the list making it empty but non-null.
|
|
2480
|
+
* @return {!proto.search.v1.DataRow} returns this
|
|
2481
|
+
*/
|
|
2482
|
+
proto.search.v1.DataRow.prototype.clearRowList = function() {
|
|
2483
|
+
return this.setRowList([]);
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* List of repeated fields within this message type.
|
|
2490
|
+
* @private {!Array<number>}
|
|
2491
|
+
* @const
|
|
2492
|
+
*/
|
|
2493
|
+
proto.search.v1.Dataset.repeatedFields_ = [1];
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2498
|
+
/**
|
|
2499
|
+
* Creates an object representation of this proto.
|
|
2500
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2501
|
+
* Optional fields that are not set will be set to undefined.
|
|
2502
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2503
|
+
* For the list of reserved names please see:
|
|
2504
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2505
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2506
|
+
* JSPB instance for transitional soy proto support:
|
|
2507
|
+
* http://goto/soy-param-migration
|
|
2508
|
+
* @return {!Object}
|
|
2509
|
+
*/
|
|
2510
|
+
proto.search.v1.Dataset.prototype.toObject = function(opt_includeInstance) {
|
|
2511
|
+
return proto.search.v1.Dataset.toObject(opt_includeInstance, this);
|
|
2512
|
+
};
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* Static version of the {@see toObject} method.
|
|
2517
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2518
|
+
* the JSPB instance for transitional soy proto support:
|
|
2519
|
+
* http://goto/soy-param-migration
|
|
2520
|
+
* @param {!proto.search.v1.Dataset} msg The msg instance to transform.
|
|
2521
|
+
* @return {!Object}
|
|
2522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2523
|
+
*/
|
|
2524
|
+
proto.search.v1.Dataset.toObject = function(includeInstance, msg) {
|
|
2525
|
+
var f, obj = {
|
|
2526
|
+
datasetList: jspb.Message.toObjectList(msg.getDatasetList(),
|
|
2527
|
+
proto.search.v1.DataRow.toObject, includeInstance)
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2530
|
+
if (includeInstance) {
|
|
2531
|
+
obj.$jspbMessageInstance = msg;
|
|
2532
|
+
}
|
|
2533
|
+
return obj;
|
|
2534
|
+
};
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2540
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2541
|
+
* @return {!proto.search.v1.Dataset}
|
|
2542
|
+
*/
|
|
2543
|
+
proto.search.v1.Dataset.deserializeBinary = function(bytes) {
|
|
2544
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2545
|
+
var msg = new proto.search.v1.Dataset;
|
|
2546
|
+
return proto.search.v1.Dataset.deserializeBinaryFromReader(msg, reader);
|
|
2547
|
+
};
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2552
|
+
* given reader into the given message object.
|
|
2553
|
+
* @param {!proto.search.v1.Dataset} msg The message object to deserialize into.
|
|
2554
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2555
|
+
* @return {!proto.search.v1.Dataset}
|
|
2556
|
+
*/
|
|
2557
|
+
proto.search.v1.Dataset.deserializeBinaryFromReader = function(msg, reader) {
|
|
2558
|
+
while (reader.nextField()) {
|
|
2559
|
+
if (reader.isEndGroup()) {
|
|
2560
|
+
break;
|
|
2561
|
+
}
|
|
2562
|
+
var field = reader.getFieldNumber();
|
|
2563
|
+
switch (field) {
|
|
2564
|
+
case 1:
|
|
2565
|
+
var value = new proto.search.v1.DataRow;
|
|
2566
|
+
reader.readMessage(value,proto.search.v1.DataRow.deserializeBinaryFromReader);
|
|
2567
|
+
msg.addDataset(value);
|
|
2568
|
+
break;
|
|
2569
|
+
default:
|
|
2570
|
+
reader.skipField();
|
|
2571
|
+
break;
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
return msg;
|
|
2575
|
+
};
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2580
|
+
* @return {!Uint8Array}
|
|
2581
|
+
*/
|
|
2582
|
+
proto.search.v1.Dataset.prototype.serializeBinary = function() {
|
|
2583
|
+
var writer = new jspb.BinaryWriter();
|
|
2584
|
+
proto.search.v1.Dataset.serializeBinaryToWriter(this, writer);
|
|
2585
|
+
return writer.getResultBuffer();
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2591
|
+
* format), writing to the given BinaryWriter.
|
|
2592
|
+
* @param {!proto.search.v1.Dataset} message
|
|
2593
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2594
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2595
|
+
*/
|
|
2596
|
+
proto.search.v1.Dataset.serializeBinaryToWriter = function(message, writer) {
|
|
2597
|
+
var f = undefined;
|
|
2598
|
+
f = message.getDatasetList();
|
|
2599
|
+
if (f.length > 0) {
|
|
2600
|
+
writer.writeRepeatedMessage(
|
|
2601
|
+
1,
|
|
2602
|
+
f,
|
|
2603
|
+
proto.search.v1.DataRow.serializeBinaryToWriter
|
|
2604
|
+
);
|
|
2605
|
+
}
|
|
2606
|
+
};
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* repeated DataRow dataset = 1;
|
|
2611
|
+
* @return {!Array<!proto.search.v1.DataRow>}
|
|
2612
|
+
*/
|
|
2613
|
+
proto.search.v1.Dataset.prototype.getDatasetList = function() {
|
|
2614
|
+
return /** @type{!Array<!proto.search.v1.DataRow>} */ (
|
|
2615
|
+
jspb.Message.getRepeatedWrapperField(this, proto.search.v1.DataRow, 1));
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* @param {!Array<!proto.search.v1.DataRow>} value
|
|
2621
|
+
* @return {!proto.search.v1.Dataset} returns this
|
|
2622
|
+
*/
|
|
2623
|
+
proto.search.v1.Dataset.prototype.setDatasetList = function(value) {
|
|
2624
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2625
|
+
};
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
/**
|
|
2629
|
+
* @param {!proto.search.v1.DataRow=} opt_value
|
|
2630
|
+
* @param {number=} opt_index
|
|
2631
|
+
* @return {!proto.search.v1.DataRow}
|
|
2632
|
+
*/
|
|
2633
|
+
proto.search.v1.Dataset.prototype.addDataset = function(opt_value, opt_index) {
|
|
2634
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.search.v1.DataRow, opt_index);
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Clears the list making it empty but non-null.
|
|
2640
|
+
* @return {!proto.search.v1.Dataset} returns this
|
|
2641
|
+
*/
|
|
2642
|
+
proto.search.v1.Dataset.prototype.clearDatasetList = function() {
|
|
2643
|
+
return this.setDatasetList([]);
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2651
|
+
/**
|
|
2652
|
+
* Creates an object representation of this proto.
|
|
2653
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2654
|
+
* Optional fields that are not set will be set to undefined.
|
|
2655
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2656
|
+
* For the list of reserved names please see:
|
|
2657
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2658
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2659
|
+
* JSPB instance for transitional soy proto support:
|
|
2660
|
+
* http://goto/soy-param-migration
|
|
2661
|
+
* @return {!Object}
|
|
2662
|
+
*/
|
|
2663
|
+
proto.search.v1.Empty.prototype.toObject = function(opt_includeInstance) {
|
|
2664
|
+
return proto.search.v1.Empty.toObject(opt_includeInstance, this);
|
|
2665
|
+
};
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
/**
|
|
2669
|
+
* Static version of the {@see toObject} method.
|
|
2670
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2671
|
+
* the JSPB instance for transitional soy proto support:
|
|
2672
|
+
* http://goto/soy-param-migration
|
|
2673
|
+
* @param {!proto.search.v1.Empty} msg The msg instance to transform.
|
|
2674
|
+
* @return {!Object}
|
|
2675
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2676
|
+
*/
|
|
2677
|
+
proto.search.v1.Empty.toObject = function(includeInstance, msg) {
|
|
2678
|
+
var f, obj = {
|
|
2679
|
+
|
|
2680
|
+
};
|
|
2681
|
+
|
|
2682
|
+
if (includeInstance) {
|
|
2683
|
+
obj.$jspbMessageInstance = msg;
|
|
2684
|
+
}
|
|
2685
|
+
return obj;
|
|
2686
|
+
};
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2692
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2693
|
+
* @return {!proto.search.v1.Empty}
|
|
2694
|
+
*/
|
|
2695
|
+
proto.search.v1.Empty.deserializeBinary = function(bytes) {
|
|
2696
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2697
|
+
var msg = new proto.search.v1.Empty;
|
|
2698
|
+
return proto.search.v1.Empty.deserializeBinaryFromReader(msg, reader);
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2704
|
+
* given reader into the given message object.
|
|
2705
|
+
* @param {!proto.search.v1.Empty} msg The message object to deserialize into.
|
|
2706
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2707
|
+
* @return {!proto.search.v1.Empty}
|
|
2708
|
+
*/
|
|
2709
|
+
proto.search.v1.Empty.deserializeBinaryFromReader = function(msg, reader) {
|
|
2710
|
+
while (reader.nextField()) {
|
|
2711
|
+
if (reader.isEndGroup()) {
|
|
2712
|
+
break;
|
|
2713
|
+
}
|
|
2714
|
+
var field = reader.getFieldNumber();
|
|
2715
|
+
switch (field) {
|
|
2716
|
+
default:
|
|
2717
|
+
reader.skipField();
|
|
2718
|
+
break;
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
return msg;
|
|
2722
|
+
};
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2727
|
+
* @return {!Uint8Array}
|
|
2728
|
+
*/
|
|
2729
|
+
proto.search.v1.Empty.prototype.serializeBinary = function() {
|
|
2730
|
+
var writer = new jspb.BinaryWriter();
|
|
2731
|
+
proto.search.v1.Empty.serializeBinaryToWriter(this, writer);
|
|
2732
|
+
return writer.getResultBuffer();
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2738
|
+
* format), writing to the given BinaryWriter.
|
|
2739
|
+
* @param {!proto.search.v1.Empty} message
|
|
2740
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2741
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2742
|
+
*/
|
|
2743
|
+
proto.search.v1.Empty.serializeBinaryToWriter = function(message, writer) {
|
|
2744
|
+
var f = undefined;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2752
|
+
/**
|
|
2753
|
+
* Creates an object representation of this proto.
|
|
2754
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2755
|
+
* Optional fields that are not set will be set to undefined.
|
|
2756
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2757
|
+
* For the list of reserved names please see:
|
|
2758
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2759
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2760
|
+
* JSPB instance for transitional soy proto support:
|
|
2761
|
+
* http://goto/soy-param-migration
|
|
2762
|
+
* @return {!Object}
|
|
2763
|
+
*/
|
|
2764
|
+
proto.search.v1.Status.prototype.toObject = function(opt_includeInstance) {
|
|
2765
|
+
return proto.search.v1.Status.toObject(opt_includeInstance, this);
|
|
2766
|
+
};
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* Static version of the {@see toObject} method.
|
|
2771
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2772
|
+
* the JSPB instance for transitional soy proto support:
|
|
2773
|
+
* http://goto/soy-param-migration
|
|
2774
|
+
* @param {!proto.search.v1.Status} msg The msg instance to transform.
|
|
2775
|
+
* @return {!Object}
|
|
2776
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2777
|
+
*/
|
|
2778
|
+
proto.search.v1.Status.toObject = function(includeInstance, msg) {
|
|
2779
|
+
var f, obj = {
|
|
2780
|
+
outcome: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2781
|
+
error: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2784
|
+
if (includeInstance) {
|
|
2785
|
+
obj.$jspbMessageInstance = msg;
|
|
2786
|
+
}
|
|
2787
|
+
return obj;
|
|
2788
|
+
};
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2794
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2795
|
+
* @return {!proto.search.v1.Status}
|
|
2796
|
+
*/
|
|
2797
|
+
proto.search.v1.Status.deserializeBinary = function(bytes) {
|
|
2798
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2799
|
+
var msg = new proto.search.v1.Status;
|
|
2800
|
+
return proto.search.v1.Status.deserializeBinaryFromReader(msg, reader);
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2806
|
+
* given reader into the given message object.
|
|
2807
|
+
* @param {!proto.search.v1.Status} msg The message object to deserialize into.
|
|
2808
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2809
|
+
* @return {!proto.search.v1.Status}
|
|
2810
|
+
*/
|
|
2811
|
+
proto.search.v1.Status.deserializeBinaryFromReader = function(msg, reader) {
|
|
2812
|
+
while (reader.nextField()) {
|
|
2813
|
+
if (reader.isEndGroup()) {
|
|
2814
|
+
break;
|
|
2815
|
+
}
|
|
2816
|
+
var field = reader.getFieldNumber();
|
|
2817
|
+
switch (field) {
|
|
2818
|
+
case 1:
|
|
2819
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2820
|
+
msg.setOutcome(value);
|
|
2821
|
+
break;
|
|
2822
|
+
case 2:
|
|
2823
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2824
|
+
msg.setError(value);
|
|
2825
|
+
break;
|
|
2826
|
+
default:
|
|
2827
|
+
reader.skipField();
|
|
2828
|
+
break;
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
return msg;
|
|
2832
|
+
};
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2837
|
+
* @return {!Uint8Array}
|
|
2838
|
+
*/
|
|
2839
|
+
proto.search.v1.Status.prototype.serializeBinary = function() {
|
|
2840
|
+
var writer = new jspb.BinaryWriter();
|
|
2841
|
+
proto.search.v1.Status.serializeBinaryToWriter(this, writer);
|
|
2842
|
+
return writer.getResultBuffer();
|
|
2843
|
+
};
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2848
|
+
* format), writing to the given BinaryWriter.
|
|
2849
|
+
* @param {!proto.search.v1.Status} message
|
|
2850
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2851
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2852
|
+
*/
|
|
2853
|
+
proto.search.v1.Status.serializeBinaryToWriter = function(message, writer) {
|
|
2854
|
+
var f = undefined;
|
|
2855
|
+
f = message.getOutcome();
|
|
2856
|
+
if (f.length > 0) {
|
|
2857
|
+
writer.writeString(
|
|
2858
|
+
1,
|
|
2859
|
+
f
|
|
2860
|
+
);
|
|
2861
|
+
}
|
|
2862
|
+
f = message.getError();
|
|
2863
|
+
if (f.length > 0) {
|
|
2864
|
+
writer.writeString(
|
|
2865
|
+
2,
|
|
2866
|
+
f
|
|
2867
|
+
);
|
|
2868
|
+
}
|
|
2869
|
+
};
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* optional string outcome = 1;
|
|
2874
|
+
* @return {string}
|
|
2875
|
+
*/
|
|
2876
|
+
proto.search.v1.Status.prototype.getOutcome = function() {
|
|
2877
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2878
|
+
};
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* @param {string} value
|
|
2883
|
+
* @return {!proto.search.v1.Status} returns this
|
|
2884
|
+
*/
|
|
2885
|
+
proto.search.v1.Status.prototype.setOutcome = function(value) {
|
|
2886
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2887
|
+
};
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* optional string error = 2;
|
|
2892
|
+
* @return {string}
|
|
2893
|
+
*/
|
|
2894
|
+
proto.search.v1.Status.prototype.getError = function() {
|
|
2895
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2896
|
+
};
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* @param {string} value
|
|
2901
|
+
* @return {!proto.search.v1.Status} returns this
|
|
2902
|
+
*/
|
|
2903
|
+
proto.search.v1.Status.prototype.setError = function(value) {
|
|
2904
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2905
|
+
};
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
goog.object.extend(exports, proto.search.v1);
|