@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 1.0.0-45443187908.commit-ad382e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +241 -12
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +122 -21
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +125 -40
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +25 -18
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +93 -72
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +56 -252
- package/out-js/decentraland/common/texture.gen.js +259 -108
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +172 -57
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +650 -1709
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +439 -320
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +212 -156
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -605
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1423 -391
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +165 -208
- package/out-js/decentraland/kernel/apis/runtime.gen.js +660 -172
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +52 -38
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +237 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1478 -244
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +81 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +318 -242
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +194 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +884 -557
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +105 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +336 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +199 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +12 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +52 -26
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +303 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +12 -128
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +67 -29
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +80 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +10 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +39 -20
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +157 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +50 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +219 -105
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +249 -126
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +235 -114
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +23 -250
- package/out-js/decentraland/sdk/components/raycast.gen.js +108 -37
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +41 -22
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +296 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +33 -26
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +46 -26
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +71 -25
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +20 -63
- package/out-js/decentraland/sdk/components/ui_text.gen.js +97 -24
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +662 -96
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +882 -707
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
- package/out-ts/decentraland/common/colors.gen.ts +116 -37
- package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
- package/out-ts/decentraland/common/texture.gen.ts +232 -84
- package/out-ts/decentraland/common/vectors.gen.ts +157 -53
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
- package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1392 -347
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +705 -178
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1576 -225
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +209 -200
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +872 -596
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +422 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
- package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +43 -20
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +432 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +68 -30
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +33 -18
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +22 -22
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +213 -94
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +215 -100
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +209 -94
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +109 -34
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +22 -21
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +78 -24
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +99 -23
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +725 -66
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +529 -499
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +20 -11
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +21 -10
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +122 -16
- package/proto/decentraland/kernel/apis/runtime.proto +47 -9
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +61 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +9 -4
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +2 -0
- package/proto/decentraland/sdk/components/avatar_movement.proto +62 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +36 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +3 -0
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +1 -0
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +12 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
- package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +16 -4
- package/proto/decentraland/sdk/components/mesh_collider.proto +13 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +14 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +2 -2
- package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +3 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +8 -1
- package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +2 -0
- package/public/sdk-components.proto +44 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/social/friendships/friendships.proto +0 -106
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
|
@@ -3,7 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.
|
|
6
|
+
exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.protobufPackage = void 0;
|
|
7
|
+
exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
|
|
8
|
+
exports.fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON;
|
|
9
|
+
exports.fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON;
|
|
10
|
+
exports.fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON;
|
|
11
|
+
exports.fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON;
|
|
12
|
+
exports.fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON;
|
|
13
|
+
exports.fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON;
|
|
14
|
+
exports.fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON;
|
|
15
|
+
exports.fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON;
|
|
16
|
+
exports.fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON;
|
|
7
17
|
/* eslint-disable */
|
|
8
18
|
const long_1 = __importDefault(require("long"));
|
|
9
19
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
@@ -29,7 +39,7 @@ var FieldDescriptorProto_Type;
|
|
|
29
39
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT32"] = 17] = "TYPE_SINT32";
|
|
30
40
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
31
41
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
32
|
-
})(FieldDescriptorProto_Type
|
|
42
|
+
})(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
|
|
33
43
|
function fieldDescriptorProto_TypeFromJSON(object) {
|
|
34
44
|
switch (object) {
|
|
35
45
|
case 1:
|
|
@@ -92,7 +102,6 @@ function fieldDescriptorProto_TypeFromJSON(object) {
|
|
|
92
102
|
return FieldDescriptorProto_Type.UNRECOGNIZED;
|
|
93
103
|
}
|
|
94
104
|
}
|
|
95
|
-
exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
|
|
96
105
|
function fieldDescriptorProto_TypeToJSON(object) {
|
|
97
106
|
switch (object) {
|
|
98
107
|
case FieldDescriptorProto_Type.TYPE_DOUBLE:
|
|
@@ -136,14 +145,13 @@ function fieldDescriptorProto_TypeToJSON(object) {
|
|
|
136
145
|
return "UNRECOGNIZED";
|
|
137
146
|
}
|
|
138
147
|
}
|
|
139
|
-
exports.fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON;
|
|
140
148
|
var FieldDescriptorProto_Label;
|
|
141
149
|
(function (FieldDescriptorProto_Label) {
|
|
142
150
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
|
|
143
151
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
|
|
144
152
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
145
153
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
146
|
-
})(FieldDescriptorProto_Label
|
|
154
|
+
})(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
|
|
147
155
|
function fieldDescriptorProto_LabelFromJSON(object) {
|
|
148
156
|
switch (object) {
|
|
149
157
|
case 1:
|
|
@@ -161,7 +169,6 @@ function fieldDescriptorProto_LabelFromJSON(object) {
|
|
|
161
169
|
return FieldDescriptorProto_Label.UNRECOGNIZED;
|
|
162
170
|
}
|
|
163
171
|
}
|
|
164
|
-
exports.fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON;
|
|
165
172
|
function fieldDescriptorProto_LabelToJSON(object) {
|
|
166
173
|
switch (object) {
|
|
167
174
|
case FieldDescriptorProto_Label.LABEL_OPTIONAL:
|
|
@@ -175,14 +182,13 @@ function fieldDescriptorProto_LabelToJSON(object) {
|
|
|
175
182
|
return "UNRECOGNIZED";
|
|
176
183
|
}
|
|
177
184
|
}
|
|
178
|
-
exports.fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON;
|
|
179
185
|
var FileOptions_OptimizeMode;
|
|
180
186
|
(function (FileOptions_OptimizeMode) {
|
|
181
187
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
|
|
182
188
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
|
|
183
189
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
184
190
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
185
|
-
})(FileOptions_OptimizeMode
|
|
191
|
+
})(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {}));
|
|
186
192
|
function fileOptions_OptimizeModeFromJSON(object) {
|
|
187
193
|
switch (object) {
|
|
188
194
|
case 1:
|
|
@@ -200,7 +206,6 @@ function fileOptions_OptimizeModeFromJSON(object) {
|
|
|
200
206
|
return FileOptions_OptimizeMode.UNRECOGNIZED;
|
|
201
207
|
}
|
|
202
208
|
}
|
|
203
|
-
exports.fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON;
|
|
204
209
|
function fileOptions_OptimizeModeToJSON(object) {
|
|
205
210
|
switch (object) {
|
|
206
211
|
case FileOptions_OptimizeMode.SPEED:
|
|
@@ -214,14 +219,13 @@ function fileOptions_OptimizeModeToJSON(object) {
|
|
|
214
219
|
return "UNRECOGNIZED";
|
|
215
220
|
}
|
|
216
221
|
}
|
|
217
|
-
exports.fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON;
|
|
218
222
|
var FieldOptions_CType;
|
|
219
223
|
(function (FieldOptions_CType) {
|
|
220
224
|
FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
|
|
221
225
|
FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
|
|
222
226
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
223
227
|
FieldOptions_CType[FieldOptions_CType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
224
|
-
})(FieldOptions_CType
|
|
228
|
+
})(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {}));
|
|
225
229
|
function fieldOptions_CTypeFromJSON(object) {
|
|
226
230
|
switch (object) {
|
|
227
231
|
case 0:
|
|
@@ -239,7 +243,6 @@ function fieldOptions_CTypeFromJSON(object) {
|
|
|
239
243
|
return FieldOptions_CType.UNRECOGNIZED;
|
|
240
244
|
}
|
|
241
245
|
}
|
|
242
|
-
exports.fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON;
|
|
243
246
|
function fieldOptions_CTypeToJSON(object) {
|
|
244
247
|
switch (object) {
|
|
245
248
|
case FieldOptions_CType.STRING:
|
|
@@ -253,14 +256,13 @@ function fieldOptions_CTypeToJSON(object) {
|
|
|
253
256
|
return "UNRECOGNIZED";
|
|
254
257
|
}
|
|
255
258
|
}
|
|
256
|
-
exports.fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON;
|
|
257
259
|
var FieldOptions_JSType;
|
|
258
260
|
(function (FieldOptions_JSType) {
|
|
259
261
|
FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
|
|
260
262
|
FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
|
|
261
263
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
262
264
|
FieldOptions_JSType[FieldOptions_JSType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
263
|
-
})(FieldOptions_JSType
|
|
265
|
+
})(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {}));
|
|
264
266
|
function fieldOptions_JSTypeFromJSON(object) {
|
|
265
267
|
switch (object) {
|
|
266
268
|
case 0:
|
|
@@ -278,7 +280,6 @@ function fieldOptions_JSTypeFromJSON(object) {
|
|
|
278
280
|
return FieldOptions_JSType.UNRECOGNIZED;
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
|
-
exports.fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON;
|
|
282
283
|
function fieldOptions_JSTypeToJSON(object) {
|
|
283
284
|
switch (object) {
|
|
284
285
|
case FieldOptions_JSType.JS_NORMAL:
|
|
@@ -292,18 +293,19 @@ function fieldOptions_JSTypeToJSON(object) {
|
|
|
292
293
|
return "UNRECOGNIZED";
|
|
293
294
|
}
|
|
294
295
|
}
|
|
295
|
-
exports.fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON;
|
|
296
296
|
function createBaseFileDescriptorSet() {
|
|
297
297
|
return { file: [] };
|
|
298
298
|
}
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
var FileDescriptorSet;
|
|
300
|
+
(function (FileDescriptorSet) {
|
|
301
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
301
302
|
for (const v of message.file) {
|
|
302
|
-
|
|
303
|
+
FileDescriptorProto.encode(v, writer.uint32(10).fork()).ldelim();
|
|
303
304
|
}
|
|
304
305
|
return writer;
|
|
305
|
-
}
|
|
306
|
-
|
|
306
|
+
}
|
|
307
|
+
FileDescriptorSet.encode = encode;
|
|
308
|
+
function decode(input, length) {
|
|
307
309
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
308
310
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
309
311
|
const message = createBaseFileDescriptorSet();
|
|
@@ -311,42 +313,47 @@ exports.FileDescriptorSet = {
|
|
|
311
313
|
const tag = reader.uint32();
|
|
312
314
|
switch (tag >>> 3) {
|
|
313
315
|
case 1:
|
|
314
|
-
if (tag
|
|
316
|
+
if (tag !== 10) {
|
|
315
317
|
break;
|
|
316
318
|
}
|
|
317
|
-
message.file.push(
|
|
319
|
+
message.file.push(FileDescriptorProto.decode(reader, reader.uint32()));
|
|
318
320
|
continue;
|
|
319
321
|
}
|
|
320
|
-
if ((tag & 7)
|
|
322
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
321
323
|
break;
|
|
322
324
|
}
|
|
323
325
|
reader.skipType(tag & 7);
|
|
324
326
|
}
|
|
325
327
|
return message;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
}
|
|
329
|
+
FileDescriptorSet.decode = decode;
|
|
330
|
+
function fromJSON(object) {
|
|
331
|
+
return { file: Array.isArray(object === null || object === void 0 ? void 0 : object.file) ? object.file.map((e) => FileDescriptorProto.fromJSON(e)) : [] };
|
|
332
|
+
}
|
|
333
|
+
FileDescriptorSet.fromJSON = fromJSON;
|
|
334
|
+
function toJSON(message) {
|
|
331
335
|
const obj = {};
|
|
332
336
|
if (message.file) {
|
|
333
|
-
obj.file = message.file.map((e) => e ?
|
|
337
|
+
obj.file = message.file.map((e) => e ? FileDescriptorProto.toJSON(e) : undefined);
|
|
334
338
|
}
|
|
335
339
|
else {
|
|
336
340
|
obj.file = [];
|
|
337
341
|
}
|
|
338
342
|
return obj;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
343
|
+
}
|
|
344
|
+
FileDescriptorSet.toJSON = toJSON;
|
|
345
|
+
function create(base) {
|
|
346
|
+
return FileDescriptorSet.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
347
|
+
}
|
|
348
|
+
FileDescriptorSet.create = create;
|
|
349
|
+
function fromPartial(object) {
|
|
344
350
|
var _a;
|
|
345
351
|
const message = createBaseFileDescriptorSet();
|
|
346
|
-
message.file = ((_a = object.file) === null || _a === void 0 ? void 0 : _a.map((e) =>
|
|
352
|
+
message.file = ((_a = object.file) === null || _a === void 0 ? void 0 : _a.map((e) => FileDescriptorProto.fromPartial(e))) || [];
|
|
347
353
|
return message;
|
|
348
|
-
}
|
|
349
|
-
|
|
354
|
+
}
|
|
355
|
+
FileDescriptorSet.fromPartial = fromPartial;
|
|
356
|
+
})(FileDescriptorSet || (exports.FileDescriptorSet = FileDescriptorSet = {}));
|
|
350
357
|
function createBaseFileDescriptorProto() {
|
|
351
358
|
return {
|
|
352
359
|
name: "",
|
|
@@ -363,8 +370,9 @@ function createBaseFileDescriptorProto() {
|
|
|
363
370
|
syntax: "",
|
|
364
371
|
};
|
|
365
372
|
}
|
|
366
|
-
|
|
367
|
-
|
|
373
|
+
var FileDescriptorProto;
|
|
374
|
+
(function (FileDescriptorProto) {
|
|
375
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
368
376
|
if (message.name !== "") {
|
|
369
377
|
writer.uint32(10).string(message.name);
|
|
370
378
|
}
|
|
@@ -385,29 +393,30 @@ exports.FileDescriptorProto = {
|
|
|
385
393
|
}
|
|
386
394
|
writer.ldelim();
|
|
387
395
|
for (const v of message.messageType) {
|
|
388
|
-
|
|
396
|
+
DescriptorProto.encode(v, writer.uint32(34).fork()).ldelim();
|
|
389
397
|
}
|
|
390
398
|
for (const v of message.enumType) {
|
|
391
|
-
|
|
399
|
+
EnumDescriptorProto.encode(v, writer.uint32(42).fork()).ldelim();
|
|
392
400
|
}
|
|
393
401
|
for (const v of message.service) {
|
|
394
|
-
|
|
402
|
+
ServiceDescriptorProto.encode(v, writer.uint32(50).fork()).ldelim();
|
|
395
403
|
}
|
|
396
404
|
for (const v of message.extension) {
|
|
397
|
-
|
|
405
|
+
FieldDescriptorProto.encode(v, writer.uint32(58).fork()).ldelim();
|
|
398
406
|
}
|
|
399
407
|
if (message.options !== undefined) {
|
|
400
|
-
|
|
408
|
+
FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim();
|
|
401
409
|
}
|
|
402
410
|
if (message.sourceCodeInfo !== undefined) {
|
|
403
|
-
|
|
411
|
+
SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim();
|
|
404
412
|
}
|
|
405
413
|
if (message.syntax !== "") {
|
|
406
414
|
writer.uint32(98).string(message.syntax);
|
|
407
415
|
}
|
|
408
416
|
return writer;
|
|
409
|
-
}
|
|
410
|
-
|
|
417
|
+
}
|
|
418
|
+
FileDescriptorProto.encode = encode;
|
|
419
|
+
function decode(input, length) {
|
|
411
420
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
412
421
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
413
422
|
const message = createBaseFileDescriptorProto();
|
|
@@ -415,29 +424,29 @@ exports.FileDescriptorProto = {
|
|
|
415
424
|
const tag = reader.uint32();
|
|
416
425
|
switch (tag >>> 3) {
|
|
417
426
|
case 1:
|
|
418
|
-
if (tag
|
|
427
|
+
if (tag !== 10) {
|
|
419
428
|
break;
|
|
420
429
|
}
|
|
421
430
|
message.name = reader.string();
|
|
422
431
|
continue;
|
|
423
432
|
case 2:
|
|
424
|
-
if (tag
|
|
433
|
+
if (tag !== 18) {
|
|
425
434
|
break;
|
|
426
435
|
}
|
|
427
436
|
message.package = reader.string();
|
|
428
437
|
continue;
|
|
429
438
|
case 3:
|
|
430
|
-
if (tag
|
|
439
|
+
if (tag !== 26) {
|
|
431
440
|
break;
|
|
432
441
|
}
|
|
433
442
|
message.dependency.push(reader.string());
|
|
434
443
|
continue;
|
|
435
444
|
case 10:
|
|
436
|
-
if (tag
|
|
445
|
+
if (tag === 80) {
|
|
437
446
|
message.publicDependency.push(reader.int32());
|
|
438
447
|
continue;
|
|
439
448
|
}
|
|
440
|
-
if (tag
|
|
449
|
+
if (tag === 82) {
|
|
441
450
|
const end2 = reader.uint32() + reader.pos;
|
|
442
451
|
while (reader.pos < end2) {
|
|
443
452
|
message.publicDependency.push(reader.int32());
|
|
@@ -446,11 +455,11 @@ exports.FileDescriptorProto = {
|
|
|
446
455
|
}
|
|
447
456
|
break;
|
|
448
457
|
case 11:
|
|
449
|
-
if (tag
|
|
458
|
+
if (tag === 88) {
|
|
450
459
|
message.weakDependency.push(reader.int32());
|
|
451
460
|
continue;
|
|
452
461
|
}
|
|
453
|
-
if (tag
|
|
462
|
+
if (tag === 90) {
|
|
454
463
|
const end2 = reader.uint32() + reader.pos;
|
|
455
464
|
while (reader.pos < end2) {
|
|
456
465
|
message.weakDependency.push(reader.int32());
|
|
@@ -459,56 +468,57 @@ exports.FileDescriptorProto = {
|
|
|
459
468
|
}
|
|
460
469
|
break;
|
|
461
470
|
case 4:
|
|
462
|
-
if (tag
|
|
471
|
+
if (tag !== 34) {
|
|
463
472
|
break;
|
|
464
473
|
}
|
|
465
|
-
message.messageType.push(
|
|
474
|
+
message.messageType.push(DescriptorProto.decode(reader, reader.uint32()));
|
|
466
475
|
continue;
|
|
467
476
|
case 5:
|
|
468
|
-
if (tag
|
|
477
|
+
if (tag !== 42) {
|
|
469
478
|
break;
|
|
470
479
|
}
|
|
471
|
-
message.enumType.push(
|
|
480
|
+
message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32()));
|
|
472
481
|
continue;
|
|
473
482
|
case 6:
|
|
474
|
-
if (tag
|
|
483
|
+
if (tag !== 50) {
|
|
475
484
|
break;
|
|
476
485
|
}
|
|
477
|
-
message.service.push(
|
|
486
|
+
message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32()));
|
|
478
487
|
continue;
|
|
479
488
|
case 7:
|
|
480
|
-
if (tag
|
|
489
|
+
if (tag !== 58) {
|
|
481
490
|
break;
|
|
482
491
|
}
|
|
483
|
-
message.extension.push(
|
|
492
|
+
message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
484
493
|
continue;
|
|
485
494
|
case 8:
|
|
486
|
-
if (tag
|
|
495
|
+
if (tag !== 66) {
|
|
487
496
|
break;
|
|
488
497
|
}
|
|
489
|
-
message.options =
|
|
498
|
+
message.options = FileOptions.decode(reader, reader.uint32());
|
|
490
499
|
continue;
|
|
491
500
|
case 9:
|
|
492
|
-
if (tag
|
|
501
|
+
if (tag !== 74) {
|
|
493
502
|
break;
|
|
494
503
|
}
|
|
495
|
-
message.sourceCodeInfo =
|
|
504
|
+
message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32());
|
|
496
505
|
continue;
|
|
497
506
|
case 12:
|
|
498
|
-
if (tag
|
|
507
|
+
if (tag !== 98) {
|
|
499
508
|
break;
|
|
500
509
|
}
|
|
501
510
|
message.syntax = reader.string();
|
|
502
511
|
continue;
|
|
503
512
|
}
|
|
504
|
-
if ((tag & 7)
|
|
513
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
505
514
|
break;
|
|
506
515
|
}
|
|
507
516
|
reader.skipType(tag & 7);
|
|
508
517
|
}
|
|
509
518
|
return message;
|
|
510
|
-
}
|
|
511
|
-
|
|
519
|
+
}
|
|
520
|
+
FileDescriptorProto.decode = decode;
|
|
521
|
+
function fromJSON(object) {
|
|
512
522
|
return {
|
|
513
523
|
name: isSet(object.name) ? String(object.name) : "",
|
|
514
524
|
package: isSet(object.package) ? String(object.package) : "",
|
|
@@ -518,19 +528,20 @@ exports.FileDescriptorProto = {
|
|
|
518
528
|
: [],
|
|
519
529
|
weakDependency: Array.isArray(object === null || object === void 0 ? void 0 : object.weakDependency) ? object.weakDependency.map((e) => Number(e)) : [],
|
|
520
530
|
messageType: Array.isArray(object === null || object === void 0 ? void 0 : object.messageType)
|
|
521
|
-
? object.messageType.map((e) =>
|
|
531
|
+
? object.messageType.map((e) => DescriptorProto.fromJSON(e))
|
|
522
532
|
: [],
|
|
523
|
-
enumType: Array.isArray(object === null || object === void 0 ? void 0 : object.enumType) ? object.enumType.map((e) =>
|
|
524
|
-
service: Array.isArray(object === null || object === void 0 ? void 0 : object.service) ? object.service.map((e) =>
|
|
533
|
+
enumType: Array.isArray(object === null || object === void 0 ? void 0 : object.enumType) ? object.enumType.map((e) => EnumDescriptorProto.fromJSON(e)) : [],
|
|
534
|
+
service: Array.isArray(object === null || object === void 0 ? void 0 : object.service) ? object.service.map((e) => ServiceDescriptorProto.fromJSON(e)) : [],
|
|
525
535
|
extension: Array.isArray(object === null || object === void 0 ? void 0 : object.extension)
|
|
526
|
-
? object.extension.map((e) =>
|
|
536
|
+
? object.extension.map((e) => FieldDescriptorProto.fromJSON(e))
|
|
527
537
|
: [],
|
|
528
|
-
options: isSet(object.options) ?
|
|
529
|
-
sourceCodeInfo: isSet(object.sourceCodeInfo) ?
|
|
538
|
+
options: isSet(object.options) ? FileOptions.fromJSON(object.options) : undefined,
|
|
539
|
+
sourceCodeInfo: isSet(object.sourceCodeInfo) ? SourceCodeInfo.fromJSON(object.sourceCodeInfo) : undefined,
|
|
530
540
|
syntax: isSet(object.syntax) ? String(object.syntax) : "",
|
|
531
541
|
};
|
|
532
|
-
}
|
|
533
|
-
|
|
542
|
+
}
|
|
543
|
+
FileDescriptorProto.fromJSON = fromJSON;
|
|
544
|
+
function toJSON(message) {
|
|
534
545
|
const obj = {};
|
|
535
546
|
message.name !== undefined && (obj.name = message.name);
|
|
536
547
|
message.package !== undefined && (obj.package = message.package);
|
|
@@ -553,39 +564,41 @@ exports.FileDescriptorProto = {
|
|
|
553
564
|
obj.weakDependency = [];
|
|
554
565
|
}
|
|
555
566
|
if (message.messageType) {
|
|
556
|
-
obj.messageType = message.messageType.map((e) => e ?
|
|
567
|
+
obj.messageType = message.messageType.map((e) => e ? DescriptorProto.toJSON(e) : undefined);
|
|
557
568
|
}
|
|
558
569
|
else {
|
|
559
570
|
obj.messageType = [];
|
|
560
571
|
}
|
|
561
572
|
if (message.enumType) {
|
|
562
|
-
obj.enumType = message.enumType.map((e) => e ?
|
|
573
|
+
obj.enumType = message.enumType.map((e) => e ? EnumDescriptorProto.toJSON(e) : undefined);
|
|
563
574
|
}
|
|
564
575
|
else {
|
|
565
576
|
obj.enumType = [];
|
|
566
577
|
}
|
|
567
578
|
if (message.service) {
|
|
568
|
-
obj.service = message.service.map((e) => e ?
|
|
579
|
+
obj.service = message.service.map((e) => e ? ServiceDescriptorProto.toJSON(e) : undefined);
|
|
569
580
|
}
|
|
570
581
|
else {
|
|
571
582
|
obj.service = [];
|
|
572
583
|
}
|
|
573
584
|
if (message.extension) {
|
|
574
|
-
obj.extension = message.extension.map((e) => e ?
|
|
585
|
+
obj.extension = message.extension.map((e) => e ? FieldDescriptorProto.toJSON(e) : undefined);
|
|
575
586
|
}
|
|
576
587
|
else {
|
|
577
588
|
obj.extension = [];
|
|
578
589
|
}
|
|
579
|
-
message.options !== undefined && (obj.options = message.options ?
|
|
590
|
+
message.options !== undefined && (obj.options = message.options ? FileOptions.toJSON(message.options) : undefined);
|
|
580
591
|
message.sourceCodeInfo !== undefined &&
|
|
581
|
-
(obj.sourceCodeInfo = message.sourceCodeInfo ?
|
|
592
|
+
(obj.sourceCodeInfo = message.sourceCodeInfo ? SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined);
|
|
582
593
|
message.syntax !== undefined && (obj.syntax = message.syntax);
|
|
583
594
|
return obj;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
595
|
+
}
|
|
596
|
+
FileDescriptorProto.toJSON = toJSON;
|
|
597
|
+
function create(base) {
|
|
598
|
+
return FileDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
599
|
+
}
|
|
600
|
+
FileDescriptorProto.create = create;
|
|
601
|
+
function fromPartial(object) {
|
|
589
602
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
590
603
|
const message = createBaseFileDescriptorProto();
|
|
591
604
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
@@ -593,20 +606,21 @@ exports.FileDescriptorProto = {
|
|
|
593
606
|
message.dependency = ((_c = object.dependency) === null || _c === void 0 ? void 0 : _c.map((e) => e)) || [];
|
|
594
607
|
message.publicDependency = ((_d = object.publicDependency) === null || _d === void 0 ? void 0 : _d.map((e) => e)) || [];
|
|
595
608
|
message.weakDependency = ((_e = object.weakDependency) === null || _e === void 0 ? void 0 : _e.map((e) => e)) || [];
|
|
596
|
-
message.messageType = ((_f = object.messageType) === null || _f === void 0 ? void 0 : _f.map((e) =>
|
|
597
|
-
message.enumType = ((_g = object.enumType) === null || _g === void 0 ? void 0 : _g.map((e) =>
|
|
598
|
-
message.service = ((_h = object.service) === null || _h === void 0 ? void 0 : _h.map((e) =>
|
|
599
|
-
message.extension = ((_j = object.extension) === null || _j === void 0 ? void 0 : _j.map((e) =>
|
|
609
|
+
message.messageType = ((_f = object.messageType) === null || _f === void 0 ? void 0 : _f.map((e) => DescriptorProto.fromPartial(e))) || [];
|
|
610
|
+
message.enumType = ((_g = object.enumType) === null || _g === void 0 ? void 0 : _g.map((e) => EnumDescriptorProto.fromPartial(e))) || [];
|
|
611
|
+
message.service = ((_h = object.service) === null || _h === void 0 ? void 0 : _h.map((e) => ServiceDescriptorProto.fromPartial(e))) || [];
|
|
612
|
+
message.extension = ((_j = object.extension) === null || _j === void 0 ? void 0 : _j.map((e) => FieldDescriptorProto.fromPartial(e))) || [];
|
|
600
613
|
message.options = (object.options !== undefined && object.options !== null)
|
|
601
|
-
?
|
|
614
|
+
? FileOptions.fromPartial(object.options)
|
|
602
615
|
: undefined;
|
|
603
616
|
message.sourceCodeInfo = (object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null)
|
|
604
|
-
?
|
|
617
|
+
? SourceCodeInfo.fromPartial(object.sourceCodeInfo)
|
|
605
618
|
: undefined;
|
|
606
619
|
message.syntax = (_k = object.syntax) !== null && _k !== void 0 ? _k : "";
|
|
607
620
|
return message;
|
|
608
|
-
}
|
|
609
|
-
|
|
621
|
+
}
|
|
622
|
+
FileDescriptorProto.fromPartial = fromPartial;
|
|
623
|
+
})(FileDescriptorProto || (exports.FileDescriptorProto = FileDescriptorProto = {}));
|
|
610
624
|
function createBaseDescriptorProto() {
|
|
611
625
|
return {
|
|
612
626
|
name: "",
|
|
@@ -621,41 +635,43 @@ function createBaseDescriptorProto() {
|
|
|
621
635
|
reservedName: [],
|
|
622
636
|
};
|
|
623
637
|
}
|
|
624
|
-
|
|
625
|
-
|
|
638
|
+
var DescriptorProto;
|
|
639
|
+
(function (DescriptorProto) {
|
|
640
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
626
641
|
if (message.name !== "") {
|
|
627
642
|
writer.uint32(10).string(message.name);
|
|
628
643
|
}
|
|
629
644
|
for (const v of message.field) {
|
|
630
|
-
|
|
645
|
+
FieldDescriptorProto.encode(v, writer.uint32(18).fork()).ldelim();
|
|
631
646
|
}
|
|
632
647
|
for (const v of message.extension) {
|
|
633
|
-
|
|
648
|
+
FieldDescriptorProto.encode(v, writer.uint32(50).fork()).ldelim();
|
|
634
649
|
}
|
|
635
650
|
for (const v of message.nestedType) {
|
|
636
|
-
|
|
651
|
+
DescriptorProto.encode(v, writer.uint32(26).fork()).ldelim();
|
|
637
652
|
}
|
|
638
653
|
for (const v of message.enumType) {
|
|
639
|
-
|
|
654
|
+
EnumDescriptorProto.encode(v, writer.uint32(34).fork()).ldelim();
|
|
640
655
|
}
|
|
641
656
|
for (const v of message.extensionRange) {
|
|
642
|
-
|
|
657
|
+
DescriptorProto_ExtensionRange.encode(v, writer.uint32(42).fork()).ldelim();
|
|
643
658
|
}
|
|
644
659
|
for (const v of message.oneofDecl) {
|
|
645
|
-
|
|
660
|
+
OneofDescriptorProto.encode(v, writer.uint32(66).fork()).ldelim();
|
|
646
661
|
}
|
|
647
662
|
if (message.options !== undefined) {
|
|
648
|
-
|
|
663
|
+
MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim();
|
|
649
664
|
}
|
|
650
665
|
for (const v of message.reservedRange) {
|
|
651
|
-
|
|
666
|
+
DescriptorProto_ReservedRange.encode(v, writer.uint32(74).fork()).ldelim();
|
|
652
667
|
}
|
|
653
668
|
for (const v of message.reservedName) {
|
|
654
669
|
writer.uint32(82).string(v);
|
|
655
670
|
}
|
|
656
671
|
return writer;
|
|
657
|
-
}
|
|
658
|
-
|
|
672
|
+
}
|
|
673
|
+
DescriptorProto.encode = encode;
|
|
674
|
+
function decode(input, length) {
|
|
659
675
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
660
676
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
661
677
|
const message = createBaseDescriptorProto();
|
|
@@ -663,140 +679,142 @@ exports.DescriptorProto = {
|
|
|
663
679
|
const tag = reader.uint32();
|
|
664
680
|
switch (tag >>> 3) {
|
|
665
681
|
case 1:
|
|
666
|
-
if (tag
|
|
682
|
+
if (tag !== 10) {
|
|
667
683
|
break;
|
|
668
684
|
}
|
|
669
685
|
message.name = reader.string();
|
|
670
686
|
continue;
|
|
671
687
|
case 2:
|
|
672
|
-
if (tag
|
|
688
|
+
if (tag !== 18) {
|
|
673
689
|
break;
|
|
674
690
|
}
|
|
675
|
-
message.field.push(
|
|
691
|
+
message.field.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
676
692
|
continue;
|
|
677
693
|
case 6:
|
|
678
|
-
if (tag
|
|
694
|
+
if (tag !== 50) {
|
|
679
695
|
break;
|
|
680
696
|
}
|
|
681
|
-
message.extension.push(
|
|
697
|
+
message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
682
698
|
continue;
|
|
683
699
|
case 3:
|
|
684
|
-
if (tag
|
|
700
|
+
if (tag !== 26) {
|
|
685
701
|
break;
|
|
686
702
|
}
|
|
687
|
-
message.nestedType.push(
|
|
703
|
+
message.nestedType.push(DescriptorProto.decode(reader, reader.uint32()));
|
|
688
704
|
continue;
|
|
689
705
|
case 4:
|
|
690
|
-
if (tag
|
|
706
|
+
if (tag !== 34) {
|
|
691
707
|
break;
|
|
692
708
|
}
|
|
693
|
-
message.enumType.push(
|
|
709
|
+
message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32()));
|
|
694
710
|
continue;
|
|
695
711
|
case 5:
|
|
696
|
-
if (tag
|
|
712
|
+
if (tag !== 42) {
|
|
697
713
|
break;
|
|
698
714
|
}
|
|
699
|
-
message.extensionRange.push(
|
|
715
|
+
message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32()));
|
|
700
716
|
continue;
|
|
701
717
|
case 8:
|
|
702
|
-
if (tag
|
|
718
|
+
if (tag !== 66) {
|
|
703
719
|
break;
|
|
704
720
|
}
|
|
705
|
-
message.oneofDecl.push(
|
|
721
|
+
message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32()));
|
|
706
722
|
continue;
|
|
707
723
|
case 7:
|
|
708
|
-
if (tag
|
|
724
|
+
if (tag !== 58) {
|
|
709
725
|
break;
|
|
710
726
|
}
|
|
711
|
-
message.options =
|
|
727
|
+
message.options = MessageOptions.decode(reader, reader.uint32());
|
|
712
728
|
continue;
|
|
713
729
|
case 9:
|
|
714
|
-
if (tag
|
|
730
|
+
if (tag !== 74) {
|
|
715
731
|
break;
|
|
716
732
|
}
|
|
717
|
-
message.reservedRange.push(
|
|
733
|
+
message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32()));
|
|
718
734
|
continue;
|
|
719
735
|
case 10:
|
|
720
|
-
if (tag
|
|
736
|
+
if (tag !== 82) {
|
|
721
737
|
break;
|
|
722
738
|
}
|
|
723
739
|
message.reservedName.push(reader.string());
|
|
724
740
|
continue;
|
|
725
741
|
}
|
|
726
|
-
if ((tag & 7)
|
|
742
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
727
743
|
break;
|
|
728
744
|
}
|
|
729
745
|
reader.skipType(tag & 7);
|
|
730
746
|
}
|
|
731
747
|
return message;
|
|
732
|
-
}
|
|
733
|
-
|
|
748
|
+
}
|
|
749
|
+
DescriptorProto.decode = decode;
|
|
750
|
+
function fromJSON(object) {
|
|
734
751
|
return {
|
|
735
752
|
name: isSet(object.name) ? String(object.name) : "",
|
|
736
|
-
field: Array.isArray(object === null || object === void 0 ? void 0 : object.field) ? object.field.map((e) =>
|
|
753
|
+
field: Array.isArray(object === null || object === void 0 ? void 0 : object.field) ? object.field.map((e) => FieldDescriptorProto.fromJSON(e)) : [],
|
|
737
754
|
extension: Array.isArray(object === null || object === void 0 ? void 0 : object.extension)
|
|
738
|
-
? object.extension.map((e) =>
|
|
755
|
+
? object.extension.map((e) => FieldDescriptorProto.fromJSON(e))
|
|
739
756
|
: [],
|
|
740
757
|
nestedType: Array.isArray(object === null || object === void 0 ? void 0 : object.nestedType)
|
|
741
|
-
? object.nestedType.map((e) =>
|
|
758
|
+
? object.nestedType.map((e) => DescriptorProto.fromJSON(e))
|
|
742
759
|
: [],
|
|
743
|
-
enumType: Array.isArray(object === null || object === void 0 ? void 0 : object.enumType) ? object.enumType.map((e) =>
|
|
760
|
+
enumType: Array.isArray(object === null || object === void 0 ? void 0 : object.enumType) ? object.enumType.map((e) => EnumDescriptorProto.fromJSON(e)) : [],
|
|
744
761
|
extensionRange: Array.isArray(object === null || object === void 0 ? void 0 : object.extensionRange)
|
|
745
|
-
? object.extensionRange.map((e) =>
|
|
762
|
+
? object.extensionRange.map((e) => DescriptorProto_ExtensionRange.fromJSON(e))
|
|
746
763
|
: [],
|
|
747
764
|
oneofDecl: Array.isArray(object === null || object === void 0 ? void 0 : object.oneofDecl)
|
|
748
|
-
? object.oneofDecl.map((e) =>
|
|
765
|
+
? object.oneofDecl.map((e) => OneofDescriptorProto.fromJSON(e))
|
|
749
766
|
: [],
|
|
750
|
-
options: isSet(object.options) ?
|
|
767
|
+
options: isSet(object.options) ? MessageOptions.fromJSON(object.options) : undefined,
|
|
751
768
|
reservedRange: Array.isArray(object === null || object === void 0 ? void 0 : object.reservedRange)
|
|
752
|
-
? object.reservedRange.map((e) =>
|
|
769
|
+
? object.reservedRange.map((e) => DescriptorProto_ReservedRange.fromJSON(e))
|
|
753
770
|
: [],
|
|
754
771
|
reservedName: Array.isArray(object === null || object === void 0 ? void 0 : object.reservedName) ? object.reservedName.map((e) => String(e)) : [],
|
|
755
772
|
};
|
|
756
|
-
}
|
|
757
|
-
|
|
773
|
+
}
|
|
774
|
+
DescriptorProto.fromJSON = fromJSON;
|
|
775
|
+
function toJSON(message) {
|
|
758
776
|
const obj = {};
|
|
759
777
|
message.name !== undefined && (obj.name = message.name);
|
|
760
778
|
if (message.field) {
|
|
761
|
-
obj.field = message.field.map((e) => e ?
|
|
779
|
+
obj.field = message.field.map((e) => e ? FieldDescriptorProto.toJSON(e) : undefined);
|
|
762
780
|
}
|
|
763
781
|
else {
|
|
764
782
|
obj.field = [];
|
|
765
783
|
}
|
|
766
784
|
if (message.extension) {
|
|
767
|
-
obj.extension = message.extension.map((e) => e ?
|
|
785
|
+
obj.extension = message.extension.map((e) => e ? FieldDescriptorProto.toJSON(e) : undefined);
|
|
768
786
|
}
|
|
769
787
|
else {
|
|
770
788
|
obj.extension = [];
|
|
771
789
|
}
|
|
772
790
|
if (message.nestedType) {
|
|
773
|
-
obj.nestedType = message.nestedType.map((e) => e ?
|
|
791
|
+
obj.nestedType = message.nestedType.map((e) => e ? DescriptorProto.toJSON(e) : undefined);
|
|
774
792
|
}
|
|
775
793
|
else {
|
|
776
794
|
obj.nestedType = [];
|
|
777
795
|
}
|
|
778
796
|
if (message.enumType) {
|
|
779
|
-
obj.enumType = message.enumType.map((e) => e ?
|
|
797
|
+
obj.enumType = message.enumType.map((e) => e ? EnumDescriptorProto.toJSON(e) : undefined);
|
|
780
798
|
}
|
|
781
799
|
else {
|
|
782
800
|
obj.enumType = [];
|
|
783
801
|
}
|
|
784
802
|
if (message.extensionRange) {
|
|
785
|
-
obj.extensionRange = message.extensionRange.map((e) => e ?
|
|
803
|
+
obj.extensionRange = message.extensionRange.map((e) => e ? DescriptorProto_ExtensionRange.toJSON(e) : undefined);
|
|
786
804
|
}
|
|
787
805
|
else {
|
|
788
806
|
obj.extensionRange = [];
|
|
789
807
|
}
|
|
790
808
|
if (message.oneofDecl) {
|
|
791
|
-
obj.oneofDecl = message.oneofDecl.map((e) => e ?
|
|
809
|
+
obj.oneofDecl = message.oneofDecl.map((e) => e ? OneofDescriptorProto.toJSON(e) : undefined);
|
|
792
810
|
}
|
|
793
811
|
else {
|
|
794
812
|
obj.oneofDecl = [];
|
|
795
813
|
}
|
|
796
814
|
message.options !== undefined &&
|
|
797
|
-
(obj.options = message.options ?
|
|
815
|
+
(obj.options = message.options ? MessageOptions.toJSON(message.options) : undefined);
|
|
798
816
|
if (message.reservedRange) {
|
|
799
|
-
obj.reservedRange = message.reservedRange.map((e) => e ?
|
|
817
|
+
obj.reservedRange = message.reservedRange.map((e) => e ? DescriptorProto_ReservedRange.toJSON(e) : undefined);
|
|
800
818
|
}
|
|
801
819
|
else {
|
|
802
820
|
obj.reservedRange = [];
|
|
@@ -808,33 +826,37 @@ exports.DescriptorProto = {
|
|
|
808
826
|
obj.reservedName = [];
|
|
809
827
|
}
|
|
810
828
|
return obj;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
829
|
+
}
|
|
830
|
+
DescriptorProto.toJSON = toJSON;
|
|
831
|
+
function create(base) {
|
|
832
|
+
return DescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
833
|
+
}
|
|
834
|
+
DescriptorProto.create = create;
|
|
835
|
+
function fromPartial(object) {
|
|
816
836
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
817
837
|
const message = createBaseDescriptorProto();
|
|
818
838
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
819
|
-
message.field = ((_b = object.field) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
820
|
-
message.extension = ((_c = object.extension) === null || _c === void 0 ? void 0 : _c.map((e) =>
|
|
821
|
-
message.nestedType = ((_d = object.nestedType) === null || _d === void 0 ? void 0 : _d.map((e) =>
|
|
822
|
-
message.enumType = ((_e = object.enumType) === null || _e === void 0 ? void 0 : _e.map((e) =>
|
|
823
|
-
message.extensionRange = ((_f = object.extensionRange) === null || _f === void 0 ? void 0 : _f.map((e) =>
|
|
824
|
-
message.oneofDecl = ((_g = object.oneofDecl) === null || _g === void 0 ? void 0 : _g.map((e) =>
|
|
839
|
+
message.field = ((_b = object.field) === null || _b === void 0 ? void 0 : _b.map((e) => FieldDescriptorProto.fromPartial(e))) || [];
|
|
840
|
+
message.extension = ((_c = object.extension) === null || _c === void 0 ? void 0 : _c.map((e) => FieldDescriptorProto.fromPartial(e))) || [];
|
|
841
|
+
message.nestedType = ((_d = object.nestedType) === null || _d === void 0 ? void 0 : _d.map((e) => DescriptorProto.fromPartial(e))) || [];
|
|
842
|
+
message.enumType = ((_e = object.enumType) === null || _e === void 0 ? void 0 : _e.map((e) => EnumDescriptorProto.fromPartial(e))) || [];
|
|
843
|
+
message.extensionRange = ((_f = object.extensionRange) === null || _f === void 0 ? void 0 : _f.map((e) => DescriptorProto_ExtensionRange.fromPartial(e))) || [];
|
|
844
|
+
message.oneofDecl = ((_g = object.oneofDecl) === null || _g === void 0 ? void 0 : _g.map((e) => OneofDescriptorProto.fromPartial(e))) || [];
|
|
825
845
|
message.options = (object.options !== undefined && object.options !== null)
|
|
826
|
-
?
|
|
846
|
+
? MessageOptions.fromPartial(object.options)
|
|
827
847
|
: undefined;
|
|
828
|
-
message.reservedRange = ((_h = object.reservedRange) === null || _h === void 0 ? void 0 : _h.map((e) =>
|
|
848
|
+
message.reservedRange = ((_h = object.reservedRange) === null || _h === void 0 ? void 0 : _h.map((e) => DescriptorProto_ReservedRange.fromPartial(e))) || [];
|
|
829
849
|
message.reservedName = ((_j = object.reservedName) === null || _j === void 0 ? void 0 : _j.map((e) => e)) || [];
|
|
830
850
|
return message;
|
|
831
|
-
}
|
|
832
|
-
|
|
851
|
+
}
|
|
852
|
+
DescriptorProto.fromPartial = fromPartial;
|
|
853
|
+
})(DescriptorProto || (exports.DescriptorProto = DescriptorProto = {}));
|
|
833
854
|
function createBaseDescriptorProto_ExtensionRange() {
|
|
834
855
|
return { start: 0, end: 0 };
|
|
835
856
|
}
|
|
836
|
-
|
|
837
|
-
|
|
857
|
+
var DescriptorProto_ExtensionRange;
|
|
858
|
+
(function (DescriptorProto_ExtensionRange) {
|
|
859
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
838
860
|
if (message.start !== 0) {
|
|
839
861
|
writer.uint32(8).int32(message.start);
|
|
840
862
|
}
|
|
@@ -842,8 +864,9 @@ exports.DescriptorProto_ExtensionRange = {
|
|
|
842
864
|
writer.uint32(16).int32(message.end);
|
|
843
865
|
}
|
|
844
866
|
return writer;
|
|
845
|
-
}
|
|
846
|
-
|
|
867
|
+
}
|
|
868
|
+
DescriptorProto_ExtensionRange.encode = encode;
|
|
869
|
+
function decode(input, length) {
|
|
847
870
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
848
871
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
849
872
|
const message = createBaseDescriptorProto_ExtensionRange();
|
|
@@ -851,50 +874,56 @@ exports.DescriptorProto_ExtensionRange = {
|
|
|
851
874
|
const tag = reader.uint32();
|
|
852
875
|
switch (tag >>> 3) {
|
|
853
876
|
case 1:
|
|
854
|
-
if (tag
|
|
877
|
+
if (tag !== 8) {
|
|
855
878
|
break;
|
|
856
879
|
}
|
|
857
880
|
message.start = reader.int32();
|
|
858
881
|
continue;
|
|
859
882
|
case 2:
|
|
860
|
-
if (tag
|
|
883
|
+
if (tag !== 16) {
|
|
861
884
|
break;
|
|
862
885
|
}
|
|
863
886
|
message.end = reader.int32();
|
|
864
887
|
continue;
|
|
865
888
|
}
|
|
866
|
-
if ((tag & 7)
|
|
889
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
867
890
|
break;
|
|
868
891
|
}
|
|
869
892
|
reader.skipType(tag & 7);
|
|
870
893
|
}
|
|
871
894
|
return message;
|
|
872
|
-
}
|
|
873
|
-
|
|
895
|
+
}
|
|
896
|
+
DescriptorProto_ExtensionRange.decode = decode;
|
|
897
|
+
function fromJSON(object) {
|
|
874
898
|
return { start: isSet(object.start) ? Number(object.start) : 0, end: isSet(object.end) ? Number(object.end) : 0 };
|
|
875
|
-
}
|
|
876
|
-
|
|
899
|
+
}
|
|
900
|
+
DescriptorProto_ExtensionRange.fromJSON = fromJSON;
|
|
901
|
+
function toJSON(message) {
|
|
877
902
|
const obj = {};
|
|
878
903
|
message.start !== undefined && (obj.start = Math.round(message.start));
|
|
879
904
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
880
905
|
return obj;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
906
|
+
}
|
|
907
|
+
DescriptorProto_ExtensionRange.toJSON = toJSON;
|
|
908
|
+
function create(base) {
|
|
909
|
+
return DescriptorProto_ExtensionRange.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
910
|
+
}
|
|
911
|
+
DescriptorProto_ExtensionRange.create = create;
|
|
912
|
+
function fromPartial(object) {
|
|
886
913
|
var _a, _b;
|
|
887
914
|
const message = createBaseDescriptorProto_ExtensionRange();
|
|
888
915
|
message.start = (_a = object.start) !== null && _a !== void 0 ? _a : 0;
|
|
889
916
|
message.end = (_b = object.end) !== null && _b !== void 0 ? _b : 0;
|
|
890
917
|
return message;
|
|
891
|
-
}
|
|
892
|
-
|
|
918
|
+
}
|
|
919
|
+
DescriptorProto_ExtensionRange.fromPartial = fromPartial;
|
|
920
|
+
})(DescriptorProto_ExtensionRange || (exports.DescriptorProto_ExtensionRange = DescriptorProto_ExtensionRange = {}));
|
|
893
921
|
function createBaseDescriptorProto_ReservedRange() {
|
|
894
922
|
return { start: 0, end: 0 };
|
|
895
923
|
}
|
|
896
|
-
|
|
897
|
-
|
|
924
|
+
var DescriptorProto_ReservedRange;
|
|
925
|
+
(function (DescriptorProto_ReservedRange) {
|
|
926
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
898
927
|
if (message.start !== 0) {
|
|
899
928
|
writer.uint32(8).int32(message.start);
|
|
900
929
|
}
|
|
@@ -902,8 +931,9 @@ exports.DescriptorProto_ReservedRange = {
|
|
|
902
931
|
writer.uint32(16).int32(message.end);
|
|
903
932
|
}
|
|
904
933
|
return writer;
|
|
905
|
-
}
|
|
906
|
-
|
|
934
|
+
}
|
|
935
|
+
DescriptorProto_ReservedRange.encode = encode;
|
|
936
|
+
function decode(input, length) {
|
|
907
937
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
908
938
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
909
939
|
const message = createBaseDescriptorProto_ReservedRange();
|
|
@@ -911,45 +941,50 @@ exports.DescriptorProto_ReservedRange = {
|
|
|
911
941
|
const tag = reader.uint32();
|
|
912
942
|
switch (tag >>> 3) {
|
|
913
943
|
case 1:
|
|
914
|
-
if (tag
|
|
944
|
+
if (tag !== 8) {
|
|
915
945
|
break;
|
|
916
946
|
}
|
|
917
947
|
message.start = reader.int32();
|
|
918
948
|
continue;
|
|
919
949
|
case 2:
|
|
920
|
-
if (tag
|
|
950
|
+
if (tag !== 16) {
|
|
921
951
|
break;
|
|
922
952
|
}
|
|
923
953
|
message.end = reader.int32();
|
|
924
954
|
continue;
|
|
925
955
|
}
|
|
926
|
-
if ((tag & 7)
|
|
956
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
927
957
|
break;
|
|
928
958
|
}
|
|
929
959
|
reader.skipType(tag & 7);
|
|
930
960
|
}
|
|
931
961
|
return message;
|
|
932
|
-
}
|
|
933
|
-
|
|
962
|
+
}
|
|
963
|
+
DescriptorProto_ReservedRange.decode = decode;
|
|
964
|
+
function fromJSON(object) {
|
|
934
965
|
return { start: isSet(object.start) ? Number(object.start) : 0, end: isSet(object.end) ? Number(object.end) : 0 };
|
|
935
|
-
}
|
|
936
|
-
|
|
966
|
+
}
|
|
967
|
+
DescriptorProto_ReservedRange.fromJSON = fromJSON;
|
|
968
|
+
function toJSON(message) {
|
|
937
969
|
const obj = {};
|
|
938
970
|
message.start !== undefined && (obj.start = Math.round(message.start));
|
|
939
971
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
940
972
|
return obj;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
973
|
+
}
|
|
974
|
+
DescriptorProto_ReservedRange.toJSON = toJSON;
|
|
975
|
+
function create(base) {
|
|
976
|
+
return DescriptorProto_ReservedRange.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
977
|
+
}
|
|
978
|
+
DescriptorProto_ReservedRange.create = create;
|
|
979
|
+
function fromPartial(object) {
|
|
946
980
|
var _a, _b;
|
|
947
981
|
const message = createBaseDescriptorProto_ReservedRange();
|
|
948
982
|
message.start = (_a = object.start) !== null && _a !== void 0 ? _a : 0;
|
|
949
983
|
message.end = (_b = object.end) !== null && _b !== void 0 ? _b : 0;
|
|
950
984
|
return message;
|
|
951
|
-
}
|
|
952
|
-
|
|
985
|
+
}
|
|
986
|
+
DescriptorProto_ReservedRange.fromPartial = fromPartial;
|
|
987
|
+
})(DescriptorProto_ReservedRange || (exports.DescriptorProto_ReservedRange = DescriptorProto_ReservedRange = {}));
|
|
953
988
|
function createBaseFieldDescriptorProto() {
|
|
954
989
|
return {
|
|
955
990
|
name: "",
|
|
@@ -964,8 +999,9 @@ function createBaseFieldDescriptorProto() {
|
|
|
964
999
|
options: undefined,
|
|
965
1000
|
};
|
|
966
1001
|
}
|
|
967
|
-
|
|
968
|
-
|
|
1002
|
+
var FieldDescriptorProto;
|
|
1003
|
+
(function (FieldDescriptorProto) {
|
|
1004
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
969
1005
|
if (message.name !== "") {
|
|
970
1006
|
writer.uint32(10).string(message.name);
|
|
971
1007
|
}
|
|
@@ -994,11 +1030,12 @@ exports.FieldDescriptorProto = {
|
|
|
994
1030
|
writer.uint32(82).string(message.jsonName);
|
|
995
1031
|
}
|
|
996
1032
|
if (message.options !== undefined) {
|
|
997
|
-
|
|
1033
|
+
FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim();
|
|
998
1034
|
}
|
|
999
1035
|
return writer;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1036
|
+
}
|
|
1037
|
+
FieldDescriptorProto.encode = encode;
|
|
1038
|
+
function decode(input, length) {
|
|
1002
1039
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1003
1040
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1004
1041
|
const message = createBaseFieldDescriptorProto();
|
|
@@ -1006,74 +1043,75 @@ exports.FieldDescriptorProto = {
|
|
|
1006
1043
|
const tag = reader.uint32();
|
|
1007
1044
|
switch (tag >>> 3) {
|
|
1008
1045
|
case 1:
|
|
1009
|
-
if (tag
|
|
1046
|
+
if (tag !== 10) {
|
|
1010
1047
|
break;
|
|
1011
1048
|
}
|
|
1012
1049
|
message.name = reader.string();
|
|
1013
1050
|
continue;
|
|
1014
1051
|
case 3:
|
|
1015
|
-
if (tag
|
|
1052
|
+
if (tag !== 24) {
|
|
1016
1053
|
break;
|
|
1017
1054
|
}
|
|
1018
1055
|
message.number = reader.int32();
|
|
1019
1056
|
continue;
|
|
1020
1057
|
case 4:
|
|
1021
|
-
if (tag
|
|
1058
|
+
if (tag !== 32) {
|
|
1022
1059
|
break;
|
|
1023
1060
|
}
|
|
1024
1061
|
message.label = reader.int32();
|
|
1025
1062
|
continue;
|
|
1026
1063
|
case 5:
|
|
1027
|
-
if (tag
|
|
1064
|
+
if (tag !== 40) {
|
|
1028
1065
|
break;
|
|
1029
1066
|
}
|
|
1030
1067
|
message.type = reader.int32();
|
|
1031
1068
|
continue;
|
|
1032
1069
|
case 6:
|
|
1033
|
-
if (tag
|
|
1070
|
+
if (tag !== 50) {
|
|
1034
1071
|
break;
|
|
1035
1072
|
}
|
|
1036
1073
|
message.typeName = reader.string();
|
|
1037
1074
|
continue;
|
|
1038
1075
|
case 2:
|
|
1039
|
-
if (tag
|
|
1076
|
+
if (tag !== 18) {
|
|
1040
1077
|
break;
|
|
1041
1078
|
}
|
|
1042
1079
|
message.extendee = reader.string();
|
|
1043
1080
|
continue;
|
|
1044
1081
|
case 7:
|
|
1045
|
-
if (tag
|
|
1082
|
+
if (tag !== 58) {
|
|
1046
1083
|
break;
|
|
1047
1084
|
}
|
|
1048
1085
|
message.defaultValue = reader.string();
|
|
1049
1086
|
continue;
|
|
1050
1087
|
case 9:
|
|
1051
|
-
if (tag
|
|
1088
|
+
if (tag !== 72) {
|
|
1052
1089
|
break;
|
|
1053
1090
|
}
|
|
1054
1091
|
message.oneofIndex = reader.int32();
|
|
1055
1092
|
continue;
|
|
1056
1093
|
case 10:
|
|
1057
|
-
if (tag
|
|
1094
|
+
if (tag !== 82) {
|
|
1058
1095
|
break;
|
|
1059
1096
|
}
|
|
1060
1097
|
message.jsonName = reader.string();
|
|
1061
1098
|
continue;
|
|
1062
1099
|
case 8:
|
|
1063
|
-
if (tag
|
|
1100
|
+
if (tag !== 66) {
|
|
1064
1101
|
break;
|
|
1065
1102
|
}
|
|
1066
|
-
message.options =
|
|
1103
|
+
message.options = FieldOptions.decode(reader, reader.uint32());
|
|
1067
1104
|
continue;
|
|
1068
1105
|
}
|
|
1069
|
-
if ((tag & 7)
|
|
1106
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1070
1107
|
break;
|
|
1071
1108
|
}
|
|
1072
1109
|
reader.skipType(tag & 7);
|
|
1073
1110
|
}
|
|
1074
1111
|
return message;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1112
|
+
}
|
|
1113
|
+
FieldDescriptorProto.decode = decode;
|
|
1114
|
+
function fromJSON(object) {
|
|
1077
1115
|
return {
|
|
1078
1116
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1079
1117
|
number: isSet(object.number) ? Number(object.number) : 0,
|
|
@@ -1084,10 +1122,11 @@ exports.FieldDescriptorProto = {
|
|
|
1084
1122
|
defaultValue: isSet(object.defaultValue) ? String(object.defaultValue) : "",
|
|
1085
1123
|
oneofIndex: isSet(object.oneofIndex) ? Number(object.oneofIndex) : 0,
|
|
1086
1124
|
jsonName: isSet(object.jsonName) ? String(object.jsonName) : "",
|
|
1087
|
-
options: isSet(object.options) ?
|
|
1125
|
+
options: isSet(object.options) ? FieldOptions.fromJSON(object.options) : undefined,
|
|
1088
1126
|
};
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1127
|
+
}
|
|
1128
|
+
FieldDescriptorProto.fromJSON = fromJSON;
|
|
1129
|
+
function toJSON(message) {
|
|
1091
1130
|
const obj = {};
|
|
1092
1131
|
message.name !== undefined && (obj.name = message.name);
|
|
1093
1132
|
message.number !== undefined && (obj.number = Math.round(message.number));
|
|
@@ -1098,13 +1137,15 @@ exports.FieldDescriptorProto = {
|
|
|
1098
1137
|
message.defaultValue !== undefined && (obj.defaultValue = message.defaultValue);
|
|
1099
1138
|
message.oneofIndex !== undefined && (obj.oneofIndex = Math.round(message.oneofIndex));
|
|
1100
1139
|
message.jsonName !== undefined && (obj.jsonName = message.jsonName);
|
|
1101
|
-
message.options !== undefined && (obj.options = message.options ?
|
|
1140
|
+
message.options !== undefined && (obj.options = message.options ? FieldOptions.toJSON(message.options) : undefined);
|
|
1102
1141
|
return obj;
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1142
|
+
}
|
|
1143
|
+
FieldDescriptorProto.toJSON = toJSON;
|
|
1144
|
+
function create(base) {
|
|
1145
|
+
return FieldDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1146
|
+
}
|
|
1147
|
+
FieldDescriptorProto.create = create;
|
|
1148
|
+
function fromPartial(object) {
|
|
1108
1149
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1109
1150
|
const message = createBaseFieldDescriptorProto();
|
|
1110
1151
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
@@ -1117,25 +1158,28 @@ exports.FieldDescriptorProto = {
|
|
|
1117
1158
|
message.oneofIndex = (_h = object.oneofIndex) !== null && _h !== void 0 ? _h : 0;
|
|
1118
1159
|
message.jsonName = (_j = object.jsonName) !== null && _j !== void 0 ? _j : "";
|
|
1119
1160
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1120
|
-
?
|
|
1161
|
+
? FieldOptions.fromPartial(object.options)
|
|
1121
1162
|
: undefined;
|
|
1122
1163
|
return message;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1164
|
+
}
|
|
1165
|
+
FieldDescriptorProto.fromPartial = fromPartial;
|
|
1166
|
+
})(FieldDescriptorProto || (exports.FieldDescriptorProto = FieldDescriptorProto = {}));
|
|
1125
1167
|
function createBaseOneofDescriptorProto() {
|
|
1126
1168
|
return { name: "", options: undefined };
|
|
1127
1169
|
}
|
|
1128
|
-
|
|
1129
|
-
|
|
1170
|
+
var OneofDescriptorProto;
|
|
1171
|
+
(function (OneofDescriptorProto) {
|
|
1172
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1130
1173
|
if (message.name !== "") {
|
|
1131
1174
|
writer.uint32(10).string(message.name);
|
|
1132
1175
|
}
|
|
1133
1176
|
if (message.options !== undefined) {
|
|
1134
|
-
|
|
1177
|
+
OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim();
|
|
1135
1178
|
}
|
|
1136
1179
|
return writer;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1180
|
+
}
|
|
1181
|
+
OneofDescriptorProto.encode = encode;
|
|
1182
|
+
function decode(input, length) {
|
|
1139
1183
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1140
1184
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1141
1185
|
const message = createBaseOneofDescriptorProto();
|
|
@@ -1143,67 +1187,74 @@ exports.OneofDescriptorProto = {
|
|
|
1143
1187
|
const tag = reader.uint32();
|
|
1144
1188
|
switch (tag >>> 3) {
|
|
1145
1189
|
case 1:
|
|
1146
|
-
if (tag
|
|
1190
|
+
if (tag !== 10) {
|
|
1147
1191
|
break;
|
|
1148
1192
|
}
|
|
1149
1193
|
message.name = reader.string();
|
|
1150
1194
|
continue;
|
|
1151
1195
|
case 2:
|
|
1152
|
-
if (tag
|
|
1196
|
+
if (tag !== 18) {
|
|
1153
1197
|
break;
|
|
1154
1198
|
}
|
|
1155
|
-
message.options =
|
|
1199
|
+
message.options = OneofOptions.decode(reader, reader.uint32());
|
|
1156
1200
|
continue;
|
|
1157
1201
|
}
|
|
1158
|
-
if ((tag & 7)
|
|
1202
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1159
1203
|
break;
|
|
1160
1204
|
}
|
|
1161
1205
|
reader.skipType(tag & 7);
|
|
1162
1206
|
}
|
|
1163
1207
|
return message;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1208
|
+
}
|
|
1209
|
+
OneofDescriptorProto.decode = decode;
|
|
1210
|
+
function fromJSON(object) {
|
|
1166
1211
|
return {
|
|
1167
1212
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1168
|
-
options: isSet(object.options) ?
|
|
1213
|
+
options: isSet(object.options) ? OneofOptions.fromJSON(object.options) : undefined,
|
|
1169
1214
|
};
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1215
|
+
}
|
|
1216
|
+
OneofDescriptorProto.fromJSON = fromJSON;
|
|
1217
|
+
function toJSON(message) {
|
|
1172
1218
|
const obj = {};
|
|
1173
1219
|
message.name !== undefined && (obj.name = message.name);
|
|
1174
|
-
message.options !== undefined && (obj.options = message.options ?
|
|
1220
|
+
message.options !== undefined && (obj.options = message.options ? OneofOptions.toJSON(message.options) : undefined);
|
|
1175
1221
|
return obj;
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1222
|
+
}
|
|
1223
|
+
OneofDescriptorProto.toJSON = toJSON;
|
|
1224
|
+
function create(base) {
|
|
1225
|
+
return OneofDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1226
|
+
}
|
|
1227
|
+
OneofDescriptorProto.create = create;
|
|
1228
|
+
function fromPartial(object) {
|
|
1181
1229
|
var _a;
|
|
1182
1230
|
const message = createBaseOneofDescriptorProto();
|
|
1183
1231
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
1184
1232
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1185
|
-
?
|
|
1233
|
+
? OneofOptions.fromPartial(object.options)
|
|
1186
1234
|
: undefined;
|
|
1187
1235
|
return message;
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1236
|
+
}
|
|
1237
|
+
OneofDescriptorProto.fromPartial = fromPartial;
|
|
1238
|
+
})(OneofDescriptorProto || (exports.OneofDescriptorProto = OneofDescriptorProto = {}));
|
|
1190
1239
|
function createBaseEnumDescriptorProto() {
|
|
1191
1240
|
return { name: "", value: [], options: undefined };
|
|
1192
1241
|
}
|
|
1193
|
-
|
|
1194
|
-
|
|
1242
|
+
var EnumDescriptorProto;
|
|
1243
|
+
(function (EnumDescriptorProto) {
|
|
1244
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1195
1245
|
if (message.name !== "") {
|
|
1196
1246
|
writer.uint32(10).string(message.name);
|
|
1197
1247
|
}
|
|
1198
1248
|
for (const v of message.value) {
|
|
1199
|
-
|
|
1249
|
+
EnumValueDescriptorProto.encode(v, writer.uint32(18).fork()).ldelim();
|
|
1200
1250
|
}
|
|
1201
1251
|
if (message.options !== undefined) {
|
|
1202
|
-
|
|
1252
|
+
EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1203
1253
|
}
|
|
1204
1254
|
return writer;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1255
|
+
}
|
|
1256
|
+
EnumDescriptorProto.encode = encode;
|
|
1257
|
+
function decode(input, length) {
|
|
1207
1258
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1208
1259
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1209
1260
|
const message = createBaseEnumDescriptorProto();
|
|
@@ -1211,69 +1262,75 @@ exports.EnumDescriptorProto = {
|
|
|
1211
1262
|
const tag = reader.uint32();
|
|
1212
1263
|
switch (tag >>> 3) {
|
|
1213
1264
|
case 1:
|
|
1214
|
-
if (tag
|
|
1265
|
+
if (tag !== 10) {
|
|
1215
1266
|
break;
|
|
1216
1267
|
}
|
|
1217
1268
|
message.name = reader.string();
|
|
1218
1269
|
continue;
|
|
1219
1270
|
case 2:
|
|
1220
|
-
if (tag
|
|
1271
|
+
if (tag !== 18) {
|
|
1221
1272
|
break;
|
|
1222
1273
|
}
|
|
1223
|
-
message.value.push(
|
|
1274
|
+
message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32()));
|
|
1224
1275
|
continue;
|
|
1225
1276
|
case 3:
|
|
1226
|
-
if (tag
|
|
1277
|
+
if (tag !== 26) {
|
|
1227
1278
|
break;
|
|
1228
1279
|
}
|
|
1229
|
-
message.options =
|
|
1280
|
+
message.options = EnumOptions.decode(reader, reader.uint32());
|
|
1230
1281
|
continue;
|
|
1231
1282
|
}
|
|
1232
|
-
if ((tag & 7)
|
|
1283
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1233
1284
|
break;
|
|
1234
1285
|
}
|
|
1235
1286
|
reader.skipType(tag & 7);
|
|
1236
1287
|
}
|
|
1237
1288
|
return message;
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1289
|
+
}
|
|
1290
|
+
EnumDescriptorProto.decode = decode;
|
|
1291
|
+
function fromJSON(object) {
|
|
1240
1292
|
return {
|
|
1241
1293
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1242
|
-
value: Array.isArray(object === null || object === void 0 ? void 0 : object.value) ? object.value.map((e) =>
|
|
1243
|
-
options: isSet(object.options) ?
|
|
1294
|
+
value: Array.isArray(object === null || object === void 0 ? void 0 : object.value) ? object.value.map((e) => EnumValueDescriptorProto.fromJSON(e)) : [],
|
|
1295
|
+
options: isSet(object.options) ? EnumOptions.fromJSON(object.options) : undefined,
|
|
1244
1296
|
};
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1297
|
+
}
|
|
1298
|
+
EnumDescriptorProto.fromJSON = fromJSON;
|
|
1299
|
+
function toJSON(message) {
|
|
1247
1300
|
const obj = {};
|
|
1248
1301
|
message.name !== undefined && (obj.name = message.name);
|
|
1249
1302
|
if (message.value) {
|
|
1250
|
-
obj.value = message.value.map((e) => e ?
|
|
1303
|
+
obj.value = message.value.map((e) => e ? EnumValueDescriptorProto.toJSON(e) : undefined);
|
|
1251
1304
|
}
|
|
1252
1305
|
else {
|
|
1253
1306
|
obj.value = [];
|
|
1254
1307
|
}
|
|
1255
|
-
message.options !== undefined && (obj.options = message.options ?
|
|
1308
|
+
message.options !== undefined && (obj.options = message.options ? EnumOptions.toJSON(message.options) : undefined);
|
|
1256
1309
|
return obj;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1310
|
+
}
|
|
1311
|
+
EnumDescriptorProto.toJSON = toJSON;
|
|
1312
|
+
function create(base) {
|
|
1313
|
+
return EnumDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1314
|
+
}
|
|
1315
|
+
EnumDescriptorProto.create = create;
|
|
1316
|
+
function fromPartial(object) {
|
|
1262
1317
|
var _a, _b;
|
|
1263
1318
|
const message = createBaseEnumDescriptorProto();
|
|
1264
1319
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
1265
|
-
message.value = ((_b = object.value) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
1320
|
+
message.value = ((_b = object.value) === null || _b === void 0 ? void 0 : _b.map((e) => EnumValueDescriptorProto.fromPartial(e))) || [];
|
|
1266
1321
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1267
|
-
?
|
|
1322
|
+
? EnumOptions.fromPartial(object.options)
|
|
1268
1323
|
: undefined;
|
|
1269
1324
|
return message;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1325
|
+
}
|
|
1326
|
+
EnumDescriptorProto.fromPartial = fromPartial;
|
|
1327
|
+
})(EnumDescriptorProto || (exports.EnumDescriptorProto = EnumDescriptorProto = {}));
|
|
1272
1328
|
function createBaseEnumValueDescriptorProto() {
|
|
1273
1329
|
return { name: "", number: 0, options: undefined };
|
|
1274
1330
|
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1331
|
+
var EnumValueDescriptorProto;
|
|
1332
|
+
(function (EnumValueDescriptorProto) {
|
|
1333
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1277
1334
|
if (message.name !== "") {
|
|
1278
1335
|
writer.uint32(10).string(message.name);
|
|
1279
1336
|
}
|
|
@@ -1281,11 +1338,12 @@ exports.EnumValueDescriptorProto = {
|
|
|
1281
1338
|
writer.uint32(16).int32(message.number);
|
|
1282
1339
|
}
|
|
1283
1340
|
if (message.options !== undefined) {
|
|
1284
|
-
|
|
1341
|
+
EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1285
1342
|
}
|
|
1286
1343
|
return writer;
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1344
|
+
}
|
|
1345
|
+
EnumValueDescriptorProto.encode = encode;
|
|
1346
|
+
function decode(input, length) {
|
|
1289
1347
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1290
1348
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1291
1349
|
const message = createBaseEnumValueDescriptorProto();
|
|
@@ -1293,77 +1351,84 @@ exports.EnumValueDescriptorProto = {
|
|
|
1293
1351
|
const tag = reader.uint32();
|
|
1294
1352
|
switch (tag >>> 3) {
|
|
1295
1353
|
case 1:
|
|
1296
|
-
if (tag
|
|
1354
|
+
if (tag !== 10) {
|
|
1297
1355
|
break;
|
|
1298
1356
|
}
|
|
1299
1357
|
message.name = reader.string();
|
|
1300
1358
|
continue;
|
|
1301
1359
|
case 2:
|
|
1302
|
-
if (tag
|
|
1360
|
+
if (tag !== 16) {
|
|
1303
1361
|
break;
|
|
1304
1362
|
}
|
|
1305
1363
|
message.number = reader.int32();
|
|
1306
1364
|
continue;
|
|
1307
1365
|
case 3:
|
|
1308
|
-
if (tag
|
|
1366
|
+
if (tag !== 26) {
|
|
1309
1367
|
break;
|
|
1310
1368
|
}
|
|
1311
|
-
message.options =
|
|
1369
|
+
message.options = EnumValueOptions.decode(reader, reader.uint32());
|
|
1312
1370
|
continue;
|
|
1313
1371
|
}
|
|
1314
|
-
if ((tag & 7)
|
|
1372
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1315
1373
|
break;
|
|
1316
1374
|
}
|
|
1317
1375
|
reader.skipType(tag & 7);
|
|
1318
1376
|
}
|
|
1319
1377
|
return message;
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1378
|
+
}
|
|
1379
|
+
EnumValueDescriptorProto.decode = decode;
|
|
1380
|
+
function fromJSON(object) {
|
|
1322
1381
|
return {
|
|
1323
1382
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1324
1383
|
number: isSet(object.number) ? Number(object.number) : 0,
|
|
1325
|
-
options: isSet(object.options) ?
|
|
1384
|
+
options: isSet(object.options) ? EnumValueOptions.fromJSON(object.options) : undefined,
|
|
1326
1385
|
};
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1386
|
+
}
|
|
1387
|
+
EnumValueDescriptorProto.fromJSON = fromJSON;
|
|
1388
|
+
function toJSON(message) {
|
|
1329
1389
|
const obj = {};
|
|
1330
1390
|
message.name !== undefined && (obj.name = message.name);
|
|
1331
1391
|
message.number !== undefined && (obj.number = Math.round(message.number));
|
|
1332
1392
|
message.options !== undefined &&
|
|
1333
|
-
(obj.options = message.options ?
|
|
1393
|
+
(obj.options = message.options ? EnumValueOptions.toJSON(message.options) : undefined);
|
|
1334
1394
|
return obj;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1395
|
+
}
|
|
1396
|
+
EnumValueDescriptorProto.toJSON = toJSON;
|
|
1397
|
+
function create(base) {
|
|
1398
|
+
return EnumValueDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1399
|
+
}
|
|
1400
|
+
EnumValueDescriptorProto.create = create;
|
|
1401
|
+
function fromPartial(object) {
|
|
1340
1402
|
var _a, _b;
|
|
1341
1403
|
const message = createBaseEnumValueDescriptorProto();
|
|
1342
1404
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
1343
1405
|
message.number = (_b = object.number) !== null && _b !== void 0 ? _b : 0;
|
|
1344
1406
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1345
|
-
?
|
|
1407
|
+
? EnumValueOptions.fromPartial(object.options)
|
|
1346
1408
|
: undefined;
|
|
1347
1409
|
return message;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1410
|
+
}
|
|
1411
|
+
EnumValueDescriptorProto.fromPartial = fromPartial;
|
|
1412
|
+
})(EnumValueDescriptorProto || (exports.EnumValueDescriptorProto = EnumValueDescriptorProto = {}));
|
|
1350
1413
|
function createBaseServiceDescriptorProto() {
|
|
1351
1414
|
return { name: "", method: [], options: undefined };
|
|
1352
1415
|
}
|
|
1353
|
-
|
|
1354
|
-
|
|
1416
|
+
var ServiceDescriptorProto;
|
|
1417
|
+
(function (ServiceDescriptorProto) {
|
|
1418
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1355
1419
|
if (message.name !== "") {
|
|
1356
1420
|
writer.uint32(10).string(message.name);
|
|
1357
1421
|
}
|
|
1358
1422
|
for (const v of message.method) {
|
|
1359
|
-
|
|
1423
|
+
MethodDescriptorProto.encode(v, writer.uint32(18).fork()).ldelim();
|
|
1360
1424
|
}
|
|
1361
1425
|
if (message.options !== undefined) {
|
|
1362
|
-
|
|
1426
|
+
ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1363
1427
|
}
|
|
1364
1428
|
return writer;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1429
|
+
}
|
|
1430
|
+
ServiceDescriptorProto.encode = encode;
|
|
1431
|
+
function decode(input, length) {
|
|
1367
1432
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1368
1433
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1369
1434
|
const message = createBaseServiceDescriptorProto();
|
|
@@ -1371,65 +1436,70 @@ exports.ServiceDescriptorProto = {
|
|
|
1371
1436
|
const tag = reader.uint32();
|
|
1372
1437
|
switch (tag >>> 3) {
|
|
1373
1438
|
case 1:
|
|
1374
|
-
if (tag
|
|
1439
|
+
if (tag !== 10) {
|
|
1375
1440
|
break;
|
|
1376
1441
|
}
|
|
1377
1442
|
message.name = reader.string();
|
|
1378
1443
|
continue;
|
|
1379
1444
|
case 2:
|
|
1380
|
-
if (tag
|
|
1445
|
+
if (tag !== 18) {
|
|
1381
1446
|
break;
|
|
1382
1447
|
}
|
|
1383
|
-
message.method.push(
|
|
1448
|
+
message.method.push(MethodDescriptorProto.decode(reader, reader.uint32()));
|
|
1384
1449
|
continue;
|
|
1385
1450
|
case 3:
|
|
1386
|
-
if (tag
|
|
1451
|
+
if (tag !== 26) {
|
|
1387
1452
|
break;
|
|
1388
1453
|
}
|
|
1389
|
-
message.options =
|
|
1454
|
+
message.options = ServiceOptions.decode(reader, reader.uint32());
|
|
1390
1455
|
continue;
|
|
1391
1456
|
}
|
|
1392
|
-
if ((tag & 7)
|
|
1457
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1393
1458
|
break;
|
|
1394
1459
|
}
|
|
1395
1460
|
reader.skipType(tag & 7);
|
|
1396
1461
|
}
|
|
1397
1462
|
return message;
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1463
|
+
}
|
|
1464
|
+
ServiceDescriptorProto.decode = decode;
|
|
1465
|
+
function fromJSON(object) {
|
|
1400
1466
|
return {
|
|
1401
1467
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1402
|
-
method: Array.isArray(object === null || object === void 0 ? void 0 : object.method) ? object.method.map((e) =>
|
|
1403
|
-
options: isSet(object.options) ?
|
|
1468
|
+
method: Array.isArray(object === null || object === void 0 ? void 0 : object.method) ? object.method.map((e) => MethodDescriptorProto.fromJSON(e)) : [],
|
|
1469
|
+
options: isSet(object.options) ? ServiceOptions.fromJSON(object.options) : undefined,
|
|
1404
1470
|
};
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1471
|
+
}
|
|
1472
|
+
ServiceDescriptorProto.fromJSON = fromJSON;
|
|
1473
|
+
function toJSON(message) {
|
|
1407
1474
|
const obj = {};
|
|
1408
1475
|
message.name !== undefined && (obj.name = message.name);
|
|
1409
1476
|
if (message.method) {
|
|
1410
|
-
obj.method = message.method.map((e) => e ?
|
|
1477
|
+
obj.method = message.method.map((e) => e ? MethodDescriptorProto.toJSON(e) : undefined);
|
|
1411
1478
|
}
|
|
1412
1479
|
else {
|
|
1413
1480
|
obj.method = [];
|
|
1414
1481
|
}
|
|
1415
1482
|
message.options !== undefined &&
|
|
1416
|
-
(obj.options = message.options ?
|
|
1483
|
+
(obj.options = message.options ? ServiceOptions.toJSON(message.options) : undefined);
|
|
1417
1484
|
return obj;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1485
|
+
}
|
|
1486
|
+
ServiceDescriptorProto.toJSON = toJSON;
|
|
1487
|
+
function create(base) {
|
|
1488
|
+
return ServiceDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1489
|
+
}
|
|
1490
|
+
ServiceDescriptorProto.create = create;
|
|
1491
|
+
function fromPartial(object) {
|
|
1423
1492
|
var _a, _b;
|
|
1424
1493
|
const message = createBaseServiceDescriptorProto();
|
|
1425
1494
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
1426
|
-
message.method = ((_b = object.method) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
1495
|
+
message.method = ((_b = object.method) === null || _b === void 0 ? void 0 : _b.map((e) => MethodDescriptorProto.fromPartial(e))) || [];
|
|
1427
1496
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1428
|
-
?
|
|
1497
|
+
? ServiceOptions.fromPartial(object.options)
|
|
1429
1498
|
: undefined;
|
|
1430
1499
|
return message;
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1500
|
+
}
|
|
1501
|
+
ServiceDescriptorProto.fromPartial = fromPartial;
|
|
1502
|
+
})(ServiceDescriptorProto || (exports.ServiceDescriptorProto = ServiceDescriptorProto = {}));
|
|
1433
1503
|
function createBaseMethodDescriptorProto() {
|
|
1434
1504
|
return {
|
|
1435
1505
|
name: "",
|
|
@@ -1440,8 +1510,9 @@ function createBaseMethodDescriptorProto() {
|
|
|
1440
1510
|
serverStreaming: false,
|
|
1441
1511
|
};
|
|
1442
1512
|
}
|
|
1443
|
-
|
|
1444
|
-
|
|
1513
|
+
var MethodDescriptorProto;
|
|
1514
|
+
(function (MethodDescriptorProto) {
|
|
1515
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1445
1516
|
if (message.name !== "") {
|
|
1446
1517
|
writer.uint32(10).string(message.name);
|
|
1447
1518
|
}
|
|
@@ -1452,7 +1523,7 @@ exports.MethodDescriptorProto = {
|
|
|
1452
1523
|
writer.uint32(26).string(message.outputType);
|
|
1453
1524
|
}
|
|
1454
1525
|
if (message.options !== undefined) {
|
|
1455
|
-
|
|
1526
|
+
MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim();
|
|
1456
1527
|
}
|
|
1457
1528
|
if (message.clientStreaming === true) {
|
|
1458
1529
|
writer.uint32(40).bool(message.clientStreaming);
|
|
@@ -1461,8 +1532,9 @@ exports.MethodDescriptorProto = {
|
|
|
1461
1532
|
writer.uint32(48).bool(message.serverStreaming);
|
|
1462
1533
|
}
|
|
1463
1534
|
return writer;
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1535
|
+
}
|
|
1536
|
+
MethodDescriptorProto.encode = encode;
|
|
1537
|
+
function decode(input, length) {
|
|
1466
1538
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1467
1539
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1468
1540
|
const message = createBaseMethodDescriptorProto();
|
|
@@ -1470,87 +1542,92 @@ exports.MethodDescriptorProto = {
|
|
|
1470
1542
|
const tag = reader.uint32();
|
|
1471
1543
|
switch (tag >>> 3) {
|
|
1472
1544
|
case 1:
|
|
1473
|
-
if (tag
|
|
1545
|
+
if (tag !== 10) {
|
|
1474
1546
|
break;
|
|
1475
1547
|
}
|
|
1476
1548
|
message.name = reader.string();
|
|
1477
1549
|
continue;
|
|
1478
1550
|
case 2:
|
|
1479
|
-
if (tag
|
|
1551
|
+
if (tag !== 18) {
|
|
1480
1552
|
break;
|
|
1481
1553
|
}
|
|
1482
1554
|
message.inputType = reader.string();
|
|
1483
1555
|
continue;
|
|
1484
1556
|
case 3:
|
|
1485
|
-
if (tag
|
|
1557
|
+
if (tag !== 26) {
|
|
1486
1558
|
break;
|
|
1487
1559
|
}
|
|
1488
1560
|
message.outputType = reader.string();
|
|
1489
1561
|
continue;
|
|
1490
1562
|
case 4:
|
|
1491
|
-
if (tag
|
|
1563
|
+
if (tag !== 34) {
|
|
1492
1564
|
break;
|
|
1493
1565
|
}
|
|
1494
|
-
message.options =
|
|
1566
|
+
message.options = MethodOptions.decode(reader, reader.uint32());
|
|
1495
1567
|
continue;
|
|
1496
1568
|
case 5:
|
|
1497
|
-
if (tag
|
|
1569
|
+
if (tag !== 40) {
|
|
1498
1570
|
break;
|
|
1499
1571
|
}
|
|
1500
1572
|
message.clientStreaming = reader.bool();
|
|
1501
1573
|
continue;
|
|
1502
1574
|
case 6:
|
|
1503
|
-
if (tag
|
|
1575
|
+
if (tag !== 48) {
|
|
1504
1576
|
break;
|
|
1505
1577
|
}
|
|
1506
1578
|
message.serverStreaming = reader.bool();
|
|
1507
1579
|
continue;
|
|
1508
1580
|
}
|
|
1509
|
-
if ((tag & 7)
|
|
1581
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1510
1582
|
break;
|
|
1511
1583
|
}
|
|
1512
1584
|
reader.skipType(tag & 7);
|
|
1513
1585
|
}
|
|
1514
1586
|
return message;
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1587
|
+
}
|
|
1588
|
+
MethodDescriptorProto.decode = decode;
|
|
1589
|
+
function fromJSON(object) {
|
|
1517
1590
|
return {
|
|
1518
1591
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1519
1592
|
inputType: isSet(object.inputType) ? String(object.inputType) : "",
|
|
1520
1593
|
outputType: isSet(object.outputType) ? String(object.outputType) : "",
|
|
1521
|
-
options: isSet(object.options) ?
|
|
1594
|
+
options: isSet(object.options) ? MethodOptions.fromJSON(object.options) : undefined,
|
|
1522
1595
|
clientStreaming: isSet(object.clientStreaming) ? Boolean(object.clientStreaming) : false,
|
|
1523
1596
|
serverStreaming: isSet(object.serverStreaming) ? Boolean(object.serverStreaming) : false,
|
|
1524
1597
|
};
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1598
|
+
}
|
|
1599
|
+
MethodDescriptorProto.fromJSON = fromJSON;
|
|
1600
|
+
function toJSON(message) {
|
|
1527
1601
|
const obj = {};
|
|
1528
1602
|
message.name !== undefined && (obj.name = message.name);
|
|
1529
1603
|
message.inputType !== undefined && (obj.inputType = message.inputType);
|
|
1530
1604
|
message.outputType !== undefined && (obj.outputType = message.outputType);
|
|
1531
1605
|
message.options !== undefined &&
|
|
1532
|
-
(obj.options = message.options ?
|
|
1606
|
+
(obj.options = message.options ? MethodOptions.toJSON(message.options) : undefined);
|
|
1533
1607
|
message.clientStreaming !== undefined && (obj.clientStreaming = message.clientStreaming);
|
|
1534
1608
|
message.serverStreaming !== undefined && (obj.serverStreaming = message.serverStreaming);
|
|
1535
1609
|
return obj;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1610
|
+
}
|
|
1611
|
+
MethodDescriptorProto.toJSON = toJSON;
|
|
1612
|
+
function create(base) {
|
|
1613
|
+
return MethodDescriptorProto.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1614
|
+
}
|
|
1615
|
+
MethodDescriptorProto.create = create;
|
|
1616
|
+
function fromPartial(object) {
|
|
1541
1617
|
var _a, _b, _c, _d, _e;
|
|
1542
1618
|
const message = createBaseMethodDescriptorProto();
|
|
1543
1619
|
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
1544
1620
|
message.inputType = (_b = object.inputType) !== null && _b !== void 0 ? _b : "";
|
|
1545
1621
|
message.outputType = (_c = object.outputType) !== null && _c !== void 0 ? _c : "";
|
|
1546
1622
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1547
|
-
?
|
|
1623
|
+
? MethodOptions.fromPartial(object.options)
|
|
1548
1624
|
: undefined;
|
|
1549
1625
|
message.clientStreaming = (_d = object.clientStreaming) !== null && _d !== void 0 ? _d : false;
|
|
1550
1626
|
message.serverStreaming = (_e = object.serverStreaming) !== null && _e !== void 0 ? _e : false;
|
|
1551
1627
|
return message;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1628
|
+
}
|
|
1629
|
+
MethodDescriptorProto.fromPartial = fromPartial;
|
|
1630
|
+
})(MethodDescriptorProto || (exports.MethodDescriptorProto = MethodDescriptorProto = {}));
|
|
1554
1631
|
function createBaseFileOptions() {
|
|
1555
1632
|
return {
|
|
1556
1633
|
javaPackage: "",
|
|
@@ -1570,8 +1647,9 @@ function createBaseFileOptions() {
|
|
|
1570
1647
|
uninterpretedOption: [],
|
|
1571
1648
|
};
|
|
1572
1649
|
}
|
|
1573
|
-
|
|
1574
|
-
|
|
1650
|
+
var FileOptions;
|
|
1651
|
+
(function (FileOptions) {
|
|
1652
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1575
1653
|
if (message.javaPackage !== "") {
|
|
1576
1654
|
writer.uint32(10).string(message.javaPackage);
|
|
1577
1655
|
}
|
|
@@ -1615,11 +1693,12 @@ exports.FileOptions = {
|
|
|
1615
1693
|
writer.uint32(298).string(message.csharpNamespace);
|
|
1616
1694
|
}
|
|
1617
1695
|
for (const v of message.uninterpretedOption) {
|
|
1618
|
-
|
|
1696
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
1619
1697
|
}
|
|
1620
1698
|
return writer;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1699
|
+
}
|
|
1700
|
+
FileOptions.encode = encode;
|
|
1701
|
+
function decode(input, length) {
|
|
1623
1702
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1624
1703
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1625
1704
|
const message = createBaseFileOptions();
|
|
@@ -1627,104 +1706,105 @@ exports.FileOptions = {
|
|
|
1627
1706
|
const tag = reader.uint32();
|
|
1628
1707
|
switch (tag >>> 3) {
|
|
1629
1708
|
case 1:
|
|
1630
|
-
if (tag
|
|
1709
|
+
if (tag !== 10) {
|
|
1631
1710
|
break;
|
|
1632
1711
|
}
|
|
1633
1712
|
message.javaPackage = reader.string();
|
|
1634
1713
|
continue;
|
|
1635
1714
|
case 8:
|
|
1636
|
-
if (tag
|
|
1715
|
+
if (tag !== 66) {
|
|
1637
1716
|
break;
|
|
1638
1717
|
}
|
|
1639
1718
|
message.javaOuterClassname = reader.string();
|
|
1640
1719
|
continue;
|
|
1641
1720
|
case 10:
|
|
1642
|
-
if (tag
|
|
1721
|
+
if (tag !== 80) {
|
|
1643
1722
|
break;
|
|
1644
1723
|
}
|
|
1645
1724
|
message.javaMultipleFiles = reader.bool();
|
|
1646
1725
|
continue;
|
|
1647
1726
|
case 20:
|
|
1648
|
-
if (tag
|
|
1727
|
+
if (tag !== 160) {
|
|
1649
1728
|
break;
|
|
1650
1729
|
}
|
|
1651
1730
|
message.javaGenerateEqualsAndHash = reader.bool();
|
|
1652
1731
|
continue;
|
|
1653
1732
|
case 27:
|
|
1654
|
-
if (tag
|
|
1733
|
+
if (tag !== 216) {
|
|
1655
1734
|
break;
|
|
1656
1735
|
}
|
|
1657
1736
|
message.javaStringCheckUtf8 = reader.bool();
|
|
1658
1737
|
continue;
|
|
1659
1738
|
case 9:
|
|
1660
|
-
if (tag
|
|
1739
|
+
if (tag !== 72) {
|
|
1661
1740
|
break;
|
|
1662
1741
|
}
|
|
1663
1742
|
message.optimizeFor = reader.int32();
|
|
1664
1743
|
continue;
|
|
1665
1744
|
case 11:
|
|
1666
|
-
if (tag
|
|
1745
|
+
if (tag !== 90) {
|
|
1667
1746
|
break;
|
|
1668
1747
|
}
|
|
1669
1748
|
message.goPackage = reader.string();
|
|
1670
1749
|
continue;
|
|
1671
1750
|
case 16:
|
|
1672
|
-
if (tag
|
|
1751
|
+
if (tag !== 128) {
|
|
1673
1752
|
break;
|
|
1674
1753
|
}
|
|
1675
1754
|
message.ccGenericServices = reader.bool();
|
|
1676
1755
|
continue;
|
|
1677
1756
|
case 17:
|
|
1678
|
-
if (tag
|
|
1757
|
+
if (tag !== 136) {
|
|
1679
1758
|
break;
|
|
1680
1759
|
}
|
|
1681
1760
|
message.javaGenericServices = reader.bool();
|
|
1682
1761
|
continue;
|
|
1683
1762
|
case 18:
|
|
1684
|
-
if (tag
|
|
1763
|
+
if (tag !== 144) {
|
|
1685
1764
|
break;
|
|
1686
1765
|
}
|
|
1687
1766
|
message.pyGenericServices = reader.bool();
|
|
1688
1767
|
continue;
|
|
1689
1768
|
case 23:
|
|
1690
|
-
if (tag
|
|
1769
|
+
if (tag !== 184) {
|
|
1691
1770
|
break;
|
|
1692
1771
|
}
|
|
1693
1772
|
message.deprecated = reader.bool();
|
|
1694
1773
|
continue;
|
|
1695
1774
|
case 31:
|
|
1696
|
-
if (tag
|
|
1775
|
+
if (tag !== 248) {
|
|
1697
1776
|
break;
|
|
1698
1777
|
}
|
|
1699
1778
|
message.ccEnableArenas = reader.bool();
|
|
1700
1779
|
continue;
|
|
1701
1780
|
case 36:
|
|
1702
|
-
if (tag
|
|
1781
|
+
if (tag !== 290) {
|
|
1703
1782
|
break;
|
|
1704
1783
|
}
|
|
1705
1784
|
message.objcClassPrefix = reader.string();
|
|
1706
1785
|
continue;
|
|
1707
1786
|
case 37:
|
|
1708
|
-
if (tag
|
|
1787
|
+
if (tag !== 298) {
|
|
1709
1788
|
break;
|
|
1710
1789
|
}
|
|
1711
1790
|
message.csharpNamespace = reader.string();
|
|
1712
1791
|
continue;
|
|
1713
1792
|
case 999:
|
|
1714
|
-
if (tag
|
|
1793
|
+
if (tag !== 7994) {
|
|
1715
1794
|
break;
|
|
1716
1795
|
}
|
|
1717
|
-
message.uninterpretedOption.push(
|
|
1796
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
1718
1797
|
continue;
|
|
1719
1798
|
}
|
|
1720
|
-
if ((tag & 7)
|
|
1799
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1721
1800
|
break;
|
|
1722
1801
|
}
|
|
1723
1802
|
reader.skipType(tag & 7);
|
|
1724
1803
|
}
|
|
1725
1804
|
return message;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1805
|
+
}
|
|
1806
|
+
FileOptions.decode = decode;
|
|
1807
|
+
function fromJSON(object) {
|
|
1728
1808
|
return {
|
|
1729
1809
|
javaPackage: isSet(object.javaPackage) ? String(object.javaPackage) : "",
|
|
1730
1810
|
javaOuterClassname: isSet(object.javaOuterClassname) ? String(object.javaOuterClassname) : "",
|
|
@@ -1743,11 +1823,12 @@ exports.FileOptions = {
|
|
|
1743
1823
|
objcClassPrefix: isSet(object.objcClassPrefix) ? String(object.objcClassPrefix) : "",
|
|
1744
1824
|
csharpNamespace: isSet(object.csharpNamespace) ? String(object.csharpNamespace) : "",
|
|
1745
1825
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
1746
|
-
? object.uninterpretedOption.map((e) =>
|
|
1826
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
1747
1827
|
: [],
|
|
1748
1828
|
};
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1829
|
+
}
|
|
1830
|
+
FileOptions.fromJSON = fromJSON;
|
|
1831
|
+
function toJSON(message) {
|
|
1751
1832
|
const obj = {};
|
|
1752
1833
|
message.javaPackage !== undefined && (obj.javaPackage = message.javaPackage);
|
|
1753
1834
|
message.javaOuterClassname !== undefined && (obj.javaOuterClassname = message.javaOuterClassname);
|
|
@@ -1765,17 +1846,19 @@ exports.FileOptions = {
|
|
|
1765
1846
|
message.objcClassPrefix !== undefined && (obj.objcClassPrefix = message.objcClassPrefix);
|
|
1766
1847
|
message.csharpNamespace !== undefined && (obj.csharpNamespace = message.csharpNamespace);
|
|
1767
1848
|
if (message.uninterpretedOption) {
|
|
1768
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
1849
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
1769
1850
|
}
|
|
1770
1851
|
else {
|
|
1771
1852
|
obj.uninterpretedOption = [];
|
|
1772
1853
|
}
|
|
1773
1854
|
return obj;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1855
|
+
}
|
|
1856
|
+
FileOptions.toJSON = toJSON;
|
|
1857
|
+
function create(base) {
|
|
1858
|
+
return FileOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1859
|
+
}
|
|
1860
|
+
FileOptions.create = create;
|
|
1861
|
+
function fromPartial(object) {
|
|
1779
1862
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
1780
1863
|
const message = createBaseFileOptions();
|
|
1781
1864
|
message.javaPackage = (_a = object.javaPackage) !== null && _a !== void 0 ? _a : "";
|
|
@@ -1792,10 +1875,11 @@ exports.FileOptions = {
|
|
|
1792
1875
|
message.ccEnableArenas = (_m = object.ccEnableArenas) !== null && _m !== void 0 ? _m : false;
|
|
1793
1876
|
message.objcClassPrefix = (_o = object.objcClassPrefix) !== null && _o !== void 0 ? _o : "";
|
|
1794
1877
|
message.csharpNamespace = (_p = object.csharpNamespace) !== null && _p !== void 0 ? _p : "";
|
|
1795
|
-
message.uninterpretedOption = ((_q = object.uninterpretedOption) === null || _q === void 0 ? void 0 : _q.map((e) =>
|
|
1878
|
+
message.uninterpretedOption = ((_q = object.uninterpretedOption) === null || _q === void 0 ? void 0 : _q.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
1796
1879
|
return message;
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1880
|
+
}
|
|
1881
|
+
FileOptions.fromPartial = fromPartial;
|
|
1882
|
+
})(FileOptions || (exports.FileOptions = FileOptions = {}));
|
|
1799
1883
|
function createBaseMessageOptions() {
|
|
1800
1884
|
return {
|
|
1801
1885
|
messageSetWireFormat: false,
|
|
@@ -1805,8 +1889,9 @@ function createBaseMessageOptions() {
|
|
|
1805
1889
|
uninterpretedOption: [],
|
|
1806
1890
|
};
|
|
1807
1891
|
}
|
|
1808
|
-
|
|
1809
|
-
|
|
1892
|
+
var MessageOptions;
|
|
1893
|
+
(function (MessageOptions) {
|
|
1894
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1810
1895
|
if (message.messageSetWireFormat === true) {
|
|
1811
1896
|
writer.uint32(8).bool(message.messageSetWireFormat);
|
|
1812
1897
|
}
|
|
@@ -1820,11 +1905,12 @@ exports.MessageOptions = {
|
|
|
1820
1905
|
writer.uint32(56).bool(message.mapEntry);
|
|
1821
1906
|
}
|
|
1822
1907
|
for (const v of message.uninterpretedOption) {
|
|
1823
|
-
|
|
1908
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
1824
1909
|
}
|
|
1825
1910
|
return writer;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1911
|
+
}
|
|
1912
|
+
MessageOptions.encode = encode;
|
|
1913
|
+
function decode(input, length) {
|
|
1828
1914
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1829
1915
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1830
1916
|
const message = createBaseMessageOptions();
|
|
@@ -1832,44 +1918,45 @@ exports.MessageOptions = {
|
|
|
1832
1918
|
const tag = reader.uint32();
|
|
1833
1919
|
switch (tag >>> 3) {
|
|
1834
1920
|
case 1:
|
|
1835
|
-
if (tag
|
|
1921
|
+
if (tag !== 8) {
|
|
1836
1922
|
break;
|
|
1837
1923
|
}
|
|
1838
1924
|
message.messageSetWireFormat = reader.bool();
|
|
1839
1925
|
continue;
|
|
1840
1926
|
case 2:
|
|
1841
|
-
if (tag
|
|
1927
|
+
if (tag !== 16) {
|
|
1842
1928
|
break;
|
|
1843
1929
|
}
|
|
1844
1930
|
message.noStandardDescriptorAccessor = reader.bool();
|
|
1845
1931
|
continue;
|
|
1846
1932
|
case 3:
|
|
1847
|
-
if (tag
|
|
1933
|
+
if (tag !== 24) {
|
|
1848
1934
|
break;
|
|
1849
1935
|
}
|
|
1850
1936
|
message.deprecated = reader.bool();
|
|
1851
1937
|
continue;
|
|
1852
1938
|
case 7:
|
|
1853
|
-
if (tag
|
|
1939
|
+
if (tag !== 56) {
|
|
1854
1940
|
break;
|
|
1855
1941
|
}
|
|
1856
1942
|
message.mapEntry = reader.bool();
|
|
1857
1943
|
continue;
|
|
1858
1944
|
case 999:
|
|
1859
|
-
if (tag
|
|
1945
|
+
if (tag !== 7994) {
|
|
1860
1946
|
break;
|
|
1861
1947
|
}
|
|
1862
|
-
message.uninterpretedOption.push(
|
|
1948
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
1863
1949
|
continue;
|
|
1864
1950
|
}
|
|
1865
|
-
if ((tag & 7)
|
|
1951
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1866
1952
|
break;
|
|
1867
1953
|
}
|
|
1868
1954
|
reader.skipType(tag & 7);
|
|
1869
1955
|
}
|
|
1870
1956
|
return message;
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1957
|
+
}
|
|
1958
|
+
MessageOptions.decode = decode;
|
|
1959
|
+
function fromJSON(object) {
|
|
1873
1960
|
return {
|
|
1874
1961
|
messageSetWireFormat: isSet(object.messageSetWireFormat) ? Boolean(object.messageSetWireFormat) : false,
|
|
1875
1962
|
noStandardDescriptorAccessor: isSet(object.noStandardDescriptorAccessor)
|
|
@@ -1878,11 +1965,12 @@ exports.MessageOptions = {
|
|
|
1878
1965
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
1879
1966
|
mapEntry: isSet(object.mapEntry) ? Boolean(object.mapEntry) : false,
|
|
1880
1967
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
1881
|
-
? object.uninterpretedOption.map((e) =>
|
|
1968
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
1882
1969
|
: [],
|
|
1883
1970
|
};
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1971
|
+
}
|
|
1972
|
+
MessageOptions.fromJSON = fromJSON;
|
|
1973
|
+
function toJSON(message) {
|
|
1886
1974
|
const obj = {};
|
|
1887
1975
|
message.messageSetWireFormat !== undefined && (obj.messageSetWireFormat = message.messageSetWireFormat);
|
|
1888
1976
|
message.noStandardDescriptorAccessor !== undefined &&
|
|
@@ -1890,32 +1978,36 @@ exports.MessageOptions = {
|
|
|
1890
1978
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
1891
1979
|
message.mapEntry !== undefined && (obj.mapEntry = message.mapEntry);
|
|
1892
1980
|
if (message.uninterpretedOption) {
|
|
1893
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
1981
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
1894
1982
|
}
|
|
1895
1983
|
else {
|
|
1896
1984
|
obj.uninterpretedOption = [];
|
|
1897
1985
|
}
|
|
1898
1986
|
return obj;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1987
|
+
}
|
|
1988
|
+
MessageOptions.toJSON = toJSON;
|
|
1989
|
+
function create(base) {
|
|
1990
|
+
return MessageOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1991
|
+
}
|
|
1992
|
+
MessageOptions.create = create;
|
|
1993
|
+
function fromPartial(object) {
|
|
1904
1994
|
var _a, _b, _c, _d, _e;
|
|
1905
1995
|
const message = createBaseMessageOptions();
|
|
1906
1996
|
message.messageSetWireFormat = (_a = object.messageSetWireFormat) !== null && _a !== void 0 ? _a : false;
|
|
1907
1997
|
message.noStandardDescriptorAccessor = (_b = object.noStandardDescriptorAccessor) !== null && _b !== void 0 ? _b : false;
|
|
1908
1998
|
message.deprecated = (_c = object.deprecated) !== null && _c !== void 0 ? _c : false;
|
|
1909
1999
|
message.mapEntry = (_d = object.mapEntry) !== null && _d !== void 0 ? _d : false;
|
|
1910
|
-
message.uninterpretedOption = ((_e = object.uninterpretedOption) === null || _e === void 0 ? void 0 : _e.map((e) =>
|
|
2000
|
+
message.uninterpretedOption = ((_e = object.uninterpretedOption) === null || _e === void 0 ? void 0 : _e.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
1911
2001
|
return message;
|
|
1912
|
-
}
|
|
1913
|
-
|
|
2002
|
+
}
|
|
2003
|
+
MessageOptions.fromPartial = fromPartial;
|
|
2004
|
+
})(MessageOptions || (exports.MessageOptions = MessageOptions = {}));
|
|
1914
2005
|
function createBaseFieldOptions() {
|
|
1915
2006
|
return { ctype: 0, packed: false, jstype: 0, lazy: false, deprecated: false, weak: false, uninterpretedOption: [] };
|
|
1916
2007
|
}
|
|
1917
|
-
|
|
1918
|
-
|
|
2008
|
+
var FieldOptions;
|
|
2009
|
+
(function (FieldOptions) {
|
|
2010
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1919
2011
|
if (message.ctype !== 0) {
|
|
1920
2012
|
writer.uint32(8).int32(message.ctype);
|
|
1921
2013
|
}
|
|
@@ -1935,11 +2027,12 @@ exports.FieldOptions = {
|
|
|
1935
2027
|
writer.uint32(80).bool(message.weak);
|
|
1936
2028
|
}
|
|
1937
2029
|
for (const v of message.uninterpretedOption) {
|
|
1938
|
-
|
|
2030
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
1939
2031
|
}
|
|
1940
2032
|
return writer;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
2033
|
+
}
|
|
2034
|
+
FieldOptions.encode = encode;
|
|
2035
|
+
function decode(input, length) {
|
|
1943
2036
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1944
2037
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1945
2038
|
const message = createBaseFieldOptions();
|
|
@@ -1947,56 +2040,57 @@ exports.FieldOptions = {
|
|
|
1947
2040
|
const tag = reader.uint32();
|
|
1948
2041
|
switch (tag >>> 3) {
|
|
1949
2042
|
case 1:
|
|
1950
|
-
if (tag
|
|
2043
|
+
if (tag !== 8) {
|
|
1951
2044
|
break;
|
|
1952
2045
|
}
|
|
1953
2046
|
message.ctype = reader.int32();
|
|
1954
2047
|
continue;
|
|
1955
2048
|
case 2:
|
|
1956
|
-
if (tag
|
|
2049
|
+
if (tag !== 16) {
|
|
1957
2050
|
break;
|
|
1958
2051
|
}
|
|
1959
2052
|
message.packed = reader.bool();
|
|
1960
2053
|
continue;
|
|
1961
2054
|
case 6:
|
|
1962
|
-
if (tag
|
|
2055
|
+
if (tag !== 48) {
|
|
1963
2056
|
break;
|
|
1964
2057
|
}
|
|
1965
2058
|
message.jstype = reader.int32();
|
|
1966
2059
|
continue;
|
|
1967
2060
|
case 5:
|
|
1968
|
-
if (tag
|
|
2061
|
+
if (tag !== 40) {
|
|
1969
2062
|
break;
|
|
1970
2063
|
}
|
|
1971
2064
|
message.lazy = reader.bool();
|
|
1972
2065
|
continue;
|
|
1973
2066
|
case 3:
|
|
1974
|
-
if (tag
|
|
2067
|
+
if (tag !== 24) {
|
|
1975
2068
|
break;
|
|
1976
2069
|
}
|
|
1977
2070
|
message.deprecated = reader.bool();
|
|
1978
2071
|
continue;
|
|
1979
2072
|
case 10:
|
|
1980
|
-
if (tag
|
|
2073
|
+
if (tag !== 80) {
|
|
1981
2074
|
break;
|
|
1982
2075
|
}
|
|
1983
2076
|
message.weak = reader.bool();
|
|
1984
2077
|
continue;
|
|
1985
2078
|
case 999:
|
|
1986
|
-
if (tag
|
|
2079
|
+
if (tag !== 7994) {
|
|
1987
2080
|
break;
|
|
1988
2081
|
}
|
|
1989
|
-
message.uninterpretedOption.push(
|
|
2082
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
1990
2083
|
continue;
|
|
1991
2084
|
}
|
|
1992
|
-
if ((tag & 7)
|
|
2085
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1993
2086
|
break;
|
|
1994
2087
|
}
|
|
1995
2088
|
reader.skipType(tag & 7);
|
|
1996
2089
|
}
|
|
1997
2090
|
return message;
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2091
|
+
}
|
|
2092
|
+
FieldOptions.decode = decode;
|
|
2093
|
+
function fromJSON(object) {
|
|
2000
2094
|
return {
|
|
2001
2095
|
ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0,
|
|
2002
2096
|
packed: isSet(object.packed) ? Boolean(object.packed) : false,
|
|
@@ -2005,11 +2099,12 @@ exports.FieldOptions = {
|
|
|
2005
2099
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2006
2100
|
weak: isSet(object.weak) ? Boolean(object.weak) : false,
|
|
2007
2101
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2008
|
-
? object.uninterpretedOption.map((e) =>
|
|
2102
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2009
2103
|
: [],
|
|
2010
2104
|
};
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2105
|
+
}
|
|
2106
|
+
FieldOptions.fromJSON = fromJSON;
|
|
2107
|
+
function toJSON(message) {
|
|
2013
2108
|
const obj = {};
|
|
2014
2109
|
message.ctype !== undefined && (obj.ctype = fieldOptions_CTypeToJSON(message.ctype));
|
|
2015
2110
|
message.packed !== undefined && (obj.packed = message.packed);
|
|
@@ -2018,17 +2113,19 @@ exports.FieldOptions = {
|
|
|
2018
2113
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2019
2114
|
message.weak !== undefined && (obj.weak = message.weak);
|
|
2020
2115
|
if (message.uninterpretedOption) {
|
|
2021
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2116
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2022
2117
|
}
|
|
2023
2118
|
else {
|
|
2024
2119
|
obj.uninterpretedOption = [];
|
|
2025
2120
|
}
|
|
2026
2121
|
return obj;
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2122
|
+
}
|
|
2123
|
+
FieldOptions.toJSON = toJSON;
|
|
2124
|
+
function create(base) {
|
|
2125
|
+
return FieldOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2126
|
+
}
|
|
2127
|
+
FieldOptions.create = create;
|
|
2128
|
+
function fromPartial(object) {
|
|
2032
2129
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2033
2130
|
const message = createBaseFieldOptions();
|
|
2034
2131
|
message.ctype = (_a = object.ctype) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -2037,21 +2134,24 @@ exports.FieldOptions = {
|
|
|
2037
2134
|
message.lazy = (_d = object.lazy) !== null && _d !== void 0 ? _d : false;
|
|
2038
2135
|
message.deprecated = (_e = object.deprecated) !== null && _e !== void 0 ? _e : false;
|
|
2039
2136
|
message.weak = (_f = object.weak) !== null && _f !== void 0 ? _f : false;
|
|
2040
|
-
message.uninterpretedOption = ((_g = object.uninterpretedOption) === null || _g === void 0 ? void 0 : _g.map((e) =>
|
|
2137
|
+
message.uninterpretedOption = ((_g = object.uninterpretedOption) === null || _g === void 0 ? void 0 : _g.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2041
2138
|
return message;
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2139
|
+
}
|
|
2140
|
+
FieldOptions.fromPartial = fromPartial;
|
|
2141
|
+
})(FieldOptions || (exports.FieldOptions = FieldOptions = {}));
|
|
2044
2142
|
function createBaseOneofOptions() {
|
|
2045
2143
|
return { uninterpretedOption: [] };
|
|
2046
2144
|
}
|
|
2047
|
-
|
|
2048
|
-
|
|
2145
|
+
var OneofOptions;
|
|
2146
|
+
(function (OneofOptions) {
|
|
2147
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2049
2148
|
for (const v of message.uninterpretedOption) {
|
|
2050
|
-
|
|
2149
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
2051
2150
|
}
|
|
2052
2151
|
return writer;
|
|
2053
|
-
}
|
|
2054
|
-
|
|
2152
|
+
}
|
|
2153
|
+
OneofOptions.encode = encode;
|
|
2154
|
+
function decode(input, length) {
|
|
2055
2155
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2056
2156
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2057
2157
|
const message = createBaseOneofOptions();
|
|
@@ -2059,51 +2159,57 @@ exports.OneofOptions = {
|
|
|
2059
2159
|
const tag = reader.uint32();
|
|
2060
2160
|
switch (tag >>> 3) {
|
|
2061
2161
|
case 999:
|
|
2062
|
-
if (tag
|
|
2162
|
+
if (tag !== 7994) {
|
|
2063
2163
|
break;
|
|
2064
2164
|
}
|
|
2065
|
-
message.uninterpretedOption.push(
|
|
2165
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2066
2166
|
continue;
|
|
2067
2167
|
}
|
|
2068
|
-
if ((tag & 7)
|
|
2168
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2069
2169
|
break;
|
|
2070
2170
|
}
|
|
2071
2171
|
reader.skipType(tag & 7);
|
|
2072
2172
|
}
|
|
2073
2173
|
return message;
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2174
|
+
}
|
|
2175
|
+
OneofOptions.decode = decode;
|
|
2176
|
+
function fromJSON(object) {
|
|
2076
2177
|
return {
|
|
2077
2178
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2078
|
-
? object.uninterpretedOption.map((e) =>
|
|
2179
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2079
2180
|
: [],
|
|
2080
2181
|
};
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2182
|
+
}
|
|
2183
|
+
OneofOptions.fromJSON = fromJSON;
|
|
2184
|
+
function toJSON(message) {
|
|
2083
2185
|
const obj = {};
|
|
2084
2186
|
if (message.uninterpretedOption) {
|
|
2085
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2187
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2086
2188
|
}
|
|
2087
2189
|
else {
|
|
2088
2190
|
obj.uninterpretedOption = [];
|
|
2089
2191
|
}
|
|
2090
2192
|
return obj;
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2193
|
+
}
|
|
2194
|
+
OneofOptions.toJSON = toJSON;
|
|
2195
|
+
function create(base) {
|
|
2196
|
+
return OneofOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2197
|
+
}
|
|
2198
|
+
OneofOptions.create = create;
|
|
2199
|
+
function fromPartial(object) {
|
|
2096
2200
|
var _a;
|
|
2097
2201
|
const message = createBaseOneofOptions();
|
|
2098
|
-
message.uninterpretedOption = ((_a = object.uninterpretedOption) === null || _a === void 0 ? void 0 : _a.map((e) =>
|
|
2202
|
+
message.uninterpretedOption = ((_a = object.uninterpretedOption) === null || _a === void 0 ? void 0 : _a.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2099
2203
|
return message;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2204
|
+
}
|
|
2205
|
+
OneofOptions.fromPartial = fromPartial;
|
|
2206
|
+
})(OneofOptions || (exports.OneofOptions = OneofOptions = {}));
|
|
2102
2207
|
function createBaseEnumOptions() {
|
|
2103
2208
|
return { allowAlias: false, deprecated: false, uninterpretedOption: [] };
|
|
2104
2209
|
}
|
|
2105
|
-
|
|
2106
|
-
|
|
2210
|
+
var EnumOptions;
|
|
2211
|
+
(function (EnumOptions) {
|
|
2212
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2107
2213
|
if (message.allowAlias === true) {
|
|
2108
2214
|
writer.uint32(16).bool(message.allowAlias);
|
|
2109
2215
|
}
|
|
@@ -2111,11 +2217,12 @@ exports.EnumOptions = {
|
|
|
2111
2217
|
writer.uint32(24).bool(message.deprecated);
|
|
2112
2218
|
}
|
|
2113
2219
|
for (const v of message.uninterpretedOption) {
|
|
2114
|
-
|
|
2220
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
2115
2221
|
}
|
|
2116
2222
|
return writer;
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2223
|
+
}
|
|
2224
|
+
EnumOptions.encode = encode;
|
|
2225
|
+
function decode(input, length) {
|
|
2119
2226
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2120
2227
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2121
2228
|
const message = createBaseEnumOptions();
|
|
@@ -2123,78 +2230,85 @@ exports.EnumOptions = {
|
|
|
2123
2230
|
const tag = reader.uint32();
|
|
2124
2231
|
switch (tag >>> 3) {
|
|
2125
2232
|
case 2:
|
|
2126
|
-
if (tag
|
|
2233
|
+
if (tag !== 16) {
|
|
2127
2234
|
break;
|
|
2128
2235
|
}
|
|
2129
2236
|
message.allowAlias = reader.bool();
|
|
2130
2237
|
continue;
|
|
2131
2238
|
case 3:
|
|
2132
|
-
if (tag
|
|
2239
|
+
if (tag !== 24) {
|
|
2133
2240
|
break;
|
|
2134
2241
|
}
|
|
2135
2242
|
message.deprecated = reader.bool();
|
|
2136
2243
|
continue;
|
|
2137
2244
|
case 999:
|
|
2138
|
-
if (tag
|
|
2245
|
+
if (tag !== 7994) {
|
|
2139
2246
|
break;
|
|
2140
2247
|
}
|
|
2141
|
-
message.uninterpretedOption.push(
|
|
2248
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2142
2249
|
continue;
|
|
2143
2250
|
}
|
|
2144
|
-
if ((tag & 7)
|
|
2251
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2145
2252
|
break;
|
|
2146
2253
|
}
|
|
2147
2254
|
reader.skipType(tag & 7);
|
|
2148
2255
|
}
|
|
2149
2256
|
return message;
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2257
|
+
}
|
|
2258
|
+
EnumOptions.decode = decode;
|
|
2259
|
+
function fromJSON(object) {
|
|
2152
2260
|
return {
|
|
2153
2261
|
allowAlias: isSet(object.allowAlias) ? Boolean(object.allowAlias) : false,
|
|
2154
2262
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2155
2263
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2156
|
-
? object.uninterpretedOption.map((e) =>
|
|
2264
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2157
2265
|
: [],
|
|
2158
2266
|
};
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2267
|
+
}
|
|
2268
|
+
EnumOptions.fromJSON = fromJSON;
|
|
2269
|
+
function toJSON(message) {
|
|
2161
2270
|
const obj = {};
|
|
2162
2271
|
message.allowAlias !== undefined && (obj.allowAlias = message.allowAlias);
|
|
2163
2272
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2164
2273
|
if (message.uninterpretedOption) {
|
|
2165
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2274
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2166
2275
|
}
|
|
2167
2276
|
else {
|
|
2168
2277
|
obj.uninterpretedOption = [];
|
|
2169
2278
|
}
|
|
2170
2279
|
return obj;
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2280
|
+
}
|
|
2281
|
+
EnumOptions.toJSON = toJSON;
|
|
2282
|
+
function create(base) {
|
|
2283
|
+
return EnumOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2284
|
+
}
|
|
2285
|
+
EnumOptions.create = create;
|
|
2286
|
+
function fromPartial(object) {
|
|
2176
2287
|
var _a, _b, _c;
|
|
2177
2288
|
const message = createBaseEnumOptions();
|
|
2178
2289
|
message.allowAlias = (_a = object.allowAlias) !== null && _a !== void 0 ? _a : false;
|
|
2179
2290
|
message.deprecated = (_b = object.deprecated) !== null && _b !== void 0 ? _b : false;
|
|
2180
|
-
message.uninterpretedOption = ((_c = object.uninterpretedOption) === null || _c === void 0 ? void 0 : _c.map((e) =>
|
|
2291
|
+
message.uninterpretedOption = ((_c = object.uninterpretedOption) === null || _c === void 0 ? void 0 : _c.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2181
2292
|
return message;
|
|
2182
|
-
}
|
|
2183
|
-
|
|
2293
|
+
}
|
|
2294
|
+
EnumOptions.fromPartial = fromPartial;
|
|
2295
|
+
})(EnumOptions || (exports.EnumOptions = EnumOptions = {}));
|
|
2184
2296
|
function createBaseEnumValueOptions() {
|
|
2185
2297
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2186
2298
|
}
|
|
2187
|
-
|
|
2188
|
-
|
|
2299
|
+
var EnumValueOptions;
|
|
2300
|
+
(function (EnumValueOptions) {
|
|
2301
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2189
2302
|
if (message.deprecated === true) {
|
|
2190
2303
|
writer.uint32(8).bool(message.deprecated);
|
|
2191
2304
|
}
|
|
2192
2305
|
for (const v of message.uninterpretedOption) {
|
|
2193
|
-
|
|
2306
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
2194
2307
|
}
|
|
2195
2308
|
return writer;
|
|
2196
|
-
}
|
|
2197
|
-
|
|
2309
|
+
}
|
|
2310
|
+
EnumValueOptions.encode = encode;
|
|
2311
|
+
function decode(input, length) {
|
|
2198
2312
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2199
2313
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2200
2314
|
const message = createBaseEnumValueOptions();
|
|
@@ -2202,69 +2316,76 @@ exports.EnumValueOptions = {
|
|
|
2202
2316
|
const tag = reader.uint32();
|
|
2203
2317
|
switch (tag >>> 3) {
|
|
2204
2318
|
case 1:
|
|
2205
|
-
if (tag
|
|
2319
|
+
if (tag !== 8) {
|
|
2206
2320
|
break;
|
|
2207
2321
|
}
|
|
2208
2322
|
message.deprecated = reader.bool();
|
|
2209
2323
|
continue;
|
|
2210
2324
|
case 999:
|
|
2211
|
-
if (tag
|
|
2325
|
+
if (tag !== 7994) {
|
|
2212
2326
|
break;
|
|
2213
2327
|
}
|
|
2214
|
-
message.uninterpretedOption.push(
|
|
2328
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2215
2329
|
continue;
|
|
2216
2330
|
}
|
|
2217
|
-
if ((tag & 7)
|
|
2331
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2218
2332
|
break;
|
|
2219
2333
|
}
|
|
2220
2334
|
reader.skipType(tag & 7);
|
|
2221
2335
|
}
|
|
2222
2336
|
return message;
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2337
|
+
}
|
|
2338
|
+
EnumValueOptions.decode = decode;
|
|
2339
|
+
function fromJSON(object) {
|
|
2225
2340
|
return {
|
|
2226
2341
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2227
2342
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2228
|
-
? object.uninterpretedOption.map((e) =>
|
|
2343
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2229
2344
|
: [],
|
|
2230
2345
|
};
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2346
|
+
}
|
|
2347
|
+
EnumValueOptions.fromJSON = fromJSON;
|
|
2348
|
+
function toJSON(message) {
|
|
2233
2349
|
const obj = {};
|
|
2234
2350
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2235
2351
|
if (message.uninterpretedOption) {
|
|
2236
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2352
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2237
2353
|
}
|
|
2238
2354
|
else {
|
|
2239
2355
|
obj.uninterpretedOption = [];
|
|
2240
2356
|
}
|
|
2241
2357
|
return obj;
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2358
|
+
}
|
|
2359
|
+
EnumValueOptions.toJSON = toJSON;
|
|
2360
|
+
function create(base) {
|
|
2361
|
+
return EnumValueOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2362
|
+
}
|
|
2363
|
+
EnumValueOptions.create = create;
|
|
2364
|
+
function fromPartial(object) {
|
|
2247
2365
|
var _a, _b;
|
|
2248
2366
|
const message = createBaseEnumValueOptions();
|
|
2249
2367
|
message.deprecated = (_a = object.deprecated) !== null && _a !== void 0 ? _a : false;
|
|
2250
|
-
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
2368
|
+
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2251
2369
|
return message;
|
|
2252
|
-
}
|
|
2253
|
-
|
|
2370
|
+
}
|
|
2371
|
+
EnumValueOptions.fromPartial = fromPartial;
|
|
2372
|
+
})(EnumValueOptions || (exports.EnumValueOptions = EnumValueOptions = {}));
|
|
2254
2373
|
function createBaseServiceOptions() {
|
|
2255
2374
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2256
2375
|
}
|
|
2257
|
-
|
|
2258
|
-
|
|
2376
|
+
var ServiceOptions;
|
|
2377
|
+
(function (ServiceOptions) {
|
|
2378
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2259
2379
|
if (message.deprecated === true) {
|
|
2260
2380
|
writer.uint32(264).bool(message.deprecated);
|
|
2261
2381
|
}
|
|
2262
2382
|
for (const v of message.uninterpretedOption) {
|
|
2263
|
-
|
|
2383
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
2264
2384
|
}
|
|
2265
2385
|
return writer;
|
|
2266
|
-
}
|
|
2267
|
-
|
|
2386
|
+
}
|
|
2387
|
+
ServiceOptions.encode = encode;
|
|
2388
|
+
function decode(input, length) {
|
|
2268
2389
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2269
2390
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2270
2391
|
const message = createBaseServiceOptions();
|
|
@@ -2272,69 +2393,76 @@ exports.ServiceOptions = {
|
|
|
2272
2393
|
const tag = reader.uint32();
|
|
2273
2394
|
switch (tag >>> 3) {
|
|
2274
2395
|
case 33:
|
|
2275
|
-
if (tag
|
|
2396
|
+
if (tag !== 264) {
|
|
2276
2397
|
break;
|
|
2277
2398
|
}
|
|
2278
2399
|
message.deprecated = reader.bool();
|
|
2279
2400
|
continue;
|
|
2280
2401
|
case 999:
|
|
2281
|
-
if (tag
|
|
2402
|
+
if (tag !== 7994) {
|
|
2282
2403
|
break;
|
|
2283
2404
|
}
|
|
2284
|
-
message.uninterpretedOption.push(
|
|
2405
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2285
2406
|
continue;
|
|
2286
2407
|
}
|
|
2287
|
-
if ((tag & 7)
|
|
2408
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2288
2409
|
break;
|
|
2289
2410
|
}
|
|
2290
2411
|
reader.skipType(tag & 7);
|
|
2291
2412
|
}
|
|
2292
2413
|
return message;
|
|
2293
|
-
}
|
|
2294
|
-
|
|
2414
|
+
}
|
|
2415
|
+
ServiceOptions.decode = decode;
|
|
2416
|
+
function fromJSON(object) {
|
|
2295
2417
|
return {
|
|
2296
2418
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2297
2419
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2298
|
-
? object.uninterpretedOption.map((e) =>
|
|
2420
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2299
2421
|
: [],
|
|
2300
2422
|
};
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2423
|
+
}
|
|
2424
|
+
ServiceOptions.fromJSON = fromJSON;
|
|
2425
|
+
function toJSON(message) {
|
|
2303
2426
|
const obj = {};
|
|
2304
2427
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2305
2428
|
if (message.uninterpretedOption) {
|
|
2306
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2429
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2307
2430
|
}
|
|
2308
2431
|
else {
|
|
2309
2432
|
obj.uninterpretedOption = [];
|
|
2310
2433
|
}
|
|
2311
2434
|
return obj;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2435
|
+
}
|
|
2436
|
+
ServiceOptions.toJSON = toJSON;
|
|
2437
|
+
function create(base) {
|
|
2438
|
+
return ServiceOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2439
|
+
}
|
|
2440
|
+
ServiceOptions.create = create;
|
|
2441
|
+
function fromPartial(object) {
|
|
2317
2442
|
var _a, _b;
|
|
2318
2443
|
const message = createBaseServiceOptions();
|
|
2319
2444
|
message.deprecated = (_a = object.deprecated) !== null && _a !== void 0 ? _a : false;
|
|
2320
|
-
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
2445
|
+
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2321
2446
|
return message;
|
|
2322
|
-
}
|
|
2323
|
-
|
|
2447
|
+
}
|
|
2448
|
+
ServiceOptions.fromPartial = fromPartial;
|
|
2449
|
+
})(ServiceOptions || (exports.ServiceOptions = ServiceOptions = {}));
|
|
2324
2450
|
function createBaseMethodOptions() {
|
|
2325
2451
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2326
2452
|
}
|
|
2327
|
-
|
|
2328
|
-
|
|
2453
|
+
var MethodOptions;
|
|
2454
|
+
(function (MethodOptions) {
|
|
2455
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2329
2456
|
if (message.deprecated === true) {
|
|
2330
2457
|
writer.uint32(264).bool(message.deprecated);
|
|
2331
2458
|
}
|
|
2332
2459
|
for (const v of message.uninterpretedOption) {
|
|
2333
|
-
|
|
2460
|
+
UninterpretedOption.encode(v, writer.uint32(7994).fork()).ldelim();
|
|
2334
2461
|
}
|
|
2335
2462
|
return writer;
|
|
2336
|
-
}
|
|
2337
|
-
|
|
2463
|
+
}
|
|
2464
|
+
MethodOptions.encode = encode;
|
|
2465
|
+
function decode(input, length) {
|
|
2338
2466
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2339
2467
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2340
2468
|
const message = createBaseMethodOptions();
|
|
@@ -2342,55 +2470,60 @@ exports.MethodOptions = {
|
|
|
2342
2470
|
const tag = reader.uint32();
|
|
2343
2471
|
switch (tag >>> 3) {
|
|
2344
2472
|
case 33:
|
|
2345
|
-
if (tag
|
|
2473
|
+
if (tag !== 264) {
|
|
2346
2474
|
break;
|
|
2347
2475
|
}
|
|
2348
2476
|
message.deprecated = reader.bool();
|
|
2349
2477
|
continue;
|
|
2350
2478
|
case 999:
|
|
2351
|
-
if (tag
|
|
2479
|
+
if (tag !== 7994) {
|
|
2352
2480
|
break;
|
|
2353
2481
|
}
|
|
2354
|
-
message.uninterpretedOption.push(
|
|
2482
|
+
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2355
2483
|
continue;
|
|
2356
2484
|
}
|
|
2357
|
-
if ((tag & 7)
|
|
2485
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2358
2486
|
break;
|
|
2359
2487
|
}
|
|
2360
2488
|
reader.skipType(tag & 7);
|
|
2361
2489
|
}
|
|
2362
2490
|
return message;
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2491
|
+
}
|
|
2492
|
+
MethodOptions.decode = decode;
|
|
2493
|
+
function fromJSON(object) {
|
|
2365
2494
|
return {
|
|
2366
2495
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2367
2496
|
uninterpretedOption: Array.isArray(object === null || object === void 0 ? void 0 : object.uninterpretedOption)
|
|
2368
|
-
? object.uninterpretedOption.map((e) =>
|
|
2497
|
+
? object.uninterpretedOption.map((e) => UninterpretedOption.fromJSON(e))
|
|
2369
2498
|
: [],
|
|
2370
2499
|
};
|
|
2371
|
-
}
|
|
2372
|
-
|
|
2500
|
+
}
|
|
2501
|
+
MethodOptions.fromJSON = fromJSON;
|
|
2502
|
+
function toJSON(message) {
|
|
2373
2503
|
const obj = {};
|
|
2374
2504
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2375
2505
|
if (message.uninterpretedOption) {
|
|
2376
|
-
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ?
|
|
2506
|
+
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
2377
2507
|
}
|
|
2378
2508
|
else {
|
|
2379
2509
|
obj.uninterpretedOption = [];
|
|
2380
2510
|
}
|
|
2381
2511
|
return obj;
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2512
|
+
}
|
|
2513
|
+
MethodOptions.toJSON = toJSON;
|
|
2514
|
+
function create(base) {
|
|
2515
|
+
return MethodOptions.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2516
|
+
}
|
|
2517
|
+
MethodOptions.create = create;
|
|
2518
|
+
function fromPartial(object) {
|
|
2387
2519
|
var _a, _b;
|
|
2388
2520
|
const message = createBaseMethodOptions();
|
|
2389
2521
|
message.deprecated = (_a = object.deprecated) !== null && _a !== void 0 ? _a : false;
|
|
2390
|
-
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) =>
|
|
2522
|
+
message.uninterpretedOption = ((_b = object.uninterpretedOption) === null || _b === void 0 ? void 0 : _b.map((e) => UninterpretedOption.fromPartial(e))) || [];
|
|
2391
2523
|
return message;
|
|
2392
|
-
}
|
|
2393
|
-
|
|
2524
|
+
}
|
|
2525
|
+
MethodOptions.fromPartial = fromPartial;
|
|
2526
|
+
})(MethodOptions || (exports.MethodOptions = MethodOptions = {}));
|
|
2394
2527
|
function createBaseUninterpretedOption() {
|
|
2395
2528
|
return {
|
|
2396
2529
|
name: [],
|
|
@@ -2398,14 +2531,15 @@ function createBaseUninterpretedOption() {
|
|
|
2398
2531
|
positiveIntValue: 0,
|
|
2399
2532
|
negativeIntValue: 0,
|
|
2400
2533
|
doubleValue: 0,
|
|
2401
|
-
stringValue: new Uint8Array(),
|
|
2534
|
+
stringValue: new Uint8Array(0),
|
|
2402
2535
|
aggregateValue: "",
|
|
2403
2536
|
};
|
|
2404
2537
|
}
|
|
2405
|
-
|
|
2406
|
-
|
|
2538
|
+
var UninterpretedOption;
|
|
2539
|
+
(function (UninterpretedOption) {
|
|
2540
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2407
2541
|
for (const v of message.name) {
|
|
2408
|
-
|
|
2542
|
+
UninterpretedOption_NamePart.encode(v, writer.uint32(18).fork()).ldelim();
|
|
2409
2543
|
}
|
|
2410
2544
|
if (message.identifierValue !== "") {
|
|
2411
2545
|
writer.uint32(26).string(message.identifierValue);
|
|
@@ -2426,8 +2560,9 @@ exports.UninterpretedOption = {
|
|
|
2426
2560
|
writer.uint32(66).string(message.aggregateValue);
|
|
2427
2561
|
}
|
|
2428
2562
|
return writer;
|
|
2429
|
-
}
|
|
2430
|
-
|
|
2563
|
+
}
|
|
2564
|
+
UninterpretedOption.encode = encode;
|
|
2565
|
+
function decode(input, length) {
|
|
2431
2566
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2432
2567
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2433
2568
|
const message = createBaseUninterpretedOption();
|
|
@@ -2435,70 +2570,72 @@ exports.UninterpretedOption = {
|
|
|
2435
2570
|
const tag = reader.uint32();
|
|
2436
2571
|
switch (tag >>> 3) {
|
|
2437
2572
|
case 2:
|
|
2438
|
-
if (tag
|
|
2573
|
+
if (tag !== 18) {
|
|
2439
2574
|
break;
|
|
2440
2575
|
}
|
|
2441
|
-
message.name.push(
|
|
2576
|
+
message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32()));
|
|
2442
2577
|
continue;
|
|
2443
2578
|
case 3:
|
|
2444
|
-
if (tag
|
|
2579
|
+
if (tag !== 26) {
|
|
2445
2580
|
break;
|
|
2446
2581
|
}
|
|
2447
2582
|
message.identifierValue = reader.string();
|
|
2448
2583
|
continue;
|
|
2449
2584
|
case 4:
|
|
2450
|
-
if (tag
|
|
2585
|
+
if (tag !== 32) {
|
|
2451
2586
|
break;
|
|
2452
2587
|
}
|
|
2453
2588
|
message.positiveIntValue = longToNumber(reader.uint64());
|
|
2454
2589
|
continue;
|
|
2455
2590
|
case 5:
|
|
2456
|
-
if (tag
|
|
2591
|
+
if (tag !== 40) {
|
|
2457
2592
|
break;
|
|
2458
2593
|
}
|
|
2459
2594
|
message.negativeIntValue = longToNumber(reader.int64());
|
|
2460
2595
|
continue;
|
|
2461
2596
|
case 6:
|
|
2462
|
-
if (tag
|
|
2597
|
+
if (tag !== 49) {
|
|
2463
2598
|
break;
|
|
2464
2599
|
}
|
|
2465
2600
|
message.doubleValue = reader.double();
|
|
2466
2601
|
continue;
|
|
2467
2602
|
case 7:
|
|
2468
|
-
if (tag
|
|
2603
|
+
if (tag !== 58) {
|
|
2469
2604
|
break;
|
|
2470
2605
|
}
|
|
2471
2606
|
message.stringValue = reader.bytes();
|
|
2472
2607
|
continue;
|
|
2473
2608
|
case 8:
|
|
2474
|
-
if (tag
|
|
2609
|
+
if (tag !== 66) {
|
|
2475
2610
|
break;
|
|
2476
2611
|
}
|
|
2477
2612
|
message.aggregateValue = reader.string();
|
|
2478
2613
|
continue;
|
|
2479
2614
|
}
|
|
2480
|
-
if ((tag & 7)
|
|
2615
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2481
2616
|
break;
|
|
2482
2617
|
}
|
|
2483
2618
|
reader.skipType(tag & 7);
|
|
2484
2619
|
}
|
|
2485
2620
|
return message;
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2621
|
+
}
|
|
2622
|
+
UninterpretedOption.decode = decode;
|
|
2623
|
+
function fromJSON(object) {
|
|
2488
2624
|
return {
|
|
2489
|
-
name: Array.isArray(object === null || object === void 0 ? void 0 : object.name) ? object.name.map((e) =>
|
|
2625
|
+
name: Array.isArray(object === null || object === void 0 ? void 0 : object.name) ? object.name.map((e) => UninterpretedOption_NamePart.fromJSON(e)) : [],
|
|
2490
2626
|
identifierValue: isSet(object.identifierValue) ? String(object.identifierValue) : "",
|
|
2491
2627
|
positiveIntValue: isSet(object.positiveIntValue) ? Number(object.positiveIntValue) : 0,
|
|
2492
2628
|
negativeIntValue: isSet(object.negativeIntValue) ? Number(object.negativeIntValue) : 0,
|
|
2493
2629
|
doubleValue: isSet(object.doubleValue) ? Number(object.doubleValue) : 0,
|
|
2494
|
-
stringValue: isSet(object.stringValue) ? bytesFromBase64(object.stringValue) : new Uint8Array(),
|
|
2630
|
+
stringValue: isSet(object.stringValue) ? bytesFromBase64(object.stringValue) : new Uint8Array(0),
|
|
2495
2631
|
aggregateValue: isSet(object.aggregateValue) ? String(object.aggregateValue) : "",
|
|
2496
2632
|
};
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2633
|
+
}
|
|
2634
|
+
UninterpretedOption.fromJSON = fromJSON;
|
|
2635
|
+
function toJSON(message) {
|
|
2499
2636
|
const obj = {};
|
|
2500
2637
|
if (message.name) {
|
|
2501
|
-
obj.name = message.name.map((e) => e ?
|
|
2638
|
+
obj.name = message.name.map((e) => e ? UninterpretedOption_NamePart.toJSON(e) : undefined);
|
|
2502
2639
|
}
|
|
2503
2640
|
else {
|
|
2504
2641
|
obj.name = [];
|
|
@@ -2508,31 +2645,35 @@ exports.UninterpretedOption = {
|
|
|
2508
2645
|
message.negativeIntValue !== undefined && (obj.negativeIntValue = Math.round(message.negativeIntValue));
|
|
2509
2646
|
message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue);
|
|
2510
2647
|
message.stringValue !== undefined &&
|
|
2511
|
-
(obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array()));
|
|
2648
|
+
(obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array(0)));
|
|
2512
2649
|
message.aggregateValue !== undefined && (obj.aggregateValue = message.aggregateValue);
|
|
2513
2650
|
return obj;
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2651
|
+
}
|
|
2652
|
+
UninterpretedOption.toJSON = toJSON;
|
|
2653
|
+
function create(base) {
|
|
2654
|
+
return UninterpretedOption.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2655
|
+
}
|
|
2656
|
+
UninterpretedOption.create = create;
|
|
2657
|
+
function fromPartial(object) {
|
|
2519
2658
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2520
2659
|
const message = createBaseUninterpretedOption();
|
|
2521
|
-
message.name = ((_a = object.name) === null || _a === void 0 ? void 0 : _a.map((e) =>
|
|
2660
|
+
message.name = ((_a = object.name) === null || _a === void 0 ? void 0 : _a.map((e) => UninterpretedOption_NamePart.fromPartial(e))) || [];
|
|
2522
2661
|
message.identifierValue = (_b = object.identifierValue) !== null && _b !== void 0 ? _b : "";
|
|
2523
2662
|
message.positiveIntValue = (_c = object.positiveIntValue) !== null && _c !== void 0 ? _c : 0;
|
|
2524
2663
|
message.negativeIntValue = (_d = object.negativeIntValue) !== null && _d !== void 0 ? _d : 0;
|
|
2525
2664
|
message.doubleValue = (_e = object.doubleValue) !== null && _e !== void 0 ? _e : 0;
|
|
2526
|
-
message.stringValue = (_f = object.stringValue) !== null && _f !== void 0 ? _f : new Uint8Array();
|
|
2665
|
+
message.stringValue = (_f = object.stringValue) !== null && _f !== void 0 ? _f : new Uint8Array(0);
|
|
2527
2666
|
message.aggregateValue = (_g = object.aggregateValue) !== null && _g !== void 0 ? _g : "";
|
|
2528
2667
|
return message;
|
|
2529
|
-
}
|
|
2530
|
-
|
|
2668
|
+
}
|
|
2669
|
+
UninterpretedOption.fromPartial = fromPartial;
|
|
2670
|
+
})(UninterpretedOption || (exports.UninterpretedOption = UninterpretedOption = {}));
|
|
2531
2671
|
function createBaseUninterpretedOption_NamePart() {
|
|
2532
2672
|
return { namePart: "", isExtension: false };
|
|
2533
2673
|
}
|
|
2534
|
-
|
|
2535
|
-
|
|
2674
|
+
var UninterpretedOption_NamePart;
|
|
2675
|
+
(function (UninterpretedOption_NamePart) {
|
|
2676
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2536
2677
|
if (message.namePart !== "") {
|
|
2537
2678
|
writer.uint32(10).string(message.namePart);
|
|
2538
2679
|
}
|
|
@@ -2540,8 +2681,9 @@ exports.UninterpretedOption_NamePart = {
|
|
|
2540
2681
|
writer.uint32(16).bool(message.isExtension);
|
|
2541
2682
|
}
|
|
2542
2683
|
return writer;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2684
|
+
}
|
|
2685
|
+
UninterpretedOption_NamePart.encode = encode;
|
|
2686
|
+
function decode(input, length) {
|
|
2545
2687
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2546
2688
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2547
2689
|
const message = createBaseUninterpretedOption_NamePart();
|
|
@@ -2549,59 +2691,66 @@ exports.UninterpretedOption_NamePart = {
|
|
|
2549
2691
|
const tag = reader.uint32();
|
|
2550
2692
|
switch (tag >>> 3) {
|
|
2551
2693
|
case 1:
|
|
2552
|
-
if (tag
|
|
2694
|
+
if (tag !== 10) {
|
|
2553
2695
|
break;
|
|
2554
2696
|
}
|
|
2555
2697
|
message.namePart = reader.string();
|
|
2556
2698
|
continue;
|
|
2557
2699
|
case 2:
|
|
2558
|
-
if (tag
|
|
2700
|
+
if (tag !== 16) {
|
|
2559
2701
|
break;
|
|
2560
2702
|
}
|
|
2561
2703
|
message.isExtension = reader.bool();
|
|
2562
2704
|
continue;
|
|
2563
2705
|
}
|
|
2564
|
-
if ((tag & 7)
|
|
2706
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2565
2707
|
break;
|
|
2566
2708
|
}
|
|
2567
2709
|
reader.skipType(tag & 7);
|
|
2568
2710
|
}
|
|
2569
2711
|
return message;
|
|
2570
|
-
}
|
|
2571
|
-
|
|
2712
|
+
}
|
|
2713
|
+
UninterpretedOption_NamePart.decode = decode;
|
|
2714
|
+
function fromJSON(object) {
|
|
2572
2715
|
return {
|
|
2573
2716
|
namePart: isSet(object.namePart) ? String(object.namePart) : "",
|
|
2574
2717
|
isExtension: isSet(object.isExtension) ? Boolean(object.isExtension) : false,
|
|
2575
2718
|
};
|
|
2576
|
-
}
|
|
2577
|
-
|
|
2719
|
+
}
|
|
2720
|
+
UninterpretedOption_NamePart.fromJSON = fromJSON;
|
|
2721
|
+
function toJSON(message) {
|
|
2578
2722
|
const obj = {};
|
|
2579
2723
|
message.namePart !== undefined && (obj.namePart = message.namePart);
|
|
2580
2724
|
message.isExtension !== undefined && (obj.isExtension = message.isExtension);
|
|
2581
2725
|
return obj;
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2726
|
+
}
|
|
2727
|
+
UninterpretedOption_NamePart.toJSON = toJSON;
|
|
2728
|
+
function create(base) {
|
|
2729
|
+
return UninterpretedOption_NamePart.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2730
|
+
}
|
|
2731
|
+
UninterpretedOption_NamePart.create = create;
|
|
2732
|
+
function fromPartial(object) {
|
|
2587
2733
|
var _a, _b;
|
|
2588
2734
|
const message = createBaseUninterpretedOption_NamePart();
|
|
2589
2735
|
message.namePart = (_a = object.namePart) !== null && _a !== void 0 ? _a : "";
|
|
2590
2736
|
message.isExtension = (_b = object.isExtension) !== null && _b !== void 0 ? _b : false;
|
|
2591
2737
|
return message;
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2738
|
+
}
|
|
2739
|
+
UninterpretedOption_NamePart.fromPartial = fromPartial;
|
|
2740
|
+
})(UninterpretedOption_NamePart || (exports.UninterpretedOption_NamePart = UninterpretedOption_NamePart = {}));
|
|
2594
2741
|
function createBaseSourceCodeInfo() {
|
|
2595
2742
|
return { location: [] };
|
|
2596
2743
|
}
|
|
2597
|
-
|
|
2598
|
-
|
|
2744
|
+
var SourceCodeInfo;
|
|
2745
|
+
(function (SourceCodeInfo) {
|
|
2746
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2599
2747
|
for (const v of message.location) {
|
|
2600
|
-
|
|
2748
|
+
SourceCodeInfo_Location.encode(v, writer.uint32(10).fork()).ldelim();
|
|
2601
2749
|
}
|
|
2602
2750
|
return writer;
|
|
2603
|
-
}
|
|
2604
|
-
|
|
2751
|
+
}
|
|
2752
|
+
SourceCodeInfo.encode = encode;
|
|
2753
|
+
function decode(input, length) {
|
|
2605
2754
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2606
2755
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2607
2756
|
const message = createBaseSourceCodeInfo();
|
|
@@ -2609,51 +2758,57 @@ exports.SourceCodeInfo = {
|
|
|
2609
2758
|
const tag = reader.uint32();
|
|
2610
2759
|
switch (tag >>> 3) {
|
|
2611
2760
|
case 1:
|
|
2612
|
-
if (tag
|
|
2761
|
+
if (tag !== 10) {
|
|
2613
2762
|
break;
|
|
2614
2763
|
}
|
|
2615
|
-
message.location.push(
|
|
2764
|
+
message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32()));
|
|
2616
2765
|
continue;
|
|
2617
2766
|
}
|
|
2618
|
-
if ((tag & 7)
|
|
2767
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2619
2768
|
break;
|
|
2620
2769
|
}
|
|
2621
2770
|
reader.skipType(tag & 7);
|
|
2622
2771
|
}
|
|
2623
2772
|
return message;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2773
|
+
}
|
|
2774
|
+
SourceCodeInfo.decode = decode;
|
|
2775
|
+
function fromJSON(object) {
|
|
2626
2776
|
return {
|
|
2627
2777
|
location: Array.isArray(object === null || object === void 0 ? void 0 : object.location)
|
|
2628
|
-
? object.location.map((e) =>
|
|
2778
|
+
? object.location.map((e) => SourceCodeInfo_Location.fromJSON(e))
|
|
2629
2779
|
: [],
|
|
2630
2780
|
};
|
|
2631
|
-
}
|
|
2632
|
-
|
|
2781
|
+
}
|
|
2782
|
+
SourceCodeInfo.fromJSON = fromJSON;
|
|
2783
|
+
function toJSON(message) {
|
|
2633
2784
|
const obj = {};
|
|
2634
2785
|
if (message.location) {
|
|
2635
|
-
obj.location = message.location.map((e) => e ?
|
|
2786
|
+
obj.location = message.location.map((e) => e ? SourceCodeInfo_Location.toJSON(e) : undefined);
|
|
2636
2787
|
}
|
|
2637
2788
|
else {
|
|
2638
2789
|
obj.location = [];
|
|
2639
2790
|
}
|
|
2640
2791
|
return obj;
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2792
|
+
}
|
|
2793
|
+
SourceCodeInfo.toJSON = toJSON;
|
|
2794
|
+
function create(base) {
|
|
2795
|
+
return SourceCodeInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2796
|
+
}
|
|
2797
|
+
SourceCodeInfo.create = create;
|
|
2798
|
+
function fromPartial(object) {
|
|
2646
2799
|
var _a;
|
|
2647
2800
|
const message = createBaseSourceCodeInfo();
|
|
2648
|
-
message.location = ((_a = object.location) === null || _a === void 0 ? void 0 : _a.map((e) =>
|
|
2801
|
+
message.location = ((_a = object.location) === null || _a === void 0 ? void 0 : _a.map((e) => SourceCodeInfo_Location.fromPartial(e))) || [];
|
|
2649
2802
|
return message;
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2803
|
+
}
|
|
2804
|
+
SourceCodeInfo.fromPartial = fromPartial;
|
|
2805
|
+
})(SourceCodeInfo || (exports.SourceCodeInfo = SourceCodeInfo = {}));
|
|
2652
2806
|
function createBaseSourceCodeInfo_Location() {
|
|
2653
2807
|
return { path: [], span: [], leadingComments: "", trailingComments: "", leadingDetachedComments: [] };
|
|
2654
2808
|
}
|
|
2655
|
-
|
|
2656
|
-
|
|
2809
|
+
var SourceCodeInfo_Location;
|
|
2810
|
+
(function (SourceCodeInfo_Location) {
|
|
2811
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2657
2812
|
writer.uint32(10).fork();
|
|
2658
2813
|
for (const v of message.path) {
|
|
2659
2814
|
writer.int32(v);
|
|
@@ -2674,8 +2829,9 @@ exports.SourceCodeInfo_Location = {
|
|
|
2674
2829
|
writer.uint32(50).string(v);
|
|
2675
2830
|
}
|
|
2676
2831
|
return writer;
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2832
|
+
}
|
|
2833
|
+
SourceCodeInfo_Location.encode = encode;
|
|
2834
|
+
function decode(input, length) {
|
|
2679
2835
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2680
2836
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2681
2837
|
const message = createBaseSourceCodeInfo_Location();
|
|
@@ -2683,11 +2839,11 @@ exports.SourceCodeInfo_Location = {
|
|
|
2683
2839
|
const tag = reader.uint32();
|
|
2684
2840
|
switch (tag >>> 3) {
|
|
2685
2841
|
case 1:
|
|
2686
|
-
if (tag
|
|
2842
|
+
if (tag === 8) {
|
|
2687
2843
|
message.path.push(reader.int32());
|
|
2688
2844
|
continue;
|
|
2689
2845
|
}
|
|
2690
|
-
if (tag
|
|
2846
|
+
if (tag === 10) {
|
|
2691
2847
|
const end2 = reader.uint32() + reader.pos;
|
|
2692
2848
|
while (reader.pos < end2) {
|
|
2693
2849
|
message.path.push(reader.int32());
|
|
@@ -2696,11 +2852,11 @@ exports.SourceCodeInfo_Location = {
|
|
|
2696
2852
|
}
|
|
2697
2853
|
break;
|
|
2698
2854
|
case 2:
|
|
2699
|
-
if (tag
|
|
2855
|
+
if (tag === 16) {
|
|
2700
2856
|
message.span.push(reader.int32());
|
|
2701
2857
|
continue;
|
|
2702
2858
|
}
|
|
2703
|
-
if (tag
|
|
2859
|
+
if (tag === 18) {
|
|
2704
2860
|
const end2 = reader.uint32() + reader.pos;
|
|
2705
2861
|
while (reader.pos < end2) {
|
|
2706
2862
|
message.span.push(reader.int32());
|
|
@@ -2709,32 +2865,33 @@ exports.SourceCodeInfo_Location = {
|
|
|
2709
2865
|
}
|
|
2710
2866
|
break;
|
|
2711
2867
|
case 3:
|
|
2712
|
-
if (tag
|
|
2868
|
+
if (tag !== 26) {
|
|
2713
2869
|
break;
|
|
2714
2870
|
}
|
|
2715
2871
|
message.leadingComments = reader.string();
|
|
2716
2872
|
continue;
|
|
2717
2873
|
case 4:
|
|
2718
|
-
if (tag
|
|
2874
|
+
if (tag !== 34) {
|
|
2719
2875
|
break;
|
|
2720
2876
|
}
|
|
2721
2877
|
message.trailingComments = reader.string();
|
|
2722
2878
|
continue;
|
|
2723
2879
|
case 6:
|
|
2724
|
-
if (tag
|
|
2880
|
+
if (tag !== 50) {
|
|
2725
2881
|
break;
|
|
2726
2882
|
}
|
|
2727
2883
|
message.leadingDetachedComments.push(reader.string());
|
|
2728
2884
|
continue;
|
|
2729
2885
|
}
|
|
2730
|
-
if ((tag & 7)
|
|
2886
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2731
2887
|
break;
|
|
2732
2888
|
}
|
|
2733
2889
|
reader.skipType(tag & 7);
|
|
2734
2890
|
}
|
|
2735
2891
|
return message;
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2892
|
+
}
|
|
2893
|
+
SourceCodeInfo_Location.decode = decode;
|
|
2894
|
+
function fromJSON(object) {
|
|
2738
2895
|
return {
|
|
2739
2896
|
path: Array.isArray(object === null || object === void 0 ? void 0 : object.path) ? object.path.map((e) => Number(e)) : [],
|
|
2740
2897
|
span: Array.isArray(object === null || object === void 0 ? void 0 : object.span) ? object.span.map((e) => Number(e)) : [],
|
|
@@ -2744,8 +2901,9 @@ exports.SourceCodeInfo_Location = {
|
|
|
2744
2901
|
? object.leadingDetachedComments.map((e) => String(e))
|
|
2745
2902
|
: [],
|
|
2746
2903
|
};
|
|
2747
|
-
}
|
|
2748
|
-
|
|
2904
|
+
}
|
|
2905
|
+
SourceCodeInfo_Location.fromJSON = fromJSON;
|
|
2906
|
+
function toJSON(message) {
|
|
2749
2907
|
const obj = {};
|
|
2750
2908
|
if (message.path) {
|
|
2751
2909
|
obj.path = message.path.map((e) => Math.round(e));
|
|
@@ -2768,11 +2926,13 @@ exports.SourceCodeInfo_Location = {
|
|
|
2768
2926
|
obj.leadingDetachedComments = [];
|
|
2769
2927
|
}
|
|
2770
2928
|
return obj;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2929
|
+
}
|
|
2930
|
+
SourceCodeInfo_Location.toJSON = toJSON;
|
|
2931
|
+
function create(base) {
|
|
2932
|
+
return SourceCodeInfo_Location.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2933
|
+
}
|
|
2934
|
+
SourceCodeInfo_Location.create = create;
|
|
2935
|
+
function fromPartial(object) {
|
|
2776
2936
|
var _a, _b, _c, _d, _e;
|
|
2777
2937
|
const message = createBaseSourceCodeInfo_Location();
|
|
2778
2938
|
message.path = ((_a = object.path) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
@@ -2781,19 +2941,22 @@ exports.SourceCodeInfo_Location = {
|
|
|
2781
2941
|
message.trailingComments = (_d = object.trailingComments) !== null && _d !== void 0 ? _d : "";
|
|
2782
2942
|
message.leadingDetachedComments = ((_e = object.leadingDetachedComments) === null || _e === void 0 ? void 0 : _e.map((e) => e)) || [];
|
|
2783
2943
|
return message;
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2944
|
+
}
|
|
2945
|
+
SourceCodeInfo_Location.fromPartial = fromPartial;
|
|
2946
|
+
})(SourceCodeInfo_Location || (exports.SourceCodeInfo_Location = SourceCodeInfo_Location = {}));
|
|
2786
2947
|
function createBaseGeneratedCodeInfo() {
|
|
2787
2948
|
return { annotation: [] };
|
|
2788
2949
|
}
|
|
2789
|
-
|
|
2790
|
-
|
|
2950
|
+
var GeneratedCodeInfo;
|
|
2951
|
+
(function (GeneratedCodeInfo) {
|
|
2952
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2791
2953
|
for (const v of message.annotation) {
|
|
2792
|
-
|
|
2954
|
+
GeneratedCodeInfo_Annotation.encode(v, writer.uint32(10).fork()).ldelim();
|
|
2793
2955
|
}
|
|
2794
2956
|
return writer;
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2957
|
+
}
|
|
2958
|
+
GeneratedCodeInfo.encode = encode;
|
|
2959
|
+
function decode(input, length) {
|
|
2797
2960
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2798
2961
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2799
2962
|
const message = createBaseGeneratedCodeInfo();
|
|
@@ -2801,51 +2964,57 @@ exports.GeneratedCodeInfo = {
|
|
|
2801
2964
|
const tag = reader.uint32();
|
|
2802
2965
|
switch (tag >>> 3) {
|
|
2803
2966
|
case 1:
|
|
2804
|
-
if (tag
|
|
2967
|
+
if (tag !== 10) {
|
|
2805
2968
|
break;
|
|
2806
2969
|
}
|
|
2807
|
-
message.annotation.push(
|
|
2970
|
+
message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32()));
|
|
2808
2971
|
continue;
|
|
2809
2972
|
}
|
|
2810
|
-
if ((tag & 7)
|
|
2973
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2811
2974
|
break;
|
|
2812
2975
|
}
|
|
2813
2976
|
reader.skipType(tag & 7);
|
|
2814
2977
|
}
|
|
2815
2978
|
return message;
|
|
2816
|
-
}
|
|
2817
|
-
|
|
2979
|
+
}
|
|
2980
|
+
GeneratedCodeInfo.decode = decode;
|
|
2981
|
+
function fromJSON(object) {
|
|
2818
2982
|
return {
|
|
2819
2983
|
annotation: Array.isArray(object === null || object === void 0 ? void 0 : object.annotation)
|
|
2820
|
-
? object.annotation.map((e) =>
|
|
2984
|
+
? object.annotation.map((e) => GeneratedCodeInfo_Annotation.fromJSON(e))
|
|
2821
2985
|
: [],
|
|
2822
2986
|
};
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2987
|
+
}
|
|
2988
|
+
GeneratedCodeInfo.fromJSON = fromJSON;
|
|
2989
|
+
function toJSON(message) {
|
|
2825
2990
|
const obj = {};
|
|
2826
2991
|
if (message.annotation) {
|
|
2827
|
-
obj.annotation = message.annotation.map((e) => e ?
|
|
2992
|
+
obj.annotation = message.annotation.map((e) => e ? GeneratedCodeInfo_Annotation.toJSON(e) : undefined);
|
|
2828
2993
|
}
|
|
2829
2994
|
else {
|
|
2830
2995
|
obj.annotation = [];
|
|
2831
2996
|
}
|
|
2832
2997
|
return obj;
|
|
2833
|
-
}
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2998
|
+
}
|
|
2999
|
+
GeneratedCodeInfo.toJSON = toJSON;
|
|
3000
|
+
function create(base) {
|
|
3001
|
+
return GeneratedCodeInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3002
|
+
}
|
|
3003
|
+
GeneratedCodeInfo.create = create;
|
|
3004
|
+
function fromPartial(object) {
|
|
2838
3005
|
var _a;
|
|
2839
3006
|
const message = createBaseGeneratedCodeInfo();
|
|
2840
|
-
message.annotation = ((_a = object.annotation) === null || _a === void 0 ? void 0 : _a.map((e) =>
|
|
3007
|
+
message.annotation = ((_a = object.annotation) === null || _a === void 0 ? void 0 : _a.map((e) => GeneratedCodeInfo_Annotation.fromPartial(e))) || [];
|
|
2841
3008
|
return message;
|
|
2842
|
-
}
|
|
2843
|
-
|
|
3009
|
+
}
|
|
3010
|
+
GeneratedCodeInfo.fromPartial = fromPartial;
|
|
3011
|
+
})(GeneratedCodeInfo || (exports.GeneratedCodeInfo = GeneratedCodeInfo = {}));
|
|
2844
3012
|
function createBaseGeneratedCodeInfo_Annotation() {
|
|
2845
3013
|
return { path: [], sourceFile: "", begin: 0, end: 0 };
|
|
2846
3014
|
}
|
|
2847
|
-
|
|
2848
|
-
|
|
3015
|
+
var GeneratedCodeInfo_Annotation;
|
|
3016
|
+
(function (GeneratedCodeInfo_Annotation) {
|
|
3017
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2849
3018
|
writer.uint32(10).fork();
|
|
2850
3019
|
for (const v of message.path) {
|
|
2851
3020
|
writer.int32(v);
|
|
@@ -2861,8 +3030,9 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
2861
3030
|
writer.uint32(32).int32(message.end);
|
|
2862
3031
|
}
|
|
2863
3032
|
return writer;
|
|
2864
|
-
}
|
|
2865
|
-
|
|
3033
|
+
}
|
|
3034
|
+
GeneratedCodeInfo_Annotation.encode = encode;
|
|
3035
|
+
function decode(input, length) {
|
|
2866
3036
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2867
3037
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2868
3038
|
const message = createBaseGeneratedCodeInfo_Annotation();
|
|
@@ -2870,11 +3040,11 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
2870
3040
|
const tag = reader.uint32();
|
|
2871
3041
|
switch (tag >>> 3) {
|
|
2872
3042
|
case 1:
|
|
2873
|
-
if (tag
|
|
3043
|
+
if (tag === 8) {
|
|
2874
3044
|
message.path.push(reader.int32());
|
|
2875
3045
|
continue;
|
|
2876
3046
|
}
|
|
2877
|
-
if (tag
|
|
3047
|
+
if (tag === 10) {
|
|
2878
3048
|
const end2 = reader.uint32() + reader.pos;
|
|
2879
3049
|
while (reader.pos < end2) {
|
|
2880
3050
|
message.path.push(reader.int32());
|
|
@@ -2883,40 +3053,42 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
2883
3053
|
}
|
|
2884
3054
|
break;
|
|
2885
3055
|
case 2:
|
|
2886
|
-
if (tag
|
|
3056
|
+
if (tag !== 18) {
|
|
2887
3057
|
break;
|
|
2888
3058
|
}
|
|
2889
3059
|
message.sourceFile = reader.string();
|
|
2890
3060
|
continue;
|
|
2891
3061
|
case 3:
|
|
2892
|
-
if (tag
|
|
3062
|
+
if (tag !== 24) {
|
|
2893
3063
|
break;
|
|
2894
3064
|
}
|
|
2895
3065
|
message.begin = reader.int32();
|
|
2896
3066
|
continue;
|
|
2897
3067
|
case 4:
|
|
2898
|
-
if (tag
|
|
3068
|
+
if (tag !== 32) {
|
|
2899
3069
|
break;
|
|
2900
3070
|
}
|
|
2901
3071
|
message.end = reader.int32();
|
|
2902
3072
|
continue;
|
|
2903
3073
|
}
|
|
2904
|
-
if ((tag & 7)
|
|
3074
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2905
3075
|
break;
|
|
2906
3076
|
}
|
|
2907
3077
|
reader.skipType(tag & 7);
|
|
2908
3078
|
}
|
|
2909
3079
|
return message;
|
|
2910
|
-
}
|
|
2911
|
-
|
|
3080
|
+
}
|
|
3081
|
+
GeneratedCodeInfo_Annotation.decode = decode;
|
|
3082
|
+
function fromJSON(object) {
|
|
2912
3083
|
return {
|
|
2913
3084
|
path: Array.isArray(object === null || object === void 0 ? void 0 : object.path) ? object.path.map((e) => Number(e)) : [],
|
|
2914
3085
|
sourceFile: isSet(object.sourceFile) ? String(object.sourceFile) : "",
|
|
2915
3086
|
begin: isSet(object.begin) ? Number(object.begin) : 0,
|
|
2916
3087
|
end: isSet(object.end) ? Number(object.end) : 0,
|
|
2917
3088
|
};
|
|
2918
|
-
}
|
|
2919
|
-
|
|
3089
|
+
}
|
|
3090
|
+
GeneratedCodeInfo_Annotation.fromJSON = fromJSON;
|
|
3091
|
+
function toJSON(message) {
|
|
2920
3092
|
const obj = {};
|
|
2921
3093
|
if (message.path) {
|
|
2922
3094
|
obj.path = message.path.map((e) => Math.round(e));
|
|
@@ -2928,11 +3100,13 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
2928
3100
|
message.begin !== undefined && (obj.begin = Math.round(message.begin));
|
|
2929
3101
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
2930
3102
|
return obj;
|
|
2931
|
-
}
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
3103
|
+
}
|
|
3104
|
+
GeneratedCodeInfo_Annotation.toJSON = toJSON;
|
|
3105
|
+
function create(base) {
|
|
3106
|
+
return GeneratedCodeInfo_Annotation.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3107
|
+
}
|
|
3108
|
+
GeneratedCodeInfo_Annotation.create = create;
|
|
3109
|
+
function fromPartial(object) {
|
|
2936
3110
|
var _a, _b, _c, _d;
|
|
2937
3111
|
const message = createBaseGeneratedCodeInfo_Annotation();
|
|
2938
3112
|
message.path = ((_a = object.path) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
@@ -2940,9 +3114,10 @@ exports.GeneratedCodeInfo_Annotation = {
|
|
|
2940
3114
|
message.begin = (_c = object.begin) !== null && _c !== void 0 ? _c : 0;
|
|
2941
3115
|
message.end = (_d = object.end) !== null && _d !== void 0 ? _d : 0;
|
|
2942
3116
|
return message;
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
|
|
3117
|
+
}
|
|
3118
|
+
GeneratedCodeInfo_Annotation.fromPartial = fromPartial;
|
|
3119
|
+
})(GeneratedCodeInfo_Annotation || (exports.GeneratedCodeInfo_Annotation = GeneratedCodeInfo_Annotation = {}));
|
|
3120
|
+
const tsProtoGlobalThis = (() => {
|
|
2946
3121
|
if (typeof globalThis !== "undefined") {
|
|
2947
3122
|
return globalThis;
|
|
2948
3123
|
}
|