@dronedeploy/rocos-js-sdk 2.6.1 → 3.0.0-alpha.20
Sign up to get free protection for your applications and to get access to all the features.
- package/IRocosSDK.d.ts +3 -26
- package/IRocosSDK.js +1 -5
- package/README.md +18 -0
- package/RocosSDK.d.ts +6 -1
- package/RocosSDK.js +103 -95
- package/api/StreamRegister.d.ts +1 -1
- package/api/StreamRegister.js +23 -12
- package/api/atoms/StreamHeartbeat.js +3 -7
- package/api/streams/caller/CallerStream.d.ts +6 -6
- package/api/streams/caller/CallerStream.js +41 -49
- package/api/streams/caller/CallerStreamAbstract.d.ts +6 -11
- package/api/streams/caller/CallerStreamAbstract.js +55 -67
- package/api/streams/caller/CallerStreamNode.d.ts +6 -6
- package/api/streams/caller/CallerStreamNode.js +48 -61
- package/api/streams/command/CommandStream.d.ts +2 -4
- package/api/streams/command/CommandStream.js +28 -30
- package/api/streams/command/CommandStreamAbstract.d.ts +4 -8
- package/api/streams/command/CommandStreamAbstract.js +33 -42
- package/api/streams/command/CommandStreamNode.d.ts +2 -4
- package/api/streams/command/CommandStreamNode.js +16 -40
- package/api/streams/control/ControlStream.d.ts +4 -6
- package/api/streams/control/ControlStream.js +30 -36
- package/api/streams/control/ControlStreamAbstract.d.ts +6 -9
- package/api/streams/control/ControlStreamAbstract.js +57 -54
- package/api/streams/control/ControlStreamNode.d.ts +3 -5
- package/api/streams/control/ControlStreamNode.js +19 -44
- package/api/streams/fileAccessor/FileAccessorStream.d.ts +2 -4
- package/api/streams/fileAccessor/FileAccessorStream.js +42 -57
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.d.ts +4 -9
- package/api/streams/fileAccessor/FileAccessorStreamAbstract.js +28 -48
- package/api/streams/fileAccessor/FileAccessorStreamNode.d.ts +1 -3
- package/api/streams/fileAccessor/FileAccessorStreamNode.js +23 -53
- package/api/streams/search/SearchStream.d.ts +2 -5
- package/api/streams/search/SearchStream.js +50 -74
- package/api/streams/search/SearchStreamAbstract.d.ts +4 -9
- package/api/streams/search/SearchStreamAbstract.js +33 -35
- package/api/streams/search/SearchStreamNode.d.ts +2 -5
- package/api/streams/search/SearchStreamNode.js +23 -48
- package/api/streams/telemetry/TelemetryStream.d.ts +4 -4
- package/api/streams/telemetry/TelemetryStream.js +49 -78
- package/api/streams/telemetry/TelemetryStreamAbstract.d.ts +8 -11
- package/api/streams/telemetry/TelemetryStreamAbstract.js +126 -145
- package/api/streams/telemetry/TelemetryStreamNode.d.ts +5 -5
- package/api/streams/telemetry/TelemetryStreamNode.js +44 -64
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.d.ts +5 -10
- package/api/streams/webRTCSignalling/WebRTCSignallingStream.js +37 -20
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.d.ts +10 -13
- package/api/streams/webRTCSignalling/WebRTCSignallingStreamAbstract.js +37 -37
- package/constants/api.d.ts +14 -5
- package/constants/api.js +130 -126
- package/constants/auth.d.ts +2 -0
- package/constants/auth.js +2 -0
- package/constants/grpc.js +5 -8
- package/constants/identifier.js +6 -9
- package/constants/timezones.d.ts +1 -1
- package/constants/timezones.js +1 -4
- package/grpc/conker_pb.client.d.ts +78 -0
- package/grpc/conker_pb.client.js +55 -0
- package/grpc/conker_pb.d.ts +141 -0
- package/grpc/conker_pb.grpc-client.d.ts +81 -0
- package/grpc/conker_pb.grpc-client.js +58 -0
- package/grpc/conker_pb.js +104 -0
- package/grpc/filagree_pb.client.d.ts +68 -0
- package/grpc/filagree_pb.client.js +48 -0
- package/grpc/filagree_pb.d.ts +404 -0
- package/grpc/filagree_pb.grpc-client.d.ts +69 -0
- package/grpc/filagree_pb.grpc-client.js +51 -0
- package/grpc/filagree_pb.js +329 -0
- package/grpc/google/protobuf/descriptor_pb.d.ts +1798 -0
- package/grpc/google/protobuf/descriptor_pb.js +2378 -0
- package/grpc/google/protobuf/empty_pb.d.ts +23 -0
- package/grpc/google/protobuf/empty_pb.js +47 -0
- package/grpc/pigeon_pb.client.d.ts +96 -0
- package/grpc/pigeon_pb.client.js +72 -0
- package/grpc/pigeon_pb.d.ts +207 -0
- package/grpc/pigeon_pb.grpc-client.d.ts +98 -0
- package/grpc/pigeon_pb.grpc-client.js +68 -0
- package/grpc/pigeon_pb.js +144 -0
- package/grpc/rambo.uri.v1_pb.d.ts +73 -0
- package/grpc/rambo.uri.v1_pb.js +48 -0
- package/grpc/rambo.v1_pb.client.d.ts +66 -0
- package/grpc/rambo.v1_pb.client.js +48 -0
- package/grpc/rambo.v1_pb.d.ts +392 -0
- package/grpc/rambo.v1_pb.grpc-client.d.ts +56 -0
- package/grpc/rambo.v1_pb.grpc-client.js +44 -0
- package/grpc/rambo.v1_pb.js +272 -0
- package/grpc/serviette.uri.v1_pb.d.ts +89 -0
- package/grpc/serviette.uri.v1_pb.js +62 -0
- package/grpc/serviette.v1_pb.client.d.ts +225 -0
- package/grpc/serviette.v1_pb.client.js +174 -0
- package/grpc/serviette.v1_pb.d.ts +827 -0
- package/grpc/serviette.v1_pb.grpc-client.d.ts +215 -0
- package/grpc/serviette.v1_pb.grpc-client.js +162 -0
- package/grpc/serviette.v1_pb.js +553 -0
- package/grpc/slowlane_pb.client.d.ts +61 -0
- package/grpc/slowlane_pb.client.js +41 -0
- package/grpc/slowlane_pb.d.ts +303 -0
- package/grpc/slowlane_pb.grpc-client.d.ts +64 -0
- package/grpc/slowlane_pb.grpc-client.js +44 -0
- package/grpc/slowlane_pb.js +185 -0
- package/grpc/teletubby_pb.client.d.ts +145 -0
- package/grpc/teletubby_pb.client.js +104 -0
- package/grpc/teletubby_pb.d.ts +634 -0
- package/grpc/teletubby_pb.grpc-client.d.ts +152 -0
- package/grpc/teletubby_pb.grpc-client.js +100 -0
- package/grpc/teletubby_pb.js +1264 -0
- package/helpers/arrayRemove.js +2 -6
- package/helpers/arrayUnique.js +2 -6
- package/helpers/average.js +2 -7
- package/helpers/callerMessageHelpers.d.ts +14 -0
- package/helpers/callerMessageHelpers.js +86 -0
- package/helpers/cleanObject.js +17 -19
- package/helpers/cleanObject.spec.d.ts +1 -0
- package/helpers/cleanObject.spec.js +53 -0
- package/helpers/enviroment.js +4 -11
- package/helpers/flattenCallsignsLookup.d.ts +1 -1
- package/helpers/flattenCallsignsLookup.js +1 -5
- package/helpers/flattenObject.js +1 -5
- package/helpers/flattenObject.spec.d.ts +1 -0
- package/helpers/flattenObject.spec.js +29 -0
- package/helpers/flattenOneOf.d.ts +67 -0
- package/helpers/flattenOneOf.js +29 -0
- package/helpers/flattenOneOf.spec.d.ts +1 -0
- package/helpers/flattenOneOf.spec.js +157 -0
- package/helpers/formatServiceUrl.js +1 -5
- package/helpers/formatServiceUrl.spec.d.ts +1 -0
- package/helpers/formatServiceUrl.spec.js +16 -0
- package/helpers/generateUUID.js +3 -7
- package/helpers/getSubscriptionsDifference.d.ts +3 -3
- package/helpers/getSubscriptionsDifference.js +6 -10
- package/helpers/getURLSearchParams.d.ts +2 -0
- package/helpers/getURLSearchParams.js +9 -0
- package/helpers/getURLSearchParams.spec.d.ts +1 -0
- package/helpers/getURLSearchParams.spec.js +19 -0
- package/helpers/getUniqueConfigKey.js +1 -6
- package/helpers/getUniqueId.js +3 -7
- package/helpers/getUnixTimeMs.js +1 -5
- package/helpers/index.d.ts +3 -1
- package/helpers/index.js +5 -15
- package/helpers/nanosecondToMillisecond.d.ts +1 -1
- package/helpers/nanosecondToMillisecond.js +11 -6
- package/helpers/nanosecondToMillisecond.spec.d.ts +1 -0
- package/helpers/nanosecondToMillisecond.spec.js +20 -0
- package/helpers/randomString.js +1 -5
- package/helpers/standardDeviation.js +4 -8
- package/helpers/standardDeviation.spec.d.ts +1 -0
- package/helpers/standardDeviation.spec.js +11 -0
- package/helpers/stringToUint8Array.js +3 -7
- package/helpers/uint8ArrayToString.js +3 -8
- package/helpers/websandbox/connection.d.ts +67 -0
- package/helpers/websandbox/connection.js +133 -0
- package/helpers/websandbox/frame/frame.d.ts +12 -0
- package/helpers/websandbox/frame/frame.js +22 -0
- package/helpers/websandbox/frame/frame.source.d.ts +2 -0
- package/helpers/websandbox/frame/frame.source.js +5 -0
- package/helpers/websandbox/frame/index.d.ts +2 -0
- package/helpers/websandbox/frame/index.js +2 -0
- package/helpers/websandbox/frame/worker/index.d.ts +2 -0
- package/helpers/websandbox/frame/worker/index.js +2 -0
- package/helpers/websandbox/frame/worker/manager.d.ts +11 -0
- package/helpers/websandbox/frame/worker/manager.js +67 -0
- package/helpers/websandbox/frame/worker/manager.spec.d.ts +4 -0
- package/helpers/websandbox/frame/worker/manager.spec.js +127 -0
- package/helpers/websandbox/frame/worker/types.d.ts +11 -0
- package/helpers/websandbox/frame/worker/types.js +1 -0
- package/helpers/websandbox/frame/worker/worker.d.ts +1 -0
- package/helpers/websandbox/frame/worker/worker.js +74 -0
- package/helpers/websandbox/frame/worker/worker.source.d.ts +2 -0
- package/helpers/websandbox/frame/worker/worker.source.js +4 -0
- package/helpers/websandbox/index.d.ts +2 -0
- package/helpers/websandbox/index.js +2 -0
- package/helpers/websandbox/sandbox.d.ts +57 -0
- package/helpers/websandbox/sandbox.js +175 -0
- package/helpers/websandbox/types.d.ts +13 -0
- package/helpers/websandbox/types.js +1 -0
- package/index.js +7 -19
- package/logger/RocosLogger.js +18 -44
- package/models/CallsignStatus.d.ts +6 -0
- package/models/CallsignStatus.js +7 -0
- package/models/ExportDataQuery.js +1 -5
- package/models/ExternalProject.js +1 -5
- package/models/IBaseService.d.ts +1 -0
- package/models/IBaseService.js +1 -2
- package/models/IConfigGroup.js +1 -2
- package/models/IDebugLevel.d.ts +1 -1
- package/models/IDebugLevel.js +1 -2
- package/models/IExportDataQuery.js +1 -2
- package/models/IFunctionConfig.js +1 -2
- package/models/IInvitation.d.ts +1 -1
- package/models/IInvitation.js +1 -2
- package/models/IInvitationExists.js +1 -2
- package/models/IOperation.js +1 -2
- package/models/IPersonalAccessToken.js +1 -2
- package/models/IProject.js +1 -2
- package/models/IProjectApplication.js +1 -2
- package/models/IRobot.d.ts +1 -0
- package/models/IRobot.js +1 -2
- package/models/IRobotConfig.js +1 -2
- package/models/IRobotPlugin.js +1 -2
- package/models/IRobotSettings.d.ts +28 -0
- package/models/IRobotSettings.js +1 -0
- package/models/IRobotTemplate.js +1 -2
- package/models/IRocosSDKConfig.d.ts +3 -9
- package/models/IRocosSDKConfig.js +1 -2
- package/models/ISource.js +1 -2
- package/models/IStream.js +1 -2
- package/models/IStreamConfig.js +1 -2
- package/models/IStreamOptions.js +1 -2
- package/models/IStreamSource.js +1 -2
- package/models/ISubscriberStatus.js +1 -2
- package/models/ITelemetryStreamConfig.js +1 -2
- package/models/IToken.d.ts +7 -3
- package/models/IToken.js +1 -2
- package/models/IWidget.js +1 -2
- package/models/IWidgetLineGroup.js +1 -2
- package/models/ResponseLevelEnum.d.ts +4 -0
- package/models/ResponseLevelEnum.js +6 -5
- package/models/Robot.d.ts +1 -0
- package/models/Robot.js +1 -5
- package/models/RobotConfig.js +1 -5
- package/models/RobotPlugin.js +1 -5
- package/models/RobotTemplate.js +9 -14
- package/models/RocosError.d.ts +1 -0
- package/models/RocosError.js +3 -6
- package/models/ServiceEnum.d.ts +2 -1
- package/models/ServiceEnum.js +3 -5
- package/models/Stream.js +4 -8
- package/models/StreamOptions.js +1 -5
- package/models/StreamSource.js +3 -7
- package/models/SubscriberStatusEnum.js +2 -5
- package/models/Token.d.ts +36 -4
- package/models/Token.js +74 -11
- package/models/Token.spec.d.ts +1 -0
- package/models/Token.spec.js +108 -0
- package/models/Widget.js +4 -8
- package/models/WidgetLineGroup.js +1 -5
- package/models/asset-storage/AssetModelItem.d.ts +3 -0
- package/models/asset-storage/AssetModelItem.js +1 -2
- package/models/caller/IRocosCallerMessageChunk.d.ts +8 -2
- package/models/caller/IRocosCallerMessageChunk.js +1 -2
- package/models/caller/IRocosCallerMessageChunks.d.ts +2 -3
- package/models/caller/IRocosCallerMessageChunks.js +1 -2
- package/models/caller/IRocosCallerMessageHeartbeat.d.ts +3 -2
- package/models/caller/IRocosCallerMessageHeartbeat.js +1 -2
- package/models/caller/IRocosCallerMessageResponse.d.ts +3 -2
- package/models/caller/IRocosCallerMessageResponse.js +1 -2
- package/models/caller/IRocosCallerMessageResponseAck.d.ts +16 -2
- package/models/caller/IRocosCallerMessageResponseAck.js +13 -2
- package/models/caller/IRocosCallerMessageResponseResult.d.ts +15 -2
- package/models/caller/IRocosCallerMessageResponseResult.js +12 -2
- package/models/caller/IRocosCallerMessageResponseReturn.d.ts +8 -0
- package/models/caller/IRocosCallerMessageResponseReturn.js +1 -0
- package/models/caller/IRocosCallerMessageResponseUid.d.ts +10 -2
- package/models/caller/IRocosCallerMessageResponseUid.js +7 -2
- package/models/caller/IRocosCallerMessageResponses.d.ts +2 -3
- package/models/caller/IRocosCallerMessageResponses.js +1 -2
- package/models/caller/RocosCallerResultStatus.d.ts +11 -1
- package/models/caller/RocosCallerResultStatus.js +12 -5
- package/models/caller/RocosResponseLevel.d.ts +6 -0
- package/models/caller/RocosResponseLevel.js +7 -0
- package/models/caller/index.d.ts +11 -0
- package/models/caller/index.js +11 -0
- package/models/callsigns/CallsignsEnums.d.ts +3 -3
- package/models/callsigns/CallsignsEnums.js +11 -14
- package/models/callsigns/CallsignsLookup.js +10 -15
- package/models/callsigns/CallsignsQuery.js +1 -5
- package/models/callsigns/CallsignsQueryPredicate.js +1 -5
- package/models/command/IRocosCommandMessageHeartbeat.d.ts +1 -2
- package/models/command/IRocosCommandMessageHeartbeat.js +1 -2
- package/models/command/IRocosCommandMessageResponse.d.ts +55 -2
- package/models/command/IRocosCommandMessageResponse.js +29 -2
- package/models/command/RocosCommandResultStatus.d.ts +11 -1
- package/models/command/RocosCommandResultStatus.js +12 -5
- package/models/command/index.d.ts +4 -0
- package/models/command/index.js +4 -0
- package/models/file/FileEnums.d.ts +4 -4
- package/models/file/FileEnums.js +9 -12
- package/models/index.d.ts +6 -31
- package/models/index.js +76 -113
- package/models/integrations/Overlay.js +1 -2
- package/models/integrations/Plan.js +1 -2
- package/models/maps/Map.d.ts +2 -3
- package/models/maps/Map.js +1 -2
- package/models/maps/Panorama.d.ts +36 -0
- package/models/maps/Panorama.js +1 -0
- package/models/message/IRocosCallerMessage.js +1 -2
- package/models/message/IRocosChangeMessage.js +1 -2
- package/models/message/IRocosCommandMessage.js +1 -2
- package/models/message/IRocosControlMessage.js +1 -2
- package/models/message/IRocosOpResultMessage.d.ts +2 -2
- package/models/message/IRocosOpResultMessage.js +1 -2
- package/models/message/IRocosSearchMessage.js +1 -2
- package/models/message/IRocosSearchRowMessage.js +1 -2
- package/models/message/IRocosSearchStatusMessage.js +1 -2
- package/models/message/IRocosTelemetryMessage.d.ts +12 -7
- package/models/message/IRocosTelemetryMessage.js +1 -2
- package/models/message/IStreamStatusMessage.js +1 -2
- package/models/message/RocosCallerMessage.d.ts +2 -4
- package/models/message/RocosCallerMessage.js +24 -15
- package/models/message/RocosCommandMessage.d.ts +2 -3
- package/models/message/RocosCommandMessage.js +5 -8
- package/models/message/RocosControlMessage.d.ts +1 -1
- package/models/message/RocosControlMessage.js +6 -10
- package/models/message/RocosOpResultMessage.d.ts +3 -2
- package/models/message/RocosOpResultMessage.js +6 -10
- package/models/message/RocosSearchMessage.d.ts +1 -1
- package/models/message/RocosSearchMessage.js +5 -9
- package/models/message/RocosSearchRowMessage.d.ts +1 -1
- package/models/message/RocosSearchRowMessage.js +8 -12
- package/models/message/RocosTelemetryMessage.d.ts +9 -23
- package/models/message/RocosTelemetryMessage.js +51 -93
- package/models/message/index.d.ts +17 -0
- package/models/message/index.js +17 -0
- package/models/params/ICallerParams.d.ts +12 -1
- package/models/params/ICallerParams.js +1 -2
- package/models/params/ICommandParams.js +1 -2
- package/models/params/IControlParams.d.ts +1 -1
- package/models/params/IControlParams.js +1 -2
- package/models/params/IFileAccessorParams.js +1 -2
- package/models/params/ISearchParams.js +1 -2
- package/models/params/ITelemetryParams.d.ts +1 -1
- package/models/params/ITelemetryParams.js +1 -2
- package/models/params/IWebRTCSignallingParams.js +1 -2
- package/models/projects/ProjectUser.js +1 -2
- package/models/schedule/IScheduleAction.d.ts +1 -1
- package/models/schedule/IScheduleAction.js +2 -5
- package/models/schedule/IScheduleInfo.js +1 -2
- package/models/schedule/IScheduleJob.js +1 -2
- package/models/search/SearchQueryFilter.js +1 -5
- package/models/search/SearchStreamQuery.js +1 -5
- package/models/stream/IBaseStream.js +1 -2
- package/models/stream/ICallerStream.js +1 -2
- package/models/stream/ICommandStream.js +1 -2
- package/models/stream/IControlStream.js +1 -2
- package/models/stream/IFileAccessorStream.d.ts +1 -2
- package/models/stream/IFileAccessorStream.js +1 -2
- package/models/stream/ISearchStream.js +1 -2
- package/models/stream/ITelemetryStream.js +1 -2
- package/models/stream/IWebRTCSignallingStream.d.ts +51 -16
- package/models/stream/IWebRTCSignallingStream.js +1 -7
- package/models/types.d.ts +5 -5
- package/models/types.js +1 -2
- package/models/workflow/Workflow.d.ts +36 -0
- package/models/workflow/Workflow.js +1 -0
- package/node/RocosSDKNode.d.ts +6 -1
- package/node/RocosSDKNode.js +82 -80
- package/node/index.js +7 -19
- package/package.json +10 -11
- package/services/AssetStorageService.d.ts +23 -1
- package/services/AssetStorageService.js +53 -24
- package/services/AuthService.d.ts +59 -27
- package/services/AuthService.js +167 -86
- package/services/AuthService.spec.d.ts +1 -0
- package/services/AuthService.spec.js +163 -0
- package/services/BaseServiceAbstract.d.ts +11 -13
- package/services/BaseServiceAbstract.js +18 -24
- package/services/BaseStreamService.d.ts +18 -0
- package/services/BaseStreamService.js +47 -0
- package/services/CallerService.d.ts +37 -17
- package/services/CallerService.js +86 -65
- package/services/CallerService.spec.d.ts +1 -0
- package/services/CallerService.spec.js +227 -0
- package/services/CallerServiceNode.js +4 -8
- package/services/CommandService.d.ts +5 -17
- package/services/CommandService.js +19 -62
- package/services/CommandServiceNode.js +4 -8
- package/services/ConfigGroupService.js +17 -21
- package/services/ControlService.d.ts +5 -17
- package/services/ControlService.js +22 -65
- package/services/ControlServiceNode.js +4 -8
- package/services/DashboardService.js +20 -24
- package/services/EvaluatorService.d.ts +11 -0
- package/services/EvaluatorService.js +28 -0
- package/services/EventService.js +13 -17
- package/services/FileAccessorService.d.ts +4 -18
- package/services/FileAccessorService.js +14 -62
- package/services/FileAccessorServiceNode.js +4 -8
- package/services/FunctionService.js +17 -21
- package/services/IntegrationService.js +14 -19
- package/services/MapService.d.ts +71 -25
- package/services/MapService.js +113 -40
- package/services/PlatformTimeService.js +8 -12
- package/services/PlatformTimeService.spec.d.ts +1 -0
- package/services/PlatformTimeService.spec.js +180 -0
- package/services/ProfileService.js +36 -40
- package/services/ProjectService.js +23 -27
- package/services/RobotService.d.ts +2 -6
- package/services/RobotService.js +48 -55
- package/services/ScheduleService.js +10 -14
- package/services/SearchService.d.ts +4 -17
- package/services/SearchService.js +24 -59
- package/services/SearchServiceNode.js +4 -8
- package/services/SpotProvisioningService.d.ts +1 -1
- package/services/SpotProvisioningService.js +16 -16
- package/services/SpotProvisioningServiceNode.d.ts +1 -1
- package/services/SpotProvisioningServiceNode.js +16 -16
- package/services/StreamService.js +26 -30
- package/services/TelemetryService.d.ts +15 -17
- package/services/TelemetryService.js +103 -93
- package/services/TelemetryService.spec.d.ts +1 -0
- package/services/TelemetryService.spec.js +37 -0
- package/services/TelemetryServiceNode.js +4 -8
- package/services/TimeSyncerService.js +9 -13
- package/services/UserService.js +37 -41
- package/services/WebRTCSignallingService.d.ts +4 -4
- package/services/WebRTCSignallingService.js +24 -27
- package/services/WorkflowService.d.ts +25 -29
- package/services/WorkflowService.js +39 -75
- package/services/index.d.ts +1 -0
- package/services/index.js +27 -38
- package/store/RocosStore.js +9 -15
- package/demo/angular/.editorconfig +0 -16
- package/demo/angular/.eslintignore +0 -4
- package/demo/angular/.eslintrc.json +0 -50
- package/demo/angular/README.md +0 -36
- package/demo/angular/angular.json +0 -132
- package/demo/angular/karma.conf.js +0 -44
- package/demo/angular/package.json +0 -41
- package/demo/angular/src/app/app.component.css +0 -0
- package/demo/angular/src/app/app.component.html +0 -9
- package/demo/angular/src/app/app.component.ts +0 -10
- package/demo/angular/src/app/app.module.ts +0 -38
- package/demo/angular/src/app/components/assets/assets.component.css +0 -0
- package/demo/angular/src/app/components/assets/assets.component.html +0 -29
- package/demo/angular/src/app/components/assets/assets.component.ts +0 -107
- package/demo/angular/src/app/components/auth/auth.component.css +0 -0
- package/demo/angular/src/app/components/auth/auth.component.html +0 -27
- package/demo/angular/src/app/components/auth/auth.component.ts +0 -33
- package/demo/angular/src/app/components/caller/caller.component.css +0 -0
- package/demo/angular/src/app/components/caller/caller.component.html +0 -22
- package/demo/angular/src/app/components/caller/caller.component.ts +0 -61
- package/demo/angular/src/app/components/command/command.component.css +0 -0
- package/demo/angular/src/app/components/command/command.component.html +0 -22
- package/demo/angular/src/app/components/command/command.component.ts +0 -60
- package/demo/angular/src/app/components/integrations/integrations.component.ts +0 -43
- package/demo/angular/src/app/components/robots/robots.component.css +0 -0
- package/demo/angular/src/app/components/robots/robots.component.html +0 -13
- package/demo/angular/src/app/components/robots/robots.component.ts +0 -26
- package/demo/angular/src/app/components/sdk/sdk.component.css +0 -0
- package/demo/angular/src/app/components/sdk/sdk.component.html +0 -43
- package/demo/angular/src/app/components/sdk/sdk.component.ts +0 -50
- package/demo/angular/src/app/components/subscription/subscription.component.css +0 -0
- package/demo/angular/src/app/components/subscription/subscription.component.html +0 -6
- package/demo/angular/src/app/components/subscription/subscription.component.ts +0 -40
- package/demo/angular/src/app/components/telemetry/telemetry.component.css +0 -0
- package/demo/angular/src/app/components/telemetry/telemetry.component.html +0 -19
- package/demo/angular/src/app/components/telemetry/telemetry.component.ts +0 -61
- package/demo/angular/src/app/components/token/token.component.css +0 -0
- package/demo/angular/src/app/components/token/token.component.html +0 -10
- package/demo/angular/src/app/components/token/token.component.ts +0 -18
- package/demo/angular/src/app/components/video/p2pvideo/index.ts +0 -646
- package/demo/angular/src/app/components/video/video-source.ts +0 -315
- package/demo/angular/src/app/components/video/video.component.css +0 -6
- package/demo/angular/src/app/components/video/video.component.html +0 -54
- package/demo/angular/src/app/components/video/video.component.ts +0 -151
- package/demo/angular/src/app/services/sdk.service.ts +0 -193
- 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 +0 -16
- package/demo/angular/src/environments/environment.prod.ts +0 -3
- package/demo/angular/src/environments/environment.ts +0 -16
- package/demo/angular/src/favicon.ico +0 -0
- package/demo/angular/src/index.html +0 -15
- package/demo/angular/src/main.ts +0 -7
- package/demo/angular/src/polyfills.ts +0 -53
- package/demo/angular/src/styles.css +0 -198
- package/demo/angular/tsconfig.app.json +0 -15
- package/demo/angular/tsconfig.json +0 -39
- package/demo/html/README.md +0 -8
- package/demo/html/assets/HKGrotesk-Bold.otf +0 -0
- package/demo/html/assets/HKGrotesk-Regular.otf +0 -0
- package/demo/html/assets/logo.svg +0 -16
- package/demo/html/favicon.ico +0 -0
- package/demo/html/index.html +0 -416
- package/demo/html/rocos-js-sdk.js +0 -3
- package/demo/html/rocos-js-sdk.js.LICENSE.txt +0 -8
- package/demo/html/rocos-js-sdk.js.map +0 -1
- package/demo/html/styles.css +0 -190
- package/demo/node/README.md +0 -17
- package/demo/node/index.js +0 -134
- package/demo/node/package.json +0 -8
- package/demo/react/.env +0 -1
- package/demo/react/.env.dist +0 -1
- package/demo/react/.eslintrc.json +0 -46
- package/demo/react/README.md +0 -65
- package/demo/react/package.json +0 -60
- package/demo/react/public/favicon.ico +0 -0
- package/demo/react/public/index.html +0 -43
- package/demo/react/public/logo192.png +0 -0
- package/demo/react/public/logo512.png +0 -0
- package/demo/react/public/manifest.json +0 -25
- package/demo/react/public/robots.txt +0 -3
- package/demo/react/src/App.css +0 -190
- package/demo/react/src/App.tsx +0 -31
- package/demo/react/src/actions/index.ts +0 -8
- package/demo/react/src/actions/sdkActions.ts +0 -62
- 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 +0 -16
- package/demo/react/src/components/AuthForm.tsx +0 -76
- package/demo/react/src/components/CallerBox.tsx +0 -53
- package/demo/react/src/components/CallerForm.tsx +0 -98
- package/demo/react/src/components/CommandBox.tsx +0 -47
- package/demo/react/src/components/CommandForm.tsx +0 -98
- package/demo/react/src/components/RobotsForm.tsx +0 -51
- package/demo/react/src/components/SubscriptionBox.tsx +0 -55
- package/demo/react/src/components/TelemetryForm.tsx +0 -98
- package/demo/react/src/components/TokenForm.tsx +0 -39
- package/demo/react/src/config.json +0 -14
- package/demo/react/src/controllers/RocosSDKController.ts +0 -48
- package/demo/react/src/helpers/deepEqual.ts +0 -27
- package/demo/react/src/hooks/useInput.ts +0 -29
- package/demo/react/src/index.css +0 -11
- package/demo/react/src/index.tsx +0 -26
- package/demo/react/src/react-app-env.d.ts +0 -1
- package/demo/react/src/reducers/sdkReducer.ts +0 -133
- package/demo/react/src/reportWebVitals.ts +0 -15
- package/demo/react/src/selectors/sdkSelector.ts +0 -11
- package/demo/react/src/setupTests.ts +0 -5
- package/demo/react/src/store.ts +0 -14
- package/demo/react/tsconfig.json +0 -26
- package/demo/sdk-sizer/dist/sdk-sizer/3rdpartylicenses.txt +0 -975
- package/demo/sdk-sizer/dist/sdk-sizer/favicon.ico +0 -0
- package/demo/sdk-sizer/dist/sdk-sizer/index.html +0 -12
- package/demo/sdk-sizer/dist/sdk-sizer/main.c9183649ce1856ef.js +0 -2
- package/demo/sdk-sizer/dist/sdk-sizer/main.c9183649ce1856ef.js.map +0 -1
- package/demo/sdk-sizer/dist/sdk-sizer/polyfills.701c8e5d007909aa.js +0 -2
- package/demo/sdk-sizer/dist/sdk-sizer/polyfills.701c8e5d007909aa.js.map +0 -1
- package/demo/sdk-sizer/dist/sdk-sizer/runtime.00e20e689f5284a8.js +0 -2
- package/demo/sdk-sizer/dist/sdk-sizer/runtime.00e20e689f5284a8.js.map +0 -1
- package/demo/sdk-sizer/dist/sdk-sizer/stats.json +0 -1
- package/demo/sdk-sizer/dist/sdk-sizer/styles.b45f7e627ac8cbce.css +0 -2
- package/demo/sdk-sizer/dist/sdk-sizer/styles.b45f7e627ac8cbce.css.map +0 -1
- package/grpc/file-accessor/filagree_grpc_pb.d.ts +0 -41
- package/grpc/file-accessor/filagree_grpc_pb.js +0 -121
- package/grpc/file-accessor/filagree_pb.d.ts +0 -339
- package/grpc/file-accessor/filagree_pb.js +0 -2261
- package/grpc/file-accessor/filagree_pb_service.d.ts +0 -115
- package/grpc/file-accessor/filagree_pb_service.js +0 -257
- package/grpc/rambo/rambo.v1_grpc_pb.d.ts +0 -39
- package/grpc/rambo/rambo.v1_grpc_pb.js +0 -73
- package/grpc/rambo/rambo.v1_pb.d.ts +0 -365
- package/grpc/rambo/rambo.v1_pb.js +0 -2469
- package/grpc/rambo/rambo.v1_pb_service.d.ts +0 -76
- package/grpc/rambo/rambo.v1_pb_service.js +0 -138
- package/grpc/rambo/uri.v1_grpc_pb.d.ts +0 -1
- package/grpc/rambo/uri.v1_grpc_pb.js +0 -1
- package/grpc/rambo/uri.v1_pb.d.ts +0 -80
- package/grpc/rambo/uri.v1_pb.js +0 -563
- package/grpc/rambo/uri.v1_pb_service.d.ts +0 -3
- package/grpc/rambo/uri.v1_pb_service.js +0 -3
- package/grpc/robot-control/conker_grpc_pb.d.ts +0 -46
- package/grpc/robot-control/conker_grpc_pb.js +0 -143
- package/grpc/robot-control/conker_pb.d.ts +0 -168
- package/grpc/robot-control/conker_pb.js +0 -1287
- package/grpc/robot-control/conker_pb_service.d.ts +0 -126
- package/grpc/robot-control/conker_pb_service.js +0 -301
- package/grpc/serviette/common.v1_grpc_pb.d.ts +0 -1
- package/grpc/serviette/common.v1_grpc_pb.js +0 -1
- package/grpc/serviette/common.v1_pb.d.ts +0 -8
- package/grpc/serviette/common.v1_pb.js +0 -45
- package/grpc/serviette/common.v1_pb_service.d.ts +0 -3
- package/grpc/serviette/common.v1_pb_service.js +0 -3
- package/grpc/serviette/serviette.v1_grpc_pb.d.ts +0 -137
- package/grpc/serviette/serviette.v1_grpc_pb.js +0 -331
- package/grpc/serviette/serviette.v1_pb.d.ts +0 -884
- package/grpc/serviette/serviette.v1_pb.js +0 -6363
- package/grpc/serviette/serviette.v1_pb_service.d.ts +0 -278
- package/grpc/serviette/serviette.v1_pb_service.js +0 -699
- package/grpc/serviette/uri.v1_grpc_pb.d.ts +0 -1
- package/grpc/serviette/uri.v1_grpc_pb.js +0 -1
- package/grpc/serviette/uri.v1_pb.d.ts +0 -102
- package/grpc/serviette/uri.v1_pb.js +0 -741
- package/grpc/serviette/uri.v1_pb_service.d.ts +0 -3
- package/grpc/serviette/uri.v1_pb_service.js +0 -3
- package/grpc/slowlane/slowlane_grpc_pb.d.ts +0 -38
- package/grpc/slowlane/slowlane_grpc_pb.js +0 -132
- package/grpc/slowlane/slowlane_pb.d.ts +0 -373
- package/grpc/slowlane/slowlane_pb.js +0 -2908
- package/grpc/slowlane/slowlane_pb_service.d.ts +0 -112
- package/grpc/slowlane/slowlane_pb_service.js +0 -189
- package/grpc/teletubby/teletubby_grpc_pb.d.ts +0 -73
- package/grpc/teletubby/teletubby_grpc_pb.js +0 -231
- package/grpc/teletubby/teletubby_pb.d.ts +0 -647
- package/grpc/teletubby/teletubby_pb.js +0 -4786
- package/grpc/teletubby/teletubby_pb_service.d.ts +0 -193
- package/grpc/teletubby/teletubby_pb_service.js +0 -436
- package/grpc/video/pigeon_grpc_pb.d.ts +0 -59
- package/grpc/video/pigeon_grpc_pb.js +0 -180
- package/grpc/video/pigeon_pb.d.ts +0 -237
- package/grpc/video/pigeon_pb.js +0 -1775
- package/grpc/video/pigeon_pb_service.d.ts +0 -152
- package/grpc/video/pigeon_pb_service.js +0 -292
- package/models/ISignupParams.d.ts +0 -8
- package/models/ISignupParams.js +0 -2
- package/utils/axisangle.d.ts +0 -18
- package/utils/axisangle.js +0 -48
- package/utils/eulerangles.d.ts +0 -22
- package/utils/eulerangles.js +0 -133
- package/utils/helperfunctions.d.ts +0 -5
- package/utils/helperfunctions.js +0 -50
- package/utils/localtransform.d.ts +0 -17
- package/utils/localtransform.js +0 -50
- package/utils/localtransformtree.d.ts +0 -17
- package/utils/localtransformtree.js +0 -88
- package/utils/misc.d.ts +0 -17
- package/utils/misc.js +0 -23
- package/utils/positionvector.d.ts +0 -13
- package/utils/positionvector.js +0 -79
- package/utils/quaternion.d.ts +0 -20
- package/utils/quaternion.js +0 -62
- package/utils/rotationmatrix.d.ts +0 -23
- package/utils/rotationmatrix.js +0 -262
- package/utils/transformationmatrix.d.ts +0 -12
- package/utils/transformationmatrix.js +0 -123
- package/utils/vector3.d.ts +0 -11
- package/utils/vector3.js +0 -61
@@ -1,4786 +0,0 @@
|
|
1
|
-
// source: teletubby.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.teletubby.v1.ComparisonOperation', null, global);
|
18
|
-
goog.exportSymbol('proto.teletubby.v1.ConfigAction', null, global);
|
19
|
-
goog.exportSymbol('proto.teletubby.v1.ConfigMessage', null, global);
|
20
|
-
goog.exportSymbol('proto.teletubby.v1.Heartbeat', null, global);
|
21
|
-
goog.exportSymbol('proto.teletubby.v1.LogicalOperation', null, global);
|
22
|
-
goog.exportSymbol('proto.teletubby.v1.Predicate', null, global);
|
23
|
-
goog.exportSymbol('proto.teletubby.v1.PredicateAttribute', null, global);
|
24
|
-
goog.exportSymbol('proto.teletubby.v1.Query', null, global);
|
25
|
-
goog.exportSymbol('proto.teletubby.v1.QueryOrPredicate', null, global);
|
26
|
-
goog.exportSymbol('proto.teletubby.v1.QueryOrPredicate.ContentCase', null, global);
|
27
|
-
goog.exportSymbol('proto.teletubby.v1.ReceiverGroupSubscribeOption', null, global);
|
28
|
-
goog.exportSymbol('proto.teletubby.v1.ReceiverGroupUnsubscribeOption', null, global);
|
29
|
-
goog.exportSymbol('proto.teletubby.v1.ReceiverStreamMessage', null, global);
|
30
|
-
goog.exportSymbol('proto.teletubby.v1.ReceiverStreamMessage.ContentCase', null, global);
|
31
|
-
goog.exportSymbol('proto.teletubby.v1.RegistrationMessage', null, global);
|
32
|
-
goog.exportSymbol('proto.teletubby.v1.ServiceStatusRequest', null, global);
|
33
|
-
goog.exportSymbol('proto.teletubby.v1.SubscribeOperation', null, global);
|
34
|
-
goog.exportSymbol('proto.teletubby.v1.SubscribeOption', null, global);
|
35
|
-
goog.exportSymbol('proto.teletubby.v1.SubscribeOption.ContentCase', null, global);
|
36
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryAckStatus', null, global);
|
37
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryAction', null, global);
|
38
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryAction.ContentCase', null, global);
|
39
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryMessage', null, global);
|
40
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryMessageAck', null, global);
|
41
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryQueryRequest', null, global);
|
42
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryRequest', null, global);
|
43
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryRequestAck', null, global);
|
44
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryStreamAck', null, global);
|
45
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryStreamMessage', null, global);
|
46
|
-
goog.exportSymbol('proto.teletubby.v1.TelemetryStreamMessage.ContentCase', null, global);
|
47
|
-
goog.exportSymbol('proto.teletubby.v1.UnsubscribeOperation', null, global);
|
48
|
-
goog.exportSymbol('proto.teletubby.v1.UnsubscribeOption', null, global);
|
49
|
-
goog.exportSymbol('proto.teletubby.v1.UnsubscribeOption.ContentCase', null, global);
|
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.teletubby.v1.TelemetryMessage = function(opt_data) {
|
61
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
62
|
-
};
|
63
|
-
goog.inherits(proto.teletubby.v1.TelemetryMessage, jspb.Message);
|
64
|
-
if (goog.DEBUG && !COMPILED) {
|
65
|
-
/**
|
66
|
-
* @public
|
67
|
-
* @override
|
68
|
-
*/
|
69
|
-
proto.teletubby.v1.TelemetryMessage.displayName = 'proto.teletubby.v1.TelemetryMessage';
|
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.teletubby.v1.ReceiverStreamMessage = function(opt_data) {
|
82
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.teletubby.v1.ReceiverStreamMessage.oneofGroups_);
|
83
|
-
};
|
84
|
-
goog.inherits(proto.teletubby.v1.ReceiverStreamMessage, jspb.Message);
|
85
|
-
if (goog.DEBUG && !COMPILED) {
|
86
|
-
/**
|
87
|
-
* @public
|
88
|
-
* @override
|
89
|
-
*/
|
90
|
-
proto.teletubby.v1.ReceiverStreamMessage.displayName = 'proto.teletubby.v1.ReceiverStreamMessage';
|
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.teletubby.v1.TelemetryStreamMessage = function(opt_data) {
|
103
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.teletubby.v1.TelemetryStreamMessage.oneofGroups_);
|
104
|
-
};
|
105
|
-
goog.inherits(proto.teletubby.v1.TelemetryStreamMessage, jspb.Message);
|
106
|
-
if (goog.DEBUG && !COMPILED) {
|
107
|
-
/**
|
108
|
-
* @public
|
109
|
-
* @override
|
110
|
-
*/
|
111
|
-
proto.teletubby.v1.TelemetryStreamMessage.displayName = 'proto.teletubby.v1.TelemetryStreamMessage';
|
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.teletubby.v1.TelemetryMessageAck = function(opt_data) {
|
124
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
125
|
-
};
|
126
|
-
goog.inherits(proto.teletubby.v1.TelemetryMessageAck, jspb.Message);
|
127
|
-
if (goog.DEBUG && !COMPILED) {
|
128
|
-
/**
|
129
|
-
* @public
|
130
|
-
* @override
|
131
|
-
*/
|
132
|
-
proto.teletubby.v1.TelemetryMessageAck.displayName = 'proto.teletubby.v1.TelemetryMessageAck';
|
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.teletubby.v1.TelemetryStreamAck = function(opt_data) {
|
145
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
146
|
-
};
|
147
|
-
goog.inherits(proto.teletubby.v1.TelemetryStreamAck, jspb.Message);
|
148
|
-
if (goog.DEBUG && !COMPILED) {
|
149
|
-
/**
|
150
|
-
* @public
|
151
|
-
* @override
|
152
|
-
*/
|
153
|
-
proto.teletubby.v1.TelemetryStreamAck.displayName = 'proto.teletubby.v1.TelemetryStreamAck';
|
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.teletubby.v1.ConfigMessage = function(opt_data) {
|
166
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.ConfigMessage.repeatedFields_, null);
|
167
|
-
};
|
168
|
-
goog.inherits(proto.teletubby.v1.ConfigMessage, jspb.Message);
|
169
|
-
if (goog.DEBUG && !COMPILED) {
|
170
|
-
/**
|
171
|
-
* @public
|
172
|
-
* @override
|
173
|
-
*/
|
174
|
-
proto.teletubby.v1.ConfigMessage.displayName = 'proto.teletubby.v1.ConfigMessage';
|
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.teletubby.v1.ConfigAction = function(opt_data) {
|
187
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.ConfigAction.repeatedFields_, null);
|
188
|
-
};
|
189
|
-
goog.inherits(proto.teletubby.v1.ConfigAction, jspb.Message);
|
190
|
-
if (goog.DEBUG && !COMPILED) {
|
191
|
-
/**
|
192
|
-
* @public
|
193
|
-
* @override
|
194
|
-
*/
|
195
|
-
proto.teletubby.v1.ConfigAction.displayName = 'proto.teletubby.v1.ConfigAction';
|
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.teletubby.v1.TelemetryRequest = function(opt_data) {
|
208
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.TelemetryRequest.repeatedFields_, null);
|
209
|
-
};
|
210
|
-
goog.inherits(proto.teletubby.v1.TelemetryRequest, jspb.Message);
|
211
|
-
if (goog.DEBUG && !COMPILED) {
|
212
|
-
/**
|
213
|
-
* @public
|
214
|
-
* @override
|
215
|
-
*/
|
216
|
-
proto.teletubby.v1.TelemetryRequest.displayName = 'proto.teletubby.v1.TelemetryRequest';
|
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.teletubby.v1.TelemetryQueryRequest = function(opt_data) {
|
229
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.TelemetryQueryRequest.repeatedFields_, null);
|
230
|
-
};
|
231
|
-
goog.inherits(proto.teletubby.v1.TelemetryQueryRequest, jspb.Message);
|
232
|
-
if (goog.DEBUG && !COMPILED) {
|
233
|
-
/**
|
234
|
-
* @public
|
235
|
-
* @override
|
236
|
-
*/
|
237
|
-
proto.teletubby.v1.TelemetryQueryRequest.displayName = 'proto.teletubby.v1.TelemetryQueryRequest';
|
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.teletubby.v1.TelemetryAction = function(opt_data) {
|
250
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.TelemetryAction.repeatedFields_, proto.teletubby.v1.TelemetryAction.oneofGroups_);
|
251
|
-
};
|
252
|
-
goog.inherits(proto.teletubby.v1.TelemetryAction, jspb.Message);
|
253
|
-
if (goog.DEBUG && !COMPILED) {
|
254
|
-
/**
|
255
|
-
* @public
|
256
|
-
* @override
|
257
|
-
*/
|
258
|
-
proto.teletubby.v1.TelemetryAction.displayName = 'proto.teletubby.v1.TelemetryAction';
|
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.teletubby.v1.SubscribeOperation = function(opt_data) {
|
271
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.SubscribeOperation.repeatedFields_, null);
|
272
|
-
};
|
273
|
-
goog.inherits(proto.teletubby.v1.SubscribeOperation, jspb.Message);
|
274
|
-
if (goog.DEBUG && !COMPILED) {
|
275
|
-
/**
|
276
|
-
* @public
|
277
|
-
* @override
|
278
|
-
*/
|
279
|
-
proto.teletubby.v1.SubscribeOperation.displayName = 'proto.teletubby.v1.SubscribeOperation';
|
280
|
-
}
|
281
|
-
/**
|
282
|
-
* Generated by JsPbCodeGenerator.
|
283
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
284
|
-
* server response, or constructed directly in Javascript. The array is used
|
285
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
286
|
-
* If no data is provided, the constructed object will be empty, but still
|
287
|
-
* valid.
|
288
|
-
* @extends {jspb.Message}
|
289
|
-
* @constructor
|
290
|
-
*/
|
291
|
-
proto.teletubby.v1.UnsubscribeOperation = function(opt_data) {
|
292
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.UnsubscribeOperation.repeatedFields_, null);
|
293
|
-
};
|
294
|
-
goog.inherits(proto.teletubby.v1.UnsubscribeOperation, jspb.Message);
|
295
|
-
if (goog.DEBUG && !COMPILED) {
|
296
|
-
/**
|
297
|
-
* @public
|
298
|
-
* @override
|
299
|
-
*/
|
300
|
-
proto.teletubby.v1.UnsubscribeOperation.displayName = 'proto.teletubby.v1.UnsubscribeOperation';
|
301
|
-
}
|
302
|
-
/**
|
303
|
-
* Generated by JsPbCodeGenerator.
|
304
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
305
|
-
* server response, or constructed directly in Javascript. The array is used
|
306
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
307
|
-
* If no data is provided, the constructed object will be empty, but still
|
308
|
-
* valid.
|
309
|
-
* @extends {jspb.Message}
|
310
|
-
* @constructor
|
311
|
-
*/
|
312
|
-
proto.teletubby.v1.SubscribeOption = function(opt_data) {
|
313
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.teletubby.v1.SubscribeOption.oneofGroups_);
|
314
|
-
};
|
315
|
-
goog.inherits(proto.teletubby.v1.SubscribeOption, jspb.Message);
|
316
|
-
if (goog.DEBUG && !COMPILED) {
|
317
|
-
/**
|
318
|
-
* @public
|
319
|
-
* @override
|
320
|
-
*/
|
321
|
-
proto.teletubby.v1.SubscribeOption.displayName = 'proto.teletubby.v1.SubscribeOption';
|
322
|
-
}
|
323
|
-
/**
|
324
|
-
* Generated by JsPbCodeGenerator.
|
325
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
326
|
-
* server response, or constructed directly in Javascript. The array is used
|
327
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
328
|
-
* If no data is provided, the constructed object will be empty, but still
|
329
|
-
* valid.
|
330
|
-
* @extends {jspb.Message}
|
331
|
-
* @constructor
|
332
|
-
*/
|
333
|
-
proto.teletubby.v1.UnsubscribeOption = function(opt_data) {
|
334
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.teletubby.v1.UnsubscribeOption.oneofGroups_);
|
335
|
-
};
|
336
|
-
goog.inherits(proto.teletubby.v1.UnsubscribeOption, jspb.Message);
|
337
|
-
if (goog.DEBUG && !COMPILED) {
|
338
|
-
/**
|
339
|
-
* @public
|
340
|
-
* @override
|
341
|
-
*/
|
342
|
-
proto.teletubby.v1.UnsubscribeOption.displayName = 'proto.teletubby.v1.UnsubscribeOption';
|
343
|
-
}
|
344
|
-
/**
|
345
|
-
* Generated by JsPbCodeGenerator.
|
346
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
347
|
-
* server response, or constructed directly in Javascript. The array is used
|
348
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
349
|
-
* If no data is provided, the constructed object will be empty, but still
|
350
|
-
* valid.
|
351
|
-
* @extends {jspb.Message}
|
352
|
-
* @constructor
|
353
|
-
*/
|
354
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption = function(opt_data) {
|
355
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
356
|
-
};
|
357
|
-
goog.inherits(proto.teletubby.v1.ReceiverGroupSubscribeOption, jspb.Message);
|
358
|
-
if (goog.DEBUG && !COMPILED) {
|
359
|
-
/**
|
360
|
-
* @public
|
361
|
-
* @override
|
362
|
-
*/
|
363
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.displayName = 'proto.teletubby.v1.ReceiverGroupSubscribeOption';
|
364
|
-
}
|
365
|
-
/**
|
366
|
-
* Generated by JsPbCodeGenerator.
|
367
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
368
|
-
* server response, or constructed directly in Javascript. The array is used
|
369
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
370
|
-
* If no data is provided, the constructed object will be empty, but still
|
371
|
-
* valid.
|
372
|
-
* @extends {jspb.Message}
|
373
|
-
* @constructor
|
374
|
-
*/
|
375
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption = function(opt_data) {
|
376
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
377
|
-
};
|
378
|
-
goog.inherits(proto.teletubby.v1.ReceiverGroupUnsubscribeOption, jspb.Message);
|
379
|
-
if (goog.DEBUG && !COMPILED) {
|
380
|
-
/**
|
381
|
-
* @public
|
382
|
-
* @override
|
383
|
-
*/
|
384
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.displayName = 'proto.teletubby.v1.ReceiverGroupUnsubscribeOption';
|
385
|
-
}
|
386
|
-
/**
|
387
|
-
* Generated by JsPbCodeGenerator.
|
388
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
389
|
-
* server response, or constructed directly in Javascript. The array is used
|
390
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
391
|
-
* If no data is provided, the constructed object will be empty, but still
|
392
|
-
* valid.
|
393
|
-
* @extends {jspb.Message}
|
394
|
-
* @constructor
|
395
|
-
*/
|
396
|
-
proto.teletubby.v1.TelemetryRequestAck = function(opt_data) {
|
397
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
398
|
-
};
|
399
|
-
goog.inherits(proto.teletubby.v1.TelemetryRequestAck, jspb.Message);
|
400
|
-
if (goog.DEBUG && !COMPILED) {
|
401
|
-
/**
|
402
|
-
* @public
|
403
|
-
* @override
|
404
|
-
*/
|
405
|
-
proto.teletubby.v1.TelemetryRequestAck.displayName = 'proto.teletubby.v1.TelemetryRequestAck';
|
406
|
-
}
|
407
|
-
/**
|
408
|
-
* Generated by JsPbCodeGenerator.
|
409
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
410
|
-
* server response, or constructed directly in Javascript. The array is used
|
411
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
412
|
-
* If no data is provided, the constructed object will be empty, but still
|
413
|
-
* valid.
|
414
|
-
* @extends {jspb.Message}
|
415
|
-
* @constructor
|
416
|
-
*/
|
417
|
-
proto.teletubby.v1.RegistrationMessage = function(opt_data) {
|
418
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
419
|
-
};
|
420
|
-
goog.inherits(proto.teletubby.v1.RegistrationMessage, jspb.Message);
|
421
|
-
if (goog.DEBUG && !COMPILED) {
|
422
|
-
/**
|
423
|
-
* @public
|
424
|
-
* @override
|
425
|
-
*/
|
426
|
-
proto.teletubby.v1.RegistrationMessage.displayName = 'proto.teletubby.v1.RegistrationMessage';
|
427
|
-
}
|
428
|
-
/**
|
429
|
-
* Generated by JsPbCodeGenerator.
|
430
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
431
|
-
* server response, or constructed directly in Javascript. The array is used
|
432
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
433
|
-
* If no data is provided, the constructed object will be empty, but still
|
434
|
-
* valid.
|
435
|
-
* @extends {jspb.Message}
|
436
|
-
* @constructor
|
437
|
-
*/
|
438
|
-
proto.teletubby.v1.ServiceStatusRequest = function(opt_data) {
|
439
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
440
|
-
};
|
441
|
-
goog.inherits(proto.teletubby.v1.ServiceStatusRequest, jspb.Message);
|
442
|
-
if (goog.DEBUG && !COMPILED) {
|
443
|
-
/**
|
444
|
-
* @public
|
445
|
-
* @override
|
446
|
-
*/
|
447
|
-
proto.teletubby.v1.ServiceStatusRequest.displayName = 'proto.teletubby.v1.ServiceStatusRequest';
|
448
|
-
}
|
449
|
-
/**
|
450
|
-
* Generated by JsPbCodeGenerator.
|
451
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
452
|
-
* server response, or constructed directly in Javascript. The array is used
|
453
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
454
|
-
* If no data is provided, the constructed object will be empty, but still
|
455
|
-
* valid.
|
456
|
-
* @extends {jspb.Message}
|
457
|
-
* @constructor
|
458
|
-
*/
|
459
|
-
proto.teletubby.v1.Query = function(opt_data) {
|
460
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.teletubby.v1.Query.repeatedFields_, null);
|
461
|
-
};
|
462
|
-
goog.inherits(proto.teletubby.v1.Query, jspb.Message);
|
463
|
-
if (goog.DEBUG && !COMPILED) {
|
464
|
-
/**
|
465
|
-
* @public
|
466
|
-
* @override
|
467
|
-
*/
|
468
|
-
proto.teletubby.v1.Query.displayName = 'proto.teletubby.v1.Query';
|
469
|
-
}
|
470
|
-
/**
|
471
|
-
* Generated by JsPbCodeGenerator.
|
472
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
473
|
-
* server response, or constructed directly in Javascript. The array is used
|
474
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
475
|
-
* If no data is provided, the constructed object will be empty, but still
|
476
|
-
* valid.
|
477
|
-
* @extends {jspb.Message}
|
478
|
-
* @constructor
|
479
|
-
*/
|
480
|
-
proto.teletubby.v1.QueryOrPredicate = function(opt_data) {
|
481
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.teletubby.v1.QueryOrPredicate.oneofGroups_);
|
482
|
-
};
|
483
|
-
goog.inherits(proto.teletubby.v1.QueryOrPredicate, jspb.Message);
|
484
|
-
if (goog.DEBUG && !COMPILED) {
|
485
|
-
/**
|
486
|
-
* @public
|
487
|
-
* @override
|
488
|
-
*/
|
489
|
-
proto.teletubby.v1.QueryOrPredicate.displayName = 'proto.teletubby.v1.QueryOrPredicate';
|
490
|
-
}
|
491
|
-
/**
|
492
|
-
* Generated by JsPbCodeGenerator.
|
493
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
494
|
-
* server response, or constructed directly in Javascript. The array is used
|
495
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
496
|
-
* If no data is provided, the constructed object will be empty, but still
|
497
|
-
* valid.
|
498
|
-
* @extends {jspb.Message}
|
499
|
-
* @constructor
|
500
|
-
*/
|
501
|
-
proto.teletubby.v1.Predicate = function(opt_data) {
|
502
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
503
|
-
};
|
504
|
-
goog.inherits(proto.teletubby.v1.Predicate, jspb.Message);
|
505
|
-
if (goog.DEBUG && !COMPILED) {
|
506
|
-
/**
|
507
|
-
* @public
|
508
|
-
* @override
|
509
|
-
*/
|
510
|
-
proto.teletubby.v1.Predicate.displayName = 'proto.teletubby.v1.Predicate';
|
511
|
-
}
|
512
|
-
/**
|
513
|
-
* Generated by JsPbCodeGenerator.
|
514
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
515
|
-
* server response, or constructed directly in Javascript. The array is used
|
516
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
517
|
-
* If no data is provided, the constructed object will be empty, but still
|
518
|
-
* valid.
|
519
|
-
* @extends {jspb.Message}
|
520
|
-
* @constructor
|
521
|
-
*/
|
522
|
-
proto.teletubby.v1.Heartbeat = function(opt_data) {
|
523
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
524
|
-
};
|
525
|
-
goog.inherits(proto.teletubby.v1.Heartbeat, jspb.Message);
|
526
|
-
if (goog.DEBUG && !COMPILED) {
|
527
|
-
/**
|
528
|
-
* @public
|
529
|
-
* @override
|
530
|
-
*/
|
531
|
-
proto.teletubby.v1.Heartbeat.displayName = 'proto.teletubby.v1.Heartbeat';
|
532
|
-
}
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
537
|
-
/**
|
538
|
-
* Creates an object representation of this proto.
|
539
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
540
|
-
* Optional fields that are not set will be set to undefined.
|
541
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
542
|
-
* For the list of reserved names please see:
|
543
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
544
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
545
|
-
* JSPB instance for transitional soy proto support:
|
546
|
-
* http://goto/soy-param-migration
|
547
|
-
* @return {!Object}
|
548
|
-
*/
|
549
|
-
proto.teletubby.v1.TelemetryMessage.prototype.toObject = function(opt_includeInstance) {
|
550
|
-
return proto.teletubby.v1.TelemetryMessage.toObject(opt_includeInstance, this);
|
551
|
-
};
|
552
|
-
|
553
|
-
|
554
|
-
/**
|
555
|
-
* Static version of the {@see toObject} method.
|
556
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
557
|
-
* the JSPB instance for transitional soy proto support:
|
558
|
-
* http://goto/soy-param-migration
|
559
|
-
* @param {!proto.teletubby.v1.TelemetryMessage} msg The msg instance to transform.
|
560
|
-
* @return {!Object}
|
561
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
562
|
-
*/
|
563
|
-
proto.teletubby.v1.TelemetryMessage.toObject = function(includeInstance, msg) {
|
564
|
-
var f, obj = {
|
565
|
-
source: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
566
|
-
payload: msg.getPayload_asB64(),
|
567
|
-
callsign: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
568
|
-
created: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
569
|
-
seq: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
570
|
-
metaMap: (f = msg.getMetaMap()) ? f.toObject(includeInstance, undefined) : [],
|
571
|
-
uid: jspb.Message.getFieldWithDefault(msg, 7, "")
|
572
|
-
};
|
573
|
-
|
574
|
-
if (includeInstance) {
|
575
|
-
obj.$jspbMessageInstance = msg;
|
576
|
-
}
|
577
|
-
return obj;
|
578
|
-
};
|
579
|
-
}
|
580
|
-
|
581
|
-
|
582
|
-
/**
|
583
|
-
* Deserializes binary data (in protobuf wire format).
|
584
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
585
|
-
* @return {!proto.teletubby.v1.TelemetryMessage}
|
586
|
-
*/
|
587
|
-
proto.teletubby.v1.TelemetryMessage.deserializeBinary = function(bytes) {
|
588
|
-
var reader = new jspb.BinaryReader(bytes);
|
589
|
-
var msg = new proto.teletubby.v1.TelemetryMessage;
|
590
|
-
return proto.teletubby.v1.TelemetryMessage.deserializeBinaryFromReader(msg, reader);
|
591
|
-
};
|
592
|
-
|
593
|
-
|
594
|
-
/**
|
595
|
-
* Deserializes binary data (in protobuf wire format) from the
|
596
|
-
* given reader into the given message object.
|
597
|
-
* @param {!proto.teletubby.v1.TelemetryMessage} msg The message object to deserialize into.
|
598
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
599
|
-
* @return {!proto.teletubby.v1.TelemetryMessage}
|
600
|
-
*/
|
601
|
-
proto.teletubby.v1.TelemetryMessage.deserializeBinaryFromReader = function(msg, reader) {
|
602
|
-
while (reader.nextField()) {
|
603
|
-
if (reader.isEndGroup()) {
|
604
|
-
break;
|
605
|
-
}
|
606
|
-
var field = reader.getFieldNumber();
|
607
|
-
switch (field) {
|
608
|
-
case 1:
|
609
|
-
var value = /** @type {string} */ (reader.readString());
|
610
|
-
msg.setSource(value);
|
611
|
-
break;
|
612
|
-
case 2:
|
613
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
614
|
-
msg.setPayload(value);
|
615
|
-
break;
|
616
|
-
case 3:
|
617
|
-
var value = /** @type {string} */ (reader.readString());
|
618
|
-
msg.setCallsign(value);
|
619
|
-
break;
|
620
|
-
case 4:
|
621
|
-
var value = /** @type {number} */ (reader.readInt64());
|
622
|
-
msg.setCreated(value);
|
623
|
-
break;
|
624
|
-
case 5:
|
625
|
-
var value = /** @type {number} */ (reader.readUint64());
|
626
|
-
msg.setSeq(value);
|
627
|
-
break;
|
628
|
-
case 6:
|
629
|
-
var value = msg.getMetaMap();
|
630
|
-
reader.readMessage(value, function(message, reader) {
|
631
|
-
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
632
|
-
});
|
633
|
-
break;
|
634
|
-
case 7:
|
635
|
-
var value = /** @type {string} */ (reader.readString());
|
636
|
-
msg.setUid(value);
|
637
|
-
break;
|
638
|
-
default:
|
639
|
-
reader.skipField();
|
640
|
-
break;
|
641
|
-
}
|
642
|
-
}
|
643
|
-
return msg;
|
644
|
-
};
|
645
|
-
|
646
|
-
|
647
|
-
/**
|
648
|
-
* Serializes the message to binary data (in protobuf wire format).
|
649
|
-
* @return {!Uint8Array}
|
650
|
-
*/
|
651
|
-
proto.teletubby.v1.TelemetryMessage.prototype.serializeBinary = function() {
|
652
|
-
var writer = new jspb.BinaryWriter();
|
653
|
-
proto.teletubby.v1.TelemetryMessage.serializeBinaryToWriter(this, writer);
|
654
|
-
return writer.getResultBuffer();
|
655
|
-
};
|
656
|
-
|
657
|
-
|
658
|
-
/**
|
659
|
-
* Serializes the given message to binary data (in protobuf wire
|
660
|
-
* format), writing to the given BinaryWriter.
|
661
|
-
* @param {!proto.teletubby.v1.TelemetryMessage} message
|
662
|
-
* @param {!jspb.BinaryWriter} writer
|
663
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
664
|
-
*/
|
665
|
-
proto.teletubby.v1.TelemetryMessage.serializeBinaryToWriter = function(message, writer) {
|
666
|
-
var f = undefined;
|
667
|
-
f = message.getSource();
|
668
|
-
if (f.length > 0) {
|
669
|
-
writer.writeString(
|
670
|
-
1,
|
671
|
-
f
|
672
|
-
);
|
673
|
-
}
|
674
|
-
f = message.getPayload_asU8();
|
675
|
-
if (f.length > 0) {
|
676
|
-
writer.writeBytes(
|
677
|
-
2,
|
678
|
-
f
|
679
|
-
);
|
680
|
-
}
|
681
|
-
f = message.getCallsign();
|
682
|
-
if (f.length > 0) {
|
683
|
-
writer.writeString(
|
684
|
-
3,
|
685
|
-
f
|
686
|
-
);
|
687
|
-
}
|
688
|
-
f = message.getCreated();
|
689
|
-
if (f !== 0) {
|
690
|
-
writer.writeInt64(
|
691
|
-
4,
|
692
|
-
f
|
693
|
-
);
|
694
|
-
}
|
695
|
-
f = message.getSeq();
|
696
|
-
if (f !== 0) {
|
697
|
-
writer.writeUint64(
|
698
|
-
5,
|
699
|
-
f
|
700
|
-
);
|
701
|
-
}
|
702
|
-
f = message.getMetaMap(true);
|
703
|
-
if (f && f.getLength() > 0) {
|
704
|
-
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
705
|
-
}
|
706
|
-
f = message.getUid();
|
707
|
-
if (f.length > 0) {
|
708
|
-
writer.writeString(
|
709
|
-
7,
|
710
|
-
f
|
711
|
-
);
|
712
|
-
}
|
713
|
-
};
|
714
|
-
|
715
|
-
|
716
|
-
/**
|
717
|
-
* optional string source = 1;
|
718
|
-
* @return {string}
|
719
|
-
*/
|
720
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getSource = function() {
|
721
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
722
|
-
};
|
723
|
-
|
724
|
-
|
725
|
-
/**
|
726
|
-
* @param {string} value
|
727
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
728
|
-
*/
|
729
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setSource = function(value) {
|
730
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
731
|
-
};
|
732
|
-
|
733
|
-
|
734
|
-
/**
|
735
|
-
* optional bytes payload = 2;
|
736
|
-
* @return {!(string|Uint8Array)}
|
737
|
-
*/
|
738
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getPayload = function() {
|
739
|
-
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
740
|
-
};
|
741
|
-
|
742
|
-
|
743
|
-
/**
|
744
|
-
* optional bytes payload = 2;
|
745
|
-
* This is a type-conversion wrapper around `getPayload()`
|
746
|
-
* @return {string}
|
747
|
-
*/
|
748
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getPayload_asB64 = function() {
|
749
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
750
|
-
this.getPayload()));
|
751
|
-
};
|
752
|
-
|
753
|
-
|
754
|
-
/**
|
755
|
-
* optional bytes payload = 2;
|
756
|
-
* Note that Uint8Array is not supported on all browsers.
|
757
|
-
* @see http://caniuse.com/Uint8Array
|
758
|
-
* This is a type-conversion wrapper around `getPayload()`
|
759
|
-
* @return {!Uint8Array}
|
760
|
-
*/
|
761
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getPayload_asU8 = function() {
|
762
|
-
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
763
|
-
this.getPayload()));
|
764
|
-
};
|
765
|
-
|
766
|
-
|
767
|
-
/**
|
768
|
-
* @param {!(string|Uint8Array)} value
|
769
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
770
|
-
*/
|
771
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setPayload = function(value) {
|
772
|
-
return jspb.Message.setProto3BytesField(this, 2, value);
|
773
|
-
};
|
774
|
-
|
775
|
-
|
776
|
-
/**
|
777
|
-
* optional string callsign = 3;
|
778
|
-
* @return {string}
|
779
|
-
*/
|
780
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getCallsign = function() {
|
781
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
782
|
-
};
|
783
|
-
|
784
|
-
|
785
|
-
/**
|
786
|
-
* @param {string} value
|
787
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
788
|
-
*/
|
789
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setCallsign = function(value) {
|
790
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
791
|
-
};
|
792
|
-
|
793
|
-
|
794
|
-
/**
|
795
|
-
* optional int64 created = 4;
|
796
|
-
* @return {number}
|
797
|
-
*/
|
798
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getCreated = function() {
|
799
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
800
|
-
};
|
801
|
-
|
802
|
-
|
803
|
-
/**
|
804
|
-
* @param {number} value
|
805
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
806
|
-
*/
|
807
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setCreated = function(value) {
|
808
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
809
|
-
};
|
810
|
-
|
811
|
-
|
812
|
-
/**
|
813
|
-
* optional uint64 seq = 5;
|
814
|
-
* @return {number}
|
815
|
-
*/
|
816
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getSeq = function() {
|
817
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
818
|
-
};
|
819
|
-
|
820
|
-
|
821
|
-
/**
|
822
|
-
* @param {number} value
|
823
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
824
|
-
*/
|
825
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setSeq = function(value) {
|
826
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
827
|
-
};
|
828
|
-
|
829
|
-
|
830
|
-
/**
|
831
|
-
* map<string, string> meta = 6;
|
832
|
-
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
833
|
-
* empty, instead returning `undefined`
|
834
|
-
* @return {!jspb.Map<string,string>}
|
835
|
-
*/
|
836
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getMetaMap = function(opt_noLazyCreate) {
|
837
|
-
return /** @type {!jspb.Map<string,string>} */ (
|
838
|
-
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
839
|
-
null));
|
840
|
-
};
|
841
|
-
|
842
|
-
|
843
|
-
/**
|
844
|
-
* Clears values from the map. The map will be non-null.
|
845
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
846
|
-
*/
|
847
|
-
proto.teletubby.v1.TelemetryMessage.prototype.clearMetaMap = function() {
|
848
|
-
this.getMetaMap().clear();
|
849
|
-
return this;};
|
850
|
-
|
851
|
-
|
852
|
-
/**
|
853
|
-
* optional string uid = 7;
|
854
|
-
* @return {string}
|
855
|
-
*/
|
856
|
-
proto.teletubby.v1.TelemetryMessage.prototype.getUid = function() {
|
857
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
858
|
-
};
|
859
|
-
|
860
|
-
|
861
|
-
/**
|
862
|
-
* @param {string} value
|
863
|
-
* @return {!proto.teletubby.v1.TelemetryMessage} returns this
|
864
|
-
*/
|
865
|
-
proto.teletubby.v1.TelemetryMessage.prototype.setUid = function(value) {
|
866
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
867
|
-
};
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
/**
|
872
|
-
* Oneof group definitions for this message. Each group defines the field
|
873
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
874
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
875
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
876
|
-
* @private {!Array<!Array<number>>}
|
877
|
-
* @const
|
878
|
-
*/
|
879
|
-
proto.teletubby.v1.ReceiverStreamMessage.oneofGroups_ = [[1,2]];
|
880
|
-
|
881
|
-
/**
|
882
|
-
* @enum {number}
|
883
|
-
*/
|
884
|
-
proto.teletubby.v1.ReceiverStreamMessage.ContentCase = {
|
885
|
-
CONTENT_NOT_SET: 0,
|
886
|
-
HEARTBEAT: 1,
|
887
|
-
ACK: 2
|
888
|
-
};
|
889
|
-
|
890
|
-
/**
|
891
|
-
* @return {proto.teletubby.v1.ReceiverStreamMessage.ContentCase}
|
892
|
-
*/
|
893
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.getContentCase = function() {
|
894
|
-
return /** @type {proto.teletubby.v1.ReceiverStreamMessage.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.ReceiverStreamMessage.oneofGroups_[0]));
|
895
|
-
};
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
900
|
-
/**
|
901
|
-
* Creates an object representation of this proto.
|
902
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
903
|
-
* Optional fields that are not set will be set to undefined.
|
904
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
905
|
-
* For the list of reserved names please see:
|
906
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
907
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
908
|
-
* JSPB instance for transitional soy proto support:
|
909
|
-
* http://goto/soy-param-migration
|
910
|
-
* @return {!Object}
|
911
|
-
*/
|
912
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.toObject = function(opt_includeInstance) {
|
913
|
-
return proto.teletubby.v1.ReceiverStreamMessage.toObject(opt_includeInstance, this);
|
914
|
-
};
|
915
|
-
|
916
|
-
|
917
|
-
/**
|
918
|
-
* Static version of the {@see toObject} method.
|
919
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
920
|
-
* the JSPB instance for transitional soy proto support:
|
921
|
-
* http://goto/soy-param-migration
|
922
|
-
* @param {!proto.teletubby.v1.ReceiverStreamMessage} msg The msg instance to transform.
|
923
|
-
* @return {!Object}
|
924
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
925
|
-
*/
|
926
|
-
proto.teletubby.v1.ReceiverStreamMessage.toObject = function(includeInstance, msg) {
|
927
|
-
var f, obj = {
|
928
|
-
heartbeat: (f = msg.getHeartbeat()) && proto.teletubby.v1.Heartbeat.toObject(includeInstance, f),
|
929
|
-
ack: (f = msg.getAck()) && proto.teletubby.v1.TelemetryMessageAck.toObject(includeInstance, f)
|
930
|
-
};
|
931
|
-
|
932
|
-
if (includeInstance) {
|
933
|
-
obj.$jspbMessageInstance = msg;
|
934
|
-
}
|
935
|
-
return obj;
|
936
|
-
};
|
937
|
-
}
|
938
|
-
|
939
|
-
|
940
|
-
/**
|
941
|
-
* Deserializes binary data (in protobuf wire format).
|
942
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
943
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage}
|
944
|
-
*/
|
945
|
-
proto.teletubby.v1.ReceiverStreamMessage.deserializeBinary = function(bytes) {
|
946
|
-
var reader = new jspb.BinaryReader(bytes);
|
947
|
-
var msg = new proto.teletubby.v1.ReceiverStreamMessage;
|
948
|
-
return proto.teletubby.v1.ReceiverStreamMessage.deserializeBinaryFromReader(msg, reader);
|
949
|
-
};
|
950
|
-
|
951
|
-
|
952
|
-
/**
|
953
|
-
* Deserializes binary data (in protobuf wire format) from the
|
954
|
-
* given reader into the given message object.
|
955
|
-
* @param {!proto.teletubby.v1.ReceiverStreamMessage} msg The message object to deserialize into.
|
956
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
957
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage}
|
958
|
-
*/
|
959
|
-
proto.teletubby.v1.ReceiverStreamMessage.deserializeBinaryFromReader = function(msg, reader) {
|
960
|
-
while (reader.nextField()) {
|
961
|
-
if (reader.isEndGroup()) {
|
962
|
-
break;
|
963
|
-
}
|
964
|
-
var field = reader.getFieldNumber();
|
965
|
-
switch (field) {
|
966
|
-
case 1:
|
967
|
-
var value = new proto.teletubby.v1.Heartbeat;
|
968
|
-
reader.readMessage(value,proto.teletubby.v1.Heartbeat.deserializeBinaryFromReader);
|
969
|
-
msg.setHeartbeat(value);
|
970
|
-
break;
|
971
|
-
case 2:
|
972
|
-
var value = new proto.teletubby.v1.TelemetryMessageAck;
|
973
|
-
reader.readMessage(value,proto.teletubby.v1.TelemetryMessageAck.deserializeBinaryFromReader);
|
974
|
-
msg.setAck(value);
|
975
|
-
break;
|
976
|
-
default:
|
977
|
-
reader.skipField();
|
978
|
-
break;
|
979
|
-
}
|
980
|
-
}
|
981
|
-
return msg;
|
982
|
-
};
|
983
|
-
|
984
|
-
|
985
|
-
/**
|
986
|
-
* Serializes the message to binary data (in protobuf wire format).
|
987
|
-
* @return {!Uint8Array}
|
988
|
-
*/
|
989
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.serializeBinary = function() {
|
990
|
-
var writer = new jspb.BinaryWriter();
|
991
|
-
proto.teletubby.v1.ReceiverStreamMessage.serializeBinaryToWriter(this, writer);
|
992
|
-
return writer.getResultBuffer();
|
993
|
-
};
|
994
|
-
|
995
|
-
|
996
|
-
/**
|
997
|
-
* Serializes the given message to binary data (in protobuf wire
|
998
|
-
* format), writing to the given BinaryWriter.
|
999
|
-
* @param {!proto.teletubby.v1.ReceiverStreamMessage} message
|
1000
|
-
* @param {!jspb.BinaryWriter} writer
|
1001
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1002
|
-
*/
|
1003
|
-
proto.teletubby.v1.ReceiverStreamMessage.serializeBinaryToWriter = function(message, writer) {
|
1004
|
-
var f = undefined;
|
1005
|
-
f = message.getHeartbeat();
|
1006
|
-
if (f != null) {
|
1007
|
-
writer.writeMessage(
|
1008
|
-
1,
|
1009
|
-
f,
|
1010
|
-
proto.teletubby.v1.Heartbeat.serializeBinaryToWriter
|
1011
|
-
);
|
1012
|
-
}
|
1013
|
-
f = message.getAck();
|
1014
|
-
if (f != null) {
|
1015
|
-
writer.writeMessage(
|
1016
|
-
2,
|
1017
|
-
f,
|
1018
|
-
proto.teletubby.v1.TelemetryMessageAck.serializeBinaryToWriter
|
1019
|
-
);
|
1020
|
-
}
|
1021
|
-
};
|
1022
|
-
|
1023
|
-
|
1024
|
-
/**
|
1025
|
-
* optional Heartbeat heartbeat = 1;
|
1026
|
-
* @return {?proto.teletubby.v1.Heartbeat}
|
1027
|
-
*/
|
1028
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.getHeartbeat = function() {
|
1029
|
-
return /** @type{?proto.teletubby.v1.Heartbeat} */ (
|
1030
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.Heartbeat, 1));
|
1031
|
-
};
|
1032
|
-
|
1033
|
-
|
1034
|
-
/**
|
1035
|
-
* @param {?proto.teletubby.v1.Heartbeat|undefined} value
|
1036
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage} returns this
|
1037
|
-
*/
|
1038
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.setHeartbeat = function(value) {
|
1039
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.teletubby.v1.ReceiverStreamMessage.oneofGroups_[0], value);
|
1040
|
-
};
|
1041
|
-
|
1042
|
-
|
1043
|
-
/**
|
1044
|
-
* Clears the message field making it undefined.
|
1045
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage} returns this
|
1046
|
-
*/
|
1047
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.clearHeartbeat = function() {
|
1048
|
-
return this.setHeartbeat(undefined);
|
1049
|
-
};
|
1050
|
-
|
1051
|
-
|
1052
|
-
/**
|
1053
|
-
* Returns whether this field is set.
|
1054
|
-
* @return {boolean}
|
1055
|
-
*/
|
1056
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.hasHeartbeat = function() {
|
1057
|
-
return jspb.Message.getField(this, 1) != null;
|
1058
|
-
};
|
1059
|
-
|
1060
|
-
|
1061
|
-
/**
|
1062
|
-
* optional TelemetryMessageAck ack = 2;
|
1063
|
-
* @return {?proto.teletubby.v1.TelemetryMessageAck}
|
1064
|
-
*/
|
1065
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.getAck = function() {
|
1066
|
-
return /** @type{?proto.teletubby.v1.TelemetryMessageAck} */ (
|
1067
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.TelemetryMessageAck, 2));
|
1068
|
-
};
|
1069
|
-
|
1070
|
-
|
1071
|
-
/**
|
1072
|
-
* @param {?proto.teletubby.v1.TelemetryMessageAck|undefined} value
|
1073
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage} returns this
|
1074
|
-
*/
|
1075
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.setAck = function(value) {
|
1076
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.teletubby.v1.ReceiverStreamMessage.oneofGroups_[0], value);
|
1077
|
-
};
|
1078
|
-
|
1079
|
-
|
1080
|
-
/**
|
1081
|
-
* Clears the message field making it undefined.
|
1082
|
-
* @return {!proto.teletubby.v1.ReceiverStreamMessage} returns this
|
1083
|
-
*/
|
1084
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.clearAck = function() {
|
1085
|
-
return this.setAck(undefined);
|
1086
|
-
};
|
1087
|
-
|
1088
|
-
|
1089
|
-
/**
|
1090
|
-
* Returns whether this field is set.
|
1091
|
-
* @return {boolean}
|
1092
|
-
*/
|
1093
|
-
proto.teletubby.v1.ReceiverStreamMessage.prototype.hasAck = function() {
|
1094
|
-
return jspb.Message.getField(this, 2) != null;
|
1095
|
-
};
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
/**
|
1100
|
-
* Oneof group definitions for this message. Each group defines the field
|
1101
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
1102
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
1103
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
1104
|
-
* @private {!Array<!Array<number>>}
|
1105
|
-
* @const
|
1106
|
-
*/
|
1107
|
-
proto.teletubby.v1.TelemetryStreamMessage.oneofGroups_ = [[1,2]];
|
1108
|
-
|
1109
|
-
/**
|
1110
|
-
* @enum {number}
|
1111
|
-
*/
|
1112
|
-
proto.teletubby.v1.TelemetryStreamMessage.ContentCase = {
|
1113
|
-
CONTENT_NOT_SET: 0,
|
1114
|
-
HEARTBEAT: 1,
|
1115
|
-
MESSAGE: 2
|
1116
|
-
};
|
1117
|
-
|
1118
|
-
/**
|
1119
|
-
* @return {proto.teletubby.v1.TelemetryStreamMessage.ContentCase}
|
1120
|
-
*/
|
1121
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.getContentCase = function() {
|
1122
|
-
return /** @type {proto.teletubby.v1.TelemetryStreamMessage.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.TelemetryStreamMessage.oneofGroups_[0]));
|
1123
|
-
};
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1128
|
-
/**
|
1129
|
-
* Creates an object representation of this proto.
|
1130
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1131
|
-
* Optional fields that are not set will be set to undefined.
|
1132
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1133
|
-
* For the list of reserved names please see:
|
1134
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1135
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1136
|
-
* JSPB instance for transitional soy proto support:
|
1137
|
-
* http://goto/soy-param-migration
|
1138
|
-
* @return {!Object}
|
1139
|
-
*/
|
1140
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.toObject = function(opt_includeInstance) {
|
1141
|
-
return proto.teletubby.v1.TelemetryStreamMessage.toObject(opt_includeInstance, this);
|
1142
|
-
};
|
1143
|
-
|
1144
|
-
|
1145
|
-
/**
|
1146
|
-
* Static version of the {@see toObject} method.
|
1147
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1148
|
-
* the JSPB instance for transitional soy proto support:
|
1149
|
-
* http://goto/soy-param-migration
|
1150
|
-
* @param {!proto.teletubby.v1.TelemetryStreamMessage} msg The msg instance to transform.
|
1151
|
-
* @return {!Object}
|
1152
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1153
|
-
*/
|
1154
|
-
proto.teletubby.v1.TelemetryStreamMessage.toObject = function(includeInstance, msg) {
|
1155
|
-
var f, obj = {
|
1156
|
-
heartbeat: (f = msg.getHeartbeat()) && proto.teletubby.v1.Heartbeat.toObject(includeInstance, f),
|
1157
|
-
message: (f = msg.getMessage()) && proto.teletubby.v1.TelemetryMessage.toObject(includeInstance, f),
|
1158
|
-
isackable: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
1159
|
-
};
|
1160
|
-
|
1161
|
-
if (includeInstance) {
|
1162
|
-
obj.$jspbMessageInstance = msg;
|
1163
|
-
}
|
1164
|
-
return obj;
|
1165
|
-
};
|
1166
|
-
}
|
1167
|
-
|
1168
|
-
|
1169
|
-
/**
|
1170
|
-
* Deserializes binary data (in protobuf wire format).
|
1171
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1172
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage}
|
1173
|
-
*/
|
1174
|
-
proto.teletubby.v1.TelemetryStreamMessage.deserializeBinary = function(bytes) {
|
1175
|
-
var reader = new jspb.BinaryReader(bytes);
|
1176
|
-
var msg = new proto.teletubby.v1.TelemetryStreamMessage;
|
1177
|
-
return proto.teletubby.v1.TelemetryStreamMessage.deserializeBinaryFromReader(msg, reader);
|
1178
|
-
};
|
1179
|
-
|
1180
|
-
|
1181
|
-
/**
|
1182
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1183
|
-
* given reader into the given message object.
|
1184
|
-
* @param {!proto.teletubby.v1.TelemetryStreamMessage} msg The message object to deserialize into.
|
1185
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1186
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage}
|
1187
|
-
*/
|
1188
|
-
proto.teletubby.v1.TelemetryStreamMessage.deserializeBinaryFromReader = function(msg, reader) {
|
1189
|
-
while (reader.nextField()) {
|
1190
|
-
if (reader.isEndGroup()) {
|
1191
|
-
break;
|
1192
|
-
}
|
1193
|
-
var field = reader.getFieldNumber();
|
1194
|
-
switch (field) {
|
1195
|
-
case 1:
|
1196
|
-
var value = new proto.teletubby.v1.Heartbeat;
|
1197
|
-
reader.readMessage(value,proto.teletubby.v1.Heartbeat.deserializeBinaryFromReader);
|
1198
|
-
msg.setHeartbeat(value);
|
1199
|
-
break;
|
1200
|
-
case 2:
|
1201
|
-
var value = new proto.teletubby.v1.TelemetryMessage;
|
1202
|
-
reader.readMessage(value,proto.teletubby.v1.TelemetryMessage.deserializeBinaryFromReader);
|
1203
|
-
msg.setMessage(value);
|
1204
|
-
break;
|
1205
|
-
case 3:
|
1206
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
1207
|
-
msg.setIsackable(value);
|
1208
|
-
break;
|
1209
|
-
default:
|
1210
|
-
reader.skipField();
|
1211
|
-
break;
|
1212
|
-
}
|
1213
|
-
}
|
1214
|
-
return msg;
|
1215
|
-
};
|
1216
|
-
|
1217
|
-
|
1218
|
-
/**
|
1219
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1220
|
-
* @return {!Uint8Array}
|
1221
|
-
*/
|
1222
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.serializeBinary = function() {
|
1223
|
-
var writer = new jspb.BinaryWriter();
|
1224
|
-
proto.teletubby.v1.TelemetryStreamMessage.serializeBinaryToWriter(this, writer);
|
1225
|
-
return writer.getResultBuffer();
|
1226
|
-
};
|
1227
|
-
|
1228
|
-
|
1229
|
-
/**
|
1230
|
-
* Serializes the given message to binary data (in protobuf wire
|
1231
|
-
* format), writing to the given BinaryWriter.
|
1232
|
-
* @param {!proto.teletubby.v1.TelemetryStreamMessage} message
|
1233
|
-
* @param {!jspb.BinaryWriter} writer
|
1234
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1235
|
-
*/
|
1236
|
-
proto.teletubby.v1.TelemetryStreamMessage.serializeBinaryToWriter = function(message, writer) {
|
1237
|
-
var f = undefined;
|
1238
|
-
f = message.getHeartbeat();
|
1239
|
-
if (f != null) {
|
1240
|
-
writer.writeMessage(
|
1241
|
-
1,
|
1242
|
-
f,
|
1243
|
-
proto.teletubby.v1.Heartbeat.serializeBinaryToWriter
|
1244
|
-
);
|
1245
|
-
}
|
1246
|
-
f = message.getMessage();
|
1247
|
-
if (f != null) {
|
1248
|
-
writer.writeMessage(
|
1249
|
-
2,
|
1250
|
-
f,
|
1251
|
-
proto.teletubby.v1.TelemetryMessage.serializeBinaryToWriter
|
1252
|
-
);
|
1253
|
-
}
|
1254
|
-
f = message.getIsackable();
|
1255
|
-
if (f) {
|
1256
|
-
writer.writeBool(
|
1257
|
-
3,
|
1258
|
-
f
|
1259
|
-
);
|
1260
|
-
}
|
1261
|
-
};
|
1262
|
-
|
1263
|
-
|
1264
|
-
/**
|
1265
|
-
* optional Heartbeat heartbeat = 1;
|
1266
|
-
* @return {?proto.teletubby.v1.Heartbeat}
|
1267
|
-
*/
|
1268
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.getHeartbeat = function() {
|
1269
|
-
return /** @type{?proto.teletubby.v1.Heartbeat} */ (
|
1270
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.Heartbeat, 1));
|
1271
|
-
};
|
1272
|
-
|
1273
|
-
|
1274
|
-
/**
|
1275
|
-
* @param {?proto.teletubby.v1.Heartbeat|undefined} value
|
1276
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage} returns this
|
1277
|
-
*/
|
1278
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.setHeartbeat = function(value) {
|
1279
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.teletubby.v1.TelemetryStreamMessage.oneofGroups_[0], value);
|
1280
|
-
};
|
1281
|
-
|
1282
|
-
|
1283
|
-
/**
|
1284
|
-
* Clears the message field making it undefined.
|
1285
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage} returns this
|
1286
|
-
*/
|
1287
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.clearHeartbeat = function() {
|
1288
|
-
return this.setHeartbeat(undefined);
|
1289
|
-
};
|
1290
|
-
|
1291
|
-
|
1292
|
-
/**
|
1293
|
-
* Returns whether this field is set.
|
1294
|
-
* @return {boolean}
|
1295
|
-
*/
|
1296
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.hasHeartbeat = function() {
|
1297
|
-
return jspb.Message.getField(this, 1) != null;
|
1298
|
-
};
|
1299
|
-
|
1300
|
-
|
1301
|
-
/**
|
1302
|
-
* optional TelemetryMessage message = 2;
|
1303
|
-
* @return {?proto.teletubby.v1.TelemetryMessage}
|
1304
|
-
*/
|
1305
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.getMessage = function() {
|
1306
|
-
return /** @type{?proto.teletubby.v1.TelemetryMessage} */ (
|
1307
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.TelemetryMessage, 2));
|
1308
|
-
};
|
1309
|
-
|
1310
|
-
|
1311
|
-
/**
|
1312
|
-
* @param {?proto.teletubby.v1.TelemetryMessage|undefined} value
|
1313
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage} returns this
|
1314
|
-
*/
|
1315
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.setMessage = function(value) {
|
1316
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.teletubby.v1.TelemetryStreamMessage.oneofGroups_[0], value);
|
1317
|
-
};
|
1318
|
-
|
1319
|
-
|
1320
|
-
/**
|
1321
|
-
* Clears the message field making it undefined.
|
1322
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage} returns this
|
1323
|
-
*/
|
1324
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.clearMessage = function() {
|
1325
|
-
return this.setMessage(undefined);
|
1326
|
-
};
|
1327
|
-
|
1328
|
-
|
1329
|
-
/**
|
1330
|
-
* Returns whether this field is set.
|
1331
|
-
* @return {boolean}
|
1332
|
-
*/
|
1333
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.hasMessage = function() {
|
1334
|
-
return jspb.Message.getField(this, 2) != null;
|
1335
|
-
};
|
1336
|
-
|
1337
|
-
|
1338
|
-
/**
|
1339
|
-
* optional bool isAckable = 3;
|
1340
|
-
* @return {boolean}
|
1341
|
-
*/
|
1342
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.getIsackable = function() {
|
1343
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
1344
|
-
};
|
1345
|
-
|
1346
|
-
|
1347
|
-
/**
|
1348
|
-
* @param {boolean} value
|
1349
|
-
* @return {!proto.teletubby.v1.TelemetryStreamMessage} returns this
|
1350
|
-
*/
|
1351
|
-
proto.teletubby.v1.TelemetryStreamMessage.prototype.setIsackable = function(value) {
|
1352
|
-
return jspb.Message.setProto3BooleanField(this, 3, value);
|
1353
|
-
};
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1360
|
-
/**
|
1361
|
-
* Creates an object representation of this proto.
|
1362
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1363
|
-
* Optional fields that are not set will be set to undefined.
|
1364
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1365
|
-
* For the list of reserved names please see:
|
1366
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1367
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1368
|
-
* JSPB instance for transitional soy proto support:
|
1369
|
-
* http://goto/soy-param-migration
|
1370
|
-
* @return {!Object}
|
1371
|
-
*/
|
1372
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.toObject = function(opt_includeInstance) {
|
1373
|
-
return proto.teletubby.v1.TelemetryMessageAck.toObject(opt_includeInstance, this);
|
1374
|
-
};
|
1375
|
-
|
1376
|
-
|
1377
|
-
/**
|
1378
|
-
* Static version of the {@see toObject} method.
|
1379
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1380
|
-
* the JSPB instance for transitional soy proto support:
|
1381
|
-
* http://goto/soy-param-migration
|
1382
|
-
* @param {!proto.teletubby.v1.TelemetryMessageAck} msg The msg instance to transform.
|
1383
|
-
* @return {!Object}
|
1384
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1385
|
-
*/
|
1386
|
-
proto.teletubby.v1.TelemetryMessageAck.toObject = function(includeInstance, msg) {
|
1387
|
-
var f, obj = {
|
1388
|
-
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1389
|
-
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1390
|
-
noretry: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
1391
|
-
};
|
1392
|
-
|
1393
|
-
if (includeInstance) {
|
1394
|
-
obj.$jspbMessageInstance = msg;
|
1395
|
-
}
|
1396
|
-
return obj;
|
1397
|
-
};
|
1398
|
-
}
|
1399
|
-
|
1400
|
-
|
1401
|
-
/**
|
1402
|
-
* Deserializes binary data (in protobuf wire format).
|
1403
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1404
|
-
* @return {!proto.teletubby.v1.TelemetryMessageAck}
|
1405
|
-
*/
|
1406
|
-
proto.teletubby.v1.TelemetryMessageAck.deserializeBinary = function(bytes) {
|
1407
|
-
var reader = new jspb.BinaryReader(bytes);
|
1408
|
-
var msg = new proto.teletubby.v1.TelemetryMessageAck;
|
1409
|
-
return proto.teletubby.v1.TelemetryMessageAck.deserializeBinaryFromReader(msg, reader);
|
1410
|
-
};
|
1411
|
-
|
1412
|
-
|
1413
|
-
/**
|
1414
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1415
|
-
* given reader into the given message object.
|
1416
|
-
* @param {!proto.teletubby.v1.TelemetryMessageAck} msg The message object to deserialize into.
|
1417
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1418
|
-
* @return {!proto.teletubby.v1.TelemetryMessageAck}
|
1419
|
-
*/
|
1420
|
-
proto.teletubby.v1.TelemetryMessageAck.deserializeBinaryFromReader = function(msg, reader) {
|
1421
|
-
while (reader.nextField()) {
|
1422
|
-
if (reader.isEndGroup()) {
|
1423
|
-
break;
|
1424
|
-
}
|
1425
|
-
var field = reader.getFieldNumber();
|
1426
|
-
switch (field) {
|
1427
|
-
case 1:
|
1428
|
-
var value = /** @type {string} */ (reader.readString());
|
1429
|
-
msg.setUid(value);
|
1430
|
-
break;
|
1431
|
-
case 2:
|
1432
|
-
var value = /** @type {!proto.teletubby.v1.TelemetryAckStatus} */ (reader.readEnum());
|
1433
|
-
msg.setStatus(value);
|
1434
|
-
break;
|
1435
|
-
case 3:
|
1436
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
1437
|
-
msg.setNoretry(value);
|
1438
|
-
break;
|
1439
|
-
default:
|
1440
|
-
reader.skipField();
|
1441
|
-
break;
|
1442
|
-
}
|
1443
|
-
}
|
1444
|
-
return msg;
|
1445
|
-
};
|
1446
|
-
|
1447
|
-
|
1448
|
-
/**
|
1449
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1450
|
-
* @return {!Uint8Array}
|
1451
|
-
*/
|
1452
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.serializeBinary = function() {
|
1453
|
-
var writer = new jspb.BinaryWriter();
|
1454
|
-
proto.teletubby.v1.TelemetryMessageAck.serializeBinaryToWriter(this, writer);
|
1455
|
-
return writer.getResultBuffer();
|
1456
|
-
};
|
1457
|
-
|
1458
|
-
|
1459
|
-
/**
|
1460
|
-
* Serializes the given message to binary data (in protobuf wire
|
1461
|
-
* format), writing to the given BinaryWriter.
|
1462
|
-
* @param {!proto.teletubby.v1.TelemetryMessageAck} message
|
1463
|
-
* @param {!jspb.BinaryWriter} writer
|
1464
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1465
|
-
*/
|
1466
|
-
proto.teletubby.v1.TelemetryMessageAck.serializeBinaryToWriter = function(message, writer) {
|
1467
|
-
var f = undefined;
|
1468
|
-
f = message.getUid();
|
1469
|
-
if (f.length > 0) {
|
1470
|
-
writer.writeString(
|
1471
|
-
1,
|
1472
|
-
f
|
1473
|
-
);
|
1474
|
-
}
|
1475
|
-
f = message.getStatus();
|
1476
|
-
if (f !== 0.0) {
|
1477
|
-
writer.writeEnum(
|
1478
|
-
2,
|
1479
|
-
f
|
1480
|
-
);
|
1481
|
-
}
|
1482
|
-
f = message.getNoretry();
|
1483
|
-
if (f) {
|
1484
|
-
writer.writeBool(
|
1485
|
-
3,
|
1486
|
-
f
|
1487
|
-
);
|
1488
|
-
}
|
1489
|
-
};
|
1490
|
-
|
1491
|
-
|
1492
|
-
/**
|
1493
|
-
* optional string uid = 1;
|
1494
|
-
* @return {string}
|
1495
|
-
*/
|
1496
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.getUid = function() {
|
1497
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1498
|
-
};
|
1499
|
-
|
1500
|
-
|
1501
|
-
/**
|
1502
|
-
* @param {string} value
|
1503
|
-
* @return {!proto.teletubby.v1.TelemetryMessageAck} returns this
|
1504
|
-
*/
|
1505
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.setUid = function(value) {
|
1506
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1507
|
-
};
|
1508
|
-
|
1509
|
-
|
1510
|
-
/**
|
1511
|
-
* optional TelemetryAckStatus status = 2;
|
1512
|
-
* @return {!proto.teletubby.v1.TelemetryAckStatus}
|
1513
|
-
*/
|
1514
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.getStatus = function() {
|
1515
|
-
return /** @type {!proto.teletubby.v1.TelemetryAckStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1516
|
-
};
|
1517
|
-
|
1518
|
-
|
1519
|
-
/**
|
1520
|
-
* @param {!proto.teletubby.v1.TelemetryAckStatus} value
|
1521
|
-
* @return {!proto.teletubby.v1.TelemetryMessageAck} returns this
|
1522
|
-
*/
|
1523
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.setStatus = function(value) {
|
1524
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
1525
|
-
};
|
1526
|
-
|
1527
|
-
|
1528
|
-
/**
|
1529
|
-
* optional bool noRetry = 3;
|
1530
|
-
* @return {boolean}
|
1531
|
-
*/
|
1532
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.getNoretry = function() {
|
1533
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
1534
|
-
};
|
1535
|
-
|
1536
|
-
|
1537
|
-
/**
|
1538
|
-
* @param {boolean} value
|
1539
|
-
* @return {!proto.teletubby.v1.TelemetryMessageAck} returns this
|
1540
|
-
*/
|
1541
|
-
proto.teletubby.v1.TelemetryMessageAck.prototype.setNoretry = function(value) {
|
1542
|
-
return jspb.Message.setProto3BooleanField(this, 3, value);
|
1543
|
-
};
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1550
|
-
/**
|
1551
|
-
* Creates an object representation of this proto.
|
1552
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1553
|
-
* Optional fields that are not set will be set to undefined.
|
1554
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1555
|
-
* For the list of reserved names please see:
|
1556
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1557
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1558
|
-
* JSPB instance for transitional soy proto support:
|
1559
|
-
* http://goto/soy-param-migration
|
1560
|
-
* @return {!Object}
|
1561
|
-
*/
|
1562
|
-
proto.teletubby.v1.TelemetryStreamAck.prototype.toObject = function(opt_includeInstance) {
|
1563
|
-
return proto.teletubby.v1.TelemetryStreamAck.toObject(opt_includeInstance, this);
|
1564
|
-
};
|
1565
|
-
|
1566
|
-
|
1567
|
-
/**
|
1568
|
-
* Static version of the {@see toObject} method.
|
1569
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1570
|
-
* the JSPB instance for transitional soy proto support:
|
1571
|
-
* http://goto/soy-param-migration
|
1572
|
-
* @param {!proto.teletubby.v1.TelemetryStreamAck} msg The msg instance to transform.
|
1573
|
-
* @return {!Object}
|
1574
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1575
|
-
*/
|
1576
|
-
proto.teletubby.v1.TelemetryStreamAck.toObject = function(includeInstance, msg) {
|
1577
|
-
var f, obj = {
|
1578
|
-
|
1579
|
-
};
|
1580
|
-
|
1581
|
-
if (includeInstance) {
|
1582
|
-
obj.$jspbMessageInstance = msg;
|
1583
|
-
}
|
1584
|
-
return obj;
|
1585
|
-
};
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
|
1589
|
-
/**
|
1590
|
-
* Deserializes binary data (in protobuf wire format).
|
1591
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1592
|
-
* @return {!proto.teletubby.v1.TelemetryStreamAck}
|
1593
|
-
*/
|
1594
|
-
proto.teletubby.v1.TelemetryStreamAck.deserializeBinary = function(bytes) {
|
1595
|
-
var reader = new jspb.BinaryReader(bytes);
|
1596
|
-
var msg = new proto.teletubby.v1.TelemetryStreamAck;
|
1597
|
-
return proto.teletubby.v1.TelemetryStreamAck.deserializeBinaryFromReader(msg, reader);
|
1598
|
-
};
|
1599
|
-
|
1600
|
-
|
1601
|
-
/**
|
1602
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1603
|
-
* given reader into the given message object.
|
1604
|
-
* @param {!proto.teletubby.v1.TelemetryStreamAck} msg The message object to deserialize into.
|
1605
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1606
|
-
* @return {!proto.teletubby.v1.TelemetryStreamAck}
|
1607
|
-
*/
|
1608
|
-
proto.teletubby.v1.TelemetryStreamAck.deserializeBinaryFromReader = function(msg, reader) {
|
1609
|
-
while (reader.nextField()) {
|
1610
|
-
if (reader.isEndGroup()) {
|
1611
|
-
break;
|
1612
|
-
}
|
1613
|
-
var field = reader.getFieldNumber();
|
1614
|
-
switch (field) {
|
1615
|
-
default:
|
1616
|
-
reader.skipField();
|
1617
|
-
break;
|
1618
|
-
}
|
1619
|
-
}
|
1620
|
-
return msg;
|
1621
|
-
};
|
1622
|
-
|
1623
|
-
|
1624
|
-
/**
|
1625
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1626
|
-
* @return {!Uint8Array}
|
1627
|
-
*/
|
1628
|
-
proto.teletubby.v1.TelemetryStreamAck.prototype.serializeBinary = function() {
|
1629
|
-
var writer = new jspb.BinaryWriter();
|
1630
|
-
proto.teletubby.v1.TelemetryStreamAck.serializeBinaryToWriter(this, writer);
|
1631
|
-
return writer.getResultBuffer();
|
1632
|
-
};
|
1633
|
-
|
1634
|
-
|
1635
|
-
/**
|
1636
|
-
* Serializes the given message to binary data (in protobuf wire
|
1637
|
-
* format), writing to the given BinaryWriter.
|
1638
|
-
* @param {!proto.teletubby.v1.TelemetryStreamAck} message
|
1639
|
-
* @param {!jspb.BinaryWriter} writer
|
1640
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1641
|
-
*/
|
1642
|
-
proto.teletubby.v1.TelemetryStreamAck.serializeBinaryToWriter = function(message, writer) {
|
1643
|
-
var f = undefined;
|
1644
|
-
};
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
/**
|
1649
|
-
* List of repeated fields within this message type.
|
1650
|
-
* @private {!Array<number>}
|
1651
|
-
* @const
|
1652
|
-
*/
|
1653
|
-
proto.teletubby.v1.ConfigMessage.repeatedFields_ = [2];
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1658
|
-
/**
|
1659
|
-
* Creates an object representation of this proto.
|
1660
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1661
|
-
* Optional fields that are not set will be set to undefined.
|
1662
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1663
|
-
* For the list of reserved names please see:
|
1664
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1665
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1666
|
-
* JSPB instance for transitional soy proto support:
|
1667
|
-
* http://goto/soy-param-migration
|
1668
|
-
* @return {!Object}
|
1669
|
-
*/
|
1670
|
-
proto.teletubby.v1.ConfigMessage.prototype.toObject = function(opt_includeInstance) {
|
1671
|
-
return proto.teletubby.v1.ConfigMessage.toObject(opt_includeInstance, this);
|
1672
|
-
};
|
1673
|
-
|
1674
|
-
|
1675
|
-
/**
|
1676
|
-
* Static version of the {@see toObject} method.
|
1677
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1678
|
-
* the JSPB instance for transitional soy proto support:
|
1679
|
-
* http://goto/soy-param-migration
|
1680
|
-
* @param {!proto.teletubby.v1.ConfigMessage} msg The msg instance to transform.
|
1681
|
-
* @return {!Object}
|
1682
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1683
|
-
*/
|
1684
|
-
proto.teletubby.v1.ConfigMessage.toObject = function(includeInstance, msg) {
|
1685
|
-
var f, obj = {
|
1686
|
-
requestedactionsList: jspb.Message.toObjectList(msg.getRequestedactionsList(),
|
1687
|
-
proto.teletubby.v1.ConfigAction.toObject, includeInstance)
|
1688
|
-
};
|
1689
|
-
|
1690
|
-
if (includeInstance) {
|
1691
|
-
obj.$jspbMessageInstance = msg;
|
1692
|
-
}
|
1693
|
-
return obj;
|
1694
|
-
};
|
1695
|
-
}
|
1696
|
-
|
1697
|
-
|
1698
|
-
/**
|
1699
|
-
* Deserializes binary data (in protobuf wire format).
|
1700
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1701
|
-
* @return {!proto.teletubby.v1.ConfigMessage}
|
1702
|
-
*/
|
1703
|
-
proto.teletubby.v1.ConfigMessage.deserializeBinary = function(bytes) {
|
1704
|
-
var reader = new jspb.BinaryReader(bytes);
|
1705
|
-
var msg = new proto.teletubby.v1.ConfigMessage;
|
1706
|
-
return proto.teletubby.v1.ConfigMessage.deserializeBinaryFromReader(msg, reader);
|
1707
|
-
};
|
1708
|
-
|
1709
|
-
|
1710
|
-
/**
|
1711
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1712
|
-
* given reader into the given message object.
|
1713
|
-
* @param {!proto.teletubby.v1.ConfigMessage} msg The message object to deserialize into.
|
1714
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1715
|
-
* @return {!proto.teletubby.v1.ConfigMessage}
|
1716
|
-
*/
|
1717
|
-
proto.teletubby.v1.ConfigMessage.deserializeBinaryFromReader = function(msg, reader) {
|
1718
|
-
while (reader.nextField()) {
|
1719
|
-
if (reader.isEndGroup()) {
|
1720
|
-
break;
|
1721
|
-
}
|
1722
|
-
var field = reader.getFieldNumber();
|
1723
|
-
switch (field) {
|
1724
|
-
case 2:
|
1725
|
-
var value = new proto.teletubby.v1.ConfigAction;
|
1726
|
-
reader.readMessage(value,proto.teletubby.v1.ConfigAction.deserializeBinaryFromReader);
|
1727
|
-
msg.addRequestedactions(value);
|
1728
|
-
break;
|
1729
|
-
default:
|
1730
|
-
reader.skipField();
|
1731
|
-
break;
|
1732
|
-
}
|
1733
|
-
}
|
1734
|
-
return msg;
|
1735
|
-
};
|
1736
|
-
|
1737
|
-
|
1738
|
-
/**
|
1739
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1740
|
-
* @return {!Uint8Array}
|
1741
|
-
*/
|
1742
|
-
proto.teletubby.v1.ConfigMessage.prototype.serializeBinary = function() {
|
1743
|
-
var writer = new jspb.BinaryWriter();
|
1744
|
-
proto.teletubby.v1.ConfigMessage.serializeBinaryToWriter(this, writer);
|
1745
|
-
return writer.getResultBuffer();
|
1746
|
-
};
|
1747
|
-
|
1748
|
-
|
1749
|
-
/**
|
1750
|
-
* Serializes the given message to binary data (in protobuf wire
|
1751
|
-
* format), writing to the given BinaryWriter.
|
1752
|
-
* @param {!proto.teletubby.v1.ConfigMessage} message
|
1753
|
-
* @param {!jspb.BinaryWriter} writer
|
1754
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1755
|
-
*/
|
1756
|
-
proto.teletubby.v1.ConfigMessage.serializeBinaryToWriter = function(message, writer) {
|
1757
|
-
var f = undefined;
|
1758
|
-
f = message.getRequestedactionsList();
|
1759
|
-
if (f.length > 0) {
|
1760
|
-
writer.writeRepeatedMessage(
|
1761
|
-
2,
|
1762
|
-
f,
|
1763
|
-
proto.teletubby.v1.ConfigAction.serializeBinaryToWriter
|
1764
|
-
);
|
1765
|
-
}
|
1766
|
-
};
|
1767
|
-
|
1768
|
-
|
1769
|
-
/**
|
1770
|
-
* repeated ConfigAction requestedActions = 2;
|
1771
|
-
* @return {!Array<!proto.teletubby.v1.ConfigAction>}
|
1772
|
-
*/
|
1773
|
-
proto.teletubby.v1.ConfigMessage.prototype.getRequestedactionsList = function() {
|
1774
|
-
return /** @type{!Array<!proto.teletubby.v1.ConfigAction>} */ (
|
1775
|
-
jspb.Message.getRepeatedWrapperField(this, proto.teletubby.v1.ConfigAction, 2));
|
1776
|
-
};
|
1777
|
-
|
1778
|
-
|
1779
|
-
/**
|
1780
|
-
* @param {!Array<!proto.teletubby.v1.ConfigAction>} value
|
1781
|
-
* @return {!proto.teletubby.v1.ConfigMessage} returns this
|
1782
|
-
*/
|
1783
|
-
proto.teletubby.v1.ConfigMessage.prototype.setRequestedactionsList = function(value) {
|
1784
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
1785
|
-
};
|
1786
|
-
|
1787
|
-
|
1788
|
-
/**
|
1789
|
-
* @param {!proto.teletubby.v1.ConfigAction=} opt_value
|
1790
|
-
* @param {number=} opt_index
|
1791
|
-
* @return {!proto.teletubby.v1.ConfigAction}
|
1792
|
-
*/
|
1793
|
-
proto.teletubby.v1.ConfigMessage.prototype.addRequestedactions = function(opt_value, opt_index) {
|
1794
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.teletubby.v1.ConfigAction, opt_index);
|
1795
|
-
};
|
1796
|
-
|
1797
|
-
|
1798
|
-
/**
|
1799
|
-
* Clears the list making it empty but non-null.
|
1800
|
-
* @return {!proto.teletubby.v1.ConfigMessage} returns this
|
1801
|
-
*/
|
1802
|
-
proto.teletubby.v1.ConfigMessage.prototype.clearRequestedactionsList = function() {
|
1803
|
-
return this.setRequestedactionsList([]);
|
1804
|
-
};
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
/**
|
1809
|
-
* List of repeated fields within this message type.
|
1810
|
-
* @private {!Array<number>}
|
1811
|
-
* @const
|
1812
|
-
*/
|
1813
|
-
proto.teletubby.v1.ConfigAction.repeatedFields_ = [2];
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1818
|
-
/**
|
1819
|
-
* Creates an object representation of this proto.
|
1820
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1821
|
-
* Optional fields that are not set will be set to undefined.
|
1822
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1823
|
-
* For the list of reserved names please see:
|
1824
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1825
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1826
|
-
* JSPB instance for transitional soy proto support:
|
1827
|
-
* http://goto/soy-param-migration
|
1828
|
-
* @return {!Object}
|
1829
|
-
*/
|
1830
|
-
proto.teletubby.v1.ConfigAction.prototype.toObject = function(opt_includeInstance) {
|
1831
|
-
return proto.teletubby.v1.ConfigAction.toObject(opt_includeInstance, this);
|
1832
|
-
};
|
1833
|
-
|
1834
|
-
|
1835
|
-
/**
|
1836
|
-
* Static version of the {@see toObject} method.
|
1837
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1838
|
-
* the JSPB instance for transitional soy proto support:
|
1839
|
-
* http://goto/soy-param-migration
|
1840
|
-
* @param {!proto.teletubby.v1.ConfigAction} msg The msg instance to transform.
|
1841
|
-
* @return {!Object}
|
1842
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1843
|
-
*/
|
1844
|
-
proto.teletubby.v1.ConfigAction.toObject = function(includeInstance, msg) {
|
1845
|
-
var f, obj = {
|
1846
|
-
operation: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1847
|
-
sourcesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
1848
|
-
};
|
1849
|
-
|
1850
|
-
if (includeInstance) {
|
1851
|
-
obj.$jspbMessageInstance = msg;
|
1852
|
-
}
|
1853
|
-
return obj;
|
1854
|
-
};
|
1855
|
-
}
|
1856
|
-
|
1857
|
-
|
1858
|
-
/**
|
1859
|
-
* Deserializes binary data (in protobuf wire format).
|
1860
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1861
|
-
* @return {!proto.teletubby.v1.ConfigAction}
|
1862
|
-
*/
|
1863
|
-
proto.teletubby.v1.ConfigAction.deserializeBinary = function(bytes) {
|
1864
|
-
var reader = new jspb.BinaryReader(bytes);
|
1865
|
-
var msg = new proto.teletubby.v1.ConfigAction;
|
1866
|
-
return proto.teletubby.v1.ConfigAction.deserializeBinaryFromReader(msg, reader);
|
1867
|
-
};
|
1868
|
-
|
1869
|
-
|
1870
|
-
/**
|
1871
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1872
|
-
* given reader into the given message object.
|
1873
|
-
* @param {!proto.teletubby.v1.ConfigAction} msg The message object to deserialize into.
|
1874
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1875
|
-
* @return {!proto.teletubby.v1.ConfigAction}
|
1876
|
-
*/
|
1877
|
-
proto.teletubby.v1.ConfigAction.deserializeBinaryFromReader = function(msg, reader) {
|
1878
|
-
while (reader.nextField()) {
|
1879
|
-
if (reader.isEndGroup()) {
|
1880
|
-
break;
|
1881
|
-
}
|
1882
|
-
var field = reader.getFieldNumber();
|
1883
|
-
switch (field) {
|
1884
|
-
case 1:
|
1885
|
-
var value = /** @type {string} */ (reader.readString());
|
1886
|
-
msg.setOperation(value);
|
1887
|
-
break;
|
1888
|
-
case 2:
|
1889
|
-
var value = /** @type {string} */ (reader.readString());
|
1890
|
-
msg.addSources(value);
|
1891
|
-
break;
|
1892
|
-
default:
|
1893
|
-
reader.skipField();
|
1894
|
-
break;
|
1895
|
-
}
|
1896
|
-
}
|
1897
|
-
return msg;
|
1898
|
-
};
|
1899
|
-
|
1900
|
-
|
1901
|
-
/**
|
1902
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1903
|
-
* @return {!Uint8Array}
|
1904
|
-
*/
|
1905
|
-
proto.teletubby.v1.ConfigAction.prototype.serializeBinary = function() {
|
1906
|
-
var writer = new jspb.BinaryWriter();
|
1907
|
-
proto.teletubby.v1.ConfigAction.serializeBinaryToWriter(this, writer);
|
1908
|
-
return writer.getResultBuffer();
|
1909
|
-
};
|
1910
|
-
|
1911
|
-
|
1912
|
-
/**
|
1913
|
-
* Serializes the given message to binary data (in protobuf wire
|
1914
|
-
* format), writing to the given BinaryWriter.
|
1915
|
-
* @param {!proto.teletubby.v1.ConfigAction} message
|
1916
|
-
* @param {!jspb.BinaryWriter} writer
|
1917
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1918
|
-
*/
|
1919
|
-
proto.teletubby.v1.ConfigAction.serializeBinaryToWriter = function(message, writer) {
|
1920
|
-
var f = undefined;
|
1921
|
-
f = message.getOperation();
|
1922
|
-
if (f.length > 0) {
|
1923
|
-
writer.writeString(
|
1924
|
-
1,
|
1925
|
-
f
|
1926
|
-
);
|
1927
|
-
}
|
1928
|
-
f = message.getSourcesList();
|
1929
|
-
if (f.length > 0) {
|
1930
|
-
writer.writeRepeatedString(
|
1931
|
-
2,
|
1932
|
-
f
|
1933
|
-
);
|
1934
|
-
}
|
1935
|
-
};
|
1936
|
-
|
1937
|
-
|
1938
|
-
/**
|
1939
|
-
* optional string operation = 1;
|
1940
|
-
* @return {string}
|
1941
|
-
*/
|
1942
|
-
proto.teletubby.v1.ConfigAction.prototype.getOperation = function() {
|
1943
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1944
|
-
};
|
1945
|
-
|
1946
|
-
|
1947
|
-
/**
|
1948
|
-
* @param {string} value
|
1949
|
-
* @return {!proto.teletubby.v1.ConfigAction} returns this
|
1950
|
-
*/
|
1951
|
-
proto.teletubby.v1.ConfigAction.prototype.setOperation = function(value) {
|
1952
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1953
|
-
};
|
1954
|
-
|
1955
|
-
|
1956
|
-
/**
|
1957
|
-
* repeated string sources = 2;
|
1958
|
-
* @return {!Array<string>}
|
1959
|
-
*/
|
1960
|
-
proto.teletubby.v1.ConfigAction.prototype.getSourcesList = function() {
|
1961
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
1962
|
-
};
|
1963
|
-
|
1964
|
-
|
1965
|
-
/**
|
1966
|
-
* @param {!Array<string>} value
|
1967
|
-
* @return {!proto.teletubby.v1.ConfigAction} returns this
|
1968
|
-
*/
|
1969
|
-
proto.teletubby.v1.ConfigAction.prototype.setSourcesList = function(value) {
|
1970
|
-
return jspb.Message.setField(this, 2, value || []);
|
1971
|
-
};
|
1972
|
-
|
1973
|
-
|
1974
|
-
/**
|
1975
|
-
* @param {string} value
|
1976
|
-
* @param {number=} opt_index
|
1977
|
-
* @return {!proto.teletubby.v1.ConfigAction} returns this
|
1978
|
-
*/
|
1979
|
-
proto.teletubby.v1.ConfigAction.prototype.addSources = function(value, opt_index) {
|
1980
|
-
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
1981
|
-
};
|
1982
|
-
|
1983
|
-
|
1984
|
-
/**
|
1985
|
-
* Clears the list making it empty but non-null.
|
1986
|
-
* @return {!proto.teletubby.v1.ConfigAction} returns this
|
1987
|
-
*/
|
1988
|
-
proto.teletubby.v1.ConfigAction.prototype.clearSourcesList = function() {
|
1989
|
-
return this.setSourcesList([]);
|
1990
|
-
};
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
/**
|
1995
|
-
* List of repeated fields within this message type.
|
1996
|
-
* @private {!Array<number>}
|
1997
|
-
* @const
|
1998
|
-
*/
|
1999
|
-
proto.teletubby.v1.TelemetryRequest.repeatedFields_ = [2];
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2004
|
-
/**
|
2005
|
-
* Creates an object representation of this proto.
|
2006
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2007
|
-
* Optional fields that are not set will be set to undefined.
|
2008
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2009
|
-
* For the list of reserved names please see:
|
2010
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2011
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2012
|
-
* JSPB instance for transitional soy proto support:
|
2013
|
-
* http://goto/soy-param-migration
|
2014
|
-
* @return {!Object}
|
2015
|
-
*/
|
2016
|
-
proto.teletubby.v1.TelemetryRequest.prototype.toObject = function(opt_includeInstance) {
|
2017
|
-
return proto.teletubby.v1.TelemetryRequest.toObject(opt_includeInstance, this);
|
2018
|
-
};
|
2019
|
-
|
2020
|
-
|
2021
|
-
/**
|
2022
|
-
* Static version of the {@see toObject} method.
|
2023
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2024
|
-
* the JSPB instance for transitional soy proto support:
|
2025
|
-
* http://goto/soy-param-migration
|
2026
|
-
* @param {!proto.teletubby.v1.TelemetryRequest} msg The msg instance to transform.
|
2027
|
-
* @return {!Object}
|
2028
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2029
|
-
*/
|
2030
|
-
proto.teletubby.v1.TelemetryRequest.toObject = function(includeInstance, msg) {
|
2031
|
-
var f, obj = {
|
2032
|
-
subscriberid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2033
|
-
requestedactionsList: jspb.Message.toObjectList(msg.getRequestedactionsList(),
|
2034
|
-
proto.teletubby.v1.TelemetryAction.toObject, includeInstance)
|
2035
|
-
};
|
2036
|
-
|
2037
|
-
if (includeInstance) {
|
2038
|
-
obj.$jspbMessageInstance = msg;
|
2039
|
-
}
|
2040
|
-
return obj;
|
2041
|
-
};
|
2042
|
-
}
|
2043
|
-
|
2044
|
-
|
2045
|
-
/**
|
2046
|
-
* Deserializes binary data (in protobuf wire format).
|
2047
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2048
|
-
* @return {!proto.teletubby.v1.TelemetryRequest}
|
2049
|
-
*/
|
2050
|
-
proto.teletubby.v1.TelemetryRequest.deserializeBinary = function(bytes) {
|
2051
|
-
var reader = new jspb.BinaryReader(bytes);
|
2052
|
-
var msg = new proto.teletubby.v1.TelemetryRequest;
|
2053
|
-
return proto.teletubby.v1.TelemetryRequest.deserializeBinaryFromReader(msg, reader);
|
2054
|
-
};
|
2055
|
-
|
2056
|
-
|
2057
|
-
/**
|
2058
|
-
* Deserializes binary data (in protobuf wire format) from the
|
2059
|
-
* given reader into the given message object.
|
2060
|
-
* @param {!proto.teletubby.v1.TelemetryRequest} msg The message object to deserialize into.
|
2061
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2062
|
-
* @return {!proto.teletubby.v1.TelemetryRequest}
|
2063
|
-
*/
|
2064
|
-
proto.teletubby.v1.TelemetryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
2065
|
-
while (reader.nextField()) {
|
2066
|
-
if (reader.isEndGroup()) {
|
2067
|
-
break;
|
2068
|
-
}
|
2069
|
-
var field = reader.getFieldNumber();
|
2070
|
-
switch (field) {
|
2071
|
-
case 1:
|
2072
|
-
var value = /** @type {string} */ (reader.readString());
|
2073
|
-
msg.setSubscriberid(value);
|
2074
|
-
break;
|
2075
|
-
case 2:
|
2076
|
-
var value = new proto.teletubby.v1.TelemetryAction;
|
2077
|
-
reader.readMessage(value,proto.teletubby.v1.TelemetryAction.deserializeBinaryFromReader);
|
2078
|
-
msg.addRequestedactions(value);
|
2079
|
-
break;
|
2080
|
-
default:
|
2081
|
-
reader.skipField();
|
2082
|
-
break;
|
2083
|
-
}
|
2084
|
-
}
|
2085
|
-
return msg;
|
2086
|
-
};
|
2087
|
-
|
2088
|
-
|
2089
|
-
/**
|
2090
|
-
* Serializes the message to binary data (in protobuf wire format).
|
2091
|
-
* @return {!Uint8Array}
|
2092
|
-
*/
|
2093
|
-
proto.teletubby.v1.TelemetryRequest.prototype.serializeBinary = function() {
|
2094
|
-
var writer = new jspb.BinaryWriter();
|
2095
|
-
proto.teletubby.v1.TelemetryRequest.serializeBinaryToWriter(this, writer);
|
2096
|
-
return writer.getResultBuffer();
|
2097
|
-
};
|
2098
|
-
|
2099
|
-
|
2100
|
-
/**
|
2101
|
-
* Serializes the given message to binary data (in protobuf wire
|
2102
|
-
* format), writing to the given BinaryWriter.
|
2103
|
-
* @param {!proto.teletubby.v1.TelemetryRequest} message
|
2104
|
-
* @param {!jspb.BinaryWriter} writer
|
2105
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2106
|
-
*/
|
2107
|
-
proto.teletubby.v1.TelemetryRequest.serializeBinaryToWriter = function(message, writer) {
|
2108
|
-
var f = undefined;
|
2109
|
-
f = message.getSubscriberid();
|
2110
|
-
if (f.length > 0) {
|
2111
|
-
writer.writeString(
|
2112
|
-
1,
|
2113
|
-
f
|
2114
|
-
);
|
2115
|
-
}
|
2116
|
-
f = message.getRequestedactionsList();
|
2117
|
-
if (f.length > 0) {
|
2118
|
-
writer.writeRepeatedMessage(
|
2119
|
-
2,
|
2120
|
-
f,
|
2121
|
-
proto.teletubby.v1.TelemetryAction.serializeBinaryToWriter
|
2122
|
-
);
|
2123
|
-
}
|
2124
|
-
};
|
2125
|
-
|
2126
|
-
|
2127
|
-
/**
|
2128
|
-
* optional string subscriberId = 1;
|
2129
|
-
* @return {string}
|
2130
|
-
*/
|
2131
|
-
proto.teletubby.v1.TelemetryRequest.prototype.getSubscriberid = function() {
|
2132
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2133
|
-
};
|
2134
|
-
|
2135
|
-
|
2136
|
-
/**
|
2137
|
-
* @param {string} value
|
2138
|
-
* @return {!proto.teletubby.v1.TelemetryRequest} returns this
|
2139
|
-
*/
|
2140
|
-
proto.teletubby.v1.TelemetryRequest.prototype.setSubscriberid = function(value) {
|
2141
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
2142
|
-
};
|
2143
|
-
|
2144
|
-
|
2145
|
-
/**
|
2146
|
-
* repeated TelemetryAction requestedActions = 2;
|
2147
|
-
* @return {!Array<!proto.teletubby.v1.TelemetryAction>}
|
2148
|
-
*/
|
2149
|
-
proto.teletubby.v1.TelemetryRequest.prototype.getRequestedactionsList = function() {
|
2150
|
-
return /** @type{!Array<!proto.teletubby.v1.TelemetryAction>} */ (
|
2151
|
-
jspb.Message.getRepeatedWrapperField(this, proto.teletubby.v1.TelemetryAction, 2));
|
2152
|
-
};
|
2153
|
-
|
2154
|
-
|
2155
|
-
/**
|
2156
|
-
* @param {!Array<!proto.teletubby.v1.TelemetryAction>} value
|
2157
|
-
* @return {!proto.teletubby.v1.TelemetryRequest} returns this
|
2158
|
-
*/
|
2159
|
-
proto.teletubby.v1.TelemetryRequest.prototype.setRequestedactionsList = function(value) {
|
2160
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
2161
|
-
};
|
2162
|
-
|
2163
|
-
|
2164
|
-
/**
|
2165
|
-
* @param {!proto.teletubby.v1.TelemetryAction=} opt_value
|
2166
|
-
* @param {number=} opt_index
|
2167
|
-
* @return {!proto.teletubby.v1.TelemetryAction}
|
2168
|
-
*/
|
2169
|
-
proto.teletubby.v1.TelemetryRequest.prototype.addRequestedactions = function(opt_value, opt_index) {
|
2170
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.teletubby.v1.TelemetryAction, opt_index);
|
2171
|
-
};
|
2172
|
-
|
2173
|
-
|
2174
|
-
/**
|
2175
|
-
* Clears the list making it empty but non-null.
|
2176
|
-
* @return {!proto.teletubby.v1.TelemetryRequest} returns this
|
2177
|
-
*/
|
2178
|
-
proto.teletubby.v1.TelemetryRequest.prototype.clearRequestedactionsList = function() {
|
2179
|
-
return this.setRequestedactionsList([]);
|
2180
|
-
};
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
/**
|
2185
|
-
* List of repeated fields within this message type.
|
2186
|
-
* @private {!Array<number>}
|
2187
|
-
* @const
|
2188
|
-
*/
|
2189
|
-
proto.teletubby.v1.TelemetryQueryRequest.repeatedFields_ = [4];
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2194
|
-
/**
|
2195
|
-
* Creates an object representation of this proto.
|
2196
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2197
|
-
* Optional fields that are not set will be set to undefined.
|
2198
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2199
|
-
* For the list of reserved names please see:
|
2200
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2201
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2202
|
-
* JSPB instance for transitional soy proto support:
|
2203
|
-
* http://goto/soy-param-migration
|
2204
|
-
* @return {!Object}
|
2205
|
-
*/
|
2206
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.toObject = function(opt_includeInstance) {
|
2207
|
-
return proto.teletubby.v1.TelemetryQueryRequest.toObject(opt_includeInstance, this);
|
2208
|
-
};
|
2209
|
-
|
2210
|
-
|
2211
|
-
/**
|
2212
|
-
* Static version of the {@see toObject} method.
|
2213
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2214
|
-
* the JSPB instance for transitional soy proto support:
|
2215
|
-
* http://goto/soy-param-migration
|
2216
|
-
* @param {!proto.teletubby.v1.TelemetryQueryRequest} msg The msg instance to transform.
|
2217
|
-
* @return {!Object}
|
2218
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2219
|
-
*/
|
2220
|
-
proto.teletubby.v1.TelemetryQueryRequest.toObject = function(includeInstance, msg) {
|
2221
|
-
var f, obj = {
|
2222
|
-
subscriberid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2223
|
-
operation: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2224
|
-
callsignquery: (f = msg.getCallsignquery()) && proto.teletubby.v1.Query.toObject(includeInstance, f),
|
2225
|
-
sourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
2226
|
-
};
|
2227
|
-
|
2228
|
-
if (includeInstance) {
|
2229
|
-
obj.$jspbMessageInstance = msg;
|
2230
|
-
}
|
2231
|
-
return obj;
|
2232
|
-
};
|
2233
|
-
}
|
2234
|
-
|
2235
|
-
|
2236
|
-
/**
|
2237
|
-
* Deserializes binary data (in protobuf wire format).
|
2238
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2239
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest}
|
2240
|
-
*/
|
2241
|
-
proto.teletubby.v1.TelemetryQueryRequest.deserializeBinary = function(bytes) {
|
2242
|
-
var reader = new jspb.BinaryReader(bytes);
|
2243
|
-
var msg = new proto.teletubby.v1.TelemetryQueryRequest;
|
2244
|
-
return proto.teletubby.v1.TelemetryQueryRequest.deserializeBinaryFromReader(msg, reader);
|
2245
|
-
};
|
2246
|
-
|
2247
|
-
|
2248
|
-
/**
|
2249
|
-
* Deserializes binary data (in protobuf wire format) from the
|
2250
|
-
* given reader into the given message object.
|
2251
|
-
* @param {!proto.teletubby.v1.TelemetryQueryRequest} msg The message object to deserialize into.
|
2252
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2253
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest}
|
2254
|
-
*/
|
2255
|
-
proto.teletubby.v1.TelemetryQueryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
2256
|
-
while (reader.nextField()) {
|
2257
|
-
if (reader.isEndGroup()) {
|
2258
|
-
break;
|
2259
|
-
}
|
2260
|
-
var field = reader.getFieldNumber();
|
2261
|
-
switch (field) {
|
2262
|
-
case 1:
|
2263
|
-
var value = /** @type {string} */ (reader.readString());
|
2264
|
-
msg.setSubscriberid(value);
|
2265
|
-
break;
|
2266
|
-
case 2:
|
2267
|
-
var value = /** @type {string} */ (reader.readString());
|
2268
|
-
msg.setOperation(value);
|
2269
|
-
break;
|
2270
|
-
case 3:
|
2271
|
-
var value = new proto.teletubby.v1.Query;
|
2272
|
-
reader.readMessage(value,proto.teletubby.v1.Query.deserializeBinaryFromReader);
|
2273
|
-
msg.setCallsignquery(value);
|
2274
|
-
break;
|
2275
|
-
case 4:
|
2276
|
-
var value = /** @type {string} */ (reader.readString());
|
2277
|
-
msg.addSources(value);
|
2278
|
-
break;
|
2279
|
-
default:
|
2280
|
-
reader.skipField();
|
2281
|
-
break;
|
2282
|
-
}
|
2283
|
-
}
|
2284
|
-
return msg;
|
2285
|
-
};
|
2286
|
-
|
2287
|
-
|
2288
|
-
/**
|
2289
|
-
* Serializes the message to binary data (in protobuf wire format).
|
2290
|
-
* @return {!Uint8Array}
|
2291
|
-
*/
|
2292
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.serializeBinary = function() {
|
2293
|
-
var writer = new jspb.BinaryWriter();
|
2294
|
-
proto.teletubby.v1.TelemetryQueryRequest.serializeBinaryToWriter(this, writer);
|
2295
|
-
return writer.getResultBuffer();
|
2296
|
-
};
|
2297
|
-
|
2298
|
-
|
2299
|
-
/**
|
2300
|
-
* Serializes the given message to binary data (in protobuf wire
|
2301
|
-
* format), writing to the given BinaryWriter.
|
2302
|
-
* @param {!proto.teletubby.v1.TelemetryQueryRequest} message
|
2303
|
-
* @param {!jspb.BinaryWriter} writer
|
2304
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2305
|
-
*/
|
2306
|
-
proto.teletubby.v1.TelemetryQueryRequest.serializeBinaryToWriter = function(message, writer) {
|
2307
|
-
var f = undefined;
|
2308
|
-
f = message.getSubscriberid();
|
2309
|
-
if (f.length > 0) {
|
2310
|
-
writer.writeString(
|
2311
|
-
1,
|
2312
|
-
f
|
2313
|
-
);
|
2314
|
-
}
|
2315
|
-
f = message.getOperation();
|
2316
|
-
if (f.length > 0) {
|
2317
|
-
writer.writeString(
|
2318
|
-
2,
|
2319
|
-
f
|
2320
|
-
);
|
2321
|
-
}
|
2322
|
-
f = message.getCallsignquery();
|
2323
|
-
if (f != null) {
|
2324
|
-
writer.writeMessage(
|
2325
|
-
3,
|
2326
|
-
f,
|
2327
|
-
proto.teletubby.v1.Query.serializeBinaryToWriter
|
2328
|
-
);
|
2329
|
-
}
|
2330
|
-
f = message.getSourcesList();
|
2331
|
-
if (f.length > 0) {
|
2332
|
-
writer.writeRepeatedString(
|
2333
|
-
4,
|
2334
|
-
f
|
2335
|
-
);
|
2336
|
-
}
|
2337
|
-
};
|
2338
|
-
|
2339
|
-
|
2340
|
-
/**
|
2341
|
-
* optional string subscriberId = 1;
|
2342
|
-
* @return {string}
|
2343
|
-
*/
|
2344
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.getSubscriberid = function() {
|
2345
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2346
|
-
};
|
2347
|
-
|
2348
|
-
|
2349
|
-
/**
|
2350
|
-
* @param {string} value
|
2351
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2352
|
-
*/
|
2353
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.setSubscriberid = function(value) {
|
2354
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
2355
|
-
};
|
2356
|
-
|
2357
|
-
|
2358
|
-
/**
|
2359
|
-
* optional string operation = 2;
|
2360
|
-
* @return {string}
|
2361
|
-
*/
|
2362
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.getOperation = function() {
|
2363
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2364
|
-
};
|
2365
|
-
|
2366
|
-
|
2367
|
-
/**
|
2368
|
-
* @param {string} value
|
2369
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2370
|
-
*/
|
2371
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.setOperation = function(value) {
|
2372
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
2373
|
-
};
|
2374
|
-
|
2375
|
-
|
2376
|
-
/**
|
2377
|
-
* optional Query callsignQuery = 3;
|
2378
|
-
* @return {?proto.teletubby.v1.Query}
|
2379
|
-
*/
|
2380
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.getCallsignquery = function() {
|
2381
|
-
return /** @type{?proto.teletubby.v1.Query} */ (
|
2382
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.Query, 3));
|
2383
|
-
};
|
2384
|
-
|
2385
|
-
|
2386
|
-
/**
|
2387
|
-
* @param {?proto.teletubby.v1.Query|undefined} value
|
2388
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2389
|
-
*/
|
2390
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.setCallsignquery = function(value) {
|
2391
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
2392
|
-
};
|
2393
|
-
|
2394
|
-
|
2395
|
-
/**
|
2396
|
-
* Clears the message field making it undefined.
|
2397
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2398
|
-
*/
|
2399
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.clearCallsignquery = function() {
|
2400
|
-
return this.setCallsignquery(undefined);
|
2401
|
-
};
|
2402
|
-
|
2403
|
-
|
2404
|
-
/**
|
2405
|
-
* Returns whether this field is set.
|
2406
|
-
* @return {boolean}
|
2407
|
-
*/
|
2408
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.hasCallsignquery = function() {
|
2409
|
-
return jspb.Message.getField(this, 3) != null;
|
2410
|
-
};
|
2411
|
-
|
2412
|
-
|
2413
|
-
/**
|
2414
|
-
* repeated string sources = 4;
|
2415
|
-
* @return {!Array<string>}
|
2416
|
-
*/
|
2417
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.getSourcesList = function() {
|
2418
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
2419
|
-
};
|
2420
|
-
|
2421
|
-
|
2422
|
-
/**
|
2423
|
-
* @param {!Array<string>} value
|
2424
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2425
|
-
*/
|
2426
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.setSourcesList = function(value) {
|
2427
|
-
return jspb.Message.setField(this, 4, value || []);
|
2428
|
-
};
|
2429
|
-
|
2430
|
-
|
2431
|
-
/**
|
2432
|
-
* @param {string} value
|
2433
|
-
* @param {number=} opt_index
|
2434
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2435
|
-
*/
|
2436
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.addSources = function(value, opt_index) {
|
2437
|
-
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
2438
|
-
};
|
2439
|
-
|
2440
|
-
|
2441
|
-
/**
|
2442
|
-
* Clears the list making it empty but non-null.
|
2443
|
-
* @return {!proto.teletubby.v1.TelemetryQueryRequest} returns this
|
2444
|
-
*/
|
2445
|
-
proto.teletubby.v1.TelemetryQueryRequest.prototype.clearSourcesList = function() {
|
2446
|
-
return this.setSourcesList([]);
|
2447
|
-
};
|
2448
|
-
|
2449
|
-
|
2450
|
-
|
2451
|
-
/**
|
2452
|
-
* List of repeated fields within this message type.
|
2453
|
-
* @private {!Array<number>}
|
2454
|
-
* @const
|
2455
|
-
*/
|
2456
|
-
proto.teletubby.v1.TelemetryAction.repeatedFields_ = [2,3];
|
2457
|
-
|
2458
|
-
/**
|
2459
|
-
* Oneof group definitions for this message. Each group defines the field
|
2460
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
2461
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
2462
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
2463
|
-
* @private {!Array<!Array<number>>}
|
2464
|
-
* @const
|
2465
|
-
*/
|
2466
|
-
proto.teletubby.v1.TelemetryAction.oneofGroups_ = [[4,5]];
|
2467
|
-
|
2468
|
-
/**
|
2469
|
-
* @enum {number}
|
2470
|
-
*/
|
2471
|
-
proto.teletubby.v1.TelemetryAction.ContentCase = {
|
2472
|
-
CONTENT_NOT_SET: 0,
|
2473
|
-
SUBSCRIBEOPERATION: 4,
|
2474
|
-
UNSUBSCRIBEOPERATION: 5
|
2475
|
-
};
|
2476
|
-
|
2477
|
-
/**
|
2478
|
-
* @return {proto.teletubby.v1.TelemetryAction.ContentCase}
|
2479
|
-
*/
|
2480
|
-
proto.teletubby.v1.TelemetryAction.prototype.getContentCase = function() {
|
2481
|
-
return /** @type {proto.teletubby.v1.TelemetryAction.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.TelemetryAction.oneofGroups_[0]));
|
2482
|
-
};
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2487
|
-
/**
|
2488
|
-
* Creates an object representation of this proto.
|
2489
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2490
|
-
* Optional fields that are not set will be set to undefined.
|
2491
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2492
|
-
* For the list of reserved names please see:
|
2493
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2494
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2495
|
-
* JSPB instance for transitional soy proto support:
|
2496
|
-
* http://goto/soy-param-migration
|
2497
|
-
* @return {!Object}
|
2498
|
-
*/
|
2499
|
-
proto.teletubby.v1.TelemetryAction.prototype.toObject = function(opt_includeInstance) {
|
2500
|
-
return proto.teletubby.v1.TelemetryAction.toObject(opt_includeInstance, this);
|
2501
|
-
};
|
2502
|
-
|
2503
|
-
|
2504
|
-
/**
|
2505
|
-
* Static version of the {@see toObject} method.
|
2506
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2507
|
-
* the JSPB instance for transitional soy proto support:
|
2508
|
-
* http://goto/soy-param-migration
|
2509
|
-
* @param {!proto.teletubby.v1.TelemetryAction} msg The msg instance to transform.
|
2510
|
-
* @return {!Object}
|
2511
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2512
|
-
*/
|
2513
|
-
proto.teletubby.v1.TelemetryAction.toObject = function(includeInstance, msg) {
|
2514
|
-
var f, obj = {
|
2515
|
-
operation: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2516
|
-
callsignsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
2517
|
-
sourcesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
2518
|
-
subscribeoperation: (f = msg.getSubscribeoperation()) && proto.teletubby.v1.SubscribeOperation.toObject(includeInstance, f),
|
2519
|
-
unsubscribeoperation: (f = msg.getUnsubscribeoperation()) && proto.teletubby.v1.UnsubscribeOperation.toObject(includeInstance, f)
|
2520
|
-
};
|
2521
|
-
|
2522
|
-
if (includeInstance) {
|
2523
|
-
obj.$jspbMessageInstance = msg;
|
2524
|
-
}
|
2525
|
-
return obj;
|
2526
|
-
};
|
2527
|
-
}
|
2528
|
-
|
2529
|
-
|
2530
|
-
/**
|
2531
|
-
* Deserializes binary data (in protobuf wire format).
|
2532
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2533
|
-
* @return {!proto.teletubby.v1.TelemetryAction}
|
2534
|
-
*/
|
2535
|
-
proto.teletubby.v1.TelemetryAction.deserializeBinary = function(bytes) {
|
2536
|
-
var reader = new jspb.BinaryReader(bytes);
|
2537
|
-
var msg = new proto.teletubby.v1.TelemetryAction;
|
2538
|
-
return proto.teletubby.v1.TelemetryAction.deserializeBinaryFromReader(msg, reader);
|
2539
|
-
};
|
2540
|
-
|
2541
|
-
|
2542
|
-
/**
|
2543
|
-
* Deserializes binary data (in protobuf wire format) from the
|
2544
|
-
* given reader into the given message object.
|
2545
|
-
* @param {!proto.teletubby.v1.TelemetryAction} msg The message object to deserialize into.
|
2546
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2547
|
-
* @return {!proto.teletubby.v1.TelemetryAction}
|
2548
|
-
*/
|
2549
|
-
proto.teletubby.v1.TelemetryAction.deserializeBinaryFromReader = function(msg, reader) {
|
2550
|
-
while (reader.nextField()) {
|
2551
|
-
if (reader.isEndGroup()) {
|
2552
|
-
break;
|
2553
|
-
}
|
2554
|
-
var field = reader.getFieldNumber();
|
2555
|
-
switch (field) {
|
2556
|
-
case 1:
|
2557
|
-
var value = /** @type {string} */ (reader.readString());
|
2558
|
-
msg.setOperation(value);
|
2559
|
-
break;
|
2560
|
-
case 2:
|
2561
|
-
var value = /** @type {string} */ (reader.readString());
|
2562
|
-
msg.addCallsigns(value);
|
2563
|
-
break;
|
2564
|
-
case 3:
|
2565
|
-
var value = /** @type {string} */ (reader.readString());
|
2566
|
-
msg.addSources(value);
|
2567
|
-
break;
|
2568
|
-
case 4:
|
2569
|
-
var value = new proto.teletubby.v1.SubscribeOperation;
|
2570
|
-
reader.readMessage(value,proto.teletubby.v1.SubscribeOperation.deserializeBinaryFromReader);
|
2571
|
-
msg.setSubscribeoperation(value);
|
2572
|
-
break;
|
2573
|
-
case 5:
|
2574
|
-
var value = new proto.teletubby.v1.UnsubscribeOperation;
|
2575
|
-
reader.readMessage(value,proto.teletubby.v1.UnsubscribeOperation.deserializeBinaryFromReader);
|
2576
|
-
msg.setUnsubscribeoperation(value);
|
2577
|
-
break;
|
2578
|
-
default:
|
2579
|
-
reader.skipField();
|
2580
|
-
break;
|
2581
|
-
}
|
2582
|
-
}
|
2583
|
-
return msg;
|
2584
|
-
};
|
2585
|
-
|
2586
|
-
|
2587
|
-
/**
|
2588
|
-
* Serializes the message to binary data (in protobuf wire format).
|
2589
|
-
* @return {!Uint8Array}
|
2590
|
-
*/
|
2591
|
-
proto.teletubby.v1.TelemetryAction.prototype.serializeBinary = function() {
|
2592
|
-
var writer = new jspb.BinaryWriter();
|
2593
|
-
proto.teletubby.v1.TelemetryAction.serializeBinaryToWriter(this, writer);
|
2594
|
-
return writer.getResultBuffer();
|
2595
|
-
};
|
2596
|
-
|
2597
|
-
|
2598
|
-
/**
|
2599
|
-
* Serializes the given message to binary data (in protobuf wire
|
2600
|
-
* format), writing to the given BinaryWriter.
|
2601
|
-
* @param {!proto.teletubby.v1.TelemetryAction} message
|
2602
|
-
* @param {!jspb.BinaryWriter} writer
|
2603
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2604
|
-
*/
|
2605
|
-
proto.teletubby.v1.TelemetryAction.serializeBinaryToWriter = function(message, writer) {
|
2606
|
-
var f = undefined;
|
2607
|
-
f = message.getOperation();
|
2608
|
-
if (f.length > 0) {
|
2609
|
-
writer.writeString(
|
2610
|
-
1,
|
2611
|
-
f
|
2612
|
-
);
|
2613
|
-
}
|
2614
|
-
f = message.getCallsignsList();
|
2615
|
-
if (f.length > 0) {
|
2616
|
-
writer.writeRepeatedString(
|
2617
|
-
2,
|
2618
|
-
f
|
2619
|
-
);
|
2620
|
-
}
|
2621
|
-
f = message.getSourcesList();
|
2622
|
-
if (f.length > 0) {
|
2623
|
-
writer.writeRepeatedString(
|
2624
|
-
3,
|
2625
|
-
f
|
2626
|
-
);
|
2627
|
-
}
|
2628
|
-
f = message.getSubscribeoperation();
|
2629
|
-
if (f != null) {
|
2630
|
-
writer.writeMessage(
|
2631
|
-
4,
|
2632
|
-
f,
|
2633
|
-
proto.teletubby.v1.SubscribeOperation.serializeBinaryToWriter
|
2634
|
-
);
|
2635
|
-
}
|
2636
|
-
f = message.getUnsubscribeoperation();
|
2637
|
-
if (f != null) {
|
2638
|
-
writer.writeMessage(
|
2639
|
-
5,
|
2640
|
-
f,
|
2641
|
-
proto.teletubby.v1.UnsubscribeOperation.serializeBinaryToWriter
|
2642
|
-
);
|
2643
|
-
}
|
2644
|
-
};
|
2645
|
-
|
2646
|
-
|
2647
|
-
/**
|
2648
|
-
* optional string operation = 1;
|
2649
|
-
* @return {string}
|
2650
|
-
*/
|
2651
|
-
proto.teletubby.v1.TelemetryAction.prototype.getOperation = function() {
|
2652
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2653
|
-
};
|
2654
|
-
|
2655
|
-
|
2656
|
-
/**
|
2657
|
-
* @param {string} value
|
2658
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2659
|
-
*/
|
2660
|
-
proto.teletubby.v1.TelemetryAction.prototype.setOperation = function(value) {
|
2661
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
2662
|
-
};
|
2663
|
-
|
2664
|
-
|
2665
|
-
/**
|
2666
|
-
* repeated string callsigns = 2;
|
2667
|
-
* @return {!Array<string>}
|
2668
|
-
*/
|
2669
|
-
proto.teletubby.v1.TelemetryAction.prototype.getCallsignsList = function() {
|
2670
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
2671
|
-
};
|
2672
|
-
|
2673
|
-
|
2674
|
-
/**
|
2675
|
-
* @param {!Array<string>} value
|
2676
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2677
|
-
*/
|
2678
|
-
proto.teletubby.v1.TelemetryAction.prototype.setCallsignsList = function(value) {
|
2679
|
-
return jspb.Message.setField(this, 2, value || []);
|
2680
|
-
};
|
2681
|
-
|
2682
|
-
|
2683
|
-
/**
|
2684
|
-
* @param {string} value
|
2685
|
-
* @param {number=} opt_index
|
2686
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2687
|
-
*/
|
2688
|
-
proto.teletubby.v1.TelemetryAction.prototype.addCallsigns = function(value, opt_index) {
|
2689
|
-
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
2690
|
-
};
|
2691
|
-
|
2692
|
-
|
2693
|
-
/**
|
2694
|
-
* Clears the list making it empty but non-null.
|
2695
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2696
|
-
*/
|
2697
|
-
proto.teletubby.v1.TelemetryAction.prototype.clearCallsignsList = function() {
|
2698
|
-
return this.setCallsignsList([]);
|
2699
|
-
};
|
2700
|
-
|
2701
|
-
|
2702
|
-
/**
|
2703
|
-
* repeated string sources = 3;
|
2704
|
-
* @return {!Array<string>}
|
2705
|
-
*/
|
2706
|
-
proto.teletubby.v1.TelemetryAction.prototype.getSourcesList = function() {
|
2707
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
2708
|
-
};
|
2709
|
-
|
2710
|
-
|
2711
|
-
/**
|
2712
|
-
* @param {!Array<string>} value
|
2713
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2714
|
-
*/
|
2715
|
-
proto.teletubby.v1.TelemetryAction.prototype.setSourcesList = function(value) {
|
2716
|
-
return jspb.Message.setField(this, 3, value || []);
|
2717
|
-
};
|
2718
|
-
|
2719
|
-
|
2720
|
-
/**
|
2721
|
-
* @param {string} value
|
2722
|
-
* @param {number=} opt_index
|
2723
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2724
|
-
*/
|
2725
|
-
proto.teletubby.v1.TelemetryAction.prototype.addSources = function(value, opt_index) {
|
2726
|
-
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
2727
|
-
};
|
2728
|
-
|
2729
|
-
|
2730
|
-
/**
|
2731
|
-
* Clears the list making it empty but non-null.
|
2732
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2733
|
-
*/
|
2734
|
-
proto.teletubby.v1.TelemetryAction.prototype.clearSourcesList = function() {
|
2735
|
-
return this.setSourcesList([]);
|
2736
|
-
};
|
2737
|
-
|
2738
|
-
|
2739
|
-
/**
|
2740
|
-
* optional SubscribeOperation subscribeOperation = 4;
|
2741
|
-
* @return {?proto.teletubby.v1.SubscribeOperation}
|
2742
|
-
*/
|
2743
|
-
proto.teletubby.v1.TelemetryAction.prototype.getSubscribeoperation = function() {
|
2744
|
-
return /** @type{?proto.teletubby.v1.SubscribeOperation} */ (
|
2745
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.SubscribeOperation, 4));
|
2746
|
-
};
|
2747
|
-
|
2748
|
-
|
2749
|
-
/**
|
2750
|
-
* @param {?proto.teletubby.v1.SubscribeOperation|undefined} value
|
2751
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2752
|
-
*/
|
2753
|
-
proto.teletubby.v1.TelemetryAction.prototype.setSubscribeoperation = function(value) {
|
2754
|
-
return jspb.Message.setOneofWrapperField(this, 4, proto.teletubby.v1.TelemetryAction.oneofGroups_[0], value);
|
2755
|
-
};
|
2756
|
-
|
2757
|
-
|
2758
|
-
/**
|
2759
|
-
* Clears the message field making it undefined.
|
2760
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2761
|
-
*/
|
2762
|
-
proto.teletubby.v1.TelemetryAction.prototype.clearSubscribeoperation = function() {
|
2763
|
-
return this.setSubscribeoperation(undefined);
|
2764
|
-
};
|
2765
|
-
|
2766
|
-
|
2767
|
-
/**
|
2768
|
-
* Returns whether this field is set.
|
2769
|
-
* @return {boolean}
|
2770
|
-
*/
|
2771
|
-
proto.teletubby.v1.TelemetryAction.prototype.hasSubscribeoperation = function() {
|
2772
|
-
return jspb.Message.getField(this, 4) != null;
|
2773
|
-
};
|
2774
|
-
|
2775
|
-
|
2776
|
-
/**
|
2777
|
-
* optional UnsubscribeOperation unsubscribeOperation = 5;
|
2778
|
-
* @return {?proto.teletubby.v1.UnsubscribeOperation}
|
2779
|
-
*/
|
2780
|
-
proto.teletubby.v1.TelemetryAction.prototype.getUnsubscribeoperation = function() {
|
2781
|
-
return /** @type{?proto.teletubby.v1.UnsubscribeOperation} */ (
|
2782
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.UnsubscribeOperation, 5));
|
2783
|
-
};
|
2784
|
-
|
2785
|
-
|
2786
|
-
/**
|
2787
|
-
* @param {?proto.teletubby.v1.UnsubscribeOperation|undefined} value
|
2788
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2789
|
-
*/
|
2790
|
-
proto.teletubby.v1.TelemetryAction.prototype.setUnsubscribeoperation = function(value) {
|
2791
|
-
return jspb.Message.setOneofWrapperField(this, 5, proto.teletubby.v1.TelemetryAction.oneofGroups_[0], value);
|
2792
|
-
};
|
2793
|
-
|
2794
|
-
|
2795
|
-
/**
|
2796
|
-
* Clears the message field making it undefined.
|
2797
|
-
* @return {!proto.teletubby.v1.TelemetryAction} returns this
|
2798
|
-
*/
|
2799
|
-
proto.teletubby.v1.TelemetryAction.prototype.clearUnsubscribeoperation = function() {
|
2800
|
-
return this.setUnsubscribeoperation(undefined);
|
2801
|
-
};
|
2802
|
-
|
2803
|
-
|
2804
|
-
/**
|
2805
|
-
* Returns whether this field is set.
|
2806
|
-
* @return {boolean}
|
2807
|
-
*/
|
2808
|
-
proto.teletubby.v1.TelemetryAction.prototype.hasUnsubscribeoperation = function() {
|
2809
|
-
return jspb.Message.getField(this, 5) != null;
|
2810
|
-
};
|
2811
|
-
|
2812
|
-
|
2813
|
-
|
2814
|
-
/**
|
2815
|
-
* List of repeated fields within this message type.
|
2816
|
-
* @private {!Array<number>}
|
2817
|
-
* @const
|
2818
|
-
*/
|
2819
|
-
proto.teletubby.v1.SubscribeOperation.repeatedFields_ = [1];
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2824
|
-
/**
|
2825
|
-
* Creates an object representation of this proto.
|
2826
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2827
|
-
* Optional fields that are not set will be set to undefined.
|
2828
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2829
|
-
* For the list of reserved names please see:
|
2830
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2831
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2832
|
-
* JSPB instance for transitional soy proto support:
|
2833
|
-
* http://goto/soy-param-migration
|
2834
|
-
* @return {!Object}
|
2835
|
-
*/
|
2836
|
-
proto.teletubby.v1.SubscribeOperation.prototype.toObject = function(opt_includeInstance) {
|
2837
|
-
return proto.teletubby.v1.SubscribeOperation.toObject(opt_includeInstance, this);
|
2838
|
-
};
|
2839
|
-
|
2840
|
-
|
2841
|
-
/**
|
2842
|
-
* Static version of the {@see toObject} method.
|
2843
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
2844
|
-
* the JSPB instance for transitional soy proto support:
|
2845
|
-
* http://goto/soy-param-migration
|
2846
|
-
* @param {!proto.teletubby.v1.SubscribeOperation} msg The msg instance to transform.
|
2847
|
-
* @return {!Object}
|
2848
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2849
|
-
*/
|
2850
|
-
proto.teletubby.v1.SubscribeOperation.toObject = function(includeInstance, msg) {
|
2851
|
-
var f, obj = {
|
2852
|
-
optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
|
2853
|
-
proto.teletubby.v1.SubscribeOption.toObject, includeInstance)
|
2854
|
-
};
|
2855
|
-
|
2856
|
-
if (includeInstance) {
|
2857
|
-
obj.$jspbMessageInstance = msg;
|
2858
|
-
}
|
2859
|
-
return obj;
|
2860
|
-
};
|
2861
|
-
}
|
2862
|
-
|
2863
|
-
|
2864
|
-
/**
|
2865
|
-
* Deserializes binary data (in protobuf wire format).
|
2866
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
2867
|
-
* @return {!proto.teletubby.v1.SubscribeOperation}
|
2868
|
-
*/
|
2869
|
-
proto.teletubby.v1.SubscribeOperation.deserializeBinary = function(bytes) {
|
2870
|
-
var reader = new jspb.BinaryReader(bytes);
|
2871
|
-
var msg = new proto.teletubby.v1.SubscribeOperation;
|
2872
|
-
return proto.teletubby.v1.SubscribeOperation.deserializeBinaryFromReader(msg, reader);
|
2873
|
-
};
|
2874
|
-
|
2875
|
-
|
2876
|
-
/**
|
2877
|
-
* Deserializes binary data (in protobuf wire format) from the
|
2878
|
-
* given reader into the given message object.
|
2879
|
-
* @param {!proto.teletubby.v1.SubscribeOperation} msg The message object to deserialize into.
|
2880
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
2881
|
-
* @return {!proto.teletubby.v1.SubscribeOperation}
|
2882
|
-
*/
|
2883
|
-
proto.teletubby.v1.SubscribeOperation.deserializeBinaryFromReader = function(msg, reader) {
|
2884
|
-
while (reader.nextField()) {
|
2885
|
-
if (reader.isEndGroup()) {
|
2886
|
-
break;
|
2887
|
-
}
|
2888
|
-
var field = reader.getFieldNumber();
|
2889
|
-
switch (field) {
|
2890
|
-
case 1:
|
2891
|
-
var value = new proto.teletubby.v1.SubscribeOption;
|
2892
|
-
reader.readMessage(value,proto.teletubby.v1.SubscribeOption.deserializeBinaryFromReader);
|
2893
|
-
msg.addOptions(value);
|
2894
|
-
break;
|
2895
|
-
default:
|
2896
|
-
reader.skipField();
|
2897
|
-
break;
|
2898
|
-
}
|
2899
|
-
}
|
2900
|
-
return msg;
|
2901
|
-
};
|
2902
|
-
|
2903
|
-
|
2904
|
-
/**
|
2905
|
-
* Serializes the message to binary data (in protobuf wire format).
|
2906
|
-
* @return {!Uint8Array}
|
2907
|
-
*/
|
2908
|
-
proto.teletubby.v1.SubscribeOperation.prototype.serializeBinary = function() {
|
2909
|
-
var writer = new jspb.BinaryWriter();
|
2910
|
-
proto.teletubby.v1.SubscribeOperation.serializeBinaryToWriter(this, writer);
|
2911
|
-
return writer.getResultBuffer();
|
2912
|
-
};
|
2913
|
-
|
2914
|
-
|
2915
|
-
/**
|
2916
|
-
* Serializes the given message to binary data (in protobuf wire
|
2917
|
-
* format), writing to the given BinaryWriter.
|
2918
|
-
* @param {!proto.teletubby.v1.SubscribeOperation} message
|
2919
|
-
* @param {!jspb.BinaryWriter} writer
|
2920
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
2921
|
-
*/
|
2922
|
-
proto.teletubby.v1.SubscribeOperation.serializeBinaryToWriter = function(message, writer) {
|
2923
|
-
var f = undefined;
|
2924
|
-
f = message.getOptionsList();
|
2925
|
-
if (f.length > 0) {
|
2926
|
-
writer.writeRepeatedMessage(
|
2927
|
-
1,
|
2928
|
-
f,
|
2929
|
-
proto.teletubby.v1.SubscribeOption.serializeBinaryToWriter
|
2930
|
-
);
|
2931
|
-
}
|
2932
|
-
};
|
2933
|
-
|
2934
|
-
|
2935
|
-
/**
|
2936
|
-
* repeated SubscribeOption options = 1;
|
2937
|
-
* @return {!Array<!proto.teletubby.v1.SubscribeOption>}
|
2938
|
-
*/
|
2939
|
-
proto.teletubby.v1.SubscribeOperation.prototype.getOptionsList = function() {
|
2940
|
-
return /** @type{!Array<!proto.teletubby.v1.SubscribeOption>} */ (
|
2941
|
-
jspb.Message.getRepeatedWrapperField(this, proto.teletubby.v1.SubscribeOption, 1));
|
2942
|
-
};
|
2943
|
-
|
2944
|
-
|
2945
|
-
/**
|
2946
|
-
* @param {!Array<!proto.teletubby.v1.SubscribeOption>} value
|
2947
|
-
* @return {!proto.teletubby.v1.SubscribeOperation} returns this
|
2948
|
-
*/
|
2949
|
-
proto.teletubby.v1.SubscribeOperation.prototype.setOptionsList = function(value) {
|
2950
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
2951
|
-
};
|
2952
|
-
|
2953
|
-
|
2954
|
-
/**
|
2955
|
-
* @param {!proto.teletubby.v1.SubscribeOption=} opt_value
|
2956
|
-
* @param {number=} opt_index
|
2957
|
-
* @return {!proto.teletubby.v1.SubscribeOption}
|
2958
|
-
*/
|
2959
|
-
proto.teletubby.v1.SubscribeOperation.prototype.addOptions = function(opt_value, opt_index) {
|
2960
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.teletubby.v1.SubscribeOption, opt_index);
|
2961
|
-
};
|
2962
|
-
|
2963
|
-
|
2964
|
-
/**
|
2965
|
-
* Clears the list making it empty but non-null.
|
2966
|
-
* @return {!proto.teletubby.v1.SubscribeOperation} returns this
|
2967
|
-
*/
|
2968
|
-
proto.teletubby.v1.SubscribeOperation.prototype.clearOptionsList = function() {
|
2969
|
-
return this.setOptionsList([]);
|
2970
|
-
};
|
2971
|
-
|
2972
|
-
|
2973
|
-
|
2974
|
-
/**
|
2975
|
-
* List of repeated fields within this message type.
|
2976
|
-
* @private {!Array<number>}
|
2977
|
-
* @const
|
2978
|
-
*/
|
2979
|
-
proto.teletubby.v1.UnsubscribeOperation.repeatedFields_ = [1];
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
2984
|
-
/**
|
2985
|
-
* Creates an object representation of this proto.
|
2986
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
2987
|
-
* Optional fields that are not set will be set to undefined.
|
2988
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
2989
|
-
* For the list of reserved names please see:
|
2990
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
2991
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
2992
|
-
* JSPB instance for transitional soy proto support:
|
2993
|
-
* http://goto/soy-param-migration
|
2994
|
-
* @return {!Object}
|
2995
|
-
*/
|
2996
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.toObject = function(opt_includeInstance) {
|
2997
|
-
return proto.teletubby.v1.UnsubscribeOperation.toObject(opt_includeInstance, this);
|
2998
|
-
};
|
2999
|
-
|
3000
|
-
|
3001
|
-
/**
|
3002
|
-
* Static version of the {@see toObject} method.
|
3003
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3004
|
-
* the JSPB instance for transitional soy proto support:
|
3005
|
-
* http://goto/soy-param-migration
|
3006
|
-
* @param {!proto.teletubby.v1.UnsubscribeOperation} msg The msg instance to transform.
|
3007
|
-
* @return {!Object}
|
3008
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3009
|
-
*/
|
3010
|
-
proto.teletubby.v1.UnsubscribeOperation.toObject = function(includeInstance, msg) {
|
3011
|
-
var f, obj = {
|
3012
|
-
optionsList: jspb.Message.toObjectList(msg.getOptionsList(),
|
3013
|
-
proto.teletubby.v1.UnsubscribeOption.toObject, includeInstance)
|
3014
|
-
};
|
3015
|
-
|
3016
|
-
if (includeInstance) {
|
3017
|
-
obj.$jspbMessageInstance = msg;
|
3018
|
-
}
|
3019
|
-
return obj;
|
3020
|
-
};
|
3021
|
-
}
|
3022
|
-
|
3023
|
-
|
3024
|
-
/**
|
3025
|
-
* Deserializes binary data (in protobuf wire format).
|
3026
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3027
|
-
* @return {!proto.teletubby.v1.UnsubscribeOperation}
|
3028
|
-
*/
|
3029
|
-
proto.teletubby.v1.UnsubscribeOperation.deserializeBinary = function(bytes) {
|
3030
|
-
var reader = new jspb.BinaryReader(bytes);
|
3031
|
-
var msg = new proto.teletubby.v1.UnsubscribeOperation;
|
3032
|
-
return proto.teletubby.v1.UnsubscribeOperation.deserializeBinaryFromReader(msg, reader);
|
3033
|
-
};
|
3034
|
-
|
3035
|
-
|
3036
|
-
/**
|
3037
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3038
|
-
* given reader into the given message object.
|
3039
|
-
* @param {!proto.teletubby.v1.UnsubscribeOperation} msg The message object to deserialize into.
|
3040
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3041
|
-
* @return {!proto.teletubby.v1.UnsubscribeOperation}
|
3042
|
-
*/
|
3043
|
-
proto.teletubby.v1.UnsubscribeOperation.deserializeBinaryFromReader = function(msg, reader) {
|
3044
|
-
while (reader.nextField()) {
|
3045
|
-
if (reader.isEndGroup()) {
|
3046
|
-
break;
|
3047
|
-
}
|
3048
|
-
var field = reader.getFieldNumber();
|
3049
|
-
switch (field) {
|
3050
|
-
case 1:
|
3051
|
-
var value = new proto.teletubby.v1.UnsubscribeOption;
|
3052
|
-
reader.readMessage(value,proto.teletubby.v1.UnsubscribeOption.deserializeBinaryFromReader);
|
3053
|
-
msg.addOptions(value);
|
3054
|
-
break;
|
3055
|
-
default:
|
3056
|
-
reader.skipField();
|
3057
|
-
break;
|
3058
|
-
}
|
3059
|
-
}
|
3060
|
-
return msg;
|
3061
|
-
};
|
3062
|
-
|
3063
|
-
|
3064
|
-
/**
|
3065
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3066
|
-
* @return {!Uint8Array}
|
3067
|
-
*/
|
3068
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.serializeBinary = function() {
|
3069
|
-
var writer = new jspb.BinaryWriter();
|
3070
|
-
proto.teletubby.v1.UnsubscribeOperation.serializeBinaryToWriter(this, writer);
|
3071
|
-
return writer.getResultBuffer();
|
3072
|
-
};
|
3073
|
-
|
3074
|
-
|
3075
|
-
/**
|
3076
|
-
* Serializes the given message to binary data (in protobuf wire
|
3077
|
-
* format), writing to the given BinaryWriter.
|
3078
|
-
* @param {!proto.teletubby.v1.UnsubscribeOperation} message
|
3079
|
-
* @param {!jspb.BinaryWriter} writer
|
3080
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3081
|
-
*/
|
3082
|
-
proto.teletubby.v1.UnsubscribeOperation.serializeBinaryToWriter = function(message, writer) {
|
3083
|
-
var f = undefined;
|
3084
|
-
f = message.getOptionsList();
|
3085
|
-
if (f.length > 0) {
|
3086
|
-
writer.writeRepeatedMessage(
|
3087
|
-
1,
|
3088
|
-
f,
|
3089
|
-
proto.teletubby.v1.UnsubscribeOption.serializeBinaryToWriter
|
3090
|
-
);
|
3091
|
-
}
|
3092
|
-
};
|
3093
|
-
|
3094
|
-
|
3095
|
-
/**
|
3096
|
-
* repeated UnsubscribeOption options = 1;
|
3097
|
-
* @return {!Array<!proto.teletubby.v1.UnsubscribeOption>}
|
3098
|
-
*/
|
3099
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.getOptionsList = function() {
|
3100
|
-
return /** @type{!Array<!proto.teletubby.v1.UnsubscribeOption>} */ (
|
3101
|
-
jspb.Message.getRepeatedWrapperField(this, proto.teletubby.v1.UnsubscribeOption, 1));
|
3102
|
-
};
|
3103
|
-
|
3104
|
-
|
3105
|
-
/**
|
3106
|
-
* @param {!Array<!proto.teletubby.v1.UnsubscribeOption>} value
|
3107
|
-
* @return {!proto.teletubby.v1.UnsubscribeOperation} returns this
|
3108
|
-
*/
|
3109
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.setOptionsList = function(value) {
|
3110
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
3111
|
-
};
|
3112
|
-
|
3113
|
-
|
3114
|
-
/**
|
3115
|
-
* @param {!proto.teletubby.v1.UnsubscribeOption=} opt_value
|
3116
|
-
* @param {number=} opt_index
|
3117
|
-
* @return {!proto.teletubby.v1.UnsubscribeOption}
|
3118
|
-
*/
|
3119
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.addOptions = function(opt_value, opt_index) {
|
3120
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.teletubby.v1.UnsubscribeOption, opt_index);
|
3121
|
-
};
|
3122
|
-
|
3123
|
-
|
3124
|
-
/**
|
3125
|
-
* Clears the list making it empty but non-null.
|
3126
|
-
* @return {!proto.teletubby.v1.UnsubscribeOperation} returns this
|
3127
|
-
*/
|
3128
|
-
proto.teletubby.v1.UnsubscribeOperation.prototype.clearOptionsList = function() {
|
3129
|
-
return this.setOptionsList([]);
|
3130
|
-
};
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
/**
|
3135
|
-
* Oneof group definitions for this message. Each group defines the field
|
3136
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
3137
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
3138
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
3139
|
-
* @private {!Array<!Array<number>>}
|
3140
|
-
* @const
|
3141
|
-
*/
|
3142
|
-
proto.teletubby.v1.SubscribeOption.oneofGroups_ = [[1]];
|
3143
|
-
|
3144
|
-
/**
|
3145
|
-
* @enum {number}
|
3146
|
-
*/
|
3147
|
-
proto.teletubby.v1.SubscribeOption.ContentCase = {
|
3148
|
-
CONTENT_NOT_SET: 0,
|
3149
|
-
RECEIVERGROUPSUBSCRIBEOPTION: 1
|
3150
|
-
};
|
3151
|
-
|
3152
|
-
/**
|
3153
|
-
* @return {proto.teletubby.v1.SubscribeOption.ContentCase}
|
3154
|
-
*/
|
3155
|
-
proto.teletubby.v1.SubscribeOption.prototype.getContentCase = function() {
|
3156
|
-
return /** @type {proto.teletubby.v1.SubscribeOption.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.SubscribeOption.oneofGroups_[0]));
|
3157
|
-
};
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3161
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3162
|
-
/**
|
3163
|
-
* Creates an object representation of this proto.
|
3164
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3165
|
-
* Optional fields that are not set will be set to undefined.
|
3166
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3167
|
-
* For the list of reserved names please see:
|
3168
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3169
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3170
|
-
* JSPB instance for transitional soy proto support:
|
3171
|
-
* http://goto/soy-param-migration
|
3172
|
-
* @return {!Object}
|
3173
|
-
*/
|
3174
|
-
proto.teletubby.v1.SubscribeOption.prototype.toObject = function(opt_includeInstance) {
|
3175
|
-
return proto.teletubby.v1.SubscribeOption.toObject(opt_includeInstance, this);
|
3176
|
-
};
|
3177
|
-
|
3178
|
-
|
3179
|
-
/**
|
3180
|
-
* Static version of the {@see toObject} method.
|
3181
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3182
|
-
* the JSPB instance for transitional soy proto support:
|
3183
|
-
* http://goto/soy-param-migration
|
3184
|
-
* @param {!proto.teletubby.v1.SubscribeOption} msg The msg instance to transform.
|
3185
|
-
* @return {!Object}
|
3186
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3187
|
-
*/
|
3188
|
-
proto.teletubby.v1.SubscribeOption.toObject = function(includeInstance, msg) {
|
3189
|
-
var f, obj = {
|
3190
|
-
receivergroupsubscribeoption: (f = msg.getReceivergroupsubscribeoption()) && proto.teletubby.v1.ReceiverGroupSubscribeOption.toObject(includeInstance, f)
|
3191
|
-
};
|
3192
|
-
|
3193
|
-
if (includeInstance) {
|
3194
|
-
obj.$jspbMessageInstance = msg;
|
3195
|
-
}
|
3196
|
-
return obj;
|
3197
|
-
};
|
3198
|
-
}
|
3199
|
-
|
3200
|
-
|
3201
|
-
/**
|
3202
|
-
* Deserializes binary data (in protobuf wire format).
|
3203
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3204
|
-
* @return {!proto.teletubby.v1.SubscribeOption}
|
3205
|
-
*/
|
3206
|
-
proto.teletubby.v1.SubscribeOption.deserializeBinary = function(bytes) {
|
3207
|
-
var reader = new jspb.BinaryReader(bytes);
|
3208
|
-
var msg = new proto.teletubby.v1.SubscribeOption;
|
3209
|
-
return proto.teletubby.v1.SubscribeOption.deserializeBinaryFromReader(msg, reader);
|
3210
|
-
};
|
3211
|
-
|
3212
|
-
|
3213
|
-
/**
|
3214
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3215
|
-
* given reader into the given message object.
|
3216
|
-
* @param {!proto.teletubby.v1.SubscribeOption} msg The message object to deserialize into.
|
3217
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3218
|
-
* @return {!proto.teletubby.v1.SubscribeOption}
|
3219
|
-
*/
|
3220
|
-
proto.teletubby.v1.SubscribeOption.deserializeBinaryFromReader = function(msg, reader) {
|
3221
|
-
while (reader.nextField()) {
|
3222
|
-
if (reader.isEndGroup()) {
|
3223
|
-
break;
|
3224
|
-
}
|
3225
|
-
var field = reader.getFieldNumber();
|
3226
|
-
switch (field) {
|
3227
|
-
case 1:
|
3228
|
-
var value = new proto.teletubby.v1.ReceiverGroupSubscribeOption;
|
3229
|
-
reader.readMessage(value,proto.teletubby.v1.ReceiverGroupSubscribeOption.deserializeBinaryFromReader);
|
3230
|
-
msg.setReceivergroupsubscribeoption(value);
|
3231
|
-
break;
|
3232
|
-
default:
|
3233
|
-
reader.skipField();
|
3234
|
-
break;
|
3235
|
-
}
|
3236
|
-
}
|
3237
|
-
return msg;
|
3238
|
-
};
|
3239
|
-
|
3240
|
-
|
3241
|
-
/**
|
3242
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3243
|
-
* @return {!Uint8Array}
|
3244
|
-
*/
|
3245
|
-
proto.teletubby.v1.SubscribeOption.prototype.serializeBinary = function() {
|
3246
|
-
var writer = new jspb.BinaryWriter();
|
3247
|
-
proto.teletubby.v1.SubscribeOption.serializeBinaryToWriter(this, writer);
|
3248
|
-
return writer.getResultBuffer();
|
3249
|
-
};
|
3250
|
-
|
3251
|
-
|
3252
|
-
/**
|
3253
|
-
* Serializes the given message to binary data (in protobuf wire
|
3254
|
-
* format), writing to the given BinaryWriter.
|
3255
|
-
* @param {!proto.teletubby.v1.SubscribeOption} message
|
3256
|
-
* @param {!jspb.BinaryWriter} writer
|
3257
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3258
|
-
*/
|
3259
|
-
proto.teletubby.v1.SubscribeOption.serializeBinaryToWriter = function(message, writer) {
|
3260
|
-
var f = undefined;
|
3261
|
-
f = message.getReceivergroupsubscribeoption();
|
3262
|
-
if (f != null) {
|
3263
|
-
writer.writeMessage(
|
3264
|
-
1,
|
3265
|
-
f,
|
3266
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.serializeBinaryToWriter
|
3267
|
-
);
|
3268
|
-
}
|
3269
|
-
};
|
3270
|
-
|
3271
|
-
|
3272
|
-
/**
|
3273
|
-
* optional ReceiverGroupSubscribeOption receivergroupSubscribeOption = 1;
|
3274
|
-
* @return {?proto.teletubby.v1.ReceiverGroupSubscribeOption}
|
3275
|
-
*/
|
3276
|
-
proto.teletubby.v1.SubscribeOption.prototype.getReceivergroupsubscribeoption = function() {
|
3277
|
-
return /** @type{?proto.teletubby.v1.ReceiverGroupSubscribeOption} */ (
|
3278
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.ReceiverGroupSubscribeOption, 1));
|
3279
|
-
};
|
3280
|
-
|
3281
|
-
|
3282
|
-
/**
|
3283
|
-
* @param {?proto.teletubby.v1.ReceiverGroupSubscribeOption|undefined} value
|
3284
|
-
* @return {!proto.teletubby.v1.SubscribeOption} returns this
|
3285
|
-
*/
|
3286
|
-
proto.teletubby.v1.SubscribeOption.prototype.setReceivergroupsubscribeoption = function(value) {
|
3287
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.teletubby.v1.SubscribeOption.oneofGroups_[0], value);
|
3288
|
-
};
|
3289
|
-
|
3290
|
-
|
3291
|
-
/**
|
3292
|
-
* Clears the message field making it undefined.
|
3293
|
-
* @return {!proto.teletubby.v1.SubscribeOption} returns this
|
3294
|
-
*/
|
3295
|
-
proto.teletubby.v1.SubscribeOption.prototype.clearReceivergroupsubscribeoption = function() {
|
3296
|
-
return this.setReceivergroupsubscribeoption(undefined);
|
3297
|
-
};
|
3298
|
-
|
3299
|
-
|
3300
|
-
/**
|
3301
|
-
* Returns whether this field is set.
|
3302
|
-
* @return {boolean}
|
3303
|
-
*/
|
3304
|
-
proto.teletubby.v1.SubscribeOption.prototype.hasReceivergroupsubscribeoption = function() {
|
3305
|
-
return jspb.Message.getField(this, 1) != null;
|
3306
|
-
};
|
3307
|
-
|
3308
|
-
|
3309
|
-
|
3310
|
-
/**
|
3311
|
-
* Oneof group definitions for this message. Each group defines the field
|
3312
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
3313
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
3314
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
3315
|
-
* @private {!Array<!Array<number>>}
|
3316
|
-
* @const
|
3317
|
-
*/
|
3318
|
-
proto.teletubby.v1.UnsubscribeOption.oneofGroups_ = [[1]];
|
3319
|
-
|
3320
|
-
/**
|
3321
|
-
* @enum {number}
|
3322
|
-
*/
|
3323
|
-
proto.teletubby.v1.UnsubscribeOption.ContentCase = {
|
3324
|
-
CONTENT_NOT_SET: 0,
|
3325
|
-
RECEIVERGROUPUNSUBSCRIBEOPTION: 1
|
3326
|
-
};
|
3327
|
-
|
3328
|
-
/**
|
3329
|
-
* @return {proto.teletubby.v1.UnsubscribeOption.ContentCase}
|
3330
|
-
*/
|
3331
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.getContentCase = function() {
|
3332
|
-
return /** @type {proto.teletubby.v1.UnsubscribeOption.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.UnsubscribeOption.oneofGroups_[0]));
|
3333
|
-
};
|
3334
|
-
|
3335
|
-
|
3336
|
-
|
3337
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3338
|
-
/**
|
3339
|
-
* Creates an object representation of this proto.
|
3340
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3341
|
-
* Optional fields that are not set will be set to undefined.
|
3342
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3343
|
-
* For the list of reserved names please see:
|
3344
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3345
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3346
|
-
* JSPB instance for transitional soy proto support:
|
3347
|
-
* http://goto/soy-param-migration
|
3348
|
-
* @return {!Object}
|
3349
|
-
*/
|
3350
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.toObject = function(opt_includeInstance) {
|
3351
|
-
return proto.teletubby.v1.UnsubscribeOption.toObject(opt_includeInstance, this);
|
3352
|
-
};
|
3353
|
-
|
3354
|
-
|
3355
|
-
/**
|
3356
|
-
* Static version of the {@see toObject} method.
|
3357
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3358
|
-
* the JSPB instance for transitional soy proto support:
|
3359
|
-
* http://goto/soy-param-migration
|
3360
|
-
* @param {!proto.teletubby.v1.UnsubscribeOption} msg The msg instance to transform.
|
3361
|
-
* @return {!Object}
|
3362
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3363
|
-
*/
|
3364
|
-
proto.teletubby.v1.UnsubscribeOption.toObject = function(includeInstance, msg) {
|
3365
|
-
var f, obj = {
|
3366
|
-
receivergroupunsubscribeoption: (f = msg.getReceivergroupunsubscribeoption()) && proto.teletubby.v1.ReceiverGroupUnsubscribeOption.toObject(includeInstance, f)
|
3367
|
-
};
|
3368
|
-
|
3369
|
-
if (includeInstance) {
|
3370
|
-
obj.$jspbMessageInstance = msg;
|
3371
|
-
}
|
3372
|
-
return obj;
|
3373
|
-
};
|
3374
|
-
}
|
3375
|
-
|
3376
|
-
|
3377
|
-
/**
|
3378
|
-
* Deserializes binary data (in protobuf wire format).
|
3379
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3380
|
-
* @return {!proto.teletubby.v1.UnsubscribeOption}
|
3381
|
-
*/
|
3382
|
-
proto.teletubby.v1.UnsubscribeOption.deserializeBinary = function(bytes) {
|
3383
|
-
var reader = new jspb.BinaryReader(bytes);
|
3384
|
-
var msg = new proto.teletubby.v1.UnsubscribeOption;
|
3385
|
-
return proto.teletubby.v1.UnsubscribeOption.deserializeBinaryFromReader(msg, reader);
|
3386
|
-
};
|
3387
|
-
|
3388
|
-
|
3389
|
-
/**
|
3390
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3391
|
-
* given reader into the given message object.
|
3392
|
-
* @param {!proto.teletubby.v1.UnsubscribeOption} msg The message object to deserialize into.
|
3393
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3394
|
-
* @return {!proto.teletubby.v1.UnsubscribeOption}
|
3395
|
-
*/
|
3396
|
-
proto.teletubby.v1.UnsubscribeOption.deserializeBinaryFromReader = function(msg, reader) {
|
3397
|
-
while (reader.nextField()) {
|
3398
|
-
if (reader.isEndGroup()) {
|
3399
|
-
break;
|
3400
|
-
}
|
3401
|
-
var field = reader.getFieldNumber();
|
3402
|
-
switch (field) {
|
3403
|
-
case 1:
|
3404
|
-
var value = new proto.teletubby.v1.ReceiverGroupUnsubscribeOption;
|
3405
|
-
reader.readMessage(value,proto.teletubby.v1.ReceiverGroupUnsubscribeOption.deserializeBinaryFromReader);
|
3406
|
-
msg.setReceivergroupunsubscribeoption(value);
|
3407
|
-
break;
|
3408
|
-
default:
|
3409
|
-
reader.skipField();
|
3410
|
-
break;
|
3411
|
-
}
|
3412
|
-
}
|
3413
|
-
return msg;
|
3414
|
-
};
|
3415
|
-
|
3416
|
-
|
3417
|
-
/**
|
3418
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3419
|
-
* @return {!Uint8Array}
|
3420
|
-
*/
|
3421
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.serializeBinary = function() {
|
3422
|
-
var writer = new jspb.BinaryWriter();
|
3423
|
-
proto.teletubby.v1.UnsubscribeOption.serializeBinaryToWriter(this, writer);
|
3424
|
-
return writer.getResultBuffer();
|
3425
|
-
};
|
3426
|
-
|
3427
|
-
|
3428
|
-
/**
|
3429
|
-
* Serializes the given message to binary data (in protobuf wire
|
3430
|
-
* format), writing to the given BinaryWriter.
|
3431
|
-
* @param {!proto.teletubby.v1.UnsubscribeOption} message
|
3432
|
-
* @param {!jspb.BinaryWriter} writer
|
3433
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3434
|
-
*/
|
3435
|
-
proto.teletubby.v1.UnsubscribeOption.serializeBinaryToWriter = function(message, writer) {
|
3436
|
-
var f = undefined;
|
3437
|
-
f = message.getReceivergroupunsubscribeoption();
|
3438
|
-
if (f != null) {
|
3439
|
-
writer.writeMessage(
|
3440
|
-
1,
|
3441
|
-
f,
|
3442
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.serializeBinaryToWriter
|
3443
|
-
);
|
3444
|
-
}
|
3445
|
-
};
|
3446
|
-
|
3447
|
-
|
3448
|
-
/**
|
3449
|
-
* optional ReceiverGroupUnsubscribeOption receivergroupUnsubscribeOption = 1;
|
3450
|
-
* @return {?proto.teletubby.v1.ReceiverGroupUnsubscribeOption}
|
3451
|
-
*/
|
3452
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.getReceivergroupunsubscribeoption = function() {
|
3453
|
-
return /** @type{?proto.teletubby.v1.ReceiverGroupUnsubscribeOption} */ (
|
3454
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.ReceiverGroupUnsubscribeOption, 1));
|
3455
|
-
};
|
3456
|
-
|
3457
|
-
|
3458
|
-
/**
|
3459
|
-
* @param {?proto.teletubby.v1.ReceiverGroupUnsubscribeOption|undefined} value
|
3460
|
-
* @return {!proto.teletubby.v1.UnsubscribeOption} returns this
|
3461
|
-
*/
|
3462
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.setReceivergroupunsubscribeoption = function(value) {
|
3463
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.teletubby.v1.UnsubscribeOption.oneofGroups_[0], value);
|
3464
|
-
};
|
3465
|
-
|
3466
|
-
|
3467
|
-
/**
|
3468
|
-
* Clears the message field making it undefined.
|
3469
|
-
* @return {!proto.teletubby.v1.UnsubscribeOption} returns this
|
3470
|
-
*/
|
3471
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.clearReceivergroupunsubscribeoption = function() {
|
3472
|
-
return this.setReceivergroupunsubscribeoption(undefined);
|
3473
|
-
};
|
3474
|
-
|
3475
|
-
|
3476
|
-
/**
|
3477
|
-
* Returns whether this field is set.
|
3478
|
-
* @return {boolean}
|
3479
|
-
*/
|
3480
|
-
proto.teletubby.v1.UnsubscribeOption.prototype.hasReceivergroupunsubscribeoption = function() {
|
3481
|
-
return jspb.Message.getField(this, 1) != null;
|
3482
|
-
};
|
3483
|
-
|
3484
|
-
|
3485
|
-
|
3486
|
-
|
3487
|
-
|
3488
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3489
|
-
/**
|
3490
|
-
* Creates an object representation of this proto.
|
3491
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3492
|
-
* Optional fields that are not set will be set to undefined.
|
3493
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3494
|
-
* For the list of reserved names please see:
|
3495
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3496
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3497
|
-
* JSPB instance for transitional soy proto support:
|
3498
|
-
* http://goto/soy-param-migration
|
3499
|
-
* @return {!Object}
|
3500
|
-
*/
|
3501
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.prototype.toObject = function(opt_includeInstance) {
|
3502
|
-
return proto.teletubby.v1.ReceiverGroupSubscribeOption.toObject(opt_includeInstance, this);
|
3503
|
-
};
|
3504
|
-
|
3505
|
-
|
3506
|
-
/**
|
3507
|
-
* Static version of the {@see toObject} method.
|
3508
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3509
|
-
* the JSPB instance for transitional soy proto support:
|
3510
|
-
* http://goto/soy-param-migration
|
3511
|
-
* @param {!proto.teletubby.v1.ReceiverGroupSubscribeOption} msg The msg instance to transform.
|
3512
|
-
* @return {!Object}
|
3513
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3514
|
-
*/
|
3515
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.toObject = function(includeInstance, msg) {
|
3516
|
-
var f, obj = {
|
3517
|
-
startposition: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
3518
|
-
};
|
3519
|
-
|
3520
|
-
if (includeInstance) {
|
3521
|
-
obj.$jspbMessageInstance = msg;
|
3522
|
-
}
|
3523
|
-
return obj;
|
3524
|
-
};
|
3525
|
-
}
|
3526
|
-
|
3527
|
-
|
3528
|
-
/**
|
3529
|
-
* Deserializes binary data (in protobuf wire format).
|
3530
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3531
|
-
* @return {!proto.teletubby.v1.ReceiverGroupSubscribeOption}
|
3532
|
-
*/
|
3533
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.deserializeBinary = function(bytes) {
|
3534
|
-
var reader = new jspb.BinaryReader(bytes);
|
3535
|
-
var msg = new proto.teletubby.v1.ReceiverGroupSubscribeOption;
|
3536
|
-
return proto.teletubby.v1.ReceiverGroupSubscribeOption.deserializeBinaryFromReader(msg, reader);
|
3537
|
-
};
|
3538
|
-
|
3539
|
-
|
3540
|
-
/**
|
3541
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3542
|
-
* given reader into the given message object.
|
3543
|
-
* @param {!proto.teletubby.v1.ReceiverGroupSubscribeOption} msg The message object to deserialize into.
|
3544
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3545
|
-
* @return {!proto.teletubby.v1.ReceiverGroupSubscribeOption}
|
3546
|
-
*/
|
3547
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.deserializeBinaryFromReader = function(msg, reader) {
|
3548
|
-
while (reader.nextField()) {
|
3549
|
-
if (reader.isEndGroup()) {
|
3550
|
-
break;
|
3551
|
-
}
|
3552
|
-
var field = reader.getFieldNumber();
|
3553
|
-
switch (field) {
|
3554
|
-
case 1:
|
3555
|
-
var value = /** @type {number} */ (reader.readInt32());
|
3556
|
-
msg.setStartposition(value);
|
3557
|
-
break;
|
3558
|
-
default:
|
3559
|
-
reader.skipField();
|
3560
|
-
break;
|
3561
|
-
}
|
3562
|
-
}
|
3563
|
-
return msg;
|
3564
|
-
};
|
3565
|
-
|
3566
|
-
|
3567
|
-
/**
|
3568
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3569
|
-
* @return {!Uint8Array}
|
3570
|
-
*/
|
3571
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.prototype.serializeBinary = function() {
|
3572
|
-
var writer = new jspb.BinaryWriter();
|
3573
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.serializeBinaryToWriter(this, writer);
|
3574
|
-
return writer.getResultBuffer();
|
3575
|
-
};
|
3576
|
-
|
3577
|
-
|
3578
|
-
/**
|
3579
|
-
* Serializes the given message to binary data (in protobuf wire
|
3580
|
-
* format), writing to the given BinaryWriter.
|
3581
|
-
* @param {!proto.teletubby.v1.ReceiverGroupSubscribeOption} message
|
3582
|
-
* @param {!jspb.BinaryWriter} writer
|
3583
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3584
|
-
*/
|
3585
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.serializeBinaryToWriter = function(message, writer) {
|
3586
|
-
var f = undefined;
|
3587
|
-
f = message.getStartposition();
|
3588
|
-
if (f !== 0) {
|
3589
|
-
writer.writeInt32(
|
3590
|
-
1,
|
3591
|
-
f
|
3592
|
-
);
|
3593
|
-
}
|
3594
|
-
};
|
3595
|
-
|
3596
|
-
|
3597
|
-
/**
|
3598
|
-
* optional int32 startPosition = 1;
|
3599
|
-
* @return {number}
|
3600
|
-
*/
|
3601
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.prototype.getStartposition = function() {
|
3602
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
3603
|
-
};
|
3604
|
-
|
3605
|
-
|
3606
|
-
/**
|
3607
|
-
* @param {number} value
|
3608
|
-
* @return {!proto.teletubby.v1.ReceiverGroupSubscribeOption} returns this
|
3609
|
-
*/
|
3610
|
-
proto.teletubby.v1.ReceiverGroupSubscribeOption.prototype.setStartposition = function(value) {
|
3611
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
3612
|
-
};
|
3613
|
-
|
3614
|
-
|
3615
|
-
|
3616
|
-
|
3617
|
-
|
3618
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3619
|
-
/**
|
3620
|
-
* Creates an object representation of this proto.
|
3621
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3622
|
-
* Optional fields that are not set will be set to undefined.
|
3623
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3624
|
-
* For the list of reserved names please see:
|
3625
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3626
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3627
|
-
* JSPB instance for transitional soy proto support:
|
3628
|
-
* http://goto/soy-param-migration
|
3629
|
-
* @return {!Object}
|
3630
|
-
*/
|
3631
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.prototype.toObject = function(opt_includeInstance) {
|
3632
|
-
return proto.teletubby.v1.ReceiverGroupUnsubscribeOption.toObject(opt_includeInstance, this);
|
3633
|
-
};
|
3634
|
-
|
3635
|
-
|
3636
|
-
/**
|
3637
|
-
* Static version of the {@see toObject} method.
|
3638
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3639
|
-
* the JSPB instance for transitional soy proto support:
|
3640
|
-
* http://goto/soy-param-migration
|
3641
|
-
* @param {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption} msg The msg instance to transform.
|
3642
|
-
* @return {!Object}
|
3643
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3644
|
-
*/
|
3645
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.toObject = function(includeInstance, msg) {
|
3646
|
-
var f, obj = {
|
3647
|
-
terminate: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
3648
|
-
};
|
3649
|
-
|
3650
|
-
if (includeInstance) {
|
3651
|
-
obj.$jspbMessageInstance = msg;
|
3652
|
-
}
|
3653
|
-
return obj;
|
3654
|
-
};
|
3655
|
-
}
|
3656
|
-
|
3657
|
-
|
3658
|
-
/**
|
3659
|
-
* Deserializes binary data (in protobuf wire format).
|
3660
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3661
|
-
* @return {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption}
|
3662
|
-
*/
|
3663
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.deserializeBinary = function(bytes) {
|
3664
|
-
var reader = new jspb.BinaryReader(bytes);
|
3665
|
-
var msg = new proto.teletubby.v1.ReceiverGroupUnsubscribeOption;
|
3666
|
-
return proto.teletubby.v1.ReceiverGroupUnsubscribeOption.deserializeBinaryFromReader(msg, reader);
|
3667
|
-
};
|
3668
|
-
|
3669
|
-
|
3670
|
-
/**
|
3671
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3672
|
-
* given reader into the given message object.
|
3673
|
-
* @param {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption} msg The message object to deserialize into.
|
3674
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3675
|
-
* @return {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption}
|
3676
|
-
*/
|
3677
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.deserializeBinaryFromReader = function(msg, reader) {
|
3678
|
-
while (reader.nextField()) {
|
3679
|
-
if (reader.isEndGroup()) {
|
3680
|
-
break;
|
3681
|
-
}
|
3682
|
-
var field = reader.getFieldNumber();
|
3683
|
-
switch (field) {
|
3684
|
-
case 1:
|
3685
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
3686
|
-
msg.setTerminate(value);
|
3687
|
-
break;
|
3688
|
-
default:
|
3689
|
-
reader.skipField();
|
3690
|
-
break;
|
3691
|
-
}
|
3692
|
-
}
|
3693
|
-
return msg;
|
3694
|
-
};
|
3695
|
-
|
3696
|
-
|
3697
|
-
/**
|
3698
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3699
|
-
* @return {!Uint8Array}
|
3700
|
-
*/
|
3701
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.prototype.serializeBinary = function() {
|
3702
|
-
var writer = new jspb.BinaryWriter();
|
3703
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.serializeBinaryToWriter(this, writer);
|
3704
|
-
return writer.getResultBuffer();
|
3705
|
-
};
|
3706
|
-
|
3707
|
-
|
3708
|
-
/**
|
3709
|
-
* Serializes the given message to binary data (in protobuf wire
|
3710
|
-
* format), writing to the given BinaryWriter.
|
3711
|
-
* @param {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption} message
|
3712
|
-
* @param {!jspb.BinaryWriter} writer
|
3713
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3714
|
-
*/
|
3715
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.serializeBinaryToWriter = function(message, writer) {
|
3716
|
-
var f = undefined;
|
3717
|
-
f = message.getTerminate();
|
3718
|
-
if (f) {
|
3719
|
-
writer.writeBool(
|
3720
|
-
1,
|
3721
|
-
f
|
3722
|
-
);
|
3723
|
-
}
|
3724
|
-
};
|
3725
|
-
|
3726
|
-
|
3727
|
-
/**
|
3728
|
-
* optional bool terminate = 1;
|
3729
|
-
* @return {boolean}
|
3730
|
-
*/
|
3731
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.prototype.getTerminate = function() {
|
3732
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
3733
|
-
};
|
3734
|
-
|
3735
|
-
|
3736
|
-
/**
|
3737
|
-
* @param {boolean} value
|
3738
|
-
* @return {!proto.teletubby.v1.ReceiverGroupUnsubscribeOption} returns this
|
3739
|
-
*/
|
3740
|
-
proto.teletubby.v1.ReceiverGroupUnsubscribeOption.prototype.setTerminate = function(value) {
|
3741
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
3742
|
-
};
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3749
|
-
/**
|
3750
|
-
* Creates an object representation of this proto.
|
3751
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3752
|
-
* Optional fields that are not set will be set to undefined.
|
3753
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3754
|
-
* For the list of reserved names please see:
|
3755
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3756
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3757
|
-
* JSPB instance for transitional soy proto support:
|
3758
|
-
* http://goto/soy-param-migration
|
3759
|
-
* @return {!Object}
|
3760
|
-
*/
|
3761
|
-
proto.teletubby.v1.TelemetryRequestAck.prototype.toObject = function(opt_includeInstance) {
|
3762
|
-
return proto.teletubby.v1.TelemetryRequestAck.toObject(opt_includeInstance, this);
|
3763
|
-
};
|
3764
|
-
|
3765
|
-
|
3766
|
-
/**
|
3767
|
-
* Static version of the {@see toObject} method.
|
3768
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3769
|
-
* the JSPB instance for transitional soy proto support:
|
3770
|
-
* http://goto/soy-param-migration
|
3771
|
-
* @param {!proto.teletubby.v1.TelemetryRequestAck} msg The msg instance to transform.
|
3772
|
-
* @return {!Object}
|
3773
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3774
|
-
*/
|
3775
|
-
proto.teletubby.v1.TelemetryRequestAck.toObject = function(includeInstance, msg) {
|
3776
|
-
var f, obj = {
|
3777
|
-
|
3778
|
-
};
|
3779
|
-
|
3780
|
-
if (includeInstance) {
|
3781
|
-
obj.$jspbMessageInstance = msg;
|
3782
|
-
}
|
3783
|
-
return obj;
|
3784
|
-
};
|
3785
|
-
}
|
3786
|
-
|
3787
|
-
|
3788
|
-
/**
|
3789
|
-
* Deserializes binary data (in protobuf wire format).
|
3790
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3791
|
-
* @return {!proto.teletubby.v1.TelemetryRequestAck}
|
3792
|
-
*/
|
3793
|
-
proto.teletubby.v1.TelemetryRequestAck.deserializeBinary = function(bytes) {
|
3794
|
-
var reader = new jspb.BinaryReader(bytes);
|
3795
|
-
var msg = new proto.teletubby.v1.TelemetryRequestAck;
|
3796
|
-
return proto.teletubby.v1.TelemetryRequestAck.deserializeBinaryFromReader(msg, reader);
|
3797
|
-
};
|
3798
|
-
|
3799
|
-
|
3800
|
-
/**
|
3801
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3802
|
-
* given reader into the given message object.
|
3803
|
-
* @param {!proto.teletubby.v1.TelemetryRequestAck} msg The message object to deserialize into.
|
3804
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3805
|
-
* @return {!proto.teletubby.v1.TelemetryRequestAck}
|
3806
|
-
*/
|
3807
|
-
proto.teletubby.v1.TelemetryRequestAck.deserializeBinaryFromReader = function(msg, reader) {
|
3808
|
-
while (reader.nextField()) {
|
3809
|
-
if (reader.isEndGroup()) {
|
3810
|
-
break;
|
3811
|
-
}
|
3812
|
-
var field = reader.getFieldNumber();
|
3813
|
-
switch (field) {
|
3814
|
-
default:
|
3815
|
-
reader.skipField();
|
3816
|
-
break;
|
3817
|
-
}
|
3818
|
-
}
|
3819
|
-
return msg;
|
3820
|
-
};
|
3821
|
-
|
3822
|
-
|
3823
|
-
/**
|
3824
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3825
|
-
* @return {!Uint8Array}
|
3826
|
-
*/
|
3827
|
-
proto.teletubby.v1.TelemetryRequestAck.prototype.serializeBinary = function() {
|
3828
|
-
var writer = new jspb.BinaryWriter();
|
3829
|
-
proto.teletubby.v1.TelemetryRequestAck.serializeBinaryToWriter(this, writer);
|
3830
|
-
return writer.getResultBuffer();
|
3831
|
-
};
|
3832
|
-
|
3833
|
-
|
3834
|
-
/**
|
3835
|
-
* Serializes the given message to binary data (in protobuf wire
|
3836
|
-
* format), writing to the given BinaryWriter.
|
3837
|
-
* @param {!proto.teletubby.v1.TelemetryRequestAck} message
|
3838
|
-
* @param {!jspb.BinaryWriter} writer
|
3839
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3840
|
-
*/
|
3841
|
-
proto.teletubby.v1.TelemetryRequestAck.serializeBinaryToWriter = function(message, writer) {
|
3842
|
-
var f = undefined;
|
3843
|
-
};
|
3844
|
-
|
3845
|
-
|
3846
|
-
|
3847
|
-
|
3848
|
-
|
3849
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3850
|
-
/**
|
3851
|
-
* Creates an object representation of this proto.
|
3852
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3853
|
-
* Optional fields that are not set will be set to undefined.
|
3854
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3855
|
-
* For the list of reserved names please see:
|
3856
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3857
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3858
|
-
* JSPB instance for transitional soy proto support:
|
3859
|
-
* http://goto/soy-param-migration
|
3860
|
-
* @return {!Object}
|
3861
|
-
*/
|
3862
|
-
proto.teletubby.v1.RegistrationMessage.prototype.toObject = function(opt_includeInstance) {
|
3863
|
-
return proto.teletubby.v1.RegistrationMessage.toObject(opt_includeInstance, this);
|
3864
|
-
};
|
3865
|
-
|
3866
|
-
|
3867
|
-
/**
|
3868
|
-
* Static version of the {@see toObject} method.
|
3869
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3870
|
-
* the JSPB instance for transitional soy proto support:
|
3871
|
-
* http://goto/soy-param-migration
|
3872
|
-
* @param {!proto.teletubby.v1.RegistrationMessage} msg The msg instance to transform.
|
3873
|
-
* @return {!Object}
|
3874
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3875
|
-
*/
|
3876
|
-
proto.teletubby.v1.RegistrationMessage.toObject = function(includeInstance, msg) {
|
3877
|
-
var f, obj = {
|
3878
|
-
|
3879
|
-
};
|
3880
|
-
|
3881
|
-
if (includeInstance) {
|
3882
|
-
obj.$jspbMessageInstance = msg;
|
3883
|
-
}
|
3884
|
-
return obj;
|
3885
|
-
};
|
3886
|
-
}
|
3887
|
-
|
3888
|
-
|
3889
|
-
/**
|
3890
|
-
* Deserializes binary data (in protobuf wire format).
|
3891
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3892
|
-
* @return {!proto.teletubby.v1.RegistrationMessage}
|
3893
|
-
*/
|
3894
|
-
proto.teletubby.v1.RegistrationMessage.deserializeBinary = function(bytes) {
|
3895
|
-
var reader = new jspb.BinaryReader(bytes);
|
3896
|
-
var msg = new proto.teletubby.v1.RegistrationMessage;
|
3897
|
-
return proto.teletubby.v1.RegistrationMessage.deserializeBinaryFromReader(msg, reader);
|
3898
|
-
};
|
3899
|
-
|
3900
|
-
|
3901
|
-
/**
|
3902
|
-
* Deserializes binary data (in protobuf wire format) from the
|
3903
|
-
* given reader into the given message object.
|
3904
|
-
* @param {!proto.teletubby.v1.RegistrationMessage} msg The message object to deserialize into.
|
3905
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3906
|
-
* @return {!proto.teletubby.v1.RegistrationMessage}
|
3907
|
-
*/
|
3908
|
-
proto.teletubby.v1.RegistrationMessage.deserializeBinaryFromReader = function(msg, reader) {
|
3909
|
-
while (reader.nextField()) {
|
3910
|
-
if (reader.isEndGroup()) {
|
3911
|
-
break;
|
3912
|
-
}
|
3913
|
-
var field = reader.getFieldNumber();
|
3914
|
-
switch (field) {
|
3915
|
-
default:
|
3916
|
-
reader.skipField();
|
3917
|
-
break;
|
3918
|
-
}
|
3919
|
-
}
|
3920
|
-
return msg;
|
3921
|
-
};
|
3922
|
-
|
3923
|
-
|
3924
|
-
/**
|
3925
|
-
* Serializes the message to binary data (in protobuf wire format).
|
3926
|
-
* @return {!Uint8Array}
|
3927
|
-
*/
|
3928
|
-
proto.teletubby.v1.RegistrationMessage.prototype.serializeBinary = function() {
|
3929
|
-
var writer = new jspb.BinaryWriter();
|
3930
|
-
proto.teletubby.v1.RegistrationMessage.serializeBinaryToWriter(this, writer);
|
3931
|
-
return writer.getResultBuffer();
|
3932
|
-
};
|
3933
|
-
|
3934
|
-
|
3935
|
-
/**
|
3936
|
-
* Serializes the given message to binary data (in protobuf wire
|
3937
|
-
* format), writing to the given BinaryWriter.
|
3938
|
-
* @param {!proto.teletubby.v1.RegistrationMessage} message
|
3939
|
-
* @param {!jspb.BinaryWriter} writer
|
3940
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3941
|
-
*/
|
3942
|
-
proto.teletubby.v1.RegistrationMessage.serializeBinaryToWriter = function(message, writer) {
|
3943
|
-
var f = undefined;
|
3944
|
-
};
|
3945
|
-
|
3946
|
-
|
3947
|
-
|
3948
|
-
|
3949
|
-
|
3950
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3951
|
-
/**
|
3952
|
-
* Creates an object representation of this proto.
|
3953
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3954
|
-
* Optional fields that are not set will be set to undefined.
|
3955
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3956
|
-
* For the list of reserved names please see:
|
3957
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3958
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3959
|
-
* JSPB instance for transitional soy proto support:
|
3960
|
-
* http://goto/soy-param-migration
|
3961
|
-
* @return {!Object}
|
3962
|
-
*/
|
3963
|
-
proto.teletubby.v1.ServiceStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
3964
|
-
return proto.teletubby.v1.ServiceStatusRequest.toObject(opt_includeInstance, this);
|
3965
|
-
};
|
3966
|
-
|
3967
|
-
|
3968
|
-
/**
|
3969
|
-
* Static version of the {@see toObject} method.
|
3970
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3971
|
-
* the JSPB instance for transitional soy proto support:
|
3972
|
-
* http://goto/soy-param-migration
|
3973
|
-
* @param {!proto.teletubby.v1.ServiceStatusRequest} msg The msg instance to transform.
|
3974
|
-
* @return {!Object}
|
3975
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3976
|
-
*/
|
3977
|
-
proto.teletubby.v1.ServiceStatusRequest.toObject = function(includeInstance, msg) {
|
3978
|
-
var f, obj = {
|
3979
|
-
|
3980
|
-
};
|
3981
|
-
|
3982
|
-
if (includeInstance) {
|
3983
|
-
obj.$jspbMessageInstance = msg;
|
3984
|
-
}
|
3985
|
-
return obj;
|
3986
|
-
};
|
3987
|
-
}
|
3988
|
-
|
3989
|
-
|
3990
|
-
/**
|
3991
|
-
* Deserializes binary data (in protobuf wire format).
|
3992
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3993
|
-
* @return {!proto.teletubby.v1.ServiceStatusRequest}
|
3994
|
-
*/
|
3995
|
-
proto.teletubby.v1.ServiceStatusRequest.deserializeBinary = function(bytes) {
|
3996
|
-
var reader = new jspb.BinaryReader(bytes);
|
3997
|
-
var msg = new proto.teletubby.v1.ServiceStatusRequest;
|
3998
|
-
return proto.teletubby.v1.ServiceStatusRequest.deserializeBinaryFromReader(msg, reader);
|
3999
|
-
};
|
4000
|
-
|
4001
|
-
|
4002
|
-
/**
|
4003
|
-
* Deserializes binary data (in protobuf wire format) from the
|
4004
|
-
* given reader into the given message object.
|
4005
|
-
* @param {!proto.teletubby.v1.ServiceStatusRequest} msg The message object to deserialize into.
|
4006
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4007
|
-
* @return {!proto.teletubby.v1.ServiceStatusRequest}
|
4008
|
-
*/
|
4009
|
-
proto.teletubby.v1.ServiceStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
4010
|
-
while (reader.nextField()) {
|
4011
|
-
if (reader.isEndGroup()) {
|
4012
|
-
break;
|
4013
|
-
}
|
4014
|
-
var field = reader.getFieldNumber();
|
4015
|
-
switch (field) {
|
4016
|
-
default:
|
4017
|
-
reader.skipField();
|
4018
|
-
break;
|
4019
|
-
}
|
4020
|
-
}
|
4021
|
-
return msg;
|
4022
|
-
};
|
4023
|
-
|
4024
|
-
|
4025
|
-
/**
|
4026
|
-
* Serializes the message to binary data (in protobuf wire format).
|
4027
|
-
* @return {!Uint8Array}
|
4028
|
-
*/
|
4029
|
-
proto.teletubby.v1.ServiceStatusRequest.prototype.serializeBinary = function() {
|
4030
|
-
var writer = new jspb.BinaryWriter();
|
4031
|
-
proto.teletubby.v1.ServiceStatusRequest.serializeBinaryToWriter(this, writer);
|
4032
|
-
return writer.getResultBuffer();
|
4033
|
-
};
|
4034
|
-
|
4035
|
-
|
4036
|
-
/**
|
4037
|
-
* Serializes the given message to binary data (in protobuf wire
|
4038
|
-
* format), writing to the given BinaryWriter.
|
4039
|
-
* @param {!proto.teletubby.v1.ServiceStatusRequest} message
|
4040
|
-
* @param {!jspb.BinaryWriter} writer
|
4041
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4042
|
-
*/
|
4043
|
-
proto.teletubby.v1.ServiceStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
4044
|
-
var f = undefined;
|
4045
|
-
};
|
4046
|
-
|
4047
|
-
|
4048
|
-
|
4049
|
-
/**
|
4050
|
-
* List of repeated fields within this message type.
|
4051
|
-
* @private {!Array<number>}
|
4052
|
-
* @const
|
4053
|
-
*/
|
4054
|
-
proto.teletubby.v1.Query.repeatedFields_ = [2];
|
4055
|
-
|
4056
|
-
|
4057
|
-
|
4058
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4059
|
-
/**
|
4060
|
-
* Creates an object representation of this proto.
|
4061
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4062
|
-
* Optional fields that are not set will be set to undefined.
|
4063
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4064
|
-
* For the list of reserved names please see:
|
4065
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4066
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4067
|
-
* JSPB instance for transitional soy proto support:
|
4068
|
-
* http://goto/soy-param-migration
|
4069
|
-
* @return {!Object}
|
4070
|
-
*/
|
4071
|
-
proto.teletubby.v1.Query.prototype.toObject = function(opt_includeInstance) {
|
4072
|
-
return proto.teletubby.v1.Query.toObject(opt_includeInstance, this);
|
4073
|
-
};
|
4074
|
-
|
4075
|
-
|
4076
|
-
/**
|
4077
|
-
* Static version of the {@see toObject} method.
|
4078
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4079
|
-
* the JSPB instance for transitional soy proto support:
|
4080
|
-
* http://goto/soy-param-migration
|
4081
|
-
* @param {!proto.teletubby.v1.Query} msg The msg instance to transform.
|
4082
|
-
* @return {!Object}
|
4083
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4084
|
-
*/
|
4085
|
-
proto.teletubby.v1.Query.toObject = function(includeInstance, msg) {
|
4086
|
-
var f, obj = {
|
4087
|
-
operation: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4088
|
-
queryorpredicatesList: jspb.Message.toObjectList(msg.getQueryorpredicatesList(),
|
4089
|
-
proto.teletubby.v1.QueryOrPredicate.toObject, includeInstance)
|
4090
|
-
};
|
4091
|
-
|
4092
|
-
if (includeInstance) {
|
4093
|
-
obj.$jspbMessageInstance = msg;
|
4094
|
-
}
|
4095
|
-
return obj;
|
4096
|
-
};
|
4097
|
-
}
|
4098
|
-
|
4099
|
-
|
4100
|
-
/**
|
4101
|
-
* Deserializes binary data (in protobuf wire format).
|
4102
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4103
|
-
* @return {!proto.teletubby.v1.Query}
|
4104
|
-
*/
|
4105
|
-
proto.teletubby.v1.Query.deserializeBinary = function(bytes) {
|
4106
|
-
var reader = new jspb.BinaryReader(bytes);
|
4107
|
-
var msg = new proto.teletubby.v1.Query;
|
4108
|
-
return proto.teletubby.v1.Query.deserializeBinaryFromReader(msg, reader);
|
4109
|
-
};
|
4110
|
-
|
4111
|
-
|
4112
|
-
/**
|
4113
|
-
* Deserializes binary data (in protobuf wire format) from the
|
4114
|
-
* given reader into the given message object.
|
4115
|
-
* @param {!proto.teletubby.v1.Query} msg The message object to deserialize into.
|
4116
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4117
|
-
* @return {!proto.teletubby.v1.Query}
|
4118
|
-
*/
|
4119
|
-
proto.teletubby.v1.Query.deserializeBinaryFromReader = function(msg, reader) {
|
4120
|
-
while (reader.nextField()) {
|
4121
|
-
if (reader.isEndGroup()) {
|
4122
|
-
break;
|
4123
|
-
}
|
4124
|
-
var field = reader.getFieldNumber();
|
4125
|
-
switch (field) {
|
4126
|
-
case 1:
|
4127
|
-
var value = /** @type {!proto.teletubby.v1.LogicalOperation} */ (reader.readEnum());
|
4128
|
-
msg.setOperation(value);
|
4129
|
-
break;
|
4130
|
-
case 2:
|
4131
|
-
var value = new proto.teletubby.v1.QueryOrPredicate;
|
4132
|
-
reader.readMessage(value,proto.teletubby.v1.QueryOrPredicate.deserializeBinaryFromReader);
|
4133
|
-
msg.addQueryorpredicates(value);
|
4134
|
-
break;
|
4135
|
-
default:
|
4136
|
-
reader.skipField();
|
4137
|
-
break;
|
4138
|
-
}
|
4139
|
-
}
|
4140
|
-
return msg;
|
4141
|
-
};
|
4142
|
-
|
4143
|
-
|
4144
|
-
/**
|
4145
|
-
* Serializes the message to binary data (in protobuf wire format).
|
4146
|
-
* @return {!Uint8Array}
|
4147
|
-
*/
|
4148
|
-
proto.teletubby.v1.Query.prototype.serializeBinary = function() {
|
4149
|
-
var writer = new jspb.BinaryWriter();
|
4150
|
-
proto.teletubby.v1.Query.serializeBinaryToWriter(this, writer);
|
4151
|
-
return writer.getResultBuffer();
|
4152
|
-
};
|
4153
|
-
|
4154
|
-
|
4155
|
-
/**
|
4156
|
-
* Serializes the given message to binary data (in protobuf wire
|
4157
|
-
* format), writing to the given BinaryWriter.
|
4158
|
-
* @param {!proto.teletubby.v1.Query} message
|
4159
|
-
* @param {!jspb.BinaryWriter} writer
|
4160
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4161
|
-
*/
|
4162
|
-
proto.teletubby.v1.Query.serializeBinaryToWriter = function(message, writer) {
|
4163
|
-
var f = undefined;
|
4164
|
-
f = message.getOperation();
|
4165
|
-
if (f !== 0.0) {
|
4166
|
-
writer.writeEnum(
|
4167
|
-
1,
|
4168
|
-
f
|
4169
|
-
);
|
4170
|
-
}
|
4171
|
-
f = message.getQueryorpredicatesList();
|
4172
|
-
if (f.length > 0) {
|
4173
|
-
writer.writeRepeatedMessage(
|
4174
|
-
2,
|
4175
|
-
f,
|
4176
|
-
proto.teletubby.v1.QueryOrPredicate.serializeBinaryToWriter
|
4177
|
-
);
|
4178
|
-
}
|
4179
|
-
};
|
4180
|
-
|
4181
|
-
|
4182
|
-
/**
|
4183
|
-
* optional LogicalOperation operation = 1;
|
4184
|
-
* @return {!proto.teletubby.v1.LogicalOperation}
|
4185
|
-
*/
|
4186
|
-
proto.teletubby.v1.Query.prototype.getOperation = function() {
|
4187
|
-
return /** @type {!proto.teletubby.v1.LogicalOperation} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
4188
|
-
};
|
4189
|
-
|
4190
|
-
|
4191
|
-
/**
|
4192
|
-
* @param {!proto.teletubby.v1.LogicalOperation} value
|
4193
|
-
* @return {!proto.teletubby.v1.Query} returns this
|
4194
|
-
*/
|
4195
|
-
proto.teletubby.v1.Query.prototype.setOperation = function(value) {
|
4196
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
4197
|
-
};
|
4198
|
-
|
4199
|
-
|
4200
|
-
/**
|
4201
|
-
* repeated QueryOrPredicate queryOrPredicates = 2;
|
4202
|
-
* @return {!Array<!proto.teletubby.v1.QueryOrPredicate>}
|
4203
|
-
*/
|
4204
|
-
proto.teletubby.v1.Query.prototype.getQueryorpredicatesList = function() {
|
4205
|
-
return /** @type{!Array<!proto.teletubby.v1.QueryOrPredicate>} */ (
|
4206
|
-
jspb.Message.getRepeatedWrapperField(this, proto.teletubby.v1.QueryOrPredicate, 2));
|
4207
|
-
};
|
4208
|
-
|
4209
|
-
|
4210
|
-
/**
|
4211
|
-
* @param {!Array<!proto.teletubby.v1.QueryOrPredicate>} value
|
4212
|
-
* @return {!proto.teletubby.v1.Query} returns this
|
4213
|
-
*/
|
4214
|
-
proto.teletubby.v1.Query.prototype.setQueryorpredicatesList = function(value) {
|
4215
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
4216
|
-
};
|
4217
|
-
|
4218
|
-
|
4219
|
-
/**
|
4220
|
-
* @param {!proto.teletubby.v1.QueryOrPredicate=} opt_value
|
4221
|
-
* @param {number=} opt_index
|
4222
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate}
|
4223
|
-
*/
|
4224
|
-
proto.teletubby.v1.Query.prototype.addQueryorpredicates = function(opt_value, opt_index) {
|
4225
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.teletubby.v1.QueryOrPredicate, opt_index);
|
4226
|
-
};
|
4227
|
-
|
4228
|
-
|
4229
|
-
/**
|
4230
|
-
* Clears the list making it empty but non-null.
|
4231
|
-
* @return {!proto.teletubby.v1.Query} returns this
|
4232
|
-
*/
|
4233
|
-
proto.teletubby.v1.Query.prototype.clearQueryorpredicatesList = function() {
|
4234
|
-
return this.setQueryorpredicatesList([]);
|
4235
|
-
};
|
4236
|
-
|
4237
|
-
|
4238
|
-
|
4239
|
-
/**
|
4240
|
-
* Oneof group definitions for this message. Each group defines the field
|
4241
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
4242
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
4243
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
4244
|
-
* @private {!Array<!Array<number>>}
|
4245
|
-
* @const
|
4246
|
-
*/
|
4247
|
-
proto.teletubby.v1.QueryOrPredicate.oneofGroups_ = [[1,2]];
|
4248
|
-
|
4249
|
-
/**
|
4250
|
-
* @enum {number}
|
4251
|
-
*/
|
4252
|
-
proto.teletubby.v1.QueryOrPredicate.ContentCase = {
|
4253
|
-
CONTENT_NOT_SET: 0,
|
4254
|
-
QUERY: 1,
|
4255
|
-
PREDICATE: 2
|
4256
|
-
};
|
4257
|
-
|
4258
|
-
/**
|
4259
|
-
* @return {proto.teletubby.v1.QueryOrPredicate.ContentCase}
|
4260
|
-
*/
|
4261
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.getContentCase = function() {
|
4262
|
-
return /** @type {proto.teletubby.v1.QueryOrPredicate.ContentCase} */(jspb.Message.computeOneofCase(this, proto.teletubby.v1.QueryOrPredicate.oneofGroups_[0]));
|
4263
|
-
};
|
4264
|
-
|
4265
|
-
|
4266
|
-
|
4267
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4268
|
-
/**
|
4269
|
-
* Creates an object representation of this proto.
|
4270
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4271
|
-
* Optional fields that are not set will be set to undefined.
|
4272
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4273
|
-
* For the list of reserved names please see:
|
4274
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4275
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4276
|
-
* JSPB instance for transitional soy proto support:
|
4277
|
-
* http://goto/soy-param-migration
|
4278
|
-
* @return {!Object}
|
4279
|
-
*/
|
4280
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.toObject = function(opt_includeInstance) {
|
4281
|
-
return proto.teletubby.v1.QueryOrPredicate.toObject(opt_includeInstance, this);
|
4282
|
-
};
|
4283
|
-
|
4284
|
-
|
4285
|
-
/**
|
4286
|
-
* Static version of the {@see toObject} method.
|
4287
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4288
|
-
* the JSPB instance for transitional soy proto support:
|
4289
|
-
* http://goto/soy-param-migration
|
4290
|
-
* @param {!proto.teletubby.v1.QueryOrPredicate} msg The msg instance to transform.
|
4291
|
-
* @return {!Object}
|
4292
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4293
|
-
*/
|
4294
|
-
proto.teletubby.v1.QueryOrPredicate.toObject = function(includeInstance, msg) {
|
4295
|
-
var f, obj = {
|
4296
|
-
query: (f = msg.getQuery()) && proto.teletubby.v1.Query.toObject(includeInstance, f),
|
4297
|
-
predicate: (f = msg.getPredicate()) && proto.teletubby.v1.Predicate.toObject(includeInstance, f)
|
4298
|
-
};
|
4299
|
-
|
4300
|
-
if (includeInstance) {
|
4301
|
-
obj.$jspbMessageInstance = msg;
|
4302
|
-
}
|
4303
|
-
return obj;
|
4304
|
-
};
|
4305
|
-
}
|
4306
|
-
|
4307
|
-
|
4308
|
-
/**
|
4309
|
-
* Deserializes binary data (in protobuf wire format).
|
4310
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4311
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate}
|
4312
|
-
*/
|
4313
|
-
proto.teletubby.v1.QueryOrPredicate.deserializeBinary = function(bytes) {
|
4314
|
-
var reader = new jspb.BinaryReader(bytes);
|
4315
|
-
var msg = new proto.teletubby.v1.QueryOrPredicate;
|
4316
|
-
return proto.teletubby.v1.QueryOrPredicate.deserializeBinaryFromReader(msg, reader);
|
4317
|
-
};
|
4318
|
-
|
4319
|
-
|
4320
|
-
/**
|
4321
|
-
* Deserializes binary data (in protobuf wire format) from the
|
4322
|
-
* given reader into the given message object.
|
4323
|
-
* @param {!proto.teletubby.v1.QueryOrPredicate} msg The message object to deserialize into.
|
4324
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4325
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate}
|
4326
|
-
*/
|
4327
|
-
proto.teletubby.v1.QueryOrPredicate.deserializeBinaryFromReader = function(msg, reader) {
|
4328
|
-
while (reader.nextField()) {
|
4329
|
-
if (reader.isEndGroup()) {
|
4330
|
-
break;
|
4331
|
-
}
|
4332
|
-
var field = reader.getFieldNumber();
|
4333
|
-
switch (field) {
|
4334
|
-
case 1:
|
4335
|
-
var value = new proto.teletubby.v1.Query;
|
4336
|
-
reader.readMessage(value,proto.teletubby.v1.Query.deserializeBinaryFromReader);
|
4337
|
-
msg.setQuery(value);
|
4338
|
-
break;
|
4339
|
-
case 2:
|
4340
|
-
var value = new proto.teletubby.v1.Predicate;
|
4341
|
-
reader.readMessage(value,proto.teletubby.v1.Predicate.deserializeBinaryFromReader);
|
4342
|
-
msg.setPredicate(value);
|
4343
|
-
break;
|
4344
|
-
default:
|
4345
|
-
reader.skipField();
|
4346
|
-
break;
|
4347
|
-
}
|
4348
|
-
}
|
4349
|
-
return msg;
|
4350
|
-
};
|
4351
|
-
|
4352
|
-
|
4353
|
-
/**
|
4354
|
-
* Serializes the message to binary data (in protobuf wire format).
|
4355
|
-
* @return {!Uint8Array}
|
4356
|
-
*/
|
4357
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.serializeBinary = function() {
|
4358
|
-
var writer = new jspb.BinaryWriter();
|
4359
|
-
proto.teletubby.v1.QueryOrPredicate.serializeBinaryToWriter(this, writer);
|
4360
|
-
return writer.getResultBuffer();
|
4361
|
-
};
|
4362
|
-
|
4363
|
-
|
4364
|
-
/**
|
4365
|
-
* Serializes the given message to binary data (in protobuf wire
|
4366
|
-
* format), writing to the given BinaryWriter.
|
4367
|
-
* @param {!proto.teletubby.v1.QueryOrPredicate} message
|
4368
|
-
* @param {!jspb.BinaryWriter} writer
|
4369
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4370
|
-
*/
|
4371
|
-
proto.teletubby.v1.QueryOrPredicate.serializeBinaryToWriter = function(message, writer) {
|
4372
|
-
var f = undefined;
|
4373
|
-
f = message.getQuery();
|
4374
|
-
if (f != null) {
|
4375
|
-
writer.writeMessage(
|
4376
|
-
1,
|
4377
|
-
f,
|
4378
|
-
proto.teletubby.v1.Query.serializeBinaryToWriter
|
4379
|
-
);
|
4380
|
-
}
|
4381
|
-
f = message.getPredicate();
|
4382
|
-
if (f != null) {
|
4383
|
-
writer.writeMessage(
|
4384
|
-
2,
|
4385
|
-
f,
|
4386
|
-
proto.teletubby.v1.Predicate.serializeBinaryToWriter
|
4387
|
-
);
|
4388
|
-
}
|
4389
|
-
};
|
4390
|
-
|
4391
|
-
|
4392
|
-
/**
|
4393
|
-
* optional Query query = 1;
|
4394
|
-
* @return {?proto.teletubby.v1.Query}
|
4395
|
-
*/
|
4396
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.getQuery = function() {
|
4397
|
-
return /** @type{?proto.teletubby.v1.Query} */ (
|
4398
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.Query, 1));
|
4399
|
-
};
|
4400
|
-
|
4401
|
-
|
4402
|
-
/**
|
4403
|
-
* @param {?proto.teletubby.v1.Query|undefined} value
|
4404
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate} returns this
|
4405
|
-
*/
|
4406
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.setQuery = function(value) {
|
4407
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.teletubby.v1.QueryOrPredicate.oneofGroups_[0], value);
|
4408
|
-
};
|
4409
|
-
|
4410
|
-
|
4411
|
-
/**
|
4412
|
-
* Clears the message field making it undefined.
|
4413
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate} returns this
|
4414
|
-
*/
|
4415
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.clearQuery = function() {
|
4416
|
-
return this.setQuery(undefined);
|
4417
|
-
};
|
4418
|
-
|
4419
|
-
|
4420
|
-
/**
|
4421
|
-
* Returns whether this field is set.
|
4422
|
-
* @return {boolean}
|
4423
|
-
*/
|
4424
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.hasQuery = function() {
|
4425
|
-
return jspb.Message.getField(this, 1) != null;
|
4426
|
-
};
|
4427
|
-
|
4428
|
-
|
4429
|
-
/**
|
4430
|
-
* optional Predicate predicate = 2;
|
4431
|
-
* @return {?proto.teletubby.v1.Predicate}
|
4432
|
-
*/
|
4433
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.getPredicate = function() {
|
4434
|
-
return /** @type{?proto.teletubby.v1.Predicate} */ (
|
4435
|
-
jspb.Message.getWrapperField(this, proto.teletubby.v1.Predicate, 2));
|
4436
|
-
};
|
4437
|
-
|
4438
|
-
|
4439
|
-
/**
|
4440
|
-
* @param {?proto.teletubby.v1.Predicate|undefined} value
|
4441
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate} returns this
|
4442
|
-
*/
|
4443
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.setPredicate = function(value) {
|
4444
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.teletubby.v1.QueryOrPredicate.oneofGroups_[0], value);
|
4445
|
-
};
|
4446
|
-
|
4447
|
-
|
4448
|
-
/**
|
4449
|
-
* Clears the message field making it undefined.
|
4450
|
-
* @return {!proto.teletubby.v1.QueryOrPredicate} returns this
|
4451
|
-
*/
|
4452
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.clearPredicate = function() {
|
4453
|
-
return this.setPredicate(undefined);
|
4454
|
-
};
|
4455
|
-
|
4456
|
-
|
4457
|
-
/**
|
4458
|
-
* Returns whether this field is set.
|
4459
|
-
* @return {boolean}
|
4460
|
-
*/
|
4461
|
-
proto.teletubby.v1.QueryOrPredicate.prototype.hasPredicate = function() {
|
4462
|
-
return jspb.Message.getField(this, 2) != null;
|
4463
|
-
};
|
4464
|
-
|
4465
|
-
|
4466
|
-
|
4467
|
-
|
4468
|
-
|
4469
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4470
|
-
/**
|
4471
|
-
* Creates an object representation of this proto.
|
4472
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4473
|
-
* Optional fields that are not set will be set to undefined.
|
4474
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4475
|
-
* For the list of reserved names please see:
|
4476
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4477
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4478
|
-
* JSPB instance for transitional soy proto support:
|
4479
|
-
* http://goto/soy-param-migration
|
4480
|
-
* @return {!Object}
|
4481
|
-
*/
|
4482
|
-
proto.teletubby.v1.Predicate.prototype.toObject = function(opt_includeInstance) {
|
4483
|
-
return proto.teletubby.v1.Predicate.toObject(opt_includeInstance, this);
|
4484
|
-
};
|
4485
|
-
|
4486
|
-
|
4487
|
-
/**
|
4488
|
-
* Static version of the {@see toObject} method.
|
4489
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4490
|
-
* the JSPB instance for transitional soy proto support:
|
4491
|
-
* http://goto/soy-param-migration
|
4492
|
-
* @param {!proto.teletubby.v1.Predicate} msg The msg instance to transform.
|
4493
|
-
* @return {!Object}
|
4494
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4495
|
-
*/
|
4496
|
-
proto.teletubby.v1.Predicate.toObject = function(includeInstance, msg) {
|
4497
|
-
var f, obj = {
|
4498
|
-
attribute: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
4499
|
-
operation: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
4500
|
-
value: jspb.Message.getFieldWithDefault(msg, 3, "")
|
4501
|
-
};
|
4502
|
-
|
4503
|
-
if (includeInstance) {
|
4504
|
-
obj.$jspbMessageInstance = msg;
|
4505
|
-
}
|
4506
|
-
return obj;
|
4507
|
-
};
|
4508
|
-
}
|
4509
|
-
|
4510
|
-
|
4511
|
-
/**
|
4512
|
-
* Deserializes binary data (in protobuf wire format).
|
4513
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4514
|
-
* @return {!proto.teletubby.v1.Predicate}
|
4515
|
-
*/
|
4516
|
-
proto.teletubby.v1.Predicate.deserializeBinary = function(bytes) {
|
4517
|
-
var reader = new jspb.BinaryReader(bytes);
|
4518
|
-
var msg = new proto.teletubby.v1.Predicate;
|
4519
|
-
return proto.teletubby.v1.Predicate.deserializeBinaryFromReader(msg, reader);
|
4520
|
-
};
|
4521
|
-
|
4522
|
-
|
4523
|
-
/**
|
4524
|
-
* Deserializes binary data (in protobuf wire format) from the
|
4525
|
-
* given reader into the given message object.
|
4526
|
-
* @param {!proto.teletubby.v1.Predicate} msg The message object to deserialize into.
|
4527
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4528
|
-
* @return {!proto.teletubby.v1.Predicate}
|
4529
|
-
*/
|
4530
|
-
proto.teletubby.v1.Predicate.deserializeBinaryFromReader = function(msg, reader) {
|
4531
|
-
while (reader.nextField()) {
|
4532
|
-
if (reader.isEndGroup()) {
|
4533
|
-
break;
|
4534
|
-
}
|
4535
|
-
var field = reader.getFieldNumber();
|
4536
|
-
switch (field) {
|
4537
|
-
case 1:
|
4538
|
-
var value = /** @type {!proto.teletubby.v1.PredicateAttribute} */ (reader.readEnum());
|
4539
|
-
msg.setAttribute(value);
|
4540
|
-
break;
|
4541
|
-
case 2:
|
4542
|
-
var value = /** @type {!proto.teletubby.v1.ComparisonOperation} */ (reader.readEnum());
|
4543
|
-
msg.setOperation(value);
|
4544
|
-
break;
|
4545
|
-
case 3:
|
4546
|
-
var value = /** @type {string} */ (reader.readString());
|
4547
|
-
msg.setValue(value);
|
4548
|
-
break;
|
4549
|
-
default:
|
4550
|
-
reader.skipField();
|
4551
|
-
break;
|
4552
|
-
}
|
4553
|
-
}
|
4554
|
-
return msg;
|
4555
|
-
};
|
4556
|
-
|
4557
|
-
|
4558
|
-
/**
|
4559
|
-
* Serializes the message to binary data (in protobuf wire format).
|
4560
|
-
* @return {!Uint8Array}
|
4561
|
-
*/
|
4562
|
-
proto.teletubby.v1.Predicate.prototype.serializeBinary = function() {
|
4563
|
-
var writer = new jspb.BinaryWriter();
|
4564
|
-
proto.teletubby.v1.Predicate.serializeBinaryToWriter(this, writer);
|
4565
|
-
return writer.getResultBuffer();
|
4566
|
-
};
|
4567
|
-
|
4568
|
-
|
4569
|
-
/**
|
4570
|
-
* Serializes the given message to binary data (in protobuf wire
|
4571
|
-
* format), writing to the given BinaryWriter.
|
4572
|
-
* @param {!proto.teletubby.v1.Predicate} message
|
4573
|
-
* @param {!jspb.BinaryWriter} writer
|
4574
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4575
|
-
*/
|
4576
|
-
proto.teletubby.v1.Predicate.serializeBinaryToWriter = function(message, writer) {
|
4577
|
-
var f = undefined;
|
4578
|
-
f = message.getAttribute();
|
4579
|
-
if (f !== 0.0) {
|
4580
|
-
writer.writeEnum(
|
4581
|
-
1,
|
4582
|
-
f
|
4583
|
-
);
|
4584
|
-
}
|
4585
|
-
f = message.getOperation();
|
4586
|
-
if (f !== 0.0) {
|
4587
|
-
writer.writeEnum(
|
4588
|
-
2,
|
4589
|
-
f
|
4590
|
-
);
|
4591
|
-
}
|
4592
|
-
f = message.getValue();
|
4593
|
-
if (f.length > 0) {
|
4594
|
-
writer.writeString(
|
4595
|
-
3,
|
4596
|
-
f
|
4597
|
-
);
|
4598
|
-
}
|
4599
|
-
};
|
4600
|
-
|
4601
|
-
|
4602
|
-
/**
|
4603
|
-
* optional PredicateAttribute attribute = 1;
|
4604
|
-
* @return {!proto.teletubby.v1.PredicateAttribute}
|
4605
|
-
*/
|
4606
|
-
proto.teletubby.v1.Predicate.prototype.getAttribute = function() {
|
4607
|
-
return /** @type {!proto.teletubby.v1.PredicateAttribute} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
4608
|
-
};
|
4609
|
-
|
4610
|
-
|
4611
|
-
/**
|
4612
|
-
* @param {!proto.teletubby.v1.PredicateAttribute} value
|
4613
|
-
* @return {!proto.teletubby.v1.Predicate} returns this
|
4614
|
-
*/
|
4615
|
-
proto.teletubby.v1.Predicate.prototype.setAttribute = function(value) {
|
4616
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
4617
|
-
};
|
4618
|
-
|
4619
|
-
|
4620
|
-
/**
|
4621
|
-
* optional ComparisonOperation operation = 2;
|
4622
|
-
* @return {!proto.teletubby.v1.ComparisonOperation}
|
4623
|
-
*/
|
4624
|
-
proto.teletubby.v1.Predicate.prototype.getOperation = function() {
|
4625
|
-
return /** @type {!proto.teletubby.v1.ComparisonOperation} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
4626
|
-
};
|
4627
|
-
|
4628
|
-
|
4629
|
-
/**
|
4630
|
-
* @param {!proto.teletubby.v1.ComparisonOperation} value
|
4631
|
-
* @return {!proto.teletubby.v1.Predicate} returns this
|
4632
|
-
*/
|
4633
|
-
proto.teletubby.v1.Predicate.prototype.setOperation = function(value) {
|
4634
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
4635
|
-
};
|
4636
|
-
|
4637
|
-
|
4638
|
-
/**
|
4639
|
-
* optional string value = 3;
|
4640
|
-
* @return {string}
|
4641
|
-
*/
|
4642
|
-
proto.teletubby.v1.Predicate.prototype.getValue = function() {
|
4643
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
4644
|
-
};
|
4645
|
-
|
4646
|
-
|
4647
|
-
/**
|
4648
|
-
* @param {string} value
|
4649
|
-
* @return {!proto.teletubby.v1.Predicate} returns this
|
4650
|
-
*/
|
4651
|
-
proto.teletubby.v1.Predicate.prototype.setValue = function(value) {
|
4652
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
4653
|
-
};
|
4654
|
-
|
4655
|
-
|
4656
|
-
|
4657
|
-
|
4658
|
-
|
4659
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
4660
|
-
/**
|
4661
|
-
* Creates an object representation of this proto.
|
4662
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
4663
|
-
* Optional fields that are not set will be set to undefined.
|
4664
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
4665
|
-
* For the list of reserved names please see:
|
4666
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
4667
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
4668
|
-
* JSPB instance for transitional soy proto support:
|
4669
|
-
* http://goto/soy-param-migration
|
4670
|
-
* @return {!Object}
|
4671
|
-
*/
|
4672
|
-
proto.teletubby.v1.Heartbeat.prototype.toObject = function(opt_includeInstance) {
|
4673
|
-
return proto.teletubby.v1.Heartbeat.toObject(opt_includeInstance, this);
|
4674
|
-
};
|
4675
|
-
|
4676
|
-
|
4677
|
-
/**
|
4678
|
-
* Static version of the {@see toObject} method.
|
4679
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
4680
|
-
* the JSPB instance for transitional soy proto support:
|
4681
|
-
* http://goto/soy-param-migration
|
4682
|
-
* @param {!proto.teletubby.v1.Heartbeat} msg The msg instance to transform.
|
4683
|
-
* @return {!Object}
|
4684
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4685
|
-
*/
|
4686
|
-
proto.teletubby.v1.Heartbeat.toObject = function(includeInstance, msg) {
|
4687
|
-
var f, obj = {
|
4688
|
-
|
4689
|
-
};
|
4690
|
-
|
4691
|
-
if (includeInstance) {
|
4692
|
-
obj.$jspbMessageInstance = msg;
|
4693
|
-
}
|
4694
|
-
return obj;
|
4695
|
-
};
|
4696
|
-
}
|
4697
|
-
|
4698
|
-
|
4699
|
-
/**
|
4700
|
-
* Deserializes binary data (in protobuf wire format).
|
4701
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
4702
|
-
* @return {!proto.teletubby.v1.Heartbeat}
|
4703
|
-
*/
|
4704
|
-
proto.teletubby.v1.Heartbeat.deserializeBinary = function(bytes) {
|
4705
|
-
var reader = new jspb.BinaryReader(bytes);
|
4706
|
-
var msg = new proto.teletubby.v1.Heartbeat;
|
4707
|
-
return proto.teletubby.v1.Heartbeat.deserializeBinaryFromReader(msg, reader);
|
4708
|
-
};
|
4709
|
-
|
4710
|
-
|
4711
|
-
/**
|
4712
|
-
* Deserializes binary data (in protobuf wire format) from the
|
4713
|
-
* given reader into the given message object.
|
4714
|
-
* @param {!proto.teletubby.v1.Heartbeat} msg The message object to deserialize into.
|
4715
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
4716
|
-
* @return {!proto.teletubby.v1.Heartbeat}
|
4717
|
-
*/
|
4718
|
-
proto.teletubby.v1.Heartbeat.deserializeBinaryFromReader = function(msg, reader) {
|
4719
|
-
while (reader.nextField()) {
|
4720
|
-
if (reader.isEndGroup()) {
|
4721
|
-
break;
|
4722
|
-
}
|
4723
|
-
var field = reader.getFieldNumber();
|
4724
|
-
switch (field) {
|
4725
|
-
default:
|
4726
|
-
reader.skipField();
|
4727
|
-
break;
|
4728
|
-
}
|
4729
|
-
}
|
4730
|
-
return msg;
|
4731
|
-
};
|
4732
|
-
|
4733
|
-
|
4734
|
-
/**
|
4735
|
-
* Serializes the message to binary data (in protobuf wire format).
|
4736
|
-
* @return {!Uint8Array}
|
4737
|
-
*/
|
4738
|
-
proto.teletubby.v1.Heartbeat.prototype.serializeBinary = function() {
|
4739
|
-
var writer = new jspb.BinaryWriter();
|
4740
|
-
proto.teletubby.v1.Heartbeat.serializeBinaryToWriter(this, writer);
|
4741
|
-
return writer.getResultBuffer();
|
4742
|
-
};
|
4743
|
-
|
4744
|
-
|
4745
|
-
/**
|
4746
|
-
* Serializes the given message to binary data (in protobuf wire
|
4747
|
-
* format), writing to the given BinaryWriter.
|
4748
|
-
* @param {!proto.teletubby.v1.Heartbeat} message
|
4749
|
-
* @param {!jspb.BinaryWriter} writer
|
4750
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
4751
|
-
*/
|
4752
|
-
proto.teletubby.v1.Heartbeat.serializeBinaryToWriter = function(message, writer) {
|
4753
|
-
var f = undefined;
|
4754
|
-
};
|
4755
|
-
|
4756
|
-
|
4757
|
-
/**
|
4758
|
-
* @enum {number}
|
4759
|
-
*/
|
4760
|
-
proto.teletubby.v1.TelemetryAckStatus = {
|
4761
|
-
OK: 0,
|
4762
|
-
REJECT: 1
|
4763
|
-
};
|
4764
|
-
|
4765
|
-
/**
|
4766
|
-
* @enum {number}
|
4767
|
-
*/
|
4768
|
-
proto.teletubby.v1.LogicalOperation = {
|
4769
|
-
OR: 0
|
4770
|
-
};
|
4771
|
-
|
4772
|
-
/**
|
4773
|
-
* @enum {number}
|
4774
|
-
*/
|
4775
|
-
proto.teletubby.v1.ComparisonOperation = {
|
4776
|
-
EQUAL: 0
|
4777
|
-
};
|
4778
|
-
|
4779
|
-
/**
|
4780
|
-
* @enum {number}
|
4781
|
-
*/
|
4782
|
-
proto.teletubby.v1.PredicateAttribute = {
|
4783
|
-
TAG: 0
|
4784
|
-
};
|
4785
|
-
|
4786
|
-
goog.object.extend(exports, proto.teletubby.v1);
|