@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
package/grpc/video/pigeon_pb.js
DELETED
@@ -1,1775 +0,0 @@
|
|
1
|
-
// source: pigeon.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.pigeon.v1.AddIceCandidateRequest', null, global);
|
18
|
-
goog.exportSymbol('proto.pigeon.v1.AnswerRequest', null, global);
|
19
|
-
goog.exportSymbol('proto.pigeon.v1.CameraConnectRequest', null, global);
|
20
|
-
goog.exportSymbol('proto.pigeon.v1.GetDetailsRequest', null, global);
|
21
|
-
goog.exportSymbol('proto.pigeon.v1.GetDetailsResponse', null, global);
|
22
|
-
goog.exportSymbol('proto.pigeon.v1.Message', null, global);
|
23
|
-
goog.exportSymbol('proto.pigeon.v1.OfferRequest', null, global);
|
24
|
-
goog.exportSymbol('proto.pigeon.v1.OperatorConnectRequest', null, global);
|
25
|
-
goog.exportSymbol('proto.pigeon.v1.Outcome', null, global);
|
26
|
-
/**
|
27
|
-
* Generated by JsPbCodeGenerator.
|
28
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
29
|
-
* server response, or constructed directly in Javascript. The array is used
|
30
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
31
|
-
* If no data is provided, the constructed object will be empty, but still
|
32
|
-
* valid.
|
33
|
-
* @extends {jspb.Message}
|
34
|
-
* @constructor
|
35
|
-
*/
|
36
|
-
proto.pigeon.v1.GetDetailsRequest = function(opt_data) {
|
37
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
38
|
-
};
|
39
|
-
goog.inherits(proto.pigeon.v1.GetDetailsRequest, jspb.Message);
|
40
|
-
if (goog.DEBUG && !COMPILED) {
|
41
|
-
/**
|
42
|
-
* @public
|
43
|
-
* @override
|
44
|
-
*/
|
45
|
-
proto.pigeon.v1.GetDetailsRequest.displayName = 'proto.pigeon.v1.GetDetailsRequest';
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* Generated by JsPbCodeGenerator.
|
49
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
50
|
-
* server response, or constructed directly in Javascript. The array is used
|
51
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
52
|
-
* If no data is provided, the constructed object will be empty, but still
|
53
|
-
* valid.
|
54
|
-
* @extends {jspb.Message}
|
55
|
-
* @constructor
|
56
|
-
*/
|
57
|
-
proto.pigeon.v1.GetDetailsResponse = function(opt_data) {
|
58
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
59
|
-
};
|
60
|
-
goog.inherits(proto.pigeon.v1.GetDetailsResponse, jspb.Message);
|
61
|
-
if (goog.DEBUG && !COMPILED) {
|
62
|
-
/**
|
63
|
-
* @public
|
64
|
-
* @override
|
65
|
-
*/
|
66
|
-
proto.pigeon.v1.GetDetailsResponse.displayName = 'proto.pigeon.v1.GetDetailsResponse';
|
67
|
-
}
|
68
|
-
/**
|
69
|
-
* Generated by JsPbCodeGenerator.
|
70
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
71
|
-
* server response, or constructed directly in Javascript. The array is used
|
72
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
73
|
-
* If no data is provided, the constructed object will be empty, but still
|
74
|
-
* valid.
|
75
|
-
* @extends {jspb.Message}
|
76
|
-
* @constructor
|
77
|
-
*/
|
78
|
-
proto.pigeon.v1.OperatorConnectRequest = function(opt_data) {
|
79
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
80
|
-
};
|
81
|
-
goog.inherits(proto.pigeon.v1.OperatorConnectRequest, jspb.Message);
|
82
|
-
if (goog.DEBUG && !COMPILED) {
|
83
|
-
/**
|
84
|
-
* @public
|
85
|
-
* @override
|
86
|
-
*/
|
87
|
-
proto.pigeon.v1.OperatorConnectRequest.displayName = 'proto.pigeon.v1.OperatorConnectRequest';
|
88
|
-
}
|
89
|
-
/**
|
90
|
-
* Generated by JsPbCodeGenerator.
|
91
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
92
|
-
* server response, or constructed directly in Javascript. The array is used
|
93
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
94
|
-
* If no data is provided, the constructed object will be empty, but still
|
95
|
-
* valid.
|
96
|
-
* @extends {jspb.Message}
|
97
|
-
* @constructor
|
98
|
-
*/
|
99
|
-
proto.pigeon.v1.AddIceCandidateRequest = function(opt_data) {
|
100
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
101
|
-
};
|
102
|
-
goog.inherits(proto.pigeon.v1.AddIceCandidateRequest, jspb.Message);
|
103
|
-
if (goog.DEBUG && !COMPILED) {
|
104
|
-
/**
|
105
|
-
* @public
|
106
|
-
* @override
|
107
|
-
*/
|
108
|
-
proto.pigeon.v1.AddIceCandidateRequest.displayName = 'proto.pigeon.v1.AddIceCandidateRequest';
|
109
|
-
}
|
110
|
-
/**
|
111
|
-
* Generated by JsPbCodeGenerator.
|
112
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
113
|
-
* server response, or constructed directly in Javascript. The array is used
|
114
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
115
|
-
* If no data is provided, the constructed object will be empty, but still
|
116
|
-
* valid.
|
117
|
-
* @extends {jspb.Message}
|
118
|
-
* @constructor
|
119
|
-
*/
|
120
|
-
proto.pigeon.v1.Outcome = function(opt_data) {
|
121
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
122
|
-
};
|
123
|
-
goog.inherits(proto.pigeon.v1.Outcome, jspb.Message);
|
124
|
-
if (goog.DEBUG && !COMPILED) {
|
125
|
-
/**
|
126
|
-
* @public
|
127
|
-
* @override
|
128
|
-
*/
|
129
|
-
proto.pigeon.v1.Outcome.displayName = 'proto.pigeon.v1.Outcome';
|
130
|
-
}
|
131
|
-
/**
|
132
|
-
* Generated by JsPbCodeGenerator.
|
133
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
134
|
-
* server response, or constructed directly in Javascript. The array is used
|
135
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
136
|
-
* If no data is provided, the constructed object will be empty, but still
|
137
|
-
* valid.
|
138
|
-
* @extends {jspb.Message}
|
139
|
-
* @constructor
|
140
|
-
*/
|
141
|
-
proto.pigeon.v1.Message = function(opt_data) {
|
142
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
143
|
-
};
|
144
|
-
goog.inherits(proto.pigeon.v1.Message, jspb.Message);
|
145
|
-
if (goog.DEBUG && !COMPILED) {
|
146
|
-
/**
|
147
|
-
* @public
|
148
|
-
* @override
|
149
|
-
*/
|
150
|
-
proto.pigeon.v1.Message.displayName = 'proto.pigeon.v1.Message';
|
151
|
-
}
|
152
|
-
/**
|
153
|
-
* Generated by JsPbCodeGenerator.
|
154
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
155
|
-
* server response, or constructed directly in Javascript. The array is used
|
156
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
157
|
-
* If no data is provided, the constructed object will be empty, but still
|
158
|
-
* valid.
|
159
|
-
* @extends {jspb.Message}
|
160
|
-
* @constructor
|
161
|
-
*/
|
162
|
-
proto.pigeon.v1.CameraConnectRequest = function(opt_data) {
|
163
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
164
|
-
};
|
165
|
-
goog.inherits(proto.pigeon.v1.CameraConnectRequest, jspb.Message);
|
166
|
-
if (goog.DEBUG && !COMPILED) {
|
167
|
-
/**
|
168
|
-
* @public
|
169
|
-
* @override
|
170
|
-
*/
|
171
|
-
proto.pigeon.v1.CameraConnectRequest.displayName = 'proto.pigeon.v1.CameraConnectRequest';
|
172
|
-
}
|
173
|
-
/**
|
174
|
-
* Generated by JsPbCodeGenerator.
|
175
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
176
|
-
* server response, or constructed directly in Javascript. The array is used
|
177
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
178
|
-
* If no data is provided, the constructed object will be empty, but still
|
179
|
-
* valid.
|
180
|
-
* @extends {jspb.Message}
|
181
|
-
* @constructor
|
182
|
-
*/
|
183
|
-
proto.pigeon.v1.OfferRequest = function(opt_data) {
|
184
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
185
|
-
};
|
186
|
-
goog.inherits(proto.pigeon.v1.OfferRequest, jspb.Message);
|
187
|
-
if (goog.DEBUG && !COMPILED) {
|
188
|
-
/**
|
189
|
-
* @public
|
190
|
-
* @override
|
191
|
-
*/
|
192
|
-
proto.pigeon.v1.OfferRequest.displayName = 'proto.pigeon.v1.OfferRequest';
|
193
|
-
}
|
194
|
-
/**
|
195
|
-
* Generated by JsPbCodeGenerator.
|
196
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
197
|
-
* server response, or constructed directly in Javascript. The array is used
|
198
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
199
|
-
* If no data is provided, the constructed object will be empty, but still
|
200
|
-
* valid.
|
201
|
-
* @extends {jspb.Message}
|
202
|
-
* @constructor
|
203
|
-
*/
|
204
|
-
proto.pigeon.v1.AnswerRequest = function(opt_data) {
|
205
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
206
|
-
};
|
207
|
-
goog.inherits(proto.pigeon.v1.AnswerRequest, jspb.Message);
|
208
|
-
if (goog.DEBUG && !COMPILED) {
|
209
|
-
/**
|
210
|
-
* @public
|
211
|
-
* @override
|
212
|
-
*/
|
213
|
-
proto.pigeon.v1.AnswerRequest.displayName = 'proto.pigeon.v1.AnswerRequest';
|
214
|
-
}
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
219
|
-
/**
|
220
|
-
* Creates an object representation of this proto.
|
221
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
222
|
-
* Optional fields that are not set will be set to undefined.
|
223
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
224
|
-
* For the list of reserved names please see:
|
225
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
226
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
227
|
-
* JSPB instance for transitional soy proto support:
|
228
|
-
* http://goto/soy-param-migration
|
229
|
-
* @return {!Object}
|
230
|
-
*/
|
231
|
-
proto.pigeon.v1.GetDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
232
|
-
return proto.pigeon.v1.GetDetailsRequest.toObject(opt_includeInstance, this);
|
233
|
-
};
|
234
|
-
|
235
|
-
|
236
|
-
/**
|
237
|
-
* Static version of the {@see toObject} method.
|
238
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
239
|
-
* the JSPB instance for transitional soy proto support:
|
240
|
-
* http://goto/soy-param-migration
|
241
|
-
* @param {!proto.pigeon.v1.GetDetailsRequest} msg The msg instance to transform.
|
242
|
-
* @return {!Object}
|
243
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
244
|
-
*/
|
245
|
-
proto.pigeon.v1.GetDetailsRequest.toObject = function(includeInstance, msg) {
|
246
|
-
var f, obj = {
|
247
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
248
|
-
};
|
249
|
-
|
250
|
-
if (includeInstance) {
|
251
|
-
obj.$jspbMessageInstance = msg;
|
252
|
-
}
|
253
|
-
return obj;
|
254
|
-
};
|
255
|
-
}
|
256
|
-
|
257
|
-
|
258
|
-
/**
|
259
|
-
* Deserializes binary data (in protobuf wire format).
|
260
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
261
|
-
* @return {!proto.pigeon.v1.GetDetailsRequest}
|
262
|
-
*/
|
263
|
-
proto.pigeon.v1.GetDetailsRequest.deserializeBinary = function(bytes) {
|
264
|
-
var reader = new jspb.BinaryReader(bytes);
|
265
|
-
var msg = new proto.pigeon.v1.GetDetailsRequest;
|
266
|
-
return proto.pigeon.v1.GetDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
267
|
-
};
|
268
|
-
|
269
|
-
|
270
|
-
/**
|
271
|
-
* Deserializes binary data (in protobuf wire format) from the
|
272
|
-
* given reader into the given message object.
|
273
|
-
* @param {!proto.pigeon.v1.GetDetailsRequest} msg The message object to deserialize into.
|
274
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
275
|
-
* @return {!proto.pigeon.v1.GetDetailsRequest}
|
276
|
-
*/
|
277
|
-
proto.pigeon.v1.GetDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
278
|
-
while (reader.nextField()) {
|
279
|
-
if (reader.isEndGroup()) {
|
280
|
-
break;
|
281
|
-
}
|
282
|
-
var field = reader.getFieldNumber();
|
283
|
-
switch (field) {
|
284
|
-
case 1:
|
285
|
-
var value = /** @type {string} */ (reader.readString());
|
286
|
-
msg.setVideoid(value);
|
287
|
-
break;
|
288
|
-
default:
|
289
|
-
reader.skipField();
|
290
|
-
break;
|
291
|
-
}
|
292
|
-
}
|
293
|
-
return msg;
|
294
|
-
};
|
295
|
-
|
296
|
-
|
297
|
-
/**
|
298
|
-
* Serializes the message to binary data (in protobuf wire format).
|
299
|
-
* @return {!Uint8Array}
|
300
|
-
*/
|
301
|
-
proto.pigeon.v1.GetDetailsRequest.prototype.serializeBinary = function() {
|
302
|
-
var writer = new jspb.BinaryWriter();
|
303
|
-
proto.pigeon.v1.GetDetailsRequest.serializeBinaryToWriter(this, writer);
|
304
|
-
return writer.getResultBuffer();
|
305
|
-
};
|
306
|
-
|
307
|
-
|
308
|
-
/**
|
309
|
-
* Serializes the given message to binary data (in protobuf wire
|
310
|
-
* format), writing to the given BinaryWriter.
|
311
|
-
* @param {!proto.pigeon.v1.GetDetailsRequest} message
|
312
|
-
* @param {!jspb.BinaryWriter} writer
|
313
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
314
|
-
*/
|
315
|
-
proto.pigeon.v1.GetDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
316
|
-
var f = undefined;
|
317
|
-
f = message.getVideoid();
|
318
|
-
if (f.length > 0) {
|
319
|
-
writer.writeString(
|
320
|
-
1,
|
321
|
-
f
|
322
|
-
);
|
323
|
-
}
|
324
|
-
};
|
325
|
-
|
326
|
-
|
327
|
-
/**
|
328
|
-
* optional string videoId = 1;
|
329
|
-
* @return {string}
|
330
|
-
*/
|
331
|
-
proto.pigeon.v1.GetDetailsRequest.prototype.getVideoid = function() {
|
332
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
333
|
-
};
|
334
|
-
|
335
|
-
|
336
|
-
/**
|
337
|
-
* @param {string} value
|
338
|
-
* @return {!proto.pigeon.v1.GetDetailsRequest} returns this
|
339
|
-
*/
|
340
|
-
proto.pigeon.v1.GetDetailsRequest.prototype.setVideoid = function(value) {
|
341
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
342
|
-
};
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
349
|
-
/**
|
350
|
-
* Creates an object representation of this proto.
|
351
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
352
|
-
* Optional fields that are not set will be set to undefined.
|
353
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
354
|
-
* For the list of reserved names please see:
|
355
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
356
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
357
|
-
* JSPB instance for transitional soy proto support:
|
358
|
-
* http://goto/soy-param-migration
|
359
|
-
* @return {!Object}
|
360
|
-
*/
|
361
|
-
proto.pigeon.v1.GetDetailsResponse.prototype.toObject = function(opt_includeInstance) {
|
362
|
-
return proto.pigeon.v1.GetDetailsResponse.toObject(opt_includeInstance, this);
|
363
|
-
};
|
364
|
-
|
365
|
-
|
366
|
-
/**
|
367
|
-
* Static version of the {@see toObject} method.
|
368
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
369
|
-
* the JSPB instance for transitional soy proto support:
|
370
|
-
* http://goto/soy-param-migration
|
371
|
-
* @param {!proto.pigeon.v1.GetDetailsResponse} msg The msg instance to transform.
|
372
|
-
* @return {!Object}
|
373
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
374
|
-
*/
|
375
|
-
proto.pigeon.v1.GetDetailsResponse.toObject = function(includeInstance, msg) {
|
376
|
-
var f, obj = {
|
377
|
-
operators: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
378
|
-
};
|
379
|
-
|
380
|
-
if (includeInstance) {
|
381
|
-
obj.$jspbMessageInstance = msg;
|
382
|
-
}
|
383
|
-
return obj;
|
384
|
-
};
|
385
|
-
}
|
386
|
-
|
387
|
-
|
388
|
-
/**
|
389
|
-
* Deserializes binary data (in protobuf wire format).
|
390
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
391
|
-
* @return {!proto.pigeon.v1.GetDetailsResponse}
|
392
|
-
*/
|
393
|
-
proto.pigeon.v1.GetDetailsResponse.deserializeBinary = function(bytes) {
|
394
|
-
var reader = new jspb.BinaryReader(bytes);
|
395
|
-
var msg = new proto.pigeon.v1.GetDetailsResponse;
|
396
|
-
return proto.pigeon.v1.GetDetailsResponse.deserializeBinaryFromReader(msg, reader);
|
397
|
-
};
|
398
|
-
|
399
|
-
|
400
|
-
/**
|
401
|
-
* Deserializes binary data (in protobuf wire format) from the
|
402
|
-
* given reader into the given message object.
|
403
|
-
* @param {!proto.pigeon.v1.GetDetailsResponse} msg The message object to deserialize into.
|
404
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
405
|
-
* @return {!proto.pigeon.v1.GetDetailsResponse}
|
406
|
-
*/
|
407
|
-
proto.pigeon.v1.GetDetailsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
408
|
-
while (reader.nextField()) {
|
409
|
-
if (reader.isEndGroup()) {
|
410
|
-
break;
|
411
|
-
}
|
412
|
-
var field = reader.getFieldNumber();
|
413
|
-
switch (field) {
|
414
|
-
case 1:
|
415
|
-
var value = /** @type {number} */ (reader.readInt32());
|
416
|
-
msg.setOperators(value);
|
417
|
-
break;
|
418
|
-
default:
|
419
|
-
reader.skipField();
|
420
|
-
break;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
return msg;
|
424
|
-
};
|
425
|
-
|
426
|
-
|
427
|
-
/**
|
428
|
-
* Serializes the message to binary data (in protobuf wire format).
|
429
|
-
* @return {!Uint8Array}
|
430
|
-
*/
|
431
|
-
proto.pigeon.v1.GetDetailsResponse.prototype.serializeBinary = function() {
|
432
|
-
var writer = new jspb.BinaryWriter();
|
433
|
-
proto.pigeon.v1.GetDetailsResponse.serializeBinaryToWriter(this, writer);
|
434
|
-
return writer.getResultBuffer();
|
435
|
-
};
|
436
|
-
|
437
|
-
|
438
|
-
/**
|
439
|
-
* Serializes the given message to binary data (in protobuf wire
|
440
|
-
* format), writing to the given BinaryWriter.
|
441
|
-
* @param {!proto.pigeon.v1.GetDetailsResponse} message
|
442
|
-
* @param {!jspb.BinaryWriter} writer
|
443
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
444
|
-
*/
|
445
|
-
proto.pigeon.v1.GetDetailsResponse.serializeBinaryToWriter = function(message, writer) {
|
446
|
-
var f = undefined;
|
447
|
-
f = message.getOperators();
|
448
|
-
if (f !== 0) {
|
449
|
-
writer.writeInt32(
|
450
|
-
1,
|
451
|
-
f
|
452
|
-
);
|
453
|
-
}
|
454
|
-
};
|
455
|
-
|
456
|
-
|
457
|
-
/**
|
458
|
-
* optional int32 operators = 1;
|
459
|
-
* @return {number}
|
460
|
-
*/
|
461
|
-
proto.pigeon.v1.GetDetailsResponse.prototype.getOperators = function() {
|
462
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
463
|
-
};
|
464
|
-
|
465
|
-
|
466
|
-
/**
|
467
|
-
* @param {number} value
|
468
|
-
* @return {!proto.pigeon.v1.GetDetailsResponse} returns this
|
469
|
-
*/
|
470
|
-
proto.pigeon.v1.GetDetailsResponse.prototype.setOperators = function(value) {
|
471
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
472
|
-
};
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
479
|
-
/**
|
480
|
-
* Creates an object representation of this proto.
|
481
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
482
|
-
* Optional fields that are not set will be set to undefined.
|
483
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
484
|
-
* For the list of reserved names please see:
|
485
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
486
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
487
|
-
* JSPB instance for transitional soy proto support:
|
488
|
-
* http://goto/soy-param-migration
|
489
|
-
* @return {!Object}
|
490
|
-
*/
|
491
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
492
|
-
return proto.pigeon.v1.OperatorConnectRequest.toObject(opt_includeInstance, this);
|
493
|
-
};
|
494
|
-
|
495
|
-
|
496
|
-
/**
|
497
|
-
* Static version of the {@see toObject} method.
|
498
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
499
|
-
* the JSPB instance for transitional soy proto support:
|
500
|
-
* http://goto/soy-param-migration
|
501
|
-
* @param {!proto.pigeon.v1.OperatorConnectRequest} msg The msg instance to transform.
|
502
|
-
* @return {!Object}
|
503
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
504
|
-
*/
|
505
|
-
proto.pigeon.v1.OperatorConnectRequest.toObject = function(includeInstance, msg) {
|
506
|
-
var f, obj = {
|
507
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
508
|
-
clientid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
509
|
-
};
|
510
|
-
|
511
|
-
if (includeInstance) {
|
512
|
-
obj.$jspbMessageInstance = msg;
|
513
|
-
}
|
514
|
-
return obj;
|
515
|
-
};
|
516
|
-
}
|
517
|
-
|
518
|
-
|
519
|
-
/**
|
520
|
-
* Deserializes binary data (in protobuf wire format).
|
521
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
522
|
-
* @return {!proto.pigeon.v1.OperatorConnectRequest}
|
523
|
-
*/
|
524
|
-
proto.pigeon.v1.OperatorConnectRequest.deserializeBinary = function(bytes) {
|
525
|
-
var reader = new jspb.BinaryReader(bytes);
|
526
|
-
var msg = new proto.pigeon.v1.OperatorConnectRequest;
|
527
|
-
return proto.pigeon.v1.OperatorConnectRequest.deserializeBinaryFromReader(msg, reader);
|
528
|
-
};
|
529
|
-
|
530
|
-
|
531
|
-
/**
|
532
|
-
* Deserializes binary data (in protobuf wire format) from the
|
533
|
-
* given reader into the given message object.
|
534
|
-
* @param {!proto.pigeon.v1.OperatorConnectRequest} msg The message object to deserialize into.
|
535
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
536
|
-
* @return {!proto.pigeon.v1.OperatorConnectRequest}
|
537
|
-
*/
|
538
|
-
proto.pigeon.v1.OperatorConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
539
|
-
while (reader.nextField()) {
|
540
|
-
if (reader.isEndGroup()) {
|
541
|
-
break;
|
542
|
-
}
|
543
|
-
var field = reader.getFieldNumber();
|
544
|
-
switch (field) {
|
545
|
-
case 1:
|
546
|
-
var value = /** @type {string} */ (reader.readString());
|
547
|
-
msg.setVideoid(value);
|
548
|
-
break;
|
549
|
-
case 2:
|
550
|
-
var value = /** @type {string} */ (reader.readString());
|
551
|
-
msg.setClientid(value);
|
552
|
-
break;
|
553
|
-
default:
|
554
|
-
reader.skipField();
|
555
|
-
break;
|
556
|
-
}
|
557
|
-
}
|
558
|
-
return msg;
|
559
|
-
};
|
560
|
-
|
561
|
-
|
562
|
-
/**
|
563
|
-
* Serializes the message to binary data (in protobuf wire format).
|
564
|
-
* @return {!Uint8Array}
|
565
|
-
*/
|
566
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.serializeBinary = function() {
|
567
|
-
var writer = new jspb.BinaryWriter();
|
568
|
-
proto.pigeon.v1.OperatorConnectRequest.serializeBinaryToWriter(this, writer);
|
569
|
-
return writer.getResultBuffer();
|
570
|
-
};
|
571
|
-
|
572
|
-
|
573
|
-
/**
|
574
|
-
* Serializes the given message to binary data (in protobuf wire
|
575
|
-
* format), writing to the given BinaryWriter.
|
576
|
-
* @param {!proto.pigeon.v1.OperatorConnectRequest} message
|
577
|
-
* @param {!jspb.BinaryWriter} writer
|
578
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
579
|
-
*/
|
580
|
-
proto.pigeon.v1.OperatorConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
581
|
-
var f = undefined;
|
582
|
-
f = message.getVideoid();
|
583
|
-
if (f.length > 0) {
|
584
|
-
writer.writeString(
|
585
|
-
1,
|
586
|
-
f
|
587
|
-
);
|
588
|
-
}
|
589
|
-
f = message.getClientid();
|
590
|
-
if (f.length > 0) {
|
591
|
-
writer.writeString(
|
592
|
-
2,
|
593
|
-
f
|
594
|
-
);
|
595
|
-
}
|
596
|
-
};
|
597
|
-
|
598
|
-
|
599
|
-
/**
|
600
|
-
* optional string videoId = 1;
|
601
|
-
* @return {string}
|
602
|
-
*/
|
603
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.getVideoid = function() {
|
604
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
605
|
-
};
|
606
|
-
|
607
|
-
|
608
|
-
/**
|
609
|
-
* @param {string} value
|
610
|
-
* @return {!proto.pigeon.v1.OperatorConnectRequest} returns this
|
611
|
-
*/
|
612
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.setVideoid = function(value) {
|
613
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
614
|
-
};
|
615
|
-
|
616
|
-
|
617
|
-
/**
|
618
|
-
* optional string clientId = 2;
|
619
|
-
* @return {string}
|
620
|
-
*/
|
621
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.getClientid = function() {
|
622
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
623
|
-
};
|
624
|
-
|
625
|
-
|
626
|
-
/**
|
627
|
-
* @param {string} value
|
628
|
-
* @return {!proto.pigeon.v1.OperatorConnectRequest} returns this
|
629
|
-
*/
|
630
|
-
proto.pigeon.v1.OperatorConnectRequest.prototype.setClientid = function(value) {
|
631
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
632
|
-
};
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
639
|
-
/**
|
640
|
-
* Creates an object representation of this proto.
|
641
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
642
|
-
* Optional fields that are not set will be set to undefined.
|
643
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
644
|
-
* For the list of reserved names please see:
|
645
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
646
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
647
|
-
* JSPB instance for transitional soy proto support:
|
648
|
-
* http://goto/soy-param-migration
|
649
|
-
* @return {!Object}
|
650
|
-
*/
|
651
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.toObject = function(opt_includeInstance) {
|
652
|
-
return proto.pigeon.v1.AddIceCandidateRequest.toObject(opt_includeInstance, this);
|
653
|
-
};
|
654
|
-
|
655
|
-
|
656
|
-
/**
|
657
|
-
* Static version of the {@see toObject} method.
|
658
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
659
|
-
* the JSPB instance for transitional soy proto support:
|
660
|
-
* http://goto/soy-param-migration
|
661
|
-
* @param {!proto.pigeon.v1.AddIceCandidateRequest} msg The msg instance to transform.
|
662
|
-
* @return {!Object}
|
663
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
664
|
-
*/
|
665
|
-
proto.pigeon.v1.AddIceCandidateRequest.toObject = function(includeInstance, msg) {
|
666
|
-
var f, obj = {
|
667
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
668
|
-
clientid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
669
|
-
candidate: jspb.Message.getFieldWithDefault(msg, 3, "")
|
670
|
-
};
|
671
|
-
|
672
|
-
if (includeInstance) {
|
673
|
-
obj.$jspbMessageInstance = msg;
|
674
|
-
}
|
675
|
-
return obj;
|
676
|
-
};
|
677
|
-
}
|
678
|
-
|
679
|
-
|
680
|
-
/**
|
681
|
-
* Deserializes binary data (in protobuf wire format).
|
682
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
683
|
-
* @return {!proto.pigeon.v1.AddIceCandidateRequest}
|
684
|
-
*/
|
685
|
-
proto.pigeon.v1.AddIceCandidateRequest.deserializeBinary = function(bytes) {
|
686
|
-
var reader = new jspb.BinaryReader(bytes);
|
687
|
-
var msg = new proto.pigeon.v1.AddIceCandidateRequest;
|
688
|
-
return proto.pigeon.v1.AddIceCandidateRequest.deserializeBinaryFromReader(msg, reader);
|
689
|
-
};
|
690
|
-
|
691
|
-
|
692
|
-
/**
|
693
|
-
* Deserializes binary data (in protobuf wire format) from the
|
694
|
-
* given reader into the given message object.
|
695
|
-
* @param {!proto.pigeon.v1.AddIceCandidateRequest} msg The message object to deserialize into.
|
696
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
697
|
-
* @return {!proto.pigeon.v1.AddIceCandidateRequest}
|
698
|
-
*/
|
699
|
-
proto.pigeon.v1.AddIceCandidateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
700
|
-
while (reader.nextField()) {
|
701
|
-
if (reader.isEndGroup()) {
|
702
|
-
break;
|
703
|
-
}
|
704
|
-
var field = reader.getFieldNumber();
|
705
|
-
switch (field) {
|
706
|
-
case 1:
|
707
|
-
var value = /** @type {string} */ (reader.readString());
|
708
|
-
msg.setVideoid(value);
|
709
|
-
break;
|
710
|
-
case 2:
|
711
|
-
var value = /** @type {string} */ (reader.readString());
|
712
|
-
msg.setClientid(value);
|
713
|
-
break;
|
714
|
-
case 3:
|
715
|
-
var value = /** @type {string} */ (reader.readString());
|
716
|
-
msg.setCandidate(value);
|
717
|
-
break;
|
718
|
-
default:
|
719
|
-
reader.skipField();
|
720
|
-
break;
|
721
|
-
}
|
722
|
-
}
|
723
|
-
return msg;
|
724
|
-
};
|
725
|
-
|
726
|
-
|
727
|
-
/**
|
728
|
-
* Serializes the message to binary data (in protobuf wire format).
|
729
|
-
* @return {!Uint8Array}
|
730
|
-
*/
|
731
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.serializeBinary = function() {
|
732
|
-
var writer = new jspb.BinaryWriter();
|
733
|
-
proto.pigeon.v1.AddIceCandidateRequest.serializeBinaryToWriter(this, writer);
|
734
|
-
return writer.getResultBuffer();
|
735
|
-
};
|
736
|
-
|
737
|
-
|
738
|
-
/**
|
739
|
-
* Serializes the given message to binary data (in protobuf wire
|
740
|
-
* format), writing to the given BinaryWriter.
|
741
|
-
* @param {!proto.pigeon.v1.AddIceCandidateRequest} message
|
742
|
-
* @param {!jspb.BinaryWriter} writer
|
743
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
744
|
-
*/
|
745
|
-
proto.pigeon.v1.AddIceCandidateRequest.serializeBinaryToWriter = function(message, writer) {
|
746
|
-
var f = undefined;
|
747
|
-
f = message.getVideoid();
|
748
|
-
if (f.length > 0) {
|
749
|
-
writer.writeString(
|
750
|
-
1,
|
751
|
-
f
|
752
|
-
);
|
753
|
-
}
|
754
|
-
f = message.getClientid();
|
755
|
-
if (f.length > 0) {
|
756
|
-
writer.writeString(
|
757
|
-
2,
|
758
|
-
f
|
759
|
-
);
|
760
|
-
}
|
761
|
-
f = message.getCandidate();
|
762
|
-
if (f.length > 0) {
|
763
|
-
writer.writeString(
|
764
|
-
3,
|
765
|
-
f
|
766
|
-
);
|
767
|
-
}
|
768
|
-
};
|
769
|
-
|
770
|
-
|
771
|
-
/**
|
772
|
-
* optional string videoId = 1;
|
773
|
-
* @return {string}
|
774
|
-
*/
|
775
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.getVideoid = function() {
|
776
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
777
|
-
};
|
778
|
-
|
779
|
-
|
780
|
-
/**
|
781
|
-
* @param {string} value
|
782
|
-
* @return {!proto.pigeon.v1.AddIceCandidateRequest} returns this
|
783
|
-
*/
|
784
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.setVideoid = function(value) {
|
785
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
786
|
-
};
|
787
|
-
|
788
|
-
|
789
|
-
/**
|
790
|
-
* optional string clientId = 2;
|
791
|
-
* @return {string}
|
792
|
-
*/
|
793
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.getClientid = function() {
|
794
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
795
|
-
};
|
796
|
-
|
797
|
-
|
798
|
-
/**
|
799
|
-
* @param {string} value
|
800
|
-
* @return {!proto.pigeon.v1.AddIceCandidateRequest} returns this
|
801
|
-
*/
|
802
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.setClientid = function(value) {
|
803
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
804
|
-
};
|
805
|
-
|
806
|
-
|
807
|
-
/**
|
808
|
-
* optional string candidate = 3;
|
809
|
-
* @return {string}
|
810
|
-
*/
|
811
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.getCandidate = function() {
|
812
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
813
|
-
};
|
814
|
-
|
815
|
-
|
816
|
-
/**
|
817
|
-
* @param {string} value
|
818
|
-
* @return {!proto.pigeon.v1.AddIceCandidateRequest} returns this
|
819
|
-
*/
|
820
|
-
proto.pigeon.v1.AddIceCandidateRequest.prototype.setCandidate = function(value) {
|
821
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
822
|
-
};
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
829
|
-
/**
|
830
|
-
* Creates an object representation of this proto.
|
831
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
832
|
-
* Optional fields that are not set will be set to undefined.
|
833
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
834
|
-
* For the list of reserved names please see:
|
835
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
836
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
837
|
-
* JSPB instance for transitional soy proto support:
|
838
|
-
* http://goto/soy-param-migration
|
839
|
-
* @return {!Object}
|
840
|
-
*/
|
841
|
-
proto.pigeon.v1.Outcome.prototype.toObject = function(opt_includeInstance) {
|
842
|
-
return proto.pigeon.v1.Outcome.toObject(opt_includeInstance, this);
|
843
|
-
};
|
844
|
-
|
845
|
-
|
846
|
-
/**
|
847
|
-
* Static version of the {@see toObject} method.
|
848
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
849
|
-
* the JSPB instance for transitional soy proto support:
|
850
|
-
* http://goto/soy-param-migration
|
851
|
-
* @param {!proto.pigeon.v1.Outcome} msg The msg instance to transform.
|
852
|
-
* @return {!Object}
|
853
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
854
|
-
*/
|
855
|
-
proto.pigeon.v1.Outcome.toObject = function(includeInstance, msg) {
|
856
|
-
var f, obj = {
|
857
|
-
outcome: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
858
|
-
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
859
|
-
};
|
860
|
-
|
861
|
-
if (includeInstance) {
|
862
|
-
obj.$jspbMessageInstance = msg;
|
863
|
-
}
|
864
|
-
return obj;
|
865
|
-
};
|
866
|
-
}
|
867
|
-
|
868
|
-
|
869
|
-
/**
|
870
|
-
* Deserializes binary data (in protobuf wire format).
|
871
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
872
|
-
* @return {!proto.pigeon.v1.Outcome}
|
873
|
-
*/
|
874
|
-
proto.pigeon.v1.Outcome.deserializeBinary = function(bytes) {
|
875
|
-
var reader = new jspb.BinaryReader(bytes);
|
876
|
-
var msg = new proto.pigeon.v1.Outcome;
|
877
|
-
return proto.pigeon.v1.Outcome.deserializeBinaryFromReader(msg, reader);
|
878
|
-
};
|
879
|
-
|
880
|
-
|
881
|
-
/**
|
882
|
-
* Deserializes binary data (in protobuf wire format) from the
|
883
|
-
* given reader into the given message object.
|
884
|
-
* @param {!proto.pigeon.v1.Outcome} msg The message object to deserialize into.
|
885
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
886
|
-
* @return {!proto.pigeon.v1.Outcome}
|
887
|
-
*/
|
888
|
-
proto.pigeon.v1.Outcome.deserializeBinaryFromReader = function(msg, reader) {
|
889
|
-
while (reader.nextField()) {
|
890
|
-
if (reader.isEndGroup()) {
|
891
|
-
break;
|
892
|
-
}
|
893
|
-
var field = reader.getFieldNumber();
|
894
|
-
switch (field) {
|
895
|
-
case 1:
|
896
|
-
var value = /** @type {string} */ (reader.readString());
|
897
|
-
msg.setOutcome(value);
|
898
|
-
break;
|
899
|
-
case 2:
|
900
|
-
var value = /** @type {string} */ (reader.readString());
|
901
|
-
msg.setMessage(value);
|
902
|
-
break;
|
903
|
-
default:
|
904
|
-
reader.skipField();
|
905
|
-
break;
|
906
|
-
}
|
907
|
-
}
|
908
|
-
return msg;
|
909
|
-
};
|
910
|
-
|
911
|
-
|
912
|
-
/**
|
913
|
-
* Serializes the message to binary data (in protobuf wire format).
|
914
|
-
* @return {!Uint8Array}
|
915
|
-
*/
|
916
|
-
proto.pigeon.v1.Outcome.prototype.serializeBinary = function() {
|
917
|
-
var writer = new jspb.BinaryWriter();
|
918
|
-
proto.pigeon.v1.Outcome.serializeBinaryToWriter(this, writer);
|
919
|
-
return writer.getResultBuffer();
|
920
|
-
};
|
921
|
-
|
922
|
-
|
923
|
-
/**
|
924
|
-
* Serializes the given message to binary data (in protobuf wire
|
925
|
-
* format), writing to the given BinaryWriter.
|
926
|
-
* @param {!proto.pigeon.v1.Outcome} message
|
927
|
-
* @param {!jspb.BinaryWriter} writer
|
928
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
929
|
-
*/
|
930
|
-
proto.pigeon.v1.Outcome.serializeBinaryToWriter = function(message, writer) {
|
931
|
-
var f = undefined;
|
932
|
-
f = message.getOutcome();
|
933
|
-
if (f.length > 0) {
|
934
|
-
writer.writeString(
|
935
|
-
1,
|
936
|
-
f
|
937
|
-
);
|
938
|
-
}
|
939
|
-
f = message.getMessage();
|
940
|
-
if (f.length > 0) {
|
941
|
-
writer.writeString(
|
942
|
-
2,
|
943
|
-
f
|
944
|
-
);
|
945
|
-
}
|
946
|
-
};
|
947
|
-
|
948
|
-
|
949
|
-
/**
|
950
|
-
* optional string outcome = 1;
|
951
|
-
* @return {string}
|
952
|
-
*/
|
953
|
-
proto.pigeon.v1.Outcome.prototype.getOutcome = function() {
|
954
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
955
|
-
};
|
956
|
-
|
957
|
-
|
958
|
-
/**
|
959
|
-
* @param {string} value
|
960
|
-
* @return {!proto.pigeon.v1.Outcome} returns this
|
961
|
-
*/
|
962
|
-
proto.pigeon.v1.Outcome.prototype.setOutcome = function(value) {
|
963
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
964
|
-
};
|
965
|
-
|
966
|
-
|
967
|
-
/**
|
968
|
-
* optional string message = 2;
|
969
|
-
* @return {string}
|
970
|
-
*/
|
971
|
-
proto.pigeon.v1.Outcome.prototype.getMessage = function() {
|
972
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
973
|
-
};
|
974
|
-
|
975
|
-
|
976
|
-
/**
|
977
|
-
* @param {string} value
|
978
|
-
* @return {!proto.pigeon.v1.Outcome} returns this
|
979
|
-
*/
|
980
|
-
proto.pigeon.v1.Outcome.prototype.setMessage = function(value) {
|
981
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
982
|
-
};
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
989
|
-
/**
|
990
|
-
* Creates an object representation of this proto.
|
991
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
992
|
-
* Optional fields that are not set will be set to undefined.
|
993
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
994
|
-
* For the list of reserved names please see:
|
995
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
996
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
997
|
-
* JSPB instance for transitional soy proto support:
|
998
|
-
* http://goto/soy-param-migration
|
999
|
-
* @return {!Object}
|
1000
|
-
*/
|
1001
|
-
proto.pigeon.v1.Message.prototype.toObject = function(opt_includeInstance) {
|
1002
|
-
return proto.pigeon.v1.Message.toObject(opt_includeInstance, this);
|
1003
|
-
};
|
1004
|
-
|
1005
|
-
|
1006
|
-
/**
|
1007
|
-
* Static version of the {@see toObject} method.
|
1008
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1009
|
-
* the JSPB instance for transitional soy proto support:
|
1010
|
-
* http://goto/soy-param-migration
|
1011
|
-
* @param {!proto.pigeon.v1.Message} msg The msg instance to transform.
|
1012
|
-
* @return {!Object}
|
1013
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1014
|
-
*/
|
1015
|
-
proto.pigeon.v1.Message.toObject = function(includeInstance, msg) {
|
1016
|
-
var f, obj = {
|
1017
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1018
|
-
messagetype: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1019
|
-
payload: jspb.Message.getFieldWithDefault(msg, 3, "")
|
1020
|
-
};
|
1021
|
-
|
1022
|
-
if (includeInstance) {
|
1023
|
-
obj.$jspbMessageInstance = msg;
|
1024
|
-
}
|
1025
|
-
return obj;
|
1026
|
-
};
|
1027
|
-
}
|
1028
|
-
|
1029
|
-
|
1030
|
-
/**
|
1031
|
-
* Deserializes binary data (in protobuf wire format).
|
1032
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1033
|
-
* @return {!proto.pigeon.v1.Message}
|
1034
|
-
*/
|
1035
|
-
proto.pigeon.v1.Message.deserializeBinary = function(bytes) {
|
1036
|
-
var reader = new jspb.BinaryReader(bytes);
|
1037
|
-
var msg = new proto.pigeon.v1.Message;
|
1038
|
-
return proto.pigeon.v1.Message.deserializeBinaryFromReader(msg, reader);
|
1039
|
-
};
|
1040
|
-
|
1041
|
-
|
1042
|
-
/**
|
1043
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1044
|
-
* given reader into the given message object.
|
1045
|
-
* @param {!proto.pigeon.v1.Message} msg The message object to deserialize into.
|
1046
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1047
|
-
* @return {!proto.pigeon.v1.Message}
|
1048
|
-
*/
|
1049
|
-
proto.pigeon.v1.Message.deserializeBinaryFromReader = function(msg, reader) {
|
1050
|
-
while (reader.nextField()) {
|
1051
|
-
if (reader.isEndGroup()) {
|
1052
|
-
break;
|
1053
|
-
}
|
1054
|
-
var field = reader.getFieldNumber();
|
1055
|
-
switch (field) {
|
1056
|
-
case 1:
|
1057
|
-
var value = /** @type {string} */ (reader.readString());
|
1058
|
-
msg.setVideoid(value);
|
1059
|
-
break;
|
1060
|
-
case 2:
|
1061
|
-
var value = /** @type {string} */ (reader.readString());
|
1062
|
-
msg.setMessagetype(value);
|
1063
|
-
break;
|
1064
|
-
case 3:
|
1065
|
-
var value = /** @type {string} */ (reader.readString());
|
1066
|
-
msg.setPayload(value);
|
1067
|
-
break;
|
1068
|
-
default:
|
1069
|
-
reader.skipField();
|
1070
|
-
break;
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
return msg;
|
1074
|
-
};
|
1075
|
-
|
1076
|
-
|
1077
|
-
/**
|
1078
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1079
|
-
* @return {!Uint8Array}
|
1080
|
-
*/
|
1081
|
-
proto.pigeon.v1.Message.prototype.serializeBinary = function() {
|
1082
|
-
var writer = new jspb.BinaryWriter();
|
1083
|
-
proto.pigeon.v1.Message.serializeBinaryToWriter(this, writer);
|
1084
|
-
return writer.getResultBuffer();
|
1085
|
-
};
|
1086
|
-
|
1087
|
-
|
1088
|
-
/**
|
1089
|
-
* Serializes the given message to binary data (in protobuf wire
|
1090
|
-
* format), writing to the given BinaryWriter.
|
1091
|
-
* @param {!proto.pigeon.v1.Message} message
|
1092
|
-
* @param {!jspb.BinaryWriter} writer
|
1093
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1094
|
-
*/
|
1095
|
-
proto.pigeon.v1.Message.serializeBinaryToWriter = function(message, writer) {
|
1096
|
-
var f = undefined;
|
1097
|
-
f = message.getVideoid();
|
1098
|
-
if (f.length > 0) {
|
1099
|
-
writer.writeString(
|
1100
|
-
1,
|
1101
|
-
f
|
1102
|
-
);
|
1103
|
-
}
|
1104
|
-
f = message.getMessagetype();
|
1105
|
-
if (f.length > 0) {
|
1106
|
-
writer.writeString(
|
1107
|
-
2,
|
1108
|
-
f
|
1109
|
-
);
|
1110
|
-
}
|
1111
|
-
f = message.getPayload();
|
1112
|
-
if (f.length > 0) {
|
1113
|
-
writer.writeString(
|
1114
|
-
3,
|
1115
|
-
f
|
1116
|
-
);
|
1117
|
-
}
|
1118
|
-
};
|
1119
|
-
|
1120
|
-
|
1121
|
-
/**
|
1122
|
-
* optional string videoId = 1;
|
1123
|
-
* @return {string}
|
1124
|
-
*/
|
1125
|
-
proto.pigeon.v1.Message.prototype.getVideoid = function() {
|
1126
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1127
|
-
};
|
1128
|
-
|
1129
|
-
|
1130
|
-
/**
|
1131
|
-
* @param {string} value
|
1132
|
-
* @return {!proto.pigeon.v1.Message} returns this
|
1133
|
-
*/
|
1134
|
-
proto.pigeon.v1.Message.prototype.setVideoid = function(value) {
|
1135
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1136
|
-
};
|
1137
|
-
|
1138
|
-
|
1139
|
-
/**
|
1140
|
-
* optional string messageType = 2;
|
1141
|
-
* @return {string}
|
1142
|
-
*/
|
1143
|
-
proto.pigeon.v1.Message.prototype.getMessagetype = function() {
|
1144
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1145
|
-
};
|
1146
|
-
|
1147
|
-
|
1148
|
-
/**
|
1149
|
-
* @param {string} value
|
1150
|
-
* @return {!proto.pigeon.v1.Message} returns this
|
1151
|
-
*/
|
1152
|
-
proto.pigeon.v1.Message.prototype.setMessagetype = function(value) {
|
1153
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
1154
|
-
};
|
1155
|
-
|
1156
|
-
|
1157
|
-
/**
|
1158
|
-
* optional string payload = 3;
|
1159
|
-
* @return {string}
|
1160
|
-
*/
|
1161
|
-
proto.pigeon.v1.Message.prototype.getPayload = function() {
|
1162
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1163
|
-
};
|
1164
|
-
|
1165
|
-
|
1166
|
-
/**
|
1167
|
-
* @param {string} value
|
1168
|
-
* @return {!proto.pigeon.v1.Message} returns this
|
1169
|
-
*/
|
1170
|
-
proto.pigeon.v1.Message.prototype.setPayload = function(value) {
|
1171
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
1172
|
-
};
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1179
|
-
/**
|
1180
|
-
* Creates an object representation of this proto.
|
1181
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1182
|
-
* Optional fields that are not set will be set to undefined.
|
1183
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1184
|
-
* For the list of reserved names please see:
|
1185
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1186
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1187
|
-
* JSPB instance for transitional soy proto support:
|
1188
|
-
* http://goto/soy-param-migration
|
1189
|
-
* @return {!Object}
|
1190
|
-
*/
|
1191
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.toObject = function(opt_includeInstance) {
|
1192
|
-
return proto.pigeon.v1.CameraConnectRequest.toObject(opt_includeInstance, this);
|
1193
|
-
};
|
1194
|
-
|
1195
|
-
|
1196
|
-
/**
|
1197
|
-
* Static version of the {@see toObject} method.
|
1198
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1199
|
-
* the JSPB instance for transitional soy proto support:
|
1200
|
-
* http://goto/soy-param-migration
|
1201
|
-
* @param {!proto.pigeon.v1.CameraConnectRequest} msg The msg instance to transform.
|
1202
|
-
* @return {!Object}
|
1203
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1204
|
-
*/
|
1205
|
-
proto.pigeon.v1.CameraConnectRequest.toObject = function(includeInstance, msg) {
|
1206
|
-
var f, obj = {
|
1207
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1208
|
-
clientid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
1209
|
-
};
|
1210
|
-
|
1211
|
-
if (includeInstance) {
|
1212
|
-
obj.$jspbMessageInstance = msg;
|
1213
|
-
}
|
1214
|
-
return obj;
|
1215
|
-
};
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
|
1219
|
-
/**
|
1220
|
-
* Deserializes binary data (in protobuf wire format).
|
1221
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1222
|
-
* @return {!proto.pigeon.v1.CameraConnectRequest}
|
1223
|
-
*/
|
1224
|
-
proto.pigeon.v1.CameraConnectRequest.deserializeBinary = function(bytes) {
|
1225
|
-
var reader = new jspb.BinaryReader(bytes);
|
1226
|
-
var msg = new proto.pigeon.v1.CameraConnectRequest;
|
1227
|
-
return proto.pigeon.v1.CameraConnectRequest.deserializeBinaryFromReader(msg, reader);
|
1228
|
-
};
|
1229
|
-
|
1230
|
-
|
1231
|
-
/**
|
1232
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1233
|
-
* given reader into the given message object.
|
1234
|
-
* @param {!proto.pigeon.v1.CameraConnectRequest} msg The message object to deserialize into.
|
1235
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1236
|
-
* @return {!proto.pigeon.v1.CameraConnectRequest}
|
1237
|
-
*/
|
1238
|
-
proto.pigeon.v1.CameraConnectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1239
|
-
while (reader.nextField()) {
|
1240
|
-
if (reader.isEndGroup()) {
|
1241
|
-
break;
|
1242
|
-
}
|
1243
|
-
var field = reader.getFieldNumber();
|
1244
|
-
switch (field) {
|
1245
|
-
case 1:
|
1246
|
-
var value = /** @type {string} */ (reader.readString());
|
1247
|
-
msg.setVideoid(value);
|
1248
|
-
break;
|
1249
|
-
case 2:
|
1250
|
-
var value = /** @type {string} */ (reader.readString());
|
1251
|
-
msg.setClientid(value);
|
1252
|
-
break;
|
1253
|
-
default:
|
1254
|
-
reader.skipField();
|
1255
|
-
break;
|
1256
|
-
}
|
1257
|
-
}
|
1258
|
-
return msg;
|
1259
|
-
};
|
1260
|
-
|
1261
|
-
|
1262
|
-
/**
|
1263
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1264
|
-
* @return {!Uint8Array}
|
1265
|
-
*/
|
1266
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.serializeBinary = function() {
|
1267
|
-
var writer = new jspb.BinaryWriter();
|
1268
|
-
proto.pigeon.v1.CameraConnectRequest.serializeBinaryToWriter(this, writer);
|
1269
|
-
return writer.getResultBuffer();
|
1270
|
-
};
|
1271
|
-
|
1272
|
-
|
1273
|
-
/**
|
1274
|
-
* Serializes the given message to binary data (in protobuf wire
|
1275
|
-
* format), writing to the given BinaryWriter.
|
1276
|
-
* @param {!proto.pigeon.v1.CameraConnectRequest} message
|
1277
|
-
* @param {!jspb.BinaryWriter} writer
|
1278
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1279
|
-
*/
|
1280
|
-
proto.pigeon.v1.CameraConnectRequest.serializeBinaryToWriter = function(message, writer) {
|
1281
|
-
var f = undefined;
|
1282
|
-
f = message.getVideoid();
|
1283
|
-
if (f.length > 0) {
|
1284
|
-
writer.writeString(
|
1285
|
-
1,
|
1286
|
-
f
|
1287
|
-
);
|
1288
|
-
}
|
1289
|
-
f = message.getClientid();
|
1290
|
-
if (f.length > 0) {
|
1291
|
-
writer.writeString(
|
1292
|
-
2,
|
1293
|
-
f
|
1294
|
-
);
|
1295
|
-
}
|
1296
|
-
};
|
1297
|
-
|
1298
|
-
|
1299
|
-
/**
|
1300
|
-
* optional string videoId = 1;
|
1301
|
-
* @return {string}
|
1302
|
-
*/
|
1303
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.getVideoid = function() {
|
1304
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1305
|
-
};
|
1306
|
-
|
1307
|
-
|
1308
|
-
/**
|
1309
|
-
* @param {string} value
|
1310
|
-
* @return {!proto.pigeon.v1.CameraConnectRequest} returns this
|
1311
|
-
*/
|
1312
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.setVideoid = function(value) {
|
1313
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1314
|
-
};
|
1315
|
-
|
1316
|
-
|
1317
|
-
/**
|
1318
|
-
* optional string clientId = 2;
|
1319
|
-
* @return {string}
|
1320
|
-
*/
|
1321
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.getClientid = function() {
|
1322
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1323
|
-
};
|
1324
|
-
|
1325
|
-
|
1326
|
-
/**
|
1327
|
-
* @param {string} value
|
1328
|
-
* @return {!proto.pigeon.v1.CameraConnectRequest} returns this
|
1329
|
-
*/
|
1330
|
-
proto.pigeon.v1.CameraConnectRequest.prototype.setClientid = function(value) {
|
1331
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
1332
|
-
};
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1339
|
-
/**
|
1340
|
-
* Creates an object representation of this proto.
|
1341
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1342
|
-
* Optional fields that are not set will be set to undefined.
|
1343
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1344
|
-
* For the list of reserved names please see:
|
1345
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1346
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1347
|
-
* JSPB instance for transitional soy proto support:
|
1348
|
-
* http://goto/soy-param-migration
|
1349
|
-
* @return {!Object}
|
1350
|
-
*/
|
1351
|
-
proto.pigeon.v1.OfferRequest.prototype.toObject = function(opt_includeInstance) {
|
1352
|
-
return proto.pigeon.v1.OfferRequest.toObject(opt_includeInstance, this);
|
1353
|
-
};
|
1354
|
-
|
1355
|
-
|
1356
|
-
/**
|
1357
|
-
* Static version of the {@see toObject} method.
|
1358
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1359
|
-
* the JSPB instance for transitional soy proto support:
|
1360
|
-
* http://goto/soy-param-migration
|
1361
|
-
* @param {!proto.pigeon.v1.OfferRequest} msg The msg instance to transform.
|
1362
|
-
* @return {!Object}
|
1363
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1364
|
-
*/
|
1365
|
-
proto.pigeon.v1.OfferRequest.toObject = function(includeInstance, msg) {
|
1366
|
-
var f, obj = {
|
1367
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1368
|
-
clientid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1369
|
-
sdp: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1370
|
-
videoformat: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
1371
|
-
videocommand: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
1372
|
-
icerestart: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
1373
|
-
};
|
1374
|
-
|
1375
|
-
if (includeInstance) {
|
1376
|
-
obj.$jspbMessageInstance = msg;
|
1377
|
-
}
|
1378
|
-
return obj;
|
1379
|
-
};
|
1380
|
-
}
|
1381
|
-
|
1382
|
-
|
1383
|
-
/**
|
1384
|
-
* Deserializes binary data (in protobuf wire format).
|
1385
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1386
|
-
* @return {!proto.pigeon.v1.OfferRequest}
|
1387
|
-
*/
|
1388
|
-
proto.pigeon.v1.OfferRequest.deserializeBinary = function(bytes) {
|
1389
|
-
var reader = new jspb.BinaryReader(bytes);
|
1390
|
-
var msg = new proto.pigeon.v1.OfferRequest;
|
1391
|
-
return proto.pigeon.v1.OfferRequest.deserializeBinaryFromReader(msg, reader);
|
1392
|
-
};
|
1393
|
-
|
1394
|
-
|
1395
|
-
/**
|
1396
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1397
|
-
* given reader into the given message object.
|
1398
|
-
* @param {!proto.pigeon.v1.OfferRequest} msg The message object to deserialize into.
|
1399
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1400
|
-
* @return {!proto.pigeon.v1.OfferRequest}
|
1401
|
-
*/
|
1402
|
-
proto.pigeon.v1.OfferRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1403
|
-
while (reader.nextField()) {
|
1404
|
-
if (reader.isEndGroup()) {
|
1405
|
-
break;
|
1406
|
-
}
|
1407
|
-
var field = reader.getFieldNumber();
|
1408
|
-
switch (field) {
|
1409
|
-
case 1:
|
1410
|
-
var value = /** @type {string} */ (reader.readString());
|
1411
|
-
msg.setVideoid(value);
|
1412
|
-
break;
|
1413
|
-
case 2:
|
1414
|
-
var value = /** @type {string} */ (reader.readString());
|
1415
|
-
msg.setClientid(value);
|
1416
|
-
break;
|
1417
|
-
case 3:
|
1418
|
-
var value = /** @type {string} */ (reader.readString());
|
1419
|
-
msg.setSdp(value);
|
1420
|
-
break;
|
1421
|
-
case 4:
|
1422
|
-
var value = /** @type {string} */ (reader.readString());
|
1423
|
-
msg.setVideoformat(value);
|
1424
|
-
break;
|
1425
|
-
case 5:
|
1426
|
-
var value = /** @type {string} */ (reader.readString());
|
1427
|
-
msg.setVideocommand(value);
|
1428
|
-
break;
|
1429
|
-
case 6:
|
1430
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
1431
|
-
msg.setIcerestart(value);
|
1432
|
-
break;
|
1433
|
-
default:
|
1434
|
-
reader.skipField();
|
1435
|
-
break;
|
1436
|
-
}
|
1437
|
-
}
|
1438
|
-
return msg;
|
1439
|
-
};
|
1440
|
-
|
1441
|
-
|
1442
|
-
/**
|
1443
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1444
|
-
* @return {!Uint8Array}
|
1445
|
-
*/
|
1446
|
-
proto.pigeon.v1.OfferRequest.prototype.serializeBinary = function() {
|
1447
|
-
var writer = new jspb.BinaryWriter();
|
1448
|
-
proto.pigeon.v1.OfferRequest.serializeBinaryToWriter(this, writer);
|
1449
|
-
return writer.getResultBuffer();
|
1450
|
-
};
|
1451
|
-
|
1452
|
-
|
1453
|
-
/**
|
1454
|
-
* Serializes the given message to binary data (in protobuf wire
|
1455
|
-
* format), writing to the given BinaryWriter.
|
1456
|
-
* @param {!proto.pigeon.v1.OfferRequest} message
|
1457
|
-
* @param {!jspb.BinaryWriter} writer
|
1458
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1459
|
-
*/
|
1460
|
-
proto.pigeon.v1.OfferRequest.serializeBinaryToWriter = function(message, writer) {
|
1461
|
-
var f = undefined;
|
1462
|
-
f = message.getVideoid();
|
1463
|
-
if (f.length > 0) {
|
1464
|
-
writer.writeString(
|
1465
|
-
1,
|
1466
|
-
f
|
1467
|
-
);
|
1468
|
-
}
|
1469
|
-
f = message.getClientid();
|
1470
|
-
if (f.length > 0) {
|
1471
|
-
writer.writeString(
|
1472
|
-
2,
|
1473
|
-
f
|
1474
|
-
);
|
1475
|
-
}
|
1476
|
-
f = message.getSdp();
|
1477
|
-
if (f.length > 0) {
|
1478
|
-
writer.writeString(
|
1479
|
-
3,
|
1480
|
-
f
|
1481
|
-
);
|
1482
|
-
}
|
1483
|
-
f = message.getVideoformat();
|
1484
|
-
if (f.length > 0) {
|
1485
|
-
writer.writeString(
|
1486
|
-
4,
|
1487
|
-
f
|
1488
|
-
);
|
1489
|
-
}
|
1490
|
-
f = message.getVideocommand();
|
1491
|
-
if (f.length > 0) {
|
1492
|
-
writer.writeString(
|
1493
|
-
5,
|
1494
|
-
f
|
1495
|
-
);
|
1496
|
-
}
|
1497
|
-
f = message.getIcerestart();
|
1498
|
-
if (f) {
|
1499
|
-
writer.writeBool(
|
1500
|
-
6,
|
1501
|
-
f
|
1502
|
-
);
|
1503
|
-
}
|
1504
|
-
};
|
1505
|
-
|
1506
|
-
|
1507
|
-
/**
|
1508
|
-
* optional string videoId = 1;
|
1509
|
-
* @return {string}
|
1510
|
-
*/
|
1511
|
-
proto.pigeon.v1.OfferRequest.prototype.getVideoid = function() {
|
1512
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1513
|
-
};
|
1514
|
-
|
1515
|
-
|
1516
|
-
/**
|
1517
|
-
* @param {string} value
|
1518
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1519
|
-
*/
|
1520
|
-
proto.pigeon.v1.OfferRequest.prototype.setVideoid = function(value) {
|
1521
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1522
|
-
};
|
1523
|
-
|
1524
|
-
|
1525
|
-
/**
|
1526
|
-
* optional string clientId = 2;
|
1527
|
-
* @return {string}
|
1528
|
-
*/
|
1529
|
-
proto.pigeon.v1.OfferRequest.prototype.getClientid = function() {
|
1530
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1531
|
-
};
|
1532
|
-
|
1533
|
-
|
1534
|
-
/**
|
1535
|
-
* @param {string} value
|
1536
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1537
|
-
*/
|
1538
|
-
proto.pigeon.v1.OfferRequest.prototype.setClientid = function(value) {
|
1539
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
1540
|
-
};
|
1541
|
-
|
1542
|
-
|
1543
|
-
/**
|
1544
|
-
* optional string sdp = 3;
|
1545
|
-
* @return {string}
|
1546
|
-
*/
|
1547
|
-
proto.pigeon.v1.OfferRequest.prototype.getSdp = function() {
|
1548
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1549
|
-
};
|
1550
|
-
|
1551
|
-
|
1552
|
-
/**
|
1553
|
-
* @param {string} value
|
1554
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1555
|
-
*/
|
1556
|
-
proto.pigeon.v1.OfferRequest.prototype.setSdp = function(value) {
|
1557
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
1558
|
-
};
|
1559
|
-
|
1560
|
-
|
1561
|
-
/**
|
1562
|
-
* optional string videoFormat = 4;
|
1563
|
-
* @return {string}
|
1564
|
-
*/
|
1565
|
-
proto.pigeon.v1.OfferRequest.prototype.getVideoformat = function() {
|
1566
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1567
|
-
};
|
1568
|
-
|
1569
|
-
|
1570
|
-
/**
|
1571
|
-
* @param {string} value
|
1572
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1573
|
-
*/
|
1574
|
-
proto.pigeon.v1.OfferRequest.prototype.setVideoformat = function(value) {
|
1575
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
1576
|
-
};
|
1577
|
-
|
1578
|
-
|
1579
|
-
/**
|
1580
|
-
* optional string videoCommand = 5;
|
1581
|
-
* @return {string}
|
1582
|
-
*/
|
1583
|
-
proto.pigeon.v1.OfferRequest.prototype.getVideocommand = function() {
|
1584
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1585
|
-
};
|
1586
|
-
|
1587
|
-
|
1588
|
-
/**
|
1589
|
-
* @param {string} value
|
1590
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1591
|
-
*/
|
1592
|
-
proto.pigeon.v1.OfferRequest.prototype.setVideocommand = function(value) {
|
1593
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
1594
|
-
};
|
1595
|
-
|
1596
|
-
|
1597
|
-
/**
|
1598
|
-
* optional bool iceRestart = 6;
|
1599
|
-
* @return {boolean}
|
1600
|
-
*/
|
1601
|
-
proto.pigeon.v1.OfferRequest.prototype.getIcerestart = function() {
|
1602
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
1603
|
-
};
|
1604
|
-
|
1605
|
-
|
1606
|
-
/**
|
1607
|
-
* @param {boolean} value
|
1608
|
-
* @return {!proto.pigeon.v1.OfferRequest} returns this
|
1609
|
-
*/
|
1610
|
-
proto.pigeon.v1.OfferRequest.prototype.setIcerestart = function(value) {
|
1611
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
1612
|
-
};
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
1619
|
-
/**
|
1620
|
-
* Creates an object representation of this proto.
|
1621
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
1622
|
-
* Optional fields that are not set will be set to undefined.
|
1623
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
1624
|
-
* For the list of reserved names please see:
|
1625
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
1626
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
1627
|
-
* JSPB instance for transitional soy proto support:
|
1628
|
-
* http://goto/soy-param-migration
|
1629
|
-
* @return {!Object}
|
1630
|
-
*/
|
1631
|
-
proto.pigeon.v1.AnswerRequest.prototype.toObject = function(opt_includeInstance) {
|
1632
|
-
return proto.pigeon.v1.AnswerRequest.toObject(opt_includeInstance, this);
|
1633
|
-
};
|
1634
|
-
|
1635
|
-
|
1636
|
-
/**
|
1637
|
-
* Static version of the {@see toObject} method.
|
1638
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
1639
|
-
* the JSPB instance for transitional soy proto support:
|
1640
|
-
* http://goto/soy-param-migration
|
1641
|
-
* @param {!proto.pigeon.v1.AnswerRequest} msg The msg instance to transform.
|
1642
|
-
* @return {!Object}
|
1643
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1644
|
-
*/
|
1645
|
-
proto.pigeon.v1.AnswerRequest.toObject = function(includeInstance, msg) {
|
1646
|
-
var f, obj = {
|
1647
|
-
videoid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1648
|
-
sdp: jspb.Message.getFieldWithDefault(msg, 2, "")
|
1649
|
-
};
|
1650
|
-
|
1651
|
-
if (includeInstance) {
|
1652
|
-
obj.$jspbMessageInstance = msg;
|
1653
|
-
}
|
1654
|
-
return obj;
|
1655
|
-
};
|
1656
|
-
}
|
1657
|
-
|
1658
|
-
|
1659
|
-
/**
|
1660
|
-
* Deserializes binary data (in protobuf wire format).
|
1661
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
1662
|
-
* @return {!proto.pigeon.v1.AnswerRequest}
|
1663
|
-
*/
|
1664
|
-
proto.pigeon.v1.AnswerRequest.deserializeBinary = function(bytes) {
|
1665
|
-
var reader = new jspb.BinaryReader(bytes);
|
1666
|
-
var msg = new proto.pigeon.v1.AnswerRequest;
|
1667
|
-
return proto.pigeon.v1.AnswerRequest.deserializeBinaryFromReader(msg, reader);
|
1668
|
-
};
|
1669
|
-
|
1670
|
-
|
1671
|
-
/**
|
1672
|
-
* Deserializes binary data (in protobuf wire format) from the
|
1673
|
-
* given reader into the given message object.
|
1674
|
-
* @param {!proto.pigeon.v1.AnswerRequest} msg The message object to deserialize into.
|
1675
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
1676
|
-
* @return {!proto.pigeon.v1.AnswerRequest}
|
1677
|
-
*/
|
1678
|
-
proto.pigeon.v1.AnswerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
1679
|
-
while (reader.nextField()) {
|
1680
|
-
if (reader.isEndGroup()) {
|
1681
|
-
break;
|
1682
|
-
}
|
1683
|
-
var field = reader.getFieldNumber();
|
1684
|
-
switch (field) {
|
1685
|
-
case 1:
|
1686
|
-
var value = /** @type {string} */ (reader.readString());
|
1687
|
-
msg.setVideoid(value);
|
1688
|
-
break;
|
1689
|
-
case 2:
|
1690
|
-
var value = /** @type {string} */ (reader.readString());
|
1691
|
-
msg.setSdp(value);
|
1692
|
-
break;
|
1693
|
-
default:
|
1694
|
-
reader.skipField();
|
1695
|
-
break;
|
1696
|
-
}
|
1697
|
-
}
|
1698
|
-
return msg;
|
1699
|
-
};
|
1700
|
-
|
1701
|
-
|
1702
|
-
/**
|
1703
|
-
* Serializes the message to binary data (in protobuf wire format).
|
1704
|
-
* @return {!Uint8Array}
|
1705
|
-
*/
|
1706
|
-
proto.pigeon.v1.AnswerRequest.prototype.serializeBinary = function() {
|
1707
|
-
var writer = new jspb.BinaryWriter();
|
1708
|
-
proto.pigeon.v1.AnswerRequest.serializeBinaryToWriter(this, writer);
|
1709
|
-
return writer.getResultBuffer();
|
1710
|
-
};
|
1711
|
-
|
1712
|
-
|
1713
|
-
/**
|
1714
|
-
* Serializes the given message to binary data (in protobuf wire
|
1715
|
-
* format), writing to the given BinaryWriter.
|
1716
|
-
* @param {!proto.pigeon.v1.AnswerRequest} message
|
1717
|
-
* @param {!jspb.BinaryWriter} writer
|
1718
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
1719
|
-
*/
|
1720
|
-
proto.pigeon.v1.AnswerRequest.serializeBinaryToWriter = function(message, writer) {
|
1721
|
-
var f = undefined;
|
1722
|
-
f = message.getVideoid();
|
1723
|
-
if (f.length > 0) {
|
1724
|
-
writer.writeString(
|
1725
|
-
1,
|
1726
|
-
f
|
1727
|
-
);
|
1728
|
-
}
|
1729
|
-
f = message.getSdp();
|
1730
|
-
if (f.length > 0) {
|
1731
|
-
writer.writeString(
|
1732
|
-
2,
|
1733
|
-
f
|
1734
|
-
);
|
1735
|
-
}
|
1736
|
-
};
|
1737
|
-
|
1738
|
-
|
1739
|
-
/**
|
1740
|
-
* optional string videoId = 1;
|
1741
|
-
* @return {string}
|
1742
|
-
*/
|
1743
|
-
proto.pigeon.v1.AnswerRequest.prototype.getVideoid = function() {
|
1744
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1745
|
-
};
|
1746
|
-
|
1747
|
-
|
1748
|
-
/**
|
1749
|
-
* @param {string} value
|
1750
|
-
* @return {!proto.pigeon.v1.AnswerRequest} returns this
|
1751
|
-
*/
|
1752
|
-
proto.pigeon.v1.AnswerRequest.prototype.setVideoid = function(value) {
|
1753
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
1754
|
-
};
|
1755
|
-
|
1756
|
-
|
1757
|
-
/**
|
1758
|
-
* optional string sdp = 2;
|
1759
|
-
* @return {string}
|
1760
|
-
*/
|
1761
|
-
proto.pigeon.v1.AnswerRequest.prototype.getSdp = function() {
|
1762
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1763
|
-
};
|
1764
|
-
|
1765
|
-
|
1766
|
-
/**
|
1767
|
-
* @param {string} value
|
1768
|
-
* @return {!proto.pigeon.v1.AnswerRequest} returns this
|
1769
|
-
*/
|
1770
|
-
proto.pigeon.v1.AnswerRequest.prototype.setSdp = function(value) {
|
1771
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
1772
|
-
};
|
1773
|
-
|
1774
|
-
|
1775
|
-
goog.object.extend(exports, proto.pigeon.v1);
|