@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
|
@@ -480,15 +480,15 @@ function createBaseFileDescriptorSet(): FileDescriptorSet {
|
|
|
480
480
|
return { file: [] };
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export
|
|
484
|
-
encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
483
|
+
export namespace FileDescriptorSet {
|
|
484
|
+
export function encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
485
485
|
for (const v of message.file) {
|
|
486
486
|
FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
487
487
|
}
|
|
488
488
|
return writer;
|
|
489
|
-
}
|
|
489
|
+
}
|
|
490
490
|
|
|
491
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet {
|
|
491
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet {
|
|
492
492
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
493
493
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
494
494
|
const message = createBaseFileDescriptorSet();
|
|
@@ -496,26 +496,26 @@ export const FileDescriptorSet = {
|
|
|
496
496
|
const tag = reader.uint32();
|
|
497
497
|
switch (tag >>> 3) {
|
|
498
498
|
case 1:
|
|
499
|
-
if (tag
|
|
499
|
+
if (tag !== 10) {
|
|
500
500
|
break;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
message.file.push(FileDescriptorProto.decode(reader, reader.uint32()));
|
|
504
504
|
continue;
|
|
505
505
|
}
|
|
506
|
-
if ((tag & 7)
|
|
506
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
507
507
|
break;
|
|
508
508
|
}
|
|
509
509
|
reader.skipType(tag & 7);
|
|
510
510
|
}
|
|
511
511
|
return message;
|
|
512
|
-
}
|
|
512
|
+
}
|
|
513
513
|
|
|
514
|
-
fromJSON(object: any): FileDescriptorSet {
|
|
514
|
+
export function fromJSON(object: any): FileDescriptorSet {
|
|
515
515
|
return { file: Array.isArray(object?.file) ? object.file.map((e: any) => FileDescriptorProto.fromJSON(e)) : [] };
|
|
516
|
-
}
|
|
516
|
+
}
|
|
517
517
|
|
|
518
|
-
toJSON(message: FileDescriptorSet): unknown {
|
|
518
|
+
export function toJSON(message: FileDescriptorSet): unknown {
|
|
519
519
|
const obj: any = {};
|
|
520
520
|
if (message.file) {
|
|
521
521
|
obj.file = message.file.map((e) => e ? FileDescriptorProto.toJSON(e) : undefined);
|
|
@@ -523,18 +523,18 @@ export const FileDescriptorSet = {
|
|
|
523
523
|
obj.file = [];
|
|
524
524
|
}
|
|
525
525
|
return obj;
|
|
526
|
-
}
|
|
526
|
+
}
|
|
527
527
|
|
|
528
|
-
create<I extends Exact<DeepPartial<FileDescriptorSet>, I>>(base?: I): FileDescriptorSet {
|
|
528
|
+
export function create<I extends Exact<DeepPartial<FileDescriptorSet>, I>>(base?: I): FileDescriptorSet {
|
|
529
529
|
return FileDescriptorSet.fromPartial(base ?? {});
|
|
530
|
-
}
|
|
530
|
+
}
|
|
531
531
|
|
|
532
|
-
fromPartial<I extends Exact<DeepPartial<FileDescriptorSet>, I>>(object: I): FileDescriptorSet {
|
|
532
|
+
export function fromPartial<I extends Exact<DeepPartial<FileDescriptorSet>, I>>(object: I): FileDescriptorSet {
|
|
533
533
|
const message = createBaseFileDescriptorSet();
|
|
534
534
|
message.file = object.file?.map((e) => FileDescriptorProto.fromPartial(e)) || [];
|
|
535
535
|
return message;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
538
|
|
|
539
539
|
function createBaseFileDescriptorProto(): FileDescriptorProto {
|
|
540
540
|
return {
|
|
@@ -553,8 +553,8 @@ function createBaseFileDescriptorProto(): FileDescriptorProto {
|
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
-
export
|
|
557
|
-
encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
556
|
+
export namespace FileDescriptorProto {
|
|
557
|
+
export function encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
558
558
|
if (message.name !== "") {
|
|
559
559
|
writer.uint32(10).string(message.name);
|
|
560
560
|
}
|
|
@@ -596,9 +596,9 @@ export const FileDescriptorProto = {
|
|
|
596
596
|
writer.uint32(98).string(message.syntax);
|
|
597
597
|
}
|
|
598
598
|
return writer;
|
|
599
|
-
}
|
|
599
|
+
}
|
|
600
600
|
|
|
601
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto {
|
|
601
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto {
|
|
602
602
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
603
603
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
604
604
|
const message = createBaseFileDescriptorProto();
|
|
@@ -606,33 +606,34 @@ export const FileDescriptorProto = {
|
|
|
606
606
|
const tag = reader.uint32();
|
|
607
607
|
switch (tag >>> 3) {
|
|
608
608
|
case 1:
|
|
609
|
-
if (tag
|
|
609
|
+
if (tag !== 10) {
|
|
610
610
|
break;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
message.name = reader.string();
|
|
614
614
|
continue;
|
|
615
615
|
case 2:
|
|
616
|
-
if (tag
|
|
616
|
+
if (tag !== 18) {
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
message.package = reader.string();
|
|
621
621
|
continue;
|
|
622
622
|
case 3:
|
|
623
|
-
if (tag
|
|
623
|
+
if (tag !== 26) {
|
|
624
624
|
break;
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
message.dependency.push(reader.string());
|
|
628
628
|
continue;
|
|
629
629
|
case 10:
|
|
630
|
-
if (tag
|
|
630
|
+
if (tag === 80) {
|
|
631
631
|
message.publicDependency.push(reader.int32());
|
|
632
|
+
|
|
632
633
|
continue;
|
|
633
634
|
}
|
|
634
635
|
|
|
635
|
-
if (tag
|
|
636
|
+
if (tag === 82) {
|
|
636
637
|
const end2 = reader.uint32() + reader.pos;
|
|
637
638
|
while (reader.pos < end2) {
|
|
638
639
|
message.publicDependency.push(reader.int32());
|
|
@@ -643,12 +644,13 @@ export const FileDescriptorProto = {
|
|
|
643
644
|
|
|
644
645
|
break;
|
|
645
646
|
case 11:
|
|
646
|
-
if (tag
|
|
647
|
+
if (tag === 88) {
|
|
647
648
|
message.weakDependency.push(reader.int32());
|
|
649
|
+
|
|
648
650
|
continue;
|
|
649
651
|
}
|
|
650
652
|
|
|
651
|
-
if (tag
|
|
653
|
+
if (tag === 90) {
|
|
652
654
|
const end2 = reader.uint32() + reader.pos;
|
|
653
655
|
while (reader.pos < end2) {
|
|
654
656
|
message.weakDependency.push(reader.int32());
|
|
@@ -659,64 +661,64 @@ export const FileDescriptorProto = {
|
|
|
659
661
|
|
|
660
662
|
break;
|
|
661
663
|
case 4:
|
|
662
|
-
if (tag
|
|
664
|
+
if (tag !== 34) {
|
|
663
665
|
break;
|
|
664
666
|
}
|
|
665
667
|
|
|
666
668
|
message.messageType.push(DescriptorProto.decode(reader, reader.uint32()));
|
|
667
669
|
continue;
|
|
668
670
|
case 5:
|
|
669
|
-
if (tag
|
|
671
|
+
if (tag !== 42) {
|
|
670
672
|
break;
|
|
671
673
|
}
|
|
672
674
|
|
|
673
675
|
message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32()));
|
|
674
676
|
continue;
|
|
675
677
|
case 6:
|
|
676
|
-
if (tag
|
|
678
|
+
if (tag !== 50) {
|
|
677
679
|
break;
|
|
678
680
|
}
|
|
679
681
|
|
|
680
682
|
message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32()));
|
|
681
683
|
continue;
|
|
682
684
|
case 7:
|
|
683
|
-
if (tag
|
|
685
|
+
if (tag !== 58) {
|
|
684
686
|
break;
|
|
685
687
|
}
|
|
686
688
|
|
|
687
689
|
message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
688
690
|
continue;
|
|
689
691
|
case 8:
|
|
690
|
-
if (tag
|
|
692
|
+
if (tag !== 66) {
|
|
691
693
|
break;
|
|
692
694
|
}
|
|
693
695
|
|
|
694
696
|
message.options = FileOptions.decode(reader, reader.uint32());
|
|
695
697
|
continue;
|
|
696
698
|
case 9:
|
|
697
|
-
if (tag
|
|
699
|
+
if (tag !== 74) {
|
|
698
700
|
break;
|
|
699
701
|
}
|
|
700
702
|
|
|
701
703
|
message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32());
|
|
702
704
|
continue;
|
|
703
705
|
case 12:
|
|
704
|
-
if (tag
|
|
706
|
+
if (tag !== 98) {
|
|
705
707
|
break;
|
|
706
708
|
}
|
|
707
709
|
|
|
708
710
|
message.syntax = reader.string();
|
|
709
711
|
continue;
|
|
710
712
|
}
|
|
711
|
-
if ((tag & 7)
|
|
713
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
712
714
|
break;
|
|
713
715
|
}
|
|
714
716
|
reader.skipType(tag & 7);
|
|
715
717
|
}
|
|
716
718
|
return message;
|
|
717
|
-
}
|
|
719
|
+
}
|
|
718
720
|
|
|
719
|
-
fromJSON(object: any): FileDescriptorProto {
|
|
721
|
+
export function fromJSON(object: any): FileDescriptorProto {
|
|
720
722
|
return {
|
|
721
723
|
name: isSet(object.name) ? String(object.name) : "",
|
|
722
724
|
package: isSet(object.package) ? String(object.package) : "",
|
|
@@ -737,9 +739,9 @@ export const FileDescriptorProto = {
|
|
|
737
739
|
sourceCodeInfo: isSet(object.sourceCodeInfo) ? SourceCodeInfo.fromJSON(object.sourceCodeInfo) : undefined,
|
|
738
740
|
syntax: isSet(object.syntax) ? String(object.syntax) : "",
|
|
739
741
|
};
|
|
740
|
-
}
|
|
742
|
+
}
|
|
741
743
|
|
|
742
|
-
toJSON(message: FileDescriptorProto): unknown {
|
|
744
|
+
export function toJSON(message: FileDescriptorProto): unknown {
|
|
743
745
|
const obj: any = {};
|
|
744
746
|
message.name !== undefined && (obj.name = message.name);
|
|
745
747
|
message.package !== undefined && (obj.package = message.package);
|
|
@@ -783,13 +785,13 @@ export const FileDescriptorProto = {
|
|
|
783
785
|
(obj.sourceCodeInfo = message.sourceCodeInfo ? SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined);
|
|
784
786
|
message.syntax !== undefined && (obj.syntax = message.syntax);
|
|
785
787
|
return obj;
|
|
786
|
-
}
|
|
788
|
+
}
|
|
787
789
|
|
|
788
|
-
create<I extends Exact<DeepPartial<FileDescriptorProto>, I>>(base?: I): FileDescriptorProto {
|
|
790
|
+
export function create<I extends Exact<DeepPartial<FileDescriptorProto>, I>>(base?: I): FileDescriptorProto {
|
|
789
791
|
return FileDescriptorProto.fromPartial(base ?? {});
|
|
790
|
-
}
|
|
792
|
+
}
|
|
791
793
|
|
|
792
|
-
fromPartial<I extends Exact<DeepPartial<FileDescriptorProto>, I>>(object: I): FileDescriptorProto {
|
|
794
|
+
export function fromPartial<I extends Exact<DeepPartial<FileDescriptorProto>, I>>(object: I): FileDescriptorProto {
|
|
793
795
|
const message = createBaseFileDescriptorProto();
|
|
794
796
|
message.name = object.name ?? "";
|
|
795
797
|
message.package = object.package ?? "";
|
|
@@ -808,8 +810,8 @@ export const FileDescriptorProto = {
|
|
|
808
810
|
: undefined;
|
|
809
811
|
message.syntax = object.syntax ?? "";
|
|
810
812
|
return message;
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
813
815
|
|
|
814
816
|
function createBaseDescriptorProto(): DescriptorProto {
|
|
815
817
|
return {
|
|
@@ -826,8 +828,8 @@ function createBaseDescriptorProto(): DescriptorProto {
|
|
|
826
828
|
};
|
|
827
829
|
}
|
|
828
830
|
|
|
829
|
-
export
|
|
830
|
-
encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
831
|
+
export namespace DescriptorProto {
|
|
832
|
+
export function encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
831
833
|
if (message.name !== "") {
|
|
832
834
|
writer.uint32(10).string(message.name);
|
|
833
835
|
}
|
|
@@ -859,9 +861,9 @@ export const DescriptorProto = {
|
|
|
859
861
|
writer.uint32(82).string(v!);
|
|
860
862
|
}
|
|
861
863
|
return writer;
|
|
862
|
-
}
|
|
864
|
+
}
|
|
863
865
|
|
|
864
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto {
|
|
866
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto {
|
|
865
867
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
866
868
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
867
869
|
const message = createBaseDescriptorProto();
|
|
@@ -869,85 +871,85 @@ export const DescriptorProto = {
|
|
|
869
871
|
const tag = reader.uint32();
|
|
870
872
|
switch (tag >>> 3) {
|
|
871
873
|
case 1:
|
|
872
|
-
if (tag
|
|
874
|
+
if (tag !== 10) {
|
|
873
875
|
break;
|
|
874
876
|
}
|
|
875
877
|
|
|
876
878
|
message.name = reader.string();
|
|
877
879
|
continue;
|
|
878
880
|
case 2:
|
|
879
|
-
if (tag
|
|
881
|
+
if (tag !== 18) {
|
|
880
882
|
break;
|
|
881
883
|
}
|
|
882
884
|
|
|
883
885
|
message.field.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
884
886
|
continue;
|
|
885
887
|
case 6:
|
|
886
|
-
if (tag
|
|
888
|
+
if (tag !== 50) {
|
|
887
889
|
break;
|
|
888
890
|
}
|
|
889
891
|
|
|
890
892
|
message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32()));
|
|
891
893
|
continue;
|
|
892
894
|
case 3:
|
|
893
|
-
if (tag
|
|
895
|
+
if (tag !== 26) {
|
|
894
896
|
break;
|
|
895
897
|
}
|
|
896
898
|
|
|
897
899
|
message.nestedType.push(DescriptorProto.decode(reader, reader.uint32()));
|
|
898
900
|
continue;
|
|
899
901
|
case 4:
|
|
900
|
-
if (tag
|
|
902
|
+
if (tag !== 34) {
|
|
901
903
|
break;
|
|
902
904
|
}
|
|
903
905
|
|
|
904
906
|
message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32()));
|
|
905
907
|
continue;
|
|
906
908
|
case 5:
|
|
907
|
-
if (tag
|
|
909
|
+
if (tag !== 42) {
|
|
908
910
|
break;
|
|
909
911
|
}
|
|
910
912
|
|
|
911
913
|
message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32()));
|
|
912
914
|
continue;
|
|
913
915
|
case 8:
|
|
914
|
-
if (tag
|
|
916
|
+
if (tag !== 66) {
|
|
915
917
|
break;
|
|
916
918
|
}
|
|
917
919
|
|
|
918
920
|
message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32()));
|
|
919
921
|
continue;
|
|
920
922
|
case 7:
|
|
921
|
-
if (tag
|
|
923
|
+
if (tag !== 58) {
|
|
922
924
|
break;
|
|
923
925
|
}
|
|
924
926
|
|
|
925
927
|
message.options = MessageOptions.decode(reader, reader.uint32());
|
|
926
928
|
continue;
|
|
927
929
|
case 9:
|
|
928
|
-
if (tag
|
|
930
|
+
if (tag !== 74) {
|
|
929
931
|
break;
|
|
930
932
|
}
|
|
931
933
|
|
|
932
934
|
message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32()));
|
|
933
935
|
continue;
|
|
934
936
|
case 10:
|
|
935
|
-
if (tag
|
|
937
|
+
if (tag !== 82) {
|
|
936
938
|
break;
|
|
937
939
|
}
|
|
938
940
|
|
|
939
941
|
message.reservedName.push(reader.string());
|
|
940
942
|
continue;
|
|
941
943
|
}
|
|
942
|
-
if ((tag & 7)
|
|
944
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
943
945
|
break;
|
|
944
946
|
}
|
|
945
947
|
reader.skipType(tag & 7);
|
|
946
948
|
}
|
|
947
949
|
return message;
|
|
948
|
-
}
|
|
950
|
+
}
|
|
949
951
|
|
|
950
|
-
fromJSON(object: any): DescriptorProto {
|
|
952
|
+
export function fromJSON(object: any): DescriptorProto {
|
|
951
953
|
return {
|
|
952
954
|
name: isSet(object.name) ? String(object.name) : "",
|
|
953
955
|
field: Array.isArray(object?.field) ? object.field.map((e: any) => FieldDescriptorProto.fromJSON(e)) : [],
|
|
@@ -970,9 +972,9 @@ export const DescriptorProto = {
|
|
|
970
972
|
: [],
|
|
971
973
|
reservedName: Array.isArray(object?.reservedName) ? object.reservedName.map((e: any) => String(e)) : [],
|
|
972
974
|
};
|
|
973
|
-
}
|
|
975
|
+
}
|
|
974
976
|
|
|
975
|
-
toJSON(message: DescriptorProto): unknown {
|
|
977
|
+
export function toJSON(message: DescriptorProto): unknown {
|
|
976
978
|
const obj: any = {};
|
|
977
979
|
message.name !== undefined && (obj.name = message.name);
|
|
978
980
|
if (message.field) {
|
|
@@ -1018,13 +1020,13 @@ export const DescriptorProto = {
|
|
|
1018
1020
|
obj.reservedName = [];
|
|
1019
1021
|
}
|
|
1020
1022
|
return obj;
|
|
1021
|
-
}
|
|
1023
|
+
}
|
|
1022
1024
|
|
|
1023
|
-
create<I extends Exact<DeepPartial<DescriptorProto>, I>>(base?: I): DescriptorProto {
|
|
1025
|
+
export function create<I extends Exact<DeepPartial<DescriptorProto>, I>>(base?: I): DescriptorProto {
|
|
1024
1026
|
return DescriptorProto.fromPartial(base ?? {});
|
|
1025
|
-
}
|
|
1027
|
+
}
|
|
1026
1028
|
|
|
1027
|
-
fromPartial<I extends Exact<DeepPartial<DescriptorProto>, I>>(object: I): DescriptorProto {
|
|
1029
|
+
export function fromPartial<I extends Exact<DeepPartial<DescriptorProto>, I>>(object: I): DescriptorProto {
|
|
1028
1030
|
const message = createBaseDescriptorProto();
|
|
1029
1031
|
message.name = object.name ?? "";
|
|
1030
1032
|
message.field = object.field?.map((e) => FieldDescriptorProto.fromPartial(e)) || [];
|
|
@@ -1039,15 +1041,18 @@ export const DescriptorProto = {
|
|
|
1039
1041
|
message.reservedRange = object.reservedRange?.map((e) => DescriptorProto_ReservedRange.fromPartial(e)) || [];
|
|
1040
1042
|
message.reservedName = object.reservedName?.map((e) => e) || [];
|
|
1041
1043
|
return message;
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1044
1046
|
|
|
1045
1047
|
function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange {
|
|
1046
1048
|
return { start: 0, end: 0 };
|
|
1047
1049
|
}
|
|
1048
1050
|
|
|
1049
|
-
export
|
|
1050
|
-
|
|
1051
|
+
export namespace DescriptorProto_ExtensionRange {
|
|
1052
|
+
export function encode(
|
|
1053
|
+
message: DescriptorProto_ExtensionRange,
|
|
1054
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
1055
|
+
): _m0.Writer {
|
|
1051
1056
|
if (message.start !== 0) {
|
|
1052
1057
|
writer.uint32(8).int32(message.start);
|
|
1053
1058
|
}
|
|
@@ -1055,9 +1060,9 @@ export const DescriptorProto_ExtensionRange = {
|
|
|
1055
1060
|
writer.uint32(16).int32(message.end);
|
|
1056
1061
|
}
|
|
1057
1062
|
return writer;
|
|
1058
|
-
}
|
|
1063
|
+
}
|
|
1059
1064
|
|
|
1060
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange {
|
|
1065
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange {
|
|
1061
1066
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1062
1067
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1063
1068
|
const message = createBaseDescriptorProto_ExtensionRange();
|
|
@@ -1065,59 +1070,61 @@ export const DescriptorProto_ExtensionRange = {
|
|
|
1065
1070
|
const tag = reader.uint32();
|
|
1066
1071
|
switch (tag >>> 3) {
|
|
1067
1072
|
case 1:
|
|
1068
|
-
if (tag
|
|
1073
|
+
if (tag !== 8) {
|
|
1069
1074
|
break;
|
|
1070
1075
|
}
|
|
1071
1076
|
|
|
1072
1077
|
message.start = reader.int32();
|
|
1073
1078
|
continue;
|
|
1074
1079
|
case 2:
|
|
1075
|
-
if (tag
|
|
1080
|
+
if (tag !== 16) {
|
|
1076
1081
|
break;
|
|
1077
1082
|
}
|
|
1078
1083
|
|
|
1079
1084
|
message.end = reader.int32();
|
|
1080
1085
|
continue;
|
|
1081
1086
|
}
|
|
1082
|
-
if ((tag & 7)
|
|
1087
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1083
1088
|
break;
|
|
1084
1089
|
}
|
|
1085
1090
|
reader.skipType(tag & 7);
|
|
1086
1091
|
}
|
|
1087
1092
|
return message;
|
|
1088
|
-
}
|
|
1093
|
+
}
|
|
1089
1094
|
|
|
1090
|
-
fromJSON(object: any): DescriptorProto_ExtensionRange {
|
|
1095
|
+
export function fromJSON(object: any): DescriptorProto_ExtensionRange {
|
|
1091
1096
|
return { start: isSet(object.start) ? Number(object.start) : 0, end: isSet(object.end) ? Number(object.end) : 0 };
|
|
1092
|
-
}
|
|
1097
|
+
}
|
|
1093
1098
|
|
|
1094
|
-
toJSON(message: DescriptorProto_ExtensionRange): unknown {
|
|
1099
|
+
export function toJSON(message: DescriptorProto_ExtensionRange): unknown {
|
|
1095
1100
|
const obj: any = {};
|
|
1096
1101
|
message.start !== undefined && (obj.start = Math.round(message.start));
|
|
1097
1102
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
1098
1103
|
return obj;
|
|
1099
|
-
}
|
|
1104
|
+
}
|
|
1100
1105
|
|
|
1101
|
-
create<I extends Exact<DeepPartial<DescriptorProto_ExtensionRange>, I>>(
|
|
1106
|
+
export function create<I extends Exact<DeepPartial<DescriptorProto_ExtensionRange>, I>>(
|
|
1107
|
+
base?: I,
|
|
1108
|
+
): DescriptorProto_ExtensionRange {
|
|
1102
1109
|
return DescriptorProto_ExtensionRange.fromPartial(base ?? {});
|
|
1103
|
-
}
|
|
1110
|
+
}
|
|
1104
1111
|
|
|
1105
|
-
fromPartial<I extends Exact<DeepPartial<DescriptorProto_ExtensionRange>, I>>(
|
|
1112
|
+
export function fromPartial<I extends Exact<DeepPartial<DescriptorProto_ExtensionRange>, I>>(
|
|
1106
1113
|
object: I,
|
|
1107
1114
|
): DescriptorProto_ExtensionRange {
|
|
1108
1115
|
const message = createBaseDescriptorProto_ExtensionRange();
|
|
1109
1116
|
message.start = object.start ?? 0;
|
|
1110
1117
|
message.end = object.end ?? 0;
|
|
1111
1118
|
return message;
|
|
1112
|
-
}
|
|
1113
|
-
}
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1114
1121
|
|
|
1115
1122
|
function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange {
|
|
1116
1123
|
return { start: 0, end: 0 };
|
|
1117
1124
|
}
|
|
1118
1125
|
|
|
1119
|
-
export
|
|
1120
|
-
encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1126
|
+
export namespace DescriptorProto_ReservedRange {
|
|
1127
|
+
export function encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1121
1128
|
if (message.start !== 0) {
|
|
1122
1129
|
writer.uint32(8).int32(message.start);
|
|
1123
1130
|
}
|
|
@@ -1125,9 +1132,9 @@ export const DescriptorProto_ReservedRange = {
|
|
|
1125
1132
|
writer.uint32(16).int32(message.end);
|
|
1126
1133
|
}
|
|
1127
1134
|
return writer;
|
|
1128
|
-
}
|
|
1135
|
+
}
|
|
1129
1136
|
|
|
1130
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange {
|
|
1137
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange {
|
|
1131
1138
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1132
1139
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1133
1140
|
const message = createBaseDescriptorProto_ReservedRange();
|
|
@@ -1135,52 +1142,54 @@ export const DescriptorProto_ReservedRange = {
|
|
|
1135
1142
|
const tag = reader.uint32();
|
|
1136
1143
|
switch (tag >>> 3) {
|
|
1137
1144
|
case 1:
|
|
1138
|
-
if (tag
|
|
1145
|
+
if (tag !== 8) {
|
|
1139
1146
|
break;
|
|
1140
1147
|
}
|
|
1141
1148
|
|
|
1142
1149
|
message.start = reader.int32();
|
|
1143
1150
|
continue;
|
|
1144
1151
|
case 2:
|
|
1145
|
-
if (tag
|
|
1152
|
+
if (tag !== 16) {
|
|
1146
1153
|
break;
|
|
1147
1154
|
}
|
|
1148
1155
|
|
|
1149
1156
|
message.end = reader.int32();
|
|
1150
1157
|
continue;
|
|
1151
1158
|
}
|
|
1152
|
-
if ((tag & 7)
|
|
1159
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1153
1160
|
break;
|
|
1154
1161
|
}
|
|
1155
1162
|
reader.skipType(tag & 7);
|
|
1156
1163
|
}
|
|
1157
1164
|
return message;
|
|
1158
|
-
}
|
|
1165
|
+
}
|
|
1159
1166
|
|
|
1160
|
-
fromJSON(object: any): DescriptorProto_ReservedRange {
|
|
1167
|
+
export function fromJSON(object: any): DescriptorProto_ReservedRange {
|
|
1161
1168
|
return { start: isSet(object.start) ? Number(object.start) : 0, end: isSet(object.end) ? Number(object.end) : 0 };
|
|
1162
|
-
}
|
|
1169
|
+
}
|
|
1163
1170
|
|
|
1164
|
-
toJSON(message: DescriptorProto_ReservedRange): unknown {
|
|
1171
|
+
export function toJSON(message: DescriptorProto_ReservedRange): unknown {
|
|
1165
1172
|
const obj: any = {};
|
|
1166
1173
|
message.start !== undefined && (obj.start = Math.round(message.start));
|
|
1167
1174
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
1168
1175
|
return obj;
|
|
1169
|
-
}
|
|
1176
|
+
}
|
|
1170
1177
|
|
|
1171
|
-
create<I extends Exact<DeepPartial<DescriptorProto_ReservedRange>, I>>(
|
|
1178
|
+
export function create<I extends Exact<DeepPartial<DescriptorProto_ReservedRange>, I>>(
|
|
1179
|
+
base?: I,
|
|
1180
|
+
): DescriptorProto_ReservedRange {
|
|
1172
1181
|
return DescriptorProto_ReservedRange.fromPartial(base ?? {});
|
|
1173
|
-
}
|
|
1182
|
+
}
|
|
1174
1183
|
|
|
1175
|
-
fromPartial<I extends Exact<DeepPartial<DescriptorProto_ReservedRange>, I>>(
|
|
1184
|
+
export function fromPartial<I extends Exact<DeepPartial<DescriptorProto_ReservedRange>, I>>(
|
|
1176
1185
|
object: I,
|
|
1177
1186
|
): DescriptorProto_ReservedRange {
|
|
1178
1187
|
const message = createBaseDescriptorProto_ReservedRange();
|
|
1179
1188
|
message.start = object.start ?? 0;
|
|
1180
1189
|
message.end = object.end ?? 0;
|
|
1181
1190
|
return message;
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1184
1193
|
|
|
1185
1194
|
function createBaseFieldDescriptorProto(): FieldDescriptorProto {
|
|
1186
1195
|
return {
|
|
@@ -1197,8 +1206,8 @@ function createBaseFieldDescriptorProto(): FieldDescriptorProto {
|
|
|
1197
1206
|
};
|
|
1198
1207
|
}
|
|
1199
1208
|
|
|
1200
|
-
export
|
|
1201
|
-
encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1209
|
+
export namespace FieldDescriptorProto {
|
|
1210
|
+
export function encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1202
1211
|
if (message.name !== "") {
|
|
1203
1212
|
writer.uint32(10).string(message.name);
|
|
1204
1213
|
}
|
|
@@ -1230,9 +1239,9 @@ export const FieldDescriptorProto = {
|
|
|
1230
1239
|
FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim();
|
|
1231
1240
|
}
|
|
1232
1241
|
return writer;
|
|
1233
|
-
}
|
|
1242
|
+
}
|
|
1234
1243
|
|
|
1235
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto {
|
|
1244
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto {
|
|
1236
1245
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1237
1246
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1238
1247
|
const message = createBaseFieldDescriptorProto();
|
|
@@ -1240,85 +1249,85 @@ export const FieldDescriptorProto = {
|
|
|
1240
1249
|
const tag = reader.uint32();
|
|
1241
1250
|
switch (tag >>> 3) {
|
|
1242
1251
|
case 1:
|
|
1243
|
-
if (tag
|
|
1252
|
+
if (tag !== 10) {
|
|
1244
1253
|
break;
|
|
1245
1254
|
}
|
|
1246
1255
|
|
|
1247
1256
|
message.name = reader.string();
|
|
1248
1257
|
continue;
|
|
1249
1258
|
case 3:
|
|
1250
|
-
if (tag
|
|
1259
|
+
if (tag !== 24) {
|
|
1251
1260
|
break;
|
|
1252
1261
|
}
|
|
1253
1262
|
|
|
1254
1263
|
message.number = reader.int32();
|
|
1255
1264
|
continue;
|
|
1256
1265
|
case 4:
|
|
1257
|
-
if (tag
|
|
1266
|
+
if (tag !== 32) {
|
|
1258
1267
|
break;
|
|
1259
1268
|
}
|
|
1260
1269
|
|
|
1261
1270
|
message.label = reader.int32() as any;
|
|
1262
1271
|
continue;
|
|
1263
1272
|
case 5:
|
|
1264
|
-
if (tag
|
|
1273
|
+
if (tag !== 40) {
|
|
1265
1274
|
break;
|
|
1266
1275
|
}
|
|
1267
1276
|
|
|
1268
1277
|
message.type = reader.int32() as any;
|
|
1269
1278
|
continue;
|
|
1270
1279
|
case 6:
|
|
1271
|
-
if (tag
|
|
1280
|
+
if (tag !== 50) {
|
|
1272
1281
|
break;
|
|
1273
1282
|
}
|
|
1274
1283
|
|
|
1275
1284
|
message.typeName = reader.string();
|
|
1276
1285
|
continue;
|
|
1277
1286
|
case 2:
|
|
1278
|
-
if (tag
|
|
1287
|
+
if (tag !== 18) {
|
|
1279
1288
|
break;
|
|
1280
1289
|
}
|
|
1281
1290
|
|
|
1282
1291
|
message.extendee = reader.string();
|
|
1283
1292
|
continue;
|
|
1284
1293
|
case 7:
|
|
1285
|
-
if (tag
|
|
1294
|
+
if (tag !== 58) {
|
|
1286
1295
|
break;
|
|
1287
1296
|
}
|
|
1288
1297
|
|
|
1289
1298
|
message.defaultValue = reader.string();
|
|
1290
1299
|
continue;
|
|
1291
1300
|
case 9:
|
|
1292
|
-
if (tag
|
|
1301
|
+
if (tag !== 72) {
|
|
1293
1302
|
break;
|
|
1294
1303
|
}
|
|
1295
1304
|
|
|
1296
1305
|
message.oneofIndex = reader.int32();
|
|
1297
1306
|
continue;
|
|
1298
1307
|
case 10:
|
|
1299
|
-
if (tag
|
|
1308
|
+
if (tag !== 82) {
|
|
1300
1309
|
break;
|
|
1301
1310
|
}
|
|
1302
1311
|
|
|
1303
1312
|
message.jsonName = reader.string();
|
|
1304
1313
|
continue;
|
|
1305
1314
|
case 8:
|
|
1306
|
-
if (tag
|
|
1315
|
+
if (tag !== 66) {
|
|
1307
1316
|
break;
|
|
1308
1317
|
}
|
|
1309
1318
|
|
|
1310
1319
|
message.options = FieldOptions.decode(reader, reader.uint32());
|
|
1311
1320
|
continue;
|
|
1312
1321
|
}
|
|
1313
|
-
if ((tag & 7)
|
|
1322
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1314
1323
|
break;
|
|
1315
1324
|
}
|
|
1316
1325
|
reader.skipType(tag & 7);
|
|
1317
1326
|
}
|
|
1318
1327
|
return message;
|
|
1319
|
-
}
|
|
1328
|
+
}
|
|
1320
1329
|
|
|
1321
|
-
fromJSON(object: any): FieldDescriptorProto {
|
|
1330
|
+
export function fromJSON(object: any): FieldDescriptorProto {
|
|
1322
1331
|
return {
|
|
1323
1332
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1324
1333
|
number: isSet(object.number) ? Number(object.number) : 0,
|
|
@@ -1331,9 +1340,9 @@ export const FieldDescriptorProto = {
|
|
|
1331
1340
|
jsonName: isSet(object.jsonName) ? String(object.jsonName) : "",
|
|
1332
1341
|
options: isSet(object.options) ? FieldOptions.fromJSON(object.options) : undefined,
|
|
1333
1342
|
};
|
|
1334
|
-
}
|
|
1343
|
+
}
|
|
1335
1344
|
|
|
1336
|
-
toJSON(message: FieldDescriptorProto): unknown {
|
|
1345
|
+
export function toJSON(message: FieldDescriptorProto): unknown {
|
|
1337
1346
|
const obj: any = {};
|
|
1338
1347
|
message.name !== undefined && (obj.name = message.name);
|
|
1339
1348
|
message.number !== undefined && (obj.number = Math.round(message.number));
|
|
@@ -1346,13 +1355,13 @@ export const FieldDescriptorProto = {
|
|
|
1346
1355
|
message.jsonName !== undefined && (obj.jsonName = message.jsonName);
|
|
1347
1356
|
message.options !== undefined && (obj.options = message.options ? FieldOptions.toJSON(message.options) : undefined);
|
|
1348
1357
|
return obj;
|
|
1349
|
-
}
|
|
1358
|
+
}
|
|
1350
1359
|
|
|
1351
|
-
create<I extends Exact<DeepPartial<FieldDescriptorProto>, I>>(base?: I): FieldDescriptorProto {
|
|
1360
|
+
export function create<I extends Exact<DeepPartial<FieldDescriptorProto>, I>>(base?: I): FieldDescriptorProto {
|
|
1352
1361
|
return FieldDescriptorProto.fromPartial(base ?? {});
|
|
1353
|
-
}
|
|
1362
|
+
}
|
|
1354
1363
|
|
|
1355
|
-
fromPartial<I extends Exact<DeepPartial<FieldDescriptorProto>, I>>(object: I): FieldDescriptorProto {
|
|
1364
|
+
export function fromPartial<I extends Exact<DeepPartial<FieldDescriptorProto>, I>>(object: I): FieldDescriptorProto {
|
|
1356
1365
|
const message = createBaseFieldDescriptorProto();
|
|
1357
1366
|
message.name = object.name ?? "";
|
|
1358
1367
|
message.number = object.number ?? 0;
|
|
@@ -1367,15 +1376,15 @@ export const FieldDescriptorProto = {
|
|
|
1367
1376
|
? FieldOptions.fromPartial(object.options)
|
|
1368
1377
|
: undefined;
|
|
1369
1378
|
return message;
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1372
1381
|
|
|
1373
1382
|
function createBaseOneofDescriptorProto(): OneofDescriptorProto {
|
|
1374
1383
|
return { name: "", options: undefined };
|
|
1375
1384
|
}
|
|
1376
1385
|
|
|
1377
|
-
export
|
|
1378
|
-
encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1386
|
+
export namespace OneofDescriptorProto {
|
|
1387
|
+
export function encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1379
1388
|
if (message.name !== "") {
|
|
1380
1389
|
writer.uint32(10).string(message.name);
|
|
1381
1390
|
}
|
|
@@ -1383,9 +1392,9 @@ export const OneofDescriptorProto = {
|
|
|
1383
1392
|
OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim();
|
|
1384
1393
|
}
|
|
1385
1394
|
return writer;
|
|
1386
|
-
}
|
|
1395
|
+
}
|
|
1387
1396
|
|
|
1388
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto {
|
|
1397
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto {
|
|
1389
1398
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1390
1399
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1391
1400
|
const message = createBaseOneofDescriptorProto();
|
|
@@ -1393,62 +1402,62 @@ export const OneofDescriptorProto = {
|
|
|
1393
1402
|
const tag = reader.uint32();
|
|
1394
1403
|
switch (tag >>> 3) {
|
|
1395
1404
|
case 1:
|
|
1396
|
-
if (tag
|
|
1405
|
+
if (tag !== 10) {
|
|
1397
1406
|
break;
|
|
1398
1407
|
}
|
|
1399
1408
|
|
|
1400
1409
|
message.name = reader.string();
|
|
1401
1410
|
continue;
|
|
1402
1411
|
case 2:
|
|
1403
|
-
if (tag
|
|
1412
|
+
if (tag !== 18) {
|
|
1404
1413
|
break;
|
|
1405
1414
|
}
|
|
1406
1415
|
|
|
1407
1416
|
message.options = OneofOptions.decode(reader, reader.uint32());
|
|
1408
1417
|
continue;
|
|
1409
1418
|
}
|
|
1410
|
-
if ((tag & 7)
|
|
1419
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1411
1420
|
break;
|
|
1412
1421
|
}
|
|
1413
1422
|
reader.skipType(tag & 7);
|
|
1414
1423
|
}
|
|
1415
1424
|
return message;
|
|
1416
|
-
}
|
|
1425
|
+
}
|
|
1417
1426
|
|
|
1418
|
-
fromJSON(object: any): OneofDescriptorProto {
|
|
1427
|
+
export function fromJSON(object: any): OneofDescriptorProto {
|
|
1419
1428
|
return {
|
|
1420
1429
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1421
1430
|
options: isSet(object.options) ? OneofOptions.fromJSON(object.options) : undefined,
|
|
1422
1431
|
};
|
|
1423
|
-
}
|
|
1432
|
+
}
|
|
1424
1433
|
|
|
1425
|
-
toJSON(message: OneofDescriptorProto): unknown {
|
|
1434
|
+
export function toJSON(message: OneofDescriptorProto): unknown {
|
|
1426
1435
|
const obj: any = {};
|
|
1427
1436
|
message.name !== undefined && (obj.name = message.name);
|
|
1428
1437
|
message.options !== undefined && (obj.options = message.options ? OneofOptions.toJSON(message.options) : undefined);
|
|
1429
1438
|
return obj;
|
|
1430
|
-
}
|
|
1439
|
+
}
|
|
1431
1440
|
|
|
1432
|
-
create<I extends Exact<DeepPartial<OneofDescriptorProto>, I>>(base?: I): OneofDescriptorProto {
|
|
1441
|
+
export function create<I extends Exact<DeepPartial<OneofDescriptorProto>, I>>(base?: I): OneofDescriptorProto {
|
|
1433
1442
|
return OneofDescriptorProto.fromPartial(base ?? {});
|
|
1434
|
-
}
|
|
1443
|
+
}
|
|
1435
1444
|
|
|
1436
|
-
fromPartial<I extends Exact<DeepPartial<OneofDescriptorProto>, I>>(object: I): OneofDescriptorProto {
|
|
1445
|
+
export function fromPartial<I extends Exact<DeepPartial<OneofDescriptorProto>, I>>(object: I): OneofDescriptorProto {
|
|
1437
1446
|
const message = createBaseOneofDescriptorProto();
|
|
1438
1447
|
message.name = object.name ?? "";
|
|
1439
1448
|
message.options = (object.options !== undefined && object.options !== null)
|
|
1440
1449
|
? OneofOptions.fromPartial(object.options)
|
|
1441
1450
|
: undefined;
|
|
1442
1451
|
return message;
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1445
1454
|
|
|
1446
1455
|
function createBaseEnumDescriptorProto(): EnumDescriptorProto {
|
|
1447
1456
|
return { name: "", value: [], options: undefined };
|
|
1448
1457
|
}
|
|
1449
1458
|
|
|
1450
|
-
export
|
|
1451
|
-
encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1459
|
+
export namespace EnumDescriptorProto {
|
|
1460
|
+
export function encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1452
1461
|
if (message.name !== "") {
|
|
1453
1462
|
writer.uint32(10).string(message.name);
|
|
1454
1463
|
}
|
|
@@ -1459,9 +1468,9 @@ export const EnumDescriptorProto = {
|
|
|
1459
1468
|
EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1460
1469
|
}
|
|
1461
1470
|
return writer;
|
|
1462
|
-
}
|
|
1471
|
+
}
|
|
1463
1472
|
|
|
1464
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto {
|
|
1473
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto {
|
|
1465
1474
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1466
1475
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1467
1476
|
const message = createBaseEnumDescriptorProto();
|
|
@@ -1469,44 +1478,44 @@ export const EnumDescriptorProto = {
|
|
|
1469
1478
|
const tag = reader.uint32();
|
|
1470
1479
|
switch (tag >>> 3) {
|
|
1471
1480
|
case 1:
|
|
1472
|
-
if (tag
|
|
1481
|
+
if (tag !== 10) {
|
|
1473
1482
|
break;
|
|
1474
1483
|
}
|
|
1475
1484
|
|
|
1476
1485
|
message.name = reader.string();
|
|
1477
1486
|
continue;
|
|
1478
1487
|
case 2:
|
|
1479
|
-
if (tag
|
|
1488
|
+
if (tag !== 18) {
|
|
1480
1489
|
break;
|
|
1481
1490
|
}
|
|
1482
1491
|
|
|
1483
1492
|
message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32()));
|
|
1484
1493
|
continue;
|
|
1485
1494
|
case 3:
|
|
1486
|
-
if (tag
|
|
1495
|
+
if (tag !== 26) {
|
|
1487
1496
|
break;
|
|
1488
1497
|
}
|
|
1489
1498
|
|
|
1490
1499
|
message.options = EnumOptions.decode(reader, reader.uint32());
|
|
1491
1500
|
continue;
|
|
1492
1501
|
}
|
|
1493
|
-
if ((tag & 7)
|
|
1502
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1494
1503
|
break;
|
|
1495
1504
|
}
|
|
1496
1505
|
reader.skipType(tag & 7);
|
|
1497
1506
|
}
|
|
1498
1507
|
return message;
|
|
1499
|
-
}
|
|
1508
|
+
}
|
|
1500
1509
|
|
|
1501
|
-
fromJSON(object: any): EnumDescriptorProto {
|
|
1510
|
+
export function fromJSON(object: any): EnumDescriptorProto {
|
|
1502
1511
|
return {
|
|
1503
1512
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1504
1513
|
value: Array.isArray(object?.value) ? object.value.map((e: any) => EnumValueDescriptorProto.fromJSON(e)) : [],
|
|
1505
1514
|
options: isSet(object.options) ? EnumOptions.fromJSON(object.options) : undefined,
|
|
1506
1515
|
};
|
|
1507
|
-
}
|
|
1516
|
+
}
|
|
1508
1517
|
|
|
1509
|
-
toJSON(message: EnumDescriptorProto): unknown {
|
|
1518
|
+
export function toJSON(message: EnumDescriptorProto): unknown {
|
|
1510
1519
|
const obj: any = {};
|
|
1511
1520
|
message.name !== undefined && (obj.name = message.name);
|
|
1512
1521
|
if (message.value) {
|
|
@@ -1516,13 +1525,13 @@ export const EnumDescriptorProto = {
|
|
|
1516
1525
|
}
|
|
1517
1526
|
message.options !== undefined && (obj.options = message.options ? EnumOptions.toJSON(message.options) : undefined);
|
|
1518
1527
|
return obj;
|
|
1519
|
-
}
|
|
1528
|
+
}
|
|
1520
1529
|
|
|
1521
|
-
create<I extends Exact<DeepPartial<EnumDescriptorProto>, I>>(base?: I): EnumDescriptorProto {
|
|
1530
|
+
export function create<I extends Exact<DeepPartial<EnumDescriptorProto>, I>>(base?: I): EnumDescriptorProto {
|
|
1522
1531
|
return EnumDescriptorProto.fromPartial(base ?? {});
|
|
1523
|
-
}
|
|
1532
|
+
}
|
|
1524
1533
|
|
|
1525
|
-
fromPartial<I extends Exact<DeepPartial<EnumDescriptorProto>, I>>(object: I): EnumDescriptorProto {
|
|
1534
|
+
export function fromPartial<I extends Exact<DeepPartial<EnumDescriptorProto>, I>>(object: I): EnumDescriptorProto {
|
|
1526
1535
|
const message = createBaseEnumDescriptorProto();
|
|
1527
1536
|
message.name = object.name ?? "";
|
|
1528
1537
|
message.value = object.value?.map((e) => EnumValueDescriptorProto.fromPartial(e)) || [];
|
|
@@ -1530,15 +1539,15 @@ export const EnumDescriptorProto = {
|
|
|
1530
1539
|
? EnumOptions.fromPartial(object.options)
|
|
1531
1540
|
: undefined;
|
|
1532
1541
|
return message;
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1535
1544
|
|
|
1536
1545
|
function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto {
|
|
1537
1546
|
return { name: "", number: 0, options: undefined };
|
|
1538
1547
|
}
|
|
1539
1548
|
|
|
1540
|
-
export
|
|
1541
|
-
encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1549
|
+
export namespace EnumValueDescriptorProto {
|
|
1550
|
+
export function encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1542
1551
|
if (message.name !== "") {
|
|
1543
1552
|
writer.uint32(10).string(message.name);
|
|
1544
1553
|
}
|
|
@@ -1549,9 +1558,9 @@ export const EnumValueDescriptorProto = {
|
|
|
1549
1558
|
EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1550
1559
|
}
|
|
1551
1560
|
return writer;
|
|
1552
|
-
}
|
|
1561
|
+
}
|
|
1553
1562
|
|
|
1554
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto {
|
|
1563
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto {
|
|
1555
1564
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1556
1565
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1557
1566
|
const message = createBaseEnumValueDescriptorProto();
|
|
@@ -1559,57 +1568,61 @@ export const EnumValueDescriptorProto = {
|
|
|
1559
1568
|
const tag = reader.uint32();
|
|
1560
1569
|
switch (tag >>> 3) {
|
|
1561
1570
|
case 1:
|
|
1562
|
-
if (tag
|
|
1571
|
+
if (tag !== 10) {
|
|
1563
1572
|
break;
|
|
1564
1573
|
}
|
|
1565
1574
|
|
|
1566
1575
|
message.name = reader.string();
|
|
1567
1576
|
continue;
|
|
1568
1577
|
case 2:
|
|
1569
|
-
if (tag
|
|
1578
|
+
if (tag !== 16) {
|
|
1570
1579
|
break;
|
|
1571
1580
|
}
|
|
1572
1581
|
|
|
1573
1582
|
message.number = reader.int32();
|
|
1574
1583
|
continue;
|
|
1575
1584
|
case 3:
|
|
1576
|
-
if (tag
|
|
1585
|
+
if (tag !== 26) {
|
|
1577
1586
|
break;
|
|
1578
1587
|
}
|
|
1579
1588
|
|
|
1580
1589
|
message.options = EnumValueOptions.decode(reader, reader.uint32());
|
|
1581
1590
|
continue;
|
|
1582
1591
|
}
|
|
1583
|
-
if ((tag & 7)
|
|
1592
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1584
1593
|
break;
|
|
1585
1594
|
}
|
|
1586
1595
|
reader.skipType(tag & 7);
|
|
1587
1596
|
}
|
|
1588
1597
|
return message;
|
|
1589
|
-
}
|
|
1598
|
+
}
|
|
1590
1599
|
|
|
1591
|
-
fromJSON(object: any): EnumValueDescriptorProto {
|
|
1600
|
+
export function fromJSON(object: any): EnumValueDescriptorProto {
|
|
1592
1601
|
return {
|
|
1593
1602
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1594
1603
|
number: isSet(object.number) ? Number(object.number) : 0,
|
|
1595
1604
|
options: isSet(object.options) ? EnumValueOptions.fromJSON(object.options) : undefined,
|
|
1596
1605
|
};
|
|
1597
|
-
}
|
|
1606
|
+
}
|
|
1598
1607
|
|
|
1599
|
-
toJSON(message: EnumValueDescriptorProto): unknown {
|
|
1608
|
+
export function toJSON(message: EnumValueDescriptorProto): unknown {
|
|
1600
1609
|
const obj: any = {};
|
|
1601
1610
|
message.name !== undefined && (obj.name = message.name);
|
|
1602
1611
|
message.number !== undefined && (obj.number = Math.round(message.number));
|
|
1603
1612
|
message.options !== undefined &&
|
|
1604
1613
|
(obj.options = message.options ? EnumValueOptions.toJSON(message.options) : undefined);
|
|
1605
1614
|
return obj;
|
|
1606
|
-
}
|
|
1615
|
+
}
|
|
1607
1616
|
|
|
1608
|
-
create<I extends Exact<DeepPartial<EnumValueDescriptorProto>, I>>(
|
|
1617
|
+
export function create<I extends Exact<DeepPartial<EnumValueDescriptorProto>, I>>(
|
|
1618
|
+
base?: I,
|
|
1619
|
+
): EnumValueDescriptorProto {
|
|
1609
1620
|
return EnumValueDescriptorProto.fromPartial(base ?? {});
|
|
1610
|
-
}
|
|
1621
|
+
}
|
|
1611
1622
|
|
|
1612
|
-
fromPartial<I extends Exact<DeepPartial<EnumValueDescriptorProto>, I>>(
|
|
1623
|
+
export function fromPartial<I extends Exact<DeepPartial<EnumValueDescriptorProto>, I>>(
|
|
1624
|
+
object: I,
|
|
1625
|
+
): EnumValueDescriptorProto {
|
|
1613
1626
|
const message = createBaseEnumValueDescriptorProto();
|
|
1614
1627
|
message.name = object.name ?? "";
|
|
1615
1628
|
message.number = object.number ?? 0;
|
|
@@ -1617,15 +1630,15 @@ export const EnumValueDescriptorProto = {
|
|
|
1617
1630
|
? EnumValueOptions.fromPartial(object.options)
|
|
1618
1631
|
: undefined;
|
|
1619
1632
|
return message;
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1622
1635
|
|
|
1623
1636
|
function createBaseServiceDescriptorProto(): ServiceDescriptorProto {
|
|
1624
1637
|
return { name: "", method: [], options: undefined };
|
|
1625
1638
|
}
|
|
1626
1639
|
|
|
1627
|
-
export
|
|
1628
|
-
encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1640
|
+
export namespace ServiceDescriptorProto {
|
|
1641
|
+
export function encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1629
1642
|
if (message.name !== "") {
|
|
1630
1643
|
writer.uint32(10).string(message.name);
|
|
1631
1644
|
}
|
|
@@ -1636,9 +1649,9 @@ export const ServiceDescriptorProto = {
|
|
|
1636
1649
|
ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim();
|
|
1637
1650
|
}
|
|
1638
1651
|
return writer;
|
|
1639
|
-
}
|
|
1652
|
+
}
|
|
1640
1653
|
|
|
1641
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto {
|
|
1654
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto {
|
|
1642
1655
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1643
1656
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1644
1657
|
const message = createBaseServiceDescriptorProto();
|
|
@@ -1646,44 +1659,44 @@ export const ServiceDescriptorProto = {
|
|
|
1646
1659
|
const tag = reader.uint32();
|
|
1647
1660
|
switch (tag >>> 3) {
|
|
1648
1661
|
case 1:
|
|
1649
|
-
if (tag
|
|
1662
|
+
if (tag !== 10) {
|
|
1650
1663
|
break;
|
|
1651
1664
|
}
|
|
1652
1665
|
|
|
1653
1666
|
message.name = reader.string();
|
|
1654
1667
|
continue;
|
|
1655
1668
|
case 2:
|
|
1656
|
-
if (tag
|
|
1669
|
+
if (tag !== 18) {
|
|
1657
1670
|
break;
|
|
1658
1671
|
}
|
|
1659
1672
|
|
|
1660
1673
|
message.method.push(MethodDescriptorProto.decode(reader, reader.uint32()));
|
|
1661
1674
|
continue;
|
|
1662
1675
|
case 3:
|
|
1663
|
-
if (tag
|
|
1676
|
+
if (tag !== 26) {
|
|
1664
1677
|
break;
|
|
1665
1678
|
}
|
|
1666
1679
|
|
|
1667
1680
|
message.options = ServiceOptions.decode(reader, reader.uint32());
|
|
1668
1681
|
continue;
|
|
1669
1682
|
}
|
|
1670
|
-
if ((tag & 7)
|
|
1683
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1671
1684
|
break;
|
|
1672
1685
|
}
|
|
1673
1686
|
reader.skipType(tag & 7);
|
|
1674
1687
|
}
|
|
1675
1688
|
return message;
|
|
1676
|
-
}
|
|
1689
|
+
}
|
|
1677
1690
|
|
|
1678
|
-
fromJSON(object: any): ServiceDescriptorProto {
|
|
1691
|
+
export function fromJSON(object: any): ServiceDescriptorProto {
|
|
1679
1692
|
return {
|
|
1680
1693
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1681
1694
|
method: Array.isArray(object?.method) ? object.method.map((e: any) => MethodDescriptorProto.fromJSON(e)) : [],
|
|
1682
1695
|
options: isSet(object.options) ? ServiceOptions.fromJSON(object.options) : undefined,
|
|
1683
1696
|
};
|
|
1684
|
-
}
|
|
1697
|
+
}
|
|
1685
1698
|
|
|
1686
|
-
toJSON(message: ServiceDescriptorProto): unknown {
|
|
1699
|
+
export function toJSON(message: ServiceDescriptorProto): unknown {
|
|
1687
1700
|
const obj: any = {};
|
|
1688
1701
|
message.name !== undefined && (obj.name = message.name);
|
|
1689
1702
|
if (message.method) {
|
|
@@ -1694,13 +1707,15 @@ export const ServiceDescriptorProto = {
|
|
|
1694
1707
|
message.options !== undefined &&
|
|
1695
1708
|
(obj.options = message.options ? ServiceOptions.toJSON(message.options) : undefined);
|
|
1696
1709
|
return obj;
|
|
1697
|
-
}
|
|
1710
|
+
}
|
|
1698
1711
|
|
|
1699
|
-
create<I extends Exact<DeepPartial<ServiceDescriptorProto>, I>>(base?: I): ServiceDescriptorProto {
|
|
1712
|
+
export function create<I extends Exact<DeepPartial<ServiceDescriptorProto>, I>>(base?: I): ServiceDescriptorProto {
|
|
1700
1713
|
return ServiceDescriptorProto.fromPartial(base ?? {});
|
|
1701
|
-
}
|
|
1714
|
+
}
|
|
1702
1715
|
|
|
1703
|
-
fromPartial<I extends Exact<DeepPartial<ServiceDescriptorProto>, I>>(
|
|
1716
|
+
export function fromPartial<I extends Exact<DeepPartial<ServiceDescriptorProto>, I>>(
|
|
1717
|
+
object: I,
|
|
1718
|
+
): ServiceDescriptorProto {
|
|
1704
1719
|
const message = createBaseServiceDescriptorProto();
|
|
1705
1720
|
message.name = object.name ?? "";
|
|
1706
1721
|
message.method = object.method?.map((e) => MethodDescriptorProto.fromPartial(e)) || [];
|
|
@@ -1708,8 +1723,8 @@ export const ServiceDescriptorProto = {
|
|
|
1708
1723
|
? ServiceOptions.fromPartial(object.options)
|
|
1709
1724
|
: undefined;
|
|
1710
1725
|
return message;
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1713
1728
|
|
|
1714
1729
|
function createBaseMethodDescriptorProto(): MethodDescriptorProto {
|
|
1715
1730
|
return {
|
|
@@ -1722,8 +1737,8 @@ function createBaseMethodDescriptorProto(): MethodDescriptorProto {
|
|
|
1722
1737
|
};
|
|
1723
1738
|
}
|
|
1724
1739
|
|
|
1725
|
-
export
|
|
1726
|
-
encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1740
|
+
export namespace MethodDescriptorProto {
|
|
1741
|
+
export function encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1727
1742
|
if (message.name !== "") {
|
|
1728
1743
|
writer.uint32(10).string(message.name);
|
|
1729
1744
|
}
|
|
@@ -1743,9 +1758,9 @@ export const MethodDescriptorProto = {
|
|
|
1743
1758
|
writer.uint32(48).bool(message.serverStreaming);
|
|
1744
1759
|
}
|
|
1745
1760
|
return writer;
|
|
1746
|
-
}
|
|
1761
|
+
}
|
|
1747
1762
|
|
|
1748
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto {
|
|
1763
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto {
|
|
1749
1764
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1750
1765
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1751
1766
|
const message = createBaseMethodDescriptorProto();
|
|
@@ -1753,57 +1768,57 @@ export const MethodDescriptorProto = {
|
|
|
1753
1768
|
const tag = reader.uint32();
|
|
1754
1769
|
switch (tag >>> 3) {
|
|
1755
1770
|
case 1:
|
|
1756
|
-
if (tag
|
|
1771
|
+
if (tag !== 10) {
|
|
1757
1772
|
break;
|
|
1758
1773
|
}
|
|
1759
1774
|
|
|
1760
1775
|
message.name = reader.string();
|
|
1761
1776
|
continue;
|
|
1762
1777
|
case 2:
|
|
1763
|
-
if (tag
|
|
1778
|
+
if (tag !== 18) {
|
|
1764
1779
|
break;
|
|
1765
1780
|
}
|
|
1766
1781
|
|
|
1767
1782
|
message.inputType = reader.string();
|
|
1768
1783
|
continue;
|
|
1769
1784
|
case 3:
|
|
1770
|
-
if (tag
|
|
1785
|
+
if (tag !== 26) {
|
|
1771
1786
|
break;
|
|
1772
1787
|
}
|
|
1773
1788
|
|
|
1774
1789
|
message.outputType = reader.string();
|
|
1775
1790
|
continue;
|
|
1776
1791
|
case 4:
|
|
1777
|
-
if (tag
|
|
1792
|
+
if (tag !== 34) {
|
|
1778
1793
|
break;
|
|
1779
1794
|
}
|
|
1780
1795
|
|
|
1781
1796
|
message.options = MethodOptions.decode(reader, reader.uint32());
|
|
1782
1797
|
continue;
|
|
1783
1798
|
case 5:
|
|
1784
|
-
if (tag
|
|
1799
|
+
if (tag !== 40) {
|
|
1785
1800
|
break;
|
|
1786
1801
|
}
|
|
1787
1802
|
|
|
1788
1803
|
message.clientStreaming = reader.bool();
|
|
1789
1804
|
continue;
|
|
1790
1805
|
case 6:
|
|
1791
|
-
if (tag
|
|
1806
|
+
if (tag !== 48) {
|
|
1792
1807
|
break;
|
|
1793
1808
|
}
|
|
1794
1809
|
|
|
1795
1810
|
message.serverStreaming = reader.bool();
|
|
1796
1811
|
continue;
|
|
1797
1812
|
}
|
|
1798
|
-
if ((tag & 7)
|
|
1813
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1799
1814
|
break;
|
|
1800
1815
|
}
|
|
1801
1816
|
reader.skipType(tag & 7);
|
|
1802
1817
|
}
|
|
1803
1818
|
return message;
|
|
1804
|
-
}
|
|
1819
|
+
}
|
|
1805
1820
|
|
|
1806
|
-
fromJSON(object: any): MethodDescriptorProto {
|
|
1821
|
+
export function fromJSON(object: any): MethodDescriptorProto {
|
|
1807
1822
|
return {
|
|
1808
1823
|
name: isSet(object.name) ? String(object.name) : "",
|
|
1809
1824
|
inputType: isSet(object.inputType) ? String(object.inputType) : "",
|
|
@@ -1812,9 +1827,9 @@ export const MethodDescriptorProto = {
|
|
|
1812
1827
|
clientStreaming: isSet(object.clientStreaming) ? Boolean(object.clientStreaming) : false,
|
|
1813
1828
|
serverStreaming: isSet(object.serverStreaming) ? Boolean(object.serverStreaming) : false,
|
|
1814
1829
|
};
|
|
1815
|
-
}
|
|
1830
|
+
}
|
|
1816
1831
|
|
|
1817
|
-
toJSON(message: MethodDescriptorProto): unknown {
|
|
1832
|
+
export function toJSON(message: MethodDescriptorProto): unknown {
|
|
1818
1833
|
const obj: any = {};
|
|
1819
1834
|
message.name !== undefined && (obj.name = message.name);
|
|
1820
1835
|
message.inputType !== undefined && (obj.inputType = message.inputType);
|
|
@@ -1824,13 +1839,15 @@ export const MethodDescriptorProto = {
|
|
|
1824
1839
|
message.clientStreaming !== undefined && (obj.clientStreaming = message.clientStreaming);
|
|
1825
1840
|
message.serverStreaming !== undefined && (obj.serverStreaming = message.serverStreaming);
|
|
1826
1841
|
return obj;
|
|
1827
|
-
}
|
|
1842
|
+
}
|
|
1828
1843
|
|
|
1829
|
-
create<I extends Exact<DeepPartial<MethodDescriptorProto>, I>>(base?: I): MethodDescriptorProto {
|
|
1844
|
+
export function create<I extends Exact<DeepPartial<MethodDescriptorProto>, I>>(base?: I): MethodDescriptorProto {
|
|
1830
1845
|
return MethodDescriptorProto.fromPartial(base ?? {});
|
|
1831
|
-
}
|
|
1846
|
+
}
|
|
1832
1847
|
|
|
1833
|
-
fromPartial<I extends Exact<DeepPartial<MethodDescriptorProto>, I>>(
|
|
1848
|
+
export function fromPartial<I extends Exact<DeepPartial<MethodDescriptorProto>, I>>(
|
|
1849
|
+
object: I,
|
|
1850
|
+
): MethodDescriptorProto {
|
|
1834
1851
|
const message = createBaseMethodDescriptorProto();
|
|
1835
1852
|
message.name = object.name ?? "";
|
|
1836
1853
|
message.inputType = object.inputType ?? "";
|
|
@@ -1841,8 +1858,8 @@ export const MethodDescriptorProto = {
|
|
|
1841
1858
|
message.clientStreaming = object.clientStreaming ?? false;
|
|
1842
1859
|
message.serverStreaming = object.serverStreaming ?? false;
|
|
1843
1860
|
return message;
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1846
1863
|
|
|
1847
1864
|
function createBaseFileOptions(): FileOptions {
|
|
1848
1865
|
return {
|
|
@@ -1864,8 +1881,8 @@ function createBaseFileOptions(): FileOptions {
|
|
|
1864
1881
|
};
|
|
1865
1882
|
}
|
|
1866
1883
|
|
|
1867
|
-
export
|
|
1868
|
-
encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1884
|
+
export namespace FileOptions {
|
|
1885
|
+
export function encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1869
1886
|
if (message.javaPackage !== "") {
|
|
1870
1887
|
writer.uint32(10).string(message.javaPackage);
|
|
1871
1888
|
}
|
|
@@ -1912,9 +1929,9 @@ export const FileOptions = {
|
|
|
1912
1929
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
1913
1930
|
}
|
|
1914
1931
|
return writer;
|
|
1915
|
-
}
|
|
1932
|
+
}
|
|
1916
1933
|
|
|
1917
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions {
|
|
1934
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions {
|
|
1918
1935
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
1919
1936
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1920
1937
|
const message = createBaseFileOptions();
|
|
@@ -1922,120 +1939,120 @@ export const FileOptions = {
|
|
|
1922
1939
|
const tag = reader.uint32();
|
|
1923
1940
|
switch (tag >>> 3) {
|
|
1924
1941
|
case 1:
|
|
1925
|
-
if (tag
|
|
1942
|
+
if (tag !== 10) {
|
|
1926
1943
|
break;
|
|
1927
1944
|
}
|
|
1928
1945
|
|
|
1929
1946
|
message.javaPackage = reader.string();
|
|
1930
1947
|
continue;
|
|
1931
1948
|
case 8:
|
|
1932
|
-
if (tag
|
|
1949
|
+
if (tag !== 66) {
|
|
1933
1950
|
break;
|
|
1934
1951
|
}
|
|
1935
1952
|
|
|
1936
1953
|
message.javaOuterClassname = reader.string();
|
|
1937
1954
|
continue;
|
|
1938
1955
|
case 10:
|
|
1939
|
-
if (tag
|
|
1956
|
+
if (tag !== 80) {
|
|
1940
1957
|
break;
|
|
1941
1958
|
}
|
|
1942
1959
|
|
|
1943
1960
|
message.javaMultipleFiles = reader.bool();
|
|
1944
1961
|
continue;
|
|
1945
1962
|
case 20:
|
|
1946
|
-
if (tag
|
|
1963
|
+
if (tag !== 160) {
|
|
1947
1964
|
break;
|
|
1948
1965
|
}
|
|
1949
1966
|
|
|
1950
1967
|
message.javaGenerateEqualsAndHash = reader.bool();
|
|
1951
1968
|
continue;
|
|
1952
1969
|
case 27:
|
|
1953
|
-
if (tag
|
|
1970
|
+
if (tag !== 216) {
|
|
1954
1971
|
break;
|
|
1955
1972
|
}
|
|
1956
1973
|
|
|
1957
1974
|
message.javaStringCheckUtf8 = reader.bool();
|
|
1958
1975
|
continue;
|
|
1959
1976
|
case 9:
|
|
1960
|
-
if (tag
|
|
1977
|
+
if (tag !== 72) {
|
|
1961
1978
|
break;
|
|
1962
1979
|
}
|
|
1963
1980
|
|
|
1964
1981
|
message.optimizeFor = reader.int32() as any;
|
|
1965
1982
|
continue;
|
|
1966
1983
|
case 11:
|
|
1967
|
-
if (tag
|
|
1984
|
+
if (tag !== 90) {
|
|
1968
1985
|
break;
|
|
1969
1986
|
}
|
|
1970
1987
|
|
|
1971
1988
|
message.goPackage = reader.string();
|
|
1972
1989
|
continue;
|
|
1973
1990
|
case 16:
|
|
1974
|
-
if (tag
|
|
1991
|
+
if (tag !== 128) {
|
|
1975
1992
|
break;
|
|
1976
1993
|
}
|
|
1977
1994
|
|
|
1978
1995
|
message.ccGenericServices = reader.bool();
|
|
1979
1996
|
continue;
|
|
1980
1997
|
case 17:
|
|
1981
|
-
if (tag
|
|
1998
|
+
if (tag !== 136) {
|
|
1982
1999
|
break;
|
|
1983
2000
|
}
|
|
1984
2001
|
|
|
1985
2002
|
message.javaGenericServices = reader.bool();
|
|
1986
2003
|
continue;
|
|
1987
2004
|
case 18:
|
|
1988
|
-
if (tag
|
|
2005
|
+
if (tag !== 144) {
|
|
1989
2006
|
break;
|
|
1990
2007
|
}
|
|
1991
2008
|
|
|
1992
2009
|
message.pyGenericServices = reader.bool();
|
|
1993
2010
|
continue;
|
|
1994
2011
|
case 23:
|
|
1995
|
-
if (tag
|
|
2012
|
+
if (tag !== 184) {
|
|
1996
2013
|
break;
|
|
1997
2014
|
}
|
|
1998
2015
|
|
|
1999
2016
|
message.deprecated = reader.bool();
|
|
2000
2017
|
continue;
|
|
2001
2018
|
case 31:
|
|
2002
|
-
if (tag
|
|
2019
|
+
if (tag !== 248) {
|
|
2003
2020
|
break;
|
|
2004
2021
|
}
|
|
2005
2022
|
|
|
2006
2023
|
message.ccEnableArenas = reader.bool();
|
|
2007
2024
|
continue;
|
|
2008
2025
|
case 36:
|
|
2009
|
-
if (tag
|
|
2026
|
+
if (tag !== 290) {
|
|
2010
2027
|
break;
|
|
2011
2028
|
}
|
|
2012
2029
|
|
|
2013
2030
|
message.objcClassPrefix = reader.string();
|
|
2014
2031
|
continue;
|
|
2015
2032
|
case 37:
|
|
2016
|
-
if (tag
|
|
2033
|
+
if (tag !== 298) {
|
|
2017
2034
|
break;
|
|
2018
2035
|
}
|
|
2019
2036
|
|
|
2020
2037
|
message.csharpNamespace = reader.string();
|
|
2021
2038
|
continue;
|
|
2022
2039
|
case 999:
|
|
2023
|
-
if (tag
|
|
2040
|
+
if (tag !== 7994) {
|
|
2024
2041
|
break;
|
|
2025
2042
|
}
|
|
2026
2043
|
|
|
2027
2044
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2028
2045
|
continue;
|
|
2029
2046
|
}
|
|
2030
|
-
if ((tag & 7)
|
|
2047
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2031
2048
|
break;
|
|
2032
2049
|
}
|
|
2033
2050
|
reader.skipType(tag & 7);
|
|
2034
2051
|
}
|
|
2035
2052
|
return message;
|
|
2036
|
-
}
|
|
2053
|
+
}
|
|
2037
2054
|
|
|
2038
|
-
fromJSON(object: any): FileOptions {
|
|
2055
|
+
export function fromJSON(object: any): FileOptions {
|
|
2039
2056
|
return {
|
|
2040
2057
|
javaPackage: isSet(object.javaPackage) ? String(object.javaPackage) : "",
|
|
2041
2058
|
javaOuterClassname: isSet(object.javaOuterClassname) ? String(object.javaOuterClassname) : "",
|
|
@@ -2057,9 +2074,9 @@ export const FileOptions = {
|
|
|
2057
2074
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2058
2075
|
: [],
|
|
2059
2076
|
};
|
|
2060
|
-
}
|
|
2077
|
+
}
|
|
2061
2078
|
|
|
2062
|
-
toJSON(message: FileOptions): unknown {
|
|
2079
|
+
export function toJSON(message: FileOptions): unknown {
|
|
2063
2080
|
const obj: any = {};
|
|
2064
2081
|
message.javaPackage !== undefined && (obj.javaPackage = message.javaPackage);
|
|
2065
2082
|
message.javaOuterClassname !== undefined && (obj.javaOuterClassname = message.javaOuterClassname);
|
|
@@ -2082,13 +2099,13 @@ export const FileOptions = {
|
|
|
2082
2099
|
obj.uninterpretedOption = [];
|
|
2083
2100
|
}
|
|
2084
2101
|
return obj;
|
|
2085
|
-
}
|
|
2102
|
+
}
|
|
2086
2103
|
|
|
2087
|
-
create<I extends Exact<DeepPartial<FileOptions>, I>>(base?: I): FileOptions {
|
|
2104
|
+
export function create<I extends Exact<DeepPartial<FileOptions>, I>>(base?: I): FileOptions {
|
|
2088
2105
|
return FileOptions.fromPartial(base ?? {});
|
|
2089
|
-
}
|
|
2106
|
+
}
|
|
2090
2107
|
|
|
2091
|
-
fromPartial<I extends Exact<DeepPartial<FileOptions>, I>>(object: I): FileOptions {
|
|
2108
|
+
export function fromPartial<I extends Exact<DeepPartial<FileOptions>, I>>(object: I): FileOptions {
|
|
2092
2109
|
const message = createBaseFileOptions();
|
|
2093
2110
|
message.javaPackage = object.javaPackage ?? "";
|
|
2094
2111
|
message.javaOuterClassname = object.javaOuterClassname ?? "";
|
|
@@ -2106,8 +2123,8 @@ export const FileOptions = {
|
|
|
2106
2123
|
message.csharpNamespace = object.csharpNamespace ?? "";
|
|
2107
2124
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2108
2125
|
return message;
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2111
2128
|
|
|
2112
2129
|
function createBaseMessageOptions(): MessageOptions {
|
|
2113
2130
|
return {
|
|
@@ -2119,8 +2136,8 @@ function createBaseMessageOptions(): MessageOptions {
|
|
|
2119
2136
|
};
|
|
2120
2137
|
}
|
|
2121
2138
|
|
|
2122
|
-
export
|
|
2123
|
-
encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2139
|
+
export namespace MessageOptions {
|
|
2140
|
+
export function encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2124
2141
|
if (message.messageSetWireFormat === true) {
|
|
2125
2142
|
writer.uint32(8).bool(message.messageSetWireFormat);
|
|
2126
2143
|
}
|
|
@@ -2137,9 +2154,9 @@ export const MessageOptions = {
|
|
|
2137
2154
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2138
2155
|
}
|
|
2139
2156
|
return writer;
|
|
2140
|
-
}
|
|
2157
|
+
}
|
|
2141
2158
|
|
|
2142
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions {
|
|
2159
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions {
|
|
2143
2160
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2144
2161
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2145
2162
|
const message = createBaseMessageOptions();
|
|
@@ -2147,50 +2164,50 @@ export const MessageOptions = {
|
|
|
2147
2164
|
const tag = reader.uint32();
|
|
2148
2165
|
switch (tag >>> 3) {
|
|
2149
2166
|
case 1:
|
|
2150
|
-
if (tag
|
|
2167
|
+
if (tag !== 8) {
|
|
2151
2168
|
break;
|
|
2152
2169
|
}
|
|
2153
2170
|
|
|
2154
2171
|
message.messageSetWireFormat = reader.bool();
|
|
2155
2172
|
continue;
|
|
2156
2173
|
case 2:
|
|
2157
|
-
if (tag
|
|
2174
|
+
if (tag !== 16) {
|
|
2158
2175
|
break;
|
|
2159
2176
|
}
|
|
2160
2177
|
|
|
2161
2178
|
message.noStandardDescriptorAccessor = reader.bool();
|
|
2162
2179
|
continue;
|
|
2163
2180
|
case 3:
|
|
2164
|
-
if (tag
|
|
2181
|
+
if (tag !== 24) {
|
|
2165
2182
|
break;
|
|
2166
2183
|
}
|
|
2167
2184
|
|
|
2168
2185
|
message.deprecated = reader.bool();
|
|
2169
2186
|
continue;
|
|
2170
2187
|
case 7:
|
|
2171
|
-
if (tag
|
|
2188
|
+
if (tag !== 56) {
|
|
2172
2189
|
break;
|
|
2173
2190
|
}
|
|
2174
2191
|
|
|
2175
2192
|
message.mapEntry = reader.bool();
|
|
2176
2193
|
continue;
|
|
2177
2194
|
case 999:
|
|
2178
|
-
if (tag
|
|
2195
|
+
if (tag !== 7994) {
|
|
2179
2196
|
break;
|
|
2180
2197
|
}
|
|
2181
2198
|
|
|
2182
2199
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2183
2200
|
continue;
|
|
2184
2201
|
}
|
|
2185
|
-
if ((tag & 7)
|
|
2202
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2186
2203
|
break;
|
|
2187
2204
|
}
|
|
2188
2205
|
reader.skipType(tag & 7);
|
|
2189
2206
|
}
|
|
2190
2207
|
return message;
|
|
2191
|
-
}
|
|
2208
|
+
}
|
|
2192
2209
|
|
|
2193
|
-
fromJSON(object: any): MessageOptions {
|
|
2210
|
+
export function fromJSON(object: any): MessageOptions {
|
|
2194
2211
|
return {
|
|
2195
2212
|
messageSetWireFormat: isSet(object.messageSetWireFormat) ? Boolean(object.messageSetWireFormat) : false,
|
|
2196
2213
|
noStandardDescriptorAccessor: isSet(object.noStandardDescriptorAccessor)
|
|
@@ -2202,9 +2219,9 @@ export const MessageOptions = {
|
|
|
2202
2219
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2203
2220
|
: [],
|
|
2204
2221
|
};
|
|
2205
|
-
}
|
|
2222
|
+
}
|
|
2206
2223
|
|
|
2207
|
-
toJSON(message: MessageOptions): unknown {
|
|
2224
|
+
export function toJSON(message: MessageOptions): unknown {
|
|
2208
2225
|
const obj: any = {};
|
|
2209
2226
|
message.messageSetWireFormat !== undefined && (obj.messageSetWireFormat = message.messageSetWireFormat);
|
|
2210
2227
|
message.noStandardDescriptorAccessor !== undefined &&
|
|
@@ -2217,13 +2234,13 @@ export const MessageOptions = {
|
|
|
2217
2234
|
obj.uninterpretedOption = [];
|
|
2218
2235
|
}
|
|
2219
2236
|
return obj;
|
|
2220
|
-
}
|
|
2237
|
+
}
|
|
2221
2238
|
|
|
2222
|
-
create<I extends Exact<DeepPartial<MessageOptions>, I>>(base?: I): MessageOptions {
|
|
2239
|
+
export function create<I extends Exact<DeepPartial<MessageOptions>, I>>(base?: I): MessageOptions {
|
|
2223
2240
|
return MessageOptions.fromPartial(base ?? {});
|
|
2224
|
-
}
|
|
2241
|
+
}
|
|
2225
2242
|
|
|
2226
|
-
fromPartial<I extends Exact<DeepPartial<MessageOptions>, I>>(object: I): MessageOptions {
|
|
2243
|
+
export function fromPartial<I extends Exact<DeepPartial<MessageOptions>, I>>(object: I): MessageOptions {
|
|
2227
2244
|
const message = createBaseMessageOptions();
|
|
2228
2245
|
message.messageSetWireFormat = object.messageSetWireFormat ?? false;
|
|
2229
2246
|
message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false;
|
|
@@ -2231,15 +2248,15 @@ export const MessageOptions = {
|
|
|
2231
2248
|
message.mapEntry = object.mapEntry ?? false;
|
|
2232
2249
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2233
2250
|
return message;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2236
2253
|
|
|
2237
2254
|
function createBaseFieldOptions(): FieldOptions {
|
|
2238
2255
|
return { ctype: 0, packed: false, jstype: 0, lazy: false, deprecated: false, weak: false, uninterpretedOption: [] };
|
|
2239
2256
|
}
|
|
2240
2257
|
|
|
2241
|
-
export
|
|
2242
|
-
encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2258
|
+
export namespace FieldOptions {
|
|
2259
|
+
export function encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2243
2260
|
if (message.ctype !== 0) {
|
|
2244
2261
|
writer.uint32(8).int32(message.ctype);
|
|
2245
2262
|
}
|
|
@@ -2262,9 +2279,9 @@ export const FieldOptions = {
|
|
|
2262
2279
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2263
2280
|
}
|
|
2264
2281
|
return writer;
|
|
2265
|
-
}
|
|
2282
|
+
}
|
|
2266
2283
|
|
|
2267
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions {
|
|
2284
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions {
|
|
2268
2285
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2269
2286
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2270
2287
|
const message = createBaseFieldOptions();
|
|
@@ -2272,64 +2289,64 @@ export const FieldOptions = {
|
|
|
2272
2289
|
const tag = reader.uint32();
|
|
2273
2290
|
switch (tag >>> 3) {
|
|
2274
2291
|
case 1:
|
|
2275
|
-
if (tag
|
|
2292
|
+
if (tag !== 8) {
|
|
2276
2293
|
break;
|
|
2277
2294
|
}
|
|
2278
2295
|
|
|
2279
2296
|
message.ctype = reader.int32() as any;
|
|
2280
2297
|
continue;
|
|
2281
2298
|
case 2:
|
|
2282
|
-
if (tag
|
|
2299
|
+
if (tag !== 16) {
|
|
2283
2300
|
break;
|
|
2284
2301
|
}
|
|
2285
2302
|
|
|
2286
2303
|
message.packed = reader.bool();
|
|
2287
2304
|
continue;
|
|
2288
2305
|
case 6:
|
|
2289
|
-
if (tag
|
|
2306
|
+
if (tag !== 48) {
|
|
2290
2307
|
break;
|
|
2291
2308
|
}
|
|
2292
2309
|
|
|
2293
2310
|
message.jstype = reader.int32() as any;
|
|
2294
2311
|
continue;
|
|
2295
2312
|
case 5:
|
|
2296
|
-
if (tag
|
|
2313
|
+
if (tag !== 40) {
|
|
2297
2314
|
break;
|
|
2298
2315
|
}
|
|
2299
2316
|
|
|
2300
2317
|
message.lazy = reader.bool();
|
|
2301
2318
|
continue;
|
|
2302
2319
|
case 3:
|
|
2303
|
-
if (tag
|
|
2320
|
+
if (tag !== 24) {
|
|
2304
2321
|
break;
|
|
2305
2322
|
}
|
|
2306
2323
|
|
|
2307
2324
|
message.deprecated = reader.bool();
|
|
2308
2325
|
continue;
|
|
2309
2326
|
case 10:
|
|
2310
|
-
if (tag
|
|
2327
|
+
if (tag !== 80) {
|
|
2311
2328
|
break;
|
|
2312
2329
|
}
|
|
2313
2330
|
|
|
2314
2331
|
message.weak = reader.bool();
|
|
2315
2332
|
continue;
|
|
2316
2333
|
case 999:
|
|
2317
|
-
if (tag
|
|
2334
|
+
if (tag !== 7994) {
|
|
2318
2335
|
break;
|
|
2319
2336
|
}
|
|
2320
2337
|
|
|
2321
2338
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2322
2339
|
continue;
|
|
2323
2340
|
}
|
|
2324
|
-
if ((tag & 7)
|
|
2341
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2325
2342
|
break;
|
|
2326
2343
|
}
|
|
2327
2344
|
reader.skipType(tag & 7);
|
|
2328
2345
|
}
|
|
2329
2346
|
return message;
|
|
2330
|
-
}
|
|
2347
|
+
}
|
|
2331
2348
|
|
|
2332
|
-
fromJSON(object: any): FieldOptions {
|
|
2349
|
+
export function fromJSON(object: any): FieldOptions {
|
|
2333
2350
|
return {
|
|
2334
2351
|
ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : 0,
|
|
2335
2352
|
packed: isSet(object.packed) ? Boolean(object.packed) : false,
|
|
@@ -2341,9 +2358,9 @@ export const FieldOptions = {
|
|
|
2341
2358
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2342
2359
|
: [],
|
|
2343
2360
|
};
|
|
2344
|
-
}
|
|
2361
|
+
}
|
|
2345
2362
|
|
|
2346
|
-
toJSON(message: FieldOptions): unknown {
|
|
2363
|
+
export function toJSON(message: FieldOptions): unknown {
|
|
2347
2364
|
const obj: any = {};
|
|
2348
2365
|
message.ctype !== undefined && (obj.ctype = fieldOptions_CTypeToJSON(message.ctype));
|
|
2349
2366
|
message.packed !== undefined && (obj.packed = message.packed);
|
|
@@ -2357,13 +2374,13 @@ export const FieldOptions = {
|
|
|
2357
2374
|
obj.uninterpretedOption = [];
|
|
2358
2375
|
}
|
|
2359
2376
|
return obj;
|
|
2360
|
-
}
|
|
2377
|
+
}
|
|
2361
2378
|
|
|
2362
|
-
create<I extends Exact<DeepPartial<FieldOptions>, I>>(base?: I): FieldOptions {
|
|
2379
|
+
export function create<I extends Exact<DeepPartial<FieldOptions>, I>>(base?: I): FieldOptions {
|
|
2363
2380
|
return FieldOptions.fromPartial(base ?? {});
|
|
2364
|
-
}
|
|
2381
|
+
}
|
|
2365
2382
|
|
|
2366
|
-
fromPartial<I extends Exact<DeepPartial<FieldOptions>, I>>(object: I): FieldOptions {
|
|
2383
|
+
export function fromPartial<I extends Exact<DeepPartial<FieldOptions>, I>>(object: I): FieldOptions {
|
|
2367
2384
|
const message = createBaseFieldOptions();
|
|
2368
2385
|
message.ctype = object.ctype ?? 0;
|
|
2369
2386
|
message.packed = object.packed ?? false;
|
|
@@ -2373,22 +2390,22 @@ export const FieldOptions = {
|
|
|
2373
2390
|
message.weak = object.weak ?? false;
|
|
2374
2391
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2375
2392
|
return message;
|
|
2376
|
-
}
|
|
2377
|
-
}
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2378
2395
|
|
|
2379
2396
|
function createBaseOneofOptions(): OneofOptions {
|
|
2380
2397
|
return { uninterpretedOption: [] };
|
|
2381
2398
|
}
|
|
2382
2399
|
|
|
2383
|
-
export
|
|
2384
|
-
encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2400
|
+
export namespace OneofOptions {
|
|
2401
|
+
export function encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2385
2402
|
for (const v of message.uninterpretedOption) {
|
|
2386
2403
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2387
2404
|
}
|
|
2388
2405
|
return writer;
|
|
2389
|
-
}
|
|
2406
|
+
}
|
|
2390
2407
|
|
|
2391
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions {
|
|
2408
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions {
|
|
2392
2409
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2393
2410
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2394
2411
|
const message = createBaseOneofOptions();
|
|
@@ -2396,30 +2413,30 @@ export const OneofOptions = {
|
|
|
2396
2413
|
const tag = reader.uint32();
|
|
2397
2414
|
switch (tag >>> 3) {
|
|
2398
2415
|
case 999:
|
|
2399
|
-
if (tag
|
|
2416
|
+
if (tag !== 7994) {
|
|
2400
2417
|
break;
|
|
2401
2418
|
}
|
|
2402
2419
|
|
|
2403
2420
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2404
2421
|
continue;
|
|
2405
2422
|
}
|
|
2406
|
-
if ((tag & 7)
|
|
2423
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2407
2424
|
break;
|
|
2408
2425
|
}
|
|
2409
2426
|
reader.skipType(tag & 7);
|
|
2410
2427
|
}
|
|
2411
2428
|
return message;
|
|
2412
|
-
}
|
|
2429
|
+
}
|
|
2413
2430
|
|
|
2414
|
-
fromJSON(object: any): OneofOptions {
|
|
2431
|
+
export function fromJSON(object: any): OneofOptions {
|
|
2415
2432
|
return {
|
|
2416
2433
|
uninterpretedOption: Array.isArray(object?.uninterpretedOption)
|
|
2417
2434
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2418
2435
|
: [],
|
|
2419
2436
|
};
|
|
2420
|
-
}
|
|
2437
|
+
}
|
|
2421
2438
|
|
|
2422
|
-
toJSON(message: OneofOptions): unknown {
|
|
2439
|
+
export function toJSON(message: OneofOptions): unknown {
|
|
2423
2440
|
const obj: any = {};
|
|
2424
2441
|
if (message.uninterpretedOption) {
|
|
2425
2442
|
obj.uninterpretedOption = message.uninterpretedOption.map((e) => e ? UninterpretedOption.toJSON(e) : undefined);
|
|
@@ -2427,25 +2444,25 @@ export const OneofOptions = {
|
|
|
2427
2444
|
obj.uninterpretedOption = [];
|
|
2428
2445
|
}
|
|
2429
2446
|
return obj;
|
|
2430
|
-
}
|
|
2447
|
+
}
|
|
2431
2448
|
|
|
2432
|
-
create<I extends Exact<DeepPartial<OneofOptions>, I>>(base?: I): OneofOptions {
|
|
2449
|
+
export function create<I extends Exact<DeepPartial<OneofOptions>, I>>(base?: I): OneofOptions {
|
|
2433
2450
|
return OneofOptions.fromPartial(base ?? {});
|
|
2434
|
-
}
|
|
2451
|
+
}
|
|
2435
2452
|
|
|
2436
|
-
fromPartial<I extends Exact<DeepPartial<OneofOptions>, I>>(object: I): OneofOptions {
|
|
2453
|
+
export function fromPartial<I extends Exact<DeepPartial<OneofOptions>, I>>(object: I): OneofOptions {
|
|
2437
2454
|
const message = createBaseOneofOptions();
|
|
2438
2455
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2439
2456
|
return message;
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2442
2459
|
|
|
2443
2460
|
function createBaseEnumOptions(): EnumOptions {
|
|
2444
2461
|
return { allowAlias: false, deprecated: false, uninterpretedOption: [] };
|
|
2445
2462
|
}
|
|
2446
2463
|
|
|
2447
|
-
export
|
|
2448
|
-
encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2464
|
+
export namespace EnumOptions {
|
|
2465
|
+
export function encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2449
2466
|
if (message.allowAlias === true) {
|
|
2450
2467
|
writer.uint32(16).bool(message.allowAlias);
|
|
2451
2468
|
}
|
|
@@ -2456,9 +2473,9 @@ export const EnumOptions = {
|
|
|
2456
2473
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2457
2474
|
}
|
|
2458
2475
|
return writer;
|
|
2459
|
-
}
|
|
2476
|
+
}
|
|
2460
2477
|
|
|
2461
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions {
|
|
2478
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions {
|
|
2462
2479
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2463
2480
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2464
2481
|
const message = createBaseEnumOptions();
|
|
@@ -2466,36 +2483,36 @@ export const EnumOptions = {
|
|
|
2466
2483
|
const tag = reader.uint32();
|
|
2467
2484
|
switch (tag >>> 3) {
|
|
2468
2485
|
case 2:
|
|
2469
|
-
if (tag
|
|
2486
|
+
if (tag !== 16) {
|
|
2470
2487
|
break;
|
|
2471
2488
|
}
|
|
2472
2489
|
|
|
2473
2490
|
message.allowAlias = reader.bool();
|
|
2474
2491
|
continue;
|
|
2475
2492
|
case 3:
|
|
2476
|
-
if (tag
|
|
2493
|
+
if (tag !== 24) {
|
|
2477
2494
|
break;
|
|
2478
2495
|
}
|
|
2479
2496
|
|
|
2480
2497
|
message.deprecated = reader.bool();
|
|
2481
2498
|
continue;
|
|
2482
2499
|
case 999:
|
|
2483
|
-
if (tag
|
|
2500
|
+
if (tag !== 7994) {
|
|
2484
2501
|
break;
|
|
2485
2502
|
}
|
|
2486
2503
|
|
|
2487
2504
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2488
2505
|
continue;
|
|
2489
2506
|
}
|
|
2490
|
-
if ((tag & 7)
|
|
2507
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2491
2508
|
break;
|
|
2492
2509
|
}
|
|
2493
2510
|
reader.skipType(tag & 7);
|
|
2494
2511
|
}
|
|
2495
2512
|
return message;
|
|
2496
|
-
}
|
|
2513
|
+
}
|
|
2497
2514
|
|
|
2498
|
-
fromJSON(object: any): EnumOptions {
|
|
2515
|
+
export function fromJSON(object: any): EnumOptions {
|
|
2499
2516
|
return {
|
|
2500
2517
|
allowAlias: isSet(object.allowAlias) ? Boolean(object.allowAlias) : false,
|
|
2501
2518
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
@@ -2503,9 +2520,9 @@ export const EnumOptions = {
|
|
|
2503
2520
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2504
2521
|
: [],
|
|
2505
2522
|
};
|
|
2506
|
-
}
|
|
2523
|
+
}
|
|
2507
2524
|
|
|
2508
|
-
toJSON(message: EnumOptions): unknown {
|
|
2525
|
+
export function toJSON(message: EnumOptions): unknown {
|
|
2509
2526
|
const obj: any = {};
|
|
2510
2527
|
message.allowAlias !== undefined && (obj.allowAlias = message.allowAlias);
|
|
2511
2528
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
@@ -2515,27 +2532,27 @@ export const EnumOptions = {
|
|
|
2515
2532
|
obj.uninterpretedOption = [];
|
|
2516
2533
|
}
|
|
2517
2534
|
return obj;
|
|
2518
|
-
}
|
|
2535
|
+
}
|
|
2519
2536
|
|
|
2520
|
-
create<I extends Exact<DeepPartial<EnumOptions>, I>>(base?: I): EnumOptions {
|
|
2537
|
+
export function create<I extends Exact<DeepPartial<EnumOptions>, I>>(base?: I): EnumOptions {
|
|
2521
2538
|
return EnumOptions.fromPartial(base ?? {});
|
|
2522
|
-
}
|
|
2539
|
+
}
|
|
2523
2540
|
|
|
2524
|
-
fromPartial<I extends Exact<DeepPartial<EnumOptions>, I>>(object: I): EnumOptions {
|
|
2541
|
+
export function fromPartial<I extends Exact<DeepPartial<EnumOptions>, I>>(object: I): EnumOptions {
|
|
2525
2542
|
const message = createBaseEnumOptions();
|
|
2526
2543
|
message.allowAlias = object.allowAlias ?? false;
|
|
2527
2544
|
message.deprecated = object.deprecated ?? false;
|
|
2528
2545
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2529
2546
|
return message;
|
|
2530
|
-
}
|
|
2531
|
-
}
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2532
2549
|
|
|
2533
2550
|
function createBaseEnumValueOptions(): EnumValueOptions {
|
|
2534
2551
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2535
2552
|
}
|
|
2536
2553
|
|
|
2537
|
-
export
|
|
2538
|
-
encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2554
|
+
export namespace EnumValueOptions {
|
|
2555
|
+
export function encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2539
2556
|
if (message.deprecated === true) {
|
|
2540
2557
|
writer.uint32(8).bool(message.deprecated);
|
|
2541
2558
|
}
|
|
@@ -2543,9 +2560,9 @@ export const EnumValueOptions = {
|
|
|
2543
2560
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2544
2561
|
}
|
|
2545
2562
|
return writer;
|
|
2546
|
-
}
|
|
2563
|
+
}
|
|
2547
2564
|
|
|
2548
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions {
|
|
2565
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions {
|
|
2549
2566
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2550
2567
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2551
2568
|
const message = createBaseEnumValueOptions();
|
|
@@ -2553,38 +2570,38 @@ export const EnumValueOptions = {
|
|
|
2553
2570
|
const tag = reader.uint32();
|
|
2554
2571
|
switch (tag >>> 3) {
|
|
2555
2572
|
case 1:
|
|
2556
|
-
if (tag
|
|
2573
|
+
if (tag !== 8) {
|
|
2557
2574
|
break;
|
|
2558
2575
|
}
|
|
2559
2576
|
|
|
2560
2577
|
message.deprecated = reader.bool();
|
|
2561
2578
|
continue;
|
|
2562
2579
|
case 999:
|
|
2563
|
-
if (tag
|
|
2580
|
+
if (tag !== 7994) {
|
|
2564
2581
|
break;
|
|
2565
2582
|
}
|
|
2566
2583
|
|
|
2567
2584
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2568
2585
|
continue;
|
|
2569
2586
|
}
|
|
2570
|
-
if ((tag & 7)
|
|
2587
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2571
2588
|
break;
|
|
2572
2589
|
}
|
|
2573
2590
|
reader.skipType(tag & 7);
|
|
2574
2591
|
}
|
|
2575
2592
|
return message;
|
|
2576
|
-
}
|
|
2593
|
+
}
|
|
2577
2594
|
|
|
2578
|
-
fromJSON(object: any): EnumValueOptions {
|
|
2595
|
+
export function fromJSON(object: any): EnumValueOptions {
|
|
2579
2596
|
return {
|
|
2580
2597
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2581
2598
|
uninterpretedOption: Array.isArray(object?.uninterpretedOption)
|
|
2582
2599
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2583
2600
|
: [],
|
|
2584
2601
|
};
|
|
2585
|
-
}
|
|
2602
|
+
}
|
|
2586
2603
|
|
|
2587
|
-
toJSON(message: EnumValueOptions): unknown {
|
|
2604
|
+
export function toJSON(message: EnumValueOptions): unknown {
|
|
2588
2605
|
const obj: any = {};
|
|
2589
2606
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2590
2607
|
if (message.uninterpretedOption) {
|
|
@@ -2593,26 +2610,26 @@ export const EnumValueOptions = {
|
|
|
2593
2610
|
obj.uninterpretedOption = [];
|
|
2594
2611
|
}
|
|
2595
2612
|
return obj;
|
|
2596
|
-
}
|
|
2613
|
+
}
|
|
2597
2614
|
|
|
2598
|
-
create<I extends Exact<DeepPartial<EnumValueOptions>, I>>(base?: I): EnumValueOptions {
|
|
2615
|
+
export function create<I extends Exact<DeepPartial<EnumValueOptions>, I>>(base?: I): EnumValueOptions {
|
|
2599
2616
|
return EnumValueOptions.fromPartial(base ?? {});
|
|
2600
|
-
}
|
|
2617
|
+
}
|
|
2601
2618
|
|
|
2602
|
-
fromPartial<I extends Exact<DeepPartial<EnumValueOptions>, I>>(object: I): EnumValueOptions {
|
|
2619
|
+
export function fromPartial<I extends Exact<DeepPartial<EnumValueOptions>, I>>(object: I): EnumValueOptions {
|
|
2603
2620
|
const message = createBaseEnumValueOptions();
|
|
2604
2621
|
message.deprecated = object.deprecated ?? false;
|
|
2605
2622
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2606
2623
|
return message;
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2609
2626
|
|
|
2610
2627
|
function createBaseServiceOptions(): ServiceOptions {
|
|
2611
2628
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2612
2629
|
}
|
|
2613
2630
|
|
|
2614
|
-
export
|
|
2615
|
-
encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2631
|
+
export namespace ServiceOptions {
|
|
2632
|
+
export function encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2616
2633
|
if (message.deprecated === true) {
|
|
2617
2634
|
writer.uint32(264).bool(message.deprecated);
|
|
2618
2635
|
}
|
|
@@ -2620,9 +2637,9 @@ export const ServiceOptions = {
|
|
|
2620
2637
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2621
2638
|
}
|
|
2622
2639
|
return writer;
|
|
2623
|
-
}
|
|
2640
|
+
}
|
|
2624
2641
|
|
|
2625
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions {
|
|
2642
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions {
|
|
2626
2643
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2627
2644
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2628
2645
|
const message = createBaseServiceOptions();
|
|
@@ -2630,38 +2647,38 @@ export const ServiceOptions = {
|
|
|
2630
2647
|
const tag = reader.uint32();
|
|
2631
2648
|
switch (tag >>> 3) {
|
|
2632
2649
|
case 33:
|
|
2633
|
-
if (tag
|
|
2650
|
+
if (tag !== 264) {
|
|
2634
2651
|
break;
|
|
2635
2652
|
}
|
|
2636
2653
|
|
|
2637
2654
|
message.deprecated = reader.bool();
|
|
2638
2655
|
continue;
|
|
2639
2656
|
case 999:
|
|
2640
|
-
if (tag
|
|
2657
|
+
if (tag !== 7994) {
|
|
2641
2658
|
break;
|
|
2642
2659
|
}
|
|
2643
2660
|
|
|
2644
2661
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2645
2662
|
continue;
|
|
2646
2663
|
}
|
|
2647
|
-
if ((tag & 7)
|
|
2664
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2648
2665
|
break;
|
|
2649
2666
|
}
|
|
2650
2667
|
reader.skipType(tag & 7);
|
|
2651
2668
|
}
|
|
2652
2669
|
return message;
|
|
2653
|
-
}
|
|
2670
|
+
}
|
|
2654
2671
|
|
|
2655
|
-
fromJSON(object: any): ServiceOptions {
|
|
2672
|
+
export function fromJSON(object: any): ServiceOptions {
|
|
2656
2673
|
return {
|
|
2657
2674
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2658
2675
|
uninterpretedOption: Array.isArray(object?.uninterpretedOption)
|
|
2659
2676
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2660
2677
|
: [],
|
|
2661
2678
|
};
|
|
2662
|
-
}
|
|
2679
|
+
}
|
|
2663
2680
|
|
|
2664
|
-
toJSON(message: ServiceOptions): unknown {
|
|
2681
|
+
export function toJSON(message: ServiceOptions): unknown {
|
|
2665
2682
|
const obj: any = {};
|
|
2666
2683
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2667
2684
|
if (message.uninterpretedOption) {
|
|
@@ -2670,26 +2687,26 @@ export const ServiceOptions = {
|
|
|
2670
2687
|
obj.uninterpretedOption = [];
|
|
2671
2688
|
}
|
|
2672
2689
|
return obj;
|
|
2673
|
-
}
|
|
2690
|
+
}
|
|
2674
2691
|
|
|
2675
|
-
create<I extends Exact<DeepPartial<ServiceOptions>, I>>(base?: I): ServiceOptions {
|
|
2692
|
+
export function create<I extends Exact<DeepPartial<ServiceOptions>, I>>(base?: I): ServiceOptions {
|
|
2676
2693
|
return ServiceOptions.fromPartial(base ?? {});
|
|
2677
|
-
}
|
|
2694
|
+
}
|
|
2678
2695
|
|
|
2679
|
-
fromPartial<I extends Exact<DeepPartial<ServiceOptions>, I>>(object: I): ServiceOptions {
|
|
2696
|
+
export function fromPartial<I extends Exact<DeepPartial<ServiceOptions>, I>>(object: I): ServiceOptions {
|
|
2680
2697
|
const message = createBaseServiceOptions();
|
|
2681
2698
|
message.deprecated = object.deprecated ?? false;
|
|
2682
2699
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2683
2700
|
return message;
|
|
2684
|
-
}
|
|
2685
|
-
}
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2686
2703
|
|
|
2687
2704
|
function createBaseMethodOptions(): MethodOptions {
|
|
2688
2705
|
return { deprecated: false, uninterpretedOption: [] };
|
|
2689
2706
|
}
|
|
2690
2707
|
|
|
2691
|
-
export
|
|
2692
|
-
encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2708
|
+
export namespace MethodOptions {
|
|
2709
|
+
export function encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2693
2710
|
if (message.deprecated === true) {
|
|
2694
2711
|
writer.uint32(264).bool(message.deprecated);
|
|
2695
2712
|
}
|
|
@@ -2697,9 +2714,9 @@ export const MethodOptions = {
|
|
|
2697
2714
|
UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim();
|
|
2698
2715
|
}
|
|
2699
2716
|
return writer;
|
|
2700
|
-
}
|
|
2717
|
+
}
|
|
2701
2718
|
|
|
2702
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions {
|
|
2719
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions {
|
|
2703
2720
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2704
2721
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2705
2722
|
const message = createBaseMethodOptions();
|
|
@@ -2707,38 +2724,38 @@ export const MethodOptions = {
|
|
|
2707
2724
|
const tag = reader.uint32();
|
|
2708
2725
|
switch (tag >>> 3) {
|
|
2709
2726
|
case 33:
|
|
2710
|
-
if (tag
|
|
2727
|
+
if (tag !== 264) {
|
|
2711
2728
|
break;
|
|
2712
2729
|
}
|
|
2713
2730
|
|
|
2714
2731
|
message.deprecated = reader.bool();
|
|
2715
2732
|
continue;
|
|
2716
2733
|
case 999:
|
|
2717
|
-
if (tag
|
|
2734
|
+
if (tag !== 7994) {
|
|
2718
2735
|
break;
|
|
2719
2736
|
}
|
|
2720
2737
|
|
|
2721
2738
|
message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32()));
|
|
2722
2739
|
continue;
|
|
2723
2740
|
}
|
|
2724
|
-
if ((tag & 7)
|
|
2741
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2725
2742
|
break;
|
|
2726
2743
|
}
|
|
2727
2744
|
reader.skipType(tag & 7);
|
|
2728
2745
|
}
|
|
2729
2746
|
return message;
|
|
2730
|
-
}
|
|
2747
|
+
}
|
|
2731
2748
|
|
|
2732
|
-
fromJSON(object: any): MethodOptions {
|
|
2749
|
+
export function fromJSON(object: any): MethodOptions {
|
|
2733
2750
|
return {
|
|
2734
2751
|
deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false,
|
|
2735
2752
|
uninterpretedOption: Array.isArray(object?.uninterpretedOption)
|
|
2736
2753
|
? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e))
|
|
2737
2754
|
: [],
|
|
2738
2755
|
};
|
|
2739
|
-
}
|
|
2756
|
+
}
|
|
2740
2757
|
|
|
2741
|
-
toJSON(message: MethodOptions): unknown {
|
|
2758
|
+
export function toJSON(message: MethodOptions): unknown {
|
|
2742
2759
|
const obj: any = {};
|
|
2743
2760
|
message.deprecated !== undefined && (obj.deprecated = message.deprecated);
|
|
2744
2761
|
if (message.uninterpretedOption) {
|
|
@@ -2747,19 +2764,19 @@ export const MethodOptions = {
|
|
|
2747
2764
|
obj.uninterpretedOption = [];
|
|
2748
2765
|
}
|
|
2749
2766
|
return obj;
|
|
2750
|
-
}
|
|
2767
|
+
}
|
|
2751
2768
|
|
|
2752
|
-
create<I extends Exact<DeepPartial<MethodOptions>, I>>(base?: I): MethodOptions {
|
|
2769
|
+
export function create<I extends Exact<DeepPartial<MethodOptions>, I>>(base?: I): MethodOptions {
|
|
2753
2770
|
return MethodOptions.fromPartial(base ?? {});
|
|
2754
|
-
}
|
|
2771
|
+
}
|
|
2755
2772
|
|
|
2756
|
-
fromPartial<I extends Exact<DeepPartial<MethodOptions>, I>>(object: I): MethodOptions {
|
|
2773
|
+
export function fromPartial<I extends Exact<DeepPartial<MethodOptions>, I>>(object: I): MethodOptions {
|
|
2757
2774
|
const message = createBaseMethodOptions();
|
|
2758
2775
|
message.deprecated = object.deprecated ?? false;
|
|
2759
2776
|
message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || [];
|
|
2760
2777
|
return message;
|
|
2761
|
-
}
|
|
2762
|
-
}
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2763
2780
|
|
|
2764
2781
|
function createBaseUninterpretedOption(): UninterpretedOption {
|
|
2765
2782
|
return {
|
|
@@ -2768,13 +2785,13 @@ function createBaseUninterpretedOption(): UninterpretedOption {
|
|
|
2768
2785
|
positiveIntValue: 0,
|
|
2769
2786
|
negativeIntValue: 0,
|
|
2770
2787
|
doubleValue: 0,
|
|
2771
|
-
stringValue: new Uint8Array(),
|
|
2788
|
+
stringValue: new Uint8Array(0),
|
|
2772
2789
|
aggregateValue: "",
|
|
2773
2790
|
};
|
|
2774
2791
|
}
|
|
2775
2792
|
|
|
2776
|
-
export
|
|
2777
|
-
encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2793
|
+
export namespace UninterpretedOption {
|
|
2794
|
+
export function encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2778
2795
|
for (const v of message.name) {
|
|
2779
2796
|
UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
2780
2797
|
}
|
|
@@ -2797,9 +2814,9 @@ export const UninterpretedOption = {
|
|
|
2797
2814
|
writer.uint32(66).string(message.aggregateValue);
|
|
2798
2815
|
}
|
|
2799
2816
|
return writer;
|
|
2800
|
-
}
|
|
2817
|
+
}
|
|
2801
2818
|
|
|
2802
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption {
|
|
2819
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption {
|
|
2803
2820
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2804
2821
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2805
2822
|
const message = createBaseUninterpretedOption();
|
|
@@ -2807,76 +2824,76 @@ export const UninterpretedOption = {
|
|
|
2807
2824
|
const tag = reader.uint32();
|
|
2808
2825
|
switch (tag >>> 3) {
|
|
2809
2826
|
case 2:
|
|
2810
|
-
if (tag
|
|
2827
|
+
if (tag !== 18) {
|
|
2811
2828
|
break;
|
|
2812
2829
|
}
|
|
2813
2830
|
|
|
2814
2831
|
message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32()));
|
|
2815
2832
|
continue;
|
|
2816
2833
|
case 3:
|
|
2817
|
-
if (tag
|
|
2834
|
+
if (tag !== 26) {
|
|
2818
2835
|
break;
|
|
2819
2836
|
}
|
|
2820
2837
|
|
|
2821
2838
|
message.identifierValue = reader.string();
|
|
2822
2839
|
continue;
|
|
2823
2840
|
case 4:
|
|
2824
|
-
if (tag
|
|
2841
|
+
if (tag !== 32) {
|
|
2825
2842
|
break;
|
|
2826
2843
|
}
|
|
2827
2844
|
|
|
2828
2845
|
message.positiveIntValue = longToNumber(reader.uint64() as Long);
|
|
2829
2846
|
continue;
|
|
2830
2847
|
case 5:
|
|
2831
|
-
if (tag
|
|
2848
|
+
if (tag !== 40) {
|
|
2832
2849
|
break;
|
|
2833
2850
|
}
|
|
2834
2851
|
|
|
2835
2852
|
message.negativeIntValue = longToNumber(reader.int64() as Long);
|
|
2836
2853
|
continue;
|
|
2837
2854
|
case 6:
|
|
2838
|
-
if (tag
|
|
2855
|
+
if (tag !== 49) {
|
|
2839
2856
|
break;
|
|
2840
2857
|
}
|
|
2841
2858
|
|
|
2842
2859
|
message.doubleValue = reader.double();
|
|
2843
2860
|
continue;
|
|
2844
2861
|
case 7:
|
|
2845
|
-
if (tag
|
|
2862
|
+
if (tag !== 58) {
|
|
2846
2863
|
break;
|
|
2847
2864
|
}
|
|
2848
2865
|
|
|
2849
2866
|
message.stringValue = reader.bytes();
|
|
2850
2867
|
continue;
|
|
2851
2868
|
case 8:
|
|
2852
|
-
if (tag
|
|
2869
|
+
if (tag !== 66) {
|
|
2853
2870
|
break;
|
|
2854
2871
|
}
|
|
2855
2872
|
|
|
2856
2873
|
message.aggregateValue = reader.string();
|
|
2857
2874
|
continue;
|
|
2858
2875
|
}
|
|
2859
|
-
if ((tag & 7)
|
|
2876
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2860
2877
|
break;
|
|
2861
2878
|
}
|
|
2862
2879
|
reader.skipType(tag & 7);
|
|
2863
2880
|
}
|
|
2864
2881
|
return message;
|
|
2865
|
-
}
|
|
2882
|
+
}
|
|
2866
2883
|
|
|
2867
|
-
fromJSON(object: any): UninterpretedOption {
|
|
2884
|
+
export function fromJSON(object: any): UninterpretedOption {
|
|
2868
2885
|
return {
|
|
2869
2886
|
name: Array.isArray(object?.name) ? object.name.map((e: any) => UninterpretedOption_NamePart.fromJSON(e)) : [],
|
|
2870
2887
|
identifierValue: isSet(object.identifierValue) ? String(object.identifierValue) : "",
|
|
2871
2888
|
positiveIntValue: isSet(object.positiveIntValue) ? Number(object.positiveIntValue) : 0,
|
|
2872
2889
|
negativeIntValue: isSet(object.negativeIntValue) ? Number(object.negativeIntValue) : 0,
|
|
2873
2890
|
doubleValue: isSet(object.doubleValue) ? Number(object.doubleValue) : 0,
|
|
2874
|
-
stringValue: isSet(object.stringValue) ? bytesFromBase64(object.stringValue) : new Uint8Array(),
|
|
2891
|
+
stringValue: isSet(object.stringValue) ? bytesFromBase64(object.stringValue) : new Uint8Array(0),
|
|
2875
2892
|
aggregateValue: isSet(object.aggregateValue) ? String(object.aggregateValue) : "",
|
|
2876
2893
|
};
|
|
2877
|
-
}
|
|
2894
|
+
}
|
|
2878
2895
|
|
|
2879
|
-
toJSON(message: UninterpretedOption): unknown {
|
|
2896
|
+
export function toJSON(message: UninterpretedOption): unknown {
|
|
2880
2897
|
const obj: any = {};
|
|
2881
2898
|
if (message.name) {
|
|
2882
2899
|
obj.name = message.name.map((e) => e ? UninterpretedOption_NamePart.toJSON(e) : undefined);
|
|
@@ -2888,34 +2905,34 @@ export const UninterpretedOption = {
|
|
|
2888
2905
|
message.negativeIntValue !== undefined && (obj.negativeIntValue = Math.round(message.negativeIntValue));
|
|
2889
2906
|
message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue);
|
|
2890
2907
|
message.stringValue !== undefined &&
|
|
2891
|
-
(obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array()));
|
|
2908
|
+
(obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array(0)));
|
|
2892
2909
|
message.aggregateValue !== undefined && (obj.aggregateValue = message.aggregateValue);
|
|
2893
2910
|
return obj;
|
|
2894
|
-
}
|
|
2911
|
+
}
|
|
2895
2912
|
|
|
2896
|
-
create<I extends Exact<DeepPartial<UninterpretedOption>, I>>(base?: I): UninterpretedOption {
|
|
2913
|
+
export function create<I extends Exact<DeepPartial<UninterpretedOption>, I>>(base?: I): UninterpretedOption {
|
|
2897
2914
|
return UninterpretedOption.fromPartial(base ?? {});
|
|
2898
|
-
}
|
|
2915
|
+
}
|
|
2899
2916
|
|
|
2900
|
-
fromPartial<I extends Exact<DeepPartial<UninterpretedOption>, I>>(object: I): UninterpretedOption {
|
|
2917
|
+
export function fromPartial<I extends Exact<DeepPartial<UninterpretedOption>, I>>(object: I): UninterpretedOption {
|
|
2901
2918
|
const message = createBaseUninterpretedOption();
|
|
2902
2919
|
message.name = object.name?.map((e) => UninterpretedOption_NamePart.fromPartial(e)) || [];
|
|
2903
2920
|
message.identifierValue = object.identifierValue ?? "";
|
|
2904
2921
|
message.positiveIntValue = object.positiveIntValue ?? 0;
|
|
2905
2922
|
message.negativeIntValue = object.negativeIntValue ?? 0;
|
|
2906
2923
|
message.doubleValue = object.doubleValue ?? 0;
|
|
2907
|
-
message.stringValue = object.stringValue ?? new Uint8Array();
|
|
2924
|
+
message.stringValue = object.stringValue ?? new Uint8Array(0);
|
|
2908
2925
|
message.aggregateValue = object.aggregateValue ?? "";
|
|
2909
2926
|
return message;
|
|
2910
|
-
}
|
|
2911
|
-
}
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2912
2929
|
|
|
2913
2930
|
function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart {
|
|
2914
2931
|
return { namePart: "", isExtension: false };
|
|
2915
2932
|
}
|
|
2916
2933
|
|
|
2917
|
-
export
|
|
2918
|
-
encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2934
|
+
export namespace UninterpretedOption_NamePart {
|
|
2935
|
+
export function encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2919
2936
|
if (message.namePart !== "") {
|
|
2920
2937
|
writer.uint32(10).string(message.namePart);
|
|
2921
2938
|
}
|
|
@@ -2923,9 +2940,9 @@ export const UninterpretedOption_NamePart = {
|
|
|
2923
2940
|
writer.uint32(16).bool(message.isExtension);
|
|
2924
2941
|
}
|
|
2925
2942
|
return writer;
|
|
2926
|
-
}
|
|
2943
|
+
}
|
|
2927
2944
|
|
|
2928
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart {
|
|
2945
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart {
|
|
2929
2946
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2930
2947
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2931
2948
|
const message = createBaseUninterpretedOption_NamePart();
|
|
@@ -2933,67 +2950,71 @@ export const UninterpretedOption_NamePart = {
|
|
|
2933
2950
|
const tag = reader.uint32();
|
|
2934
2951
|
switch (tag >>> 3) {
|
|
2935
2952
|
case 1:
|
|
2936
|
-
if (tag
|
|
2953
|
+
if (tag !== 10) {
|
|
2937
2954
|
break;
|
|
2938
2955
|
}
|
|
2939
2956
|
|
|
2940
2957
|
message.namePart = reader.string();
|
|
2941
2958
|
continue;
|
|
2942
2959
|
case 2:
|
|
2943
|
-
if (tag
|
|
2960
|
+
if (tag !== 16) {
|
|
2944
2961
|
break;
|
|
2945
2962
|
}
|
|
2946
2963
|
|
|
2947
2964
|
message.isExtension = reader.bool();
|
|
2948
2965
|
continue;
|
|
2949
2966
|
}
|
|
2950
|
-
if ((tag & 7)
|
|
2967
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2951
2968
|
break;
|
|
2952
2969
|
}
|
|
2953
2970
|
reader.skipType(tag & 7);
|
|
2954
2971
|
}
|
|
2955
2972
|
return message;
|
|
2956
|
-
}
|
|
2973
|
+
}
|
|
2957
2974
|
|
|
2958
|
-
fromJSON(object: any): UninterpretedOption_NamePart {
|
|
2975
|
+
export function fromJSON(object: any): UninterpretedOption_NamePart {
|
|
2959
2976
|
return {
|
|
2960
2977
|
namePart: isSet(object.namePart) ? String(object.namePart) : "",
|
|
2961
2978
|
isExtension: isSet(object.isExtension) ? Boolean(object.isExtension) : false,
|
|
2962
2979
|
};
|
|
2963
|
-
}
|
|
2980
|
+
}
|
|
2964
2981
|
|
|
2965
|
-
toJSON(message: UninterpretedOption_NamePart): unknown {
|
|
2982
|
+
export function toJSON(message: UninterpretedOption_NamePart): unknown {
|
|
2966
2983
|
const obj: any = {};
|
|
2967
2984
|
message.namePart !== undefined && (obj.namePart = message.namePart);
|
|
2968
2985
|
message.isExtension !== undefined && (obj.isExtension = message.isExtension);
|
|
2969
2986
|
return obj;
|
|
2970
|
-
}
|
|
2987
|
+
}
|
|
2971
2988
|
|
|
2972
|
-
create<I extends Exact<DeepPartial<UninterpretedOption_NamePart>, I>>(
|
|
2989
|
+
export function create<I extends Exact<DeepPartial<UninterpretedOption_NamePart>, I>>(
|
|
2990
|
+
base?: I,
|
|
2991
|
+
): UninterpretedOption_NamePart {
|
|
2973
2992
|
return UninterpretedOption_NamePart.fromPartial(base ?? {});
|
|
2974
|
-
}
|
|
2993
|
+
}
|
|
2975
2994
|
|
|
2976
|
-
fromPartial<I extends Exact<DeepPartial<UninterpretedOption_NamePart>, I>>(
|
|
2995
|
+
export function fromPartial<I extends Exact<DeepPartial<UninterpretedOption_NamePart>, I>>(
|
|
2996
|
+
object: I,
|
|
2997
|
+
): UninterpretedOption_NamePart {
|
|
2977
2998
|
const message = createBaseUninterpretedOption_NamePart();
|
|
2978
2999
|
message.namePart = object.namePart ?? "";
|
|
2979
3000
|
message.isExtension = object.isExtension ?? false;
|
|
2980
3001
|
return message;
|
|
2981
|
-
}
|
|
2982
|
-
}
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
2983
3004
|
|
|
2984
3005
|
function createBaseSourceCodeInfo(): SourceCodeInfo {
|
|
2985
3006
|
return { location: [] };
|
|
2986
3007
|
}
|
|
2987
3008
|
|
|
2988
|
-
export
|
|
2989
|
-
encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3009
|
+
export namespace SourceCodeInfo {
|
|
3010
|
+
export function encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
2990
3011
|
for (const v of message.location) {
|
|
2991
3012
|
SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
2992
3013
|
}
|
|
2993
3014
|
return writer;
|
|
2994
|
-
}
|
|
3015
|
+
}
|
|
2995
3016
|
|
|
2996
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo {
|
|
3017
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo {
|
|
2997
3018
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
2998
3019
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2999
3020
|
const message = createBaseSourceCodeInfo();
|
|
@@ -3001,30 +3022,30 @@ export const SourceCodeInfo = {
|
|
|
3001
3022
|
const tag = reader.uint32();
|
|
3002
3023
|
switch (tag >>> 3) {
|
|
3003
3024
|
case 1:
|
|
3004
|
-
if (tag
|
|
3025
|
+
if (tag !== 10) {
|
|
3005
3026
|
break;
|
|
3006
3027
|
}
|
|
3007
3028
|
|
|
3008
3029
|
message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32()));
|
|
3009
3030
|
continue;
|
|
3010
3031
|
}
|
|
3011
|
-
if ((tag & 7)
|
|
3032
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3012
3033
|
break;
|
|
3013
3034
|
}
|
|
3014
3035
|
reader.skipType(tag & 7);
|
|
3015
3036
|
}
|
|
3016
3037
|
return message;
|
|
3017
|
-
}
|
|
3038
|
+
}
|
|
3018
3039
|
|
|
3019
|
-
fromJSON(object: any): SourceCodeInfo {
|
|
3040
|
+
export function fromJSON(object: any): SourceCodeInfo {
|
|
3020
3041
|
return {
|
|
3021
3042
|
location: Array.isArray(object?.location)
|
|
3022
3043
|
? object.location.map((e: any) => SourceCodeInfo_Location.fromJSON(e))
|
|
3023
3044
|
: [],
|
|
3024
3045
|
};
|
|
3025
|
-
}
|
|
3046
|
+
}
|
|
3026
3047
|
|
|
3027
|
-
toJSON(message: SourceCodeInfo): unknown {
|
|
3048
|
+
export function toJSON(message: SourceCodeInfo): unknown {
|
|
3028
3049
|
const obj: any = {};
|
|
3029
3050
|
if (message.location) {
|
|
3030
3051
|
obj.location = message.location.map((e) => e ? SourceCodeInfo_Location.toJSON(e) : undefined);
|
|
@@ -3032,25 +3053,25 @@ export const SourceCodeInfo = {
|
|
|
3032
3053
|
obj.location = [];
|
|
3033
3054
|
}
|
|
3034
3055
|
return obj;
|
|
3035
|
-
}
|
|
3056
|
+
}
|
|
3036
3057
|
|
|
3037
|
-
create<I extends Exact<DeepPartial<SourceCodeInfo>, I>>(base?: I): SourceCodeInfo {
|
|
3058
|
+
export function create<I extends Exact<DeepPartial<SourceCodeInfo>, I>>(base?: I): SourceCodeInfo {
|
|
3038
3059
|
return SourceCodeInfo.fromPartial(base ?? {});
|
|
3039
|
-
}
|
|
3060
|
+
}
|
|
3040
3061
|
|
|
3041
|
-
fromPartial<I extends Exact<DeepPartial<SourceCodeInfo>, I>>(object: I): SourceCodeInfo {
|
|
3062
|
+
export function fromPartial<I extends Exact<DeepPartial<SourceCodeInfo>, I>>(object: I): SourceCodeInfo {
|
|
3042
3063
|
const message = createBaseSourceCodeInfo();
|
|
3043
3064
|
message.location = object.location?.map((e) => SourceCodeInfo_Location.fromPartial(e)) || [];
|
|
3044
3065
|
return message;
|
|
3045
|
-
}
|
|
3046
|
-
}
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3047
3068
|
|
|
3048
3069
|
function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location {
|
|
3049
3070
|
return { path: [], span: [], leadingComments: "", trailingComments: "", leadingDetachedComments: [] };
|
|
3050
3071
|
}
|
|
3051
3072
|
|
|
3052
|
-
export
|
|
3053
|
-
encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3073
|
+
export namespace SourceCodeInfo_Location {
|
|
3074
|
+
export function encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3054
3075
|
writer.uint32(10).fork();
|
|
3055
3076
|
for (const v of message.path) {
|
|
3056
3077
|
writer.int32(v);
|
|
@@ -3071,9 +3092,9 @@ export const SourceCodeInfo_Location = {
|
|
|
3071
3092
|
writer.uint32(50).string(v!);
|
|
3072
3093
|
}
|
|
3073
3094
|
return writer;
|
|
3074
|
-
}
|
|
3095
|
+
}
|
|
3075
3096
|
|
|
3076
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location {
|
|
3097
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location {
|
|
3077
3098
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
3078
3099
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3079
3100
|
const message = createBaseSourceCodeInfo_Location();
|
|
@@ -3081,12 +3102,13 @@ export const SourceCodeInfo_Location = {
|
|
|
3081
3102
|
const tag = reader.uint32();
|
|
3082
3103
|
switch (tag >>> 3) {
|
|
3083
3104
|
case 1:
|
|
3084
|
-
if (tag
|
|
3105
|
+
if (tag === 8) {
|
|
3085
3106
|
message.path.push(reader.int32());
|
|
3107
|
+
|
|
3086
3108
|
continue;
|
|
3087
3109
|
}
|
|
3088
3110
|
|
|
3089
|
-
if (tag
|
|
3111
|
+
if (tag === 10) {
|
|
3090
3112
|
const end2 = reader.uint32() + reader.pos;
|
|
3091
3113
|
while (reader.pos < end2) {
|
|
3092
3114
|
message.path.push(reader.int32());
|
|
@@ -3097,12 +3119,13 @@ export const SourceCodeInfo_Location = {
|
|
|
3097
3119
|
|
|
3098
3120
|
break;
|
|
3099
3121
|
case 2:
|
|
3100
|
-
if (tag
|
|
3122
|
+
if (tag === 16) {
|
|
3101
3123
|
message.span.push(reader.int32());
|
|
3124
|
+
|
|
3102
3125
|
continue;
|
|
3103
3126
|
}
|
|
3104
3127
|
|
|
3105
|
-
if (tag
|
|
3128
|
+
if (tag === 18) {
|
|
3106
3129
|
const end2 = reader.uint32() + reader.pos;
|
|
3107
3130
|
while (reader.pos < end2) {
|
|
3108
3131
|
message.span.push(reader.int32());
|
|
@@ -3113,36 +3136,36 @@ export const SourceCodeInfo_Location = {
|
|
|
3113
3136
|
|
|
3114
3137
|
break;
|
|
3115
3138
|
case 3:
|
|
3116
|
-
if (tag
|
|
3139
|
+
if (tag !== 26) {
|
|
3117
3140
|
break;
|
|
3118
3141
|
}
|
|
3119
3142
|
|
|
3120
3143
|
message.leadingComments = reader.string();
|
|
3121
3144
|
continue;
|
|
3122
3145
|
case 4:
|
|
3123
|
-
if (tag
|
|
3146
|
+
if (tag !== 34) {
|
|
3124
3147
|
break;
|
|
3125
3148
|
}
|
|
3126
3149
|
|
|
3127
3150
|
message.trailingComments = reader.string();
|
|
3128
3151
|
continue;
|
|
3129
3152
|
case 6:
|
|
3130
|
-
if (tag
|
|
3153
|
+
if (tag !== 50) {
|
|
3131
3154
|
break;
|
|
3132
3155
|
}
|
|
3133
3156
|
|
|
3134
3157
|
message.leadingDetachedComments.push(reader.string());
|
|
3135
3158
|
continue;
|
|
3136
3159
|
}
|
|
3137
|
-
if ((tag & 7)
|
|
3160
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3138
3161
|
break;
|
|
3139
3162
|
}
|
|
3140
3163
|
reader.skipType(tag & 7);
|
|
3141
3164
|
}
|
|
3142
3165
|
return message;
|
|
3143
|
-
}
|
|
3166
|
+
}
|
|
3144
3167
|
|
|
3145
|
-
fromJSON(object: any): SourceCodeInfo_Location {
|
|
3168
|
+
export function fromJSON(object: any): SourceCodeInfo_Location {
|
|
3146
3169
|
return {
|
|
3147
3170
|
path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [],
|
|
3148
3171
|
span: Array.isArray(object?.span) ? object.span.map((e: any) => Number(e)) : [],
|
|
@@ -3152,9 +3175,9 @@ export const SourceCodeInfo_Location = {
|
|
|
3152
3175
|
? object.leadingDetachedComments.map((e: any) => String(e))
|
|
3153
3176
|
: [],
|
|
3154
3177
|
};
|
|
3155
|
-
}
|
|
3178
|
+
}
|
|
3156
3179
|
|
|
3157
|
-
toJSON(message: SourceCodeInfo_Location): unknown {
|
|
3180
|
+
export function toJSON(message: SourceCodeInfo_Location): unknown {
|
|
3158
3181
|
const obj: any = {};
|
|
3159
3182
|
if (message.path) {
|
|
3160
3183
|
obj.path = message.path.map((e) => Math.round(e));
|
|
@@ -3174,13 +3197,15 @@ export const SourceCodeInfo_Location = {
|
|
|
3174
3197
|
obj.leadingDetachedComments = [];
|
|
3175
3198
|
}
|
|
3176
3199
|
return obj;
|
|
3177
|
-
}
|
|
3200
|
+
}
|
|
3178
3201
|
|
|
3179
|
-
create<I extends Exact<DeepPartial<SourceCodeInfo_Location>, I>>(base?: I): SourceCodeInfo_Location {
|
|
3202
|
+
export function create<I extends Exact<DeepPartial<SourceCodeInfo_Location>, I>>(base?: I): SourceCodeInfo_Location {
|
|
3180
3203
|
return SourceCodeInfo_Location.fromPartial(base ?? {});
|
|
3181
|
-
}
|
|
3204
|
+
}
|
|
3182
3205
|
|
|
3183
|
-
fromPartial<I extends Exact<DeepPartial<SourceCodeInfo_Location>, I>>(
|
|
3206
|
+
export function fromPartial<I extends Exact<DeepPartial<SourceCodeInfo_Location>, I>>(
|
|
3207
|
+
object: I,
|
|
3208
|
+
): SourceCodeInfo_Location {
|
|
3184
3209
|
const message = createBaseSourceCodeInfo_Location();
|
|
3185
3210
|
message.path = object.path?.map((e) => e) || [];
|
|
3186
3211
|
message.span = object.span?.map((e) => e) || [];
|
|
@@ -3188,22 +3213,22 @@ export const SourceCodeInfo_Location = {
|
|
|
3188
3213
|
message.trailingComments = object.trailingComments ?? "";
|
|
3189
3214
|
message.leadingDetachedComments = object.leadingDetachedComments?.map((e) => e) || [];
|
|
3190
3215
|
return message;
|
|
3191
|
-
}
|
|
3192
|
-
}
|
|
3216
|
+
}
|
|
3217
|
+
}
|
|
3193
3218
|
|
|
3194
3219
|
function createBaseGeneratedCodeInfo(): GeneratedCodeInfo {
|
|
3195
3220
|
return { annotation: [] };
|
|
3196
3221
|
}
|
|
3197
3222
|
|
|
3198
|
-
export
|
|
3199
|
-
encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3223
|
+
export namespace GeneratedCodeInfo {
|
|
3224
|
+
export function encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3200
3225
|
for (const v of message.annotation) {
|
|
3201
3226
|
GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
3202
3227
|
}
|
|
3203
3228
|
return writer;
|
|
3204
|
-
}
|
|
3229
|
+
}
|
|
3205
3230
|
|
|
3206
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo {
|
|
3231
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo {
|
|
3207
3232
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
3208
3233
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3209
3234
|
const message = createBaseGeneratedCodeInfo();
|
|
@@ -3211,30 +3236,30 @@ export const GeneratedCodeInfo = {
|
|
|
3211
3236
|
const tag = reader.uint32();
|
|
3212
3237
|
switch (tag >>> 3) {
|
|
3213
3238
|
case 1:
|
|
3214
|
-
if (tag
|
|
3239
|
+
if (tag !== 10) {
|
|
3215
3240
|
break;
|
|
3216
3241
|
}
|
|
3217
3242
|
|
|
3218
3243
|
message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32()));
|
|
3219
3244
|
continue;
|
|
3220
3245
|
}
|
|
3221
|
-
if ((tag & 7)
|
|
3246
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3222
3247
|
break;
|
|
3223
3248
|
}
|
|
3224
3249
|
reader.skipType(tag & 7);
|
|
3225
3250
|
}
|
|
3226
3251
|
return message;
|
|
3227
|
-
}
|
|
3252
|
+
}
|
|
3228
3253
|
|
|
3229
|
-
fromJSON(object: any): GeneratedCodeInfo {
|
|
3254
|
+
export function fromJSON(object: any): GeneratedCodeInfo {
|
|
3230
3255
|
return {
|
|
3231
3256
|
annotation: Array.isArray(object?.annotation)
|
|
3232
3257
|
? object.annotation.map((e: any) => GeneratedCodeInfo_Annotation.fromJSON(e))
|
|
3233
3258
|
: [],
|
|
3234
3259
|
};
|
|
3235
|
-
}
|
|
3260
|
+
}
|
|
3236
3261
|
|
|
3237
|
-
toJSON(message: GeneratedCodeInfo): unknown {
|
|
3262
|
+
export function toJSON(message: GeneratedCodeInfo): unknown {
|
|
3238
3263
|
const obj: any = {};
|
|
3239
3264
|
if (message.annotation) {
|
|
3240
3265
|
obj.annotation = message.annotation.map((e) => e ? GeneratedCodeInfo_Annotation.toJSON(e) : undefined);
|
|
@@ -3242,25 +3267,25 @@ export const GeneratedCodeInfo = {
|
|
|
3242
3267
|
obj.annotation = [];
|
|
3243
3268
|
}
|
|
3244
3269
|
return obj;
|
|
3245
|
-
}
|
|
3270
|
+
}
|
|
3246
3271
|
|
|
3247
|
-
create<I extends Exact<DeepPartial<GeneratedCodeInfo>, I>>(base?: I): GeneratedCodeInfo {
|
|
3272
|
+
export function create<I extends Exact<DeepPartial<GeneratedCodeInfo>, I>>(base?: I): GeneratedCodeInfo {
|
|
3248
3273
|
return GeneratedCodeInfo.fromPartial(base ?? {});
|
|
3249
|
-
}
|
|
3274
|
+
}
|
|
3250
3275
|
|
|
3251
|
-
fromPartial<I extends Exact<DeepPartial<GeneratedCodeInfo>, I>>(object: I): GeneratedCodeInfo {
|
|
3276
|
+
export function fromPartial<I extends Exact<DeepPartial<GeneratedCodeInfo>, I>>(object: I): GeneratedCodeInfo {
|
|
3252
3277
|
const message = createBaseGeneratedCodeInfo();
|
|
3253
3278
|
message.annotation = object.annotation?.map((e) => GeneratedCodeInfo_Annotation.fromPartial(e)) || [];
|
|
3254
3279
|
return message;
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3257
3282
|
|
|
3258
3283
|
function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation {
|
|
3259
3284
|
return { path: [], sourceFile: "", begin: 0, end: 0 };
|
|
3260
3285
|
}
|
|
3261
3286
|
|
|
3262
|
-
export
|
|
3263
|
-
encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3287
|
+
export namespace GeneratedCodeInfo_Annotation {
|
|
3288
|
+
export function encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3264
3289
|
writer.uint32(10).fork();
|
|
3265
3290
|
for (const v of message.path) {
|
|
3266
3291
|
writer.int32(v);
|
|
@@ -3276,9 +3301,9 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3276
3301
|
writer.uint32(32).int32(message.end);
|
|
3277
3302
|
}
|
|
3278
3303
|
return writer;
|
|
3279
|
-
}
|
|
3304
|
+
}
|
|
3280
3305
|
|
|
3281
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation {
|
|
3306
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation {
|
|
3282
3307
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
3283
3308
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3284
3309
|
const message = createBaseGeneratedCodeInfo_Annotation();
|
|
@@ -3286,12 +3311,13 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3286
3311
|
const tag = reader.uint32();
|
|
3287
3312
|
switch (tag >>> 3) {
|
|
3288
3313
|
case 1:
|
|
3289
|
-
if (tag
|
|
3314
|
+
if (tag === 8) {
|
|
3290
3315
|
message.path.push(reader.int32());
|
|
3316
|
+
|
|
3291
3317
|
continue;
|
|
3292
3318
|
}
|
|
3293
3319
|
|
|
3294
|
-
if (tag
|
|
3320
|
+
if (tag === 10) {
|
|
3295
3321
|
const end2 = reader.uint32() + reader.pos;
|
|
3296
3322
|
while (reader.pos < end2) {
|
|
3297
3323
|
message.path.push(reader.int32());
|
|
@@ -3302,45 +3328,45 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3302
3328
|
|
|
3303
3329
|
break;
|
|
3304
3330
|
case 2:
|
|
3305
|
-
if (tag
|
|
3331
|
+
if (tag !== 18) {
|
|
3306
3332
|
break;
|
|
3307
3333
|
}
|
|
3308
3334
|
|
|
3309
3335
|
message.sourceFile = reader.string();
|
|
3310
3336
|
continue;
|
|
3311
3337
|
case 3:
|
|
3312
|
-
if (tag
|
|
3338
|
+
if (tag !== 24) {
|
|
3313
3339
|
break;
|
|
3314
3340
|
}
|
|
3315
3341
|
|
|
3316
3342
|
message.begin = reader.int32();
|
|
3317
3343
|
continue;
|
|
3318
3344
|
case 4:
|
|
3319
|
-
if (tag
|
|
3345
|
+
if (tag !== 32) {
|
|
3320
3346
|
break;
|
|
3321
3347
|
}
|
|
3322
3348
|
|
|
3323
3349
|
message.end = reader.int32();
|
|
3324
3350
|
continue;
|
|
3325
3351
|
}
|
|
3326
|
-
if ((tag & 7)
|
|
3352
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3327
3353
|
break;
|
|
3328
3354
|
}
|
|
3329
3355
|
reader.skipType(tag & 7);
|
|
3330
3356
|
}
|
|
3331
3357
|
return message;
|
|
3332
|
-
}
|
|
3358
|
+
}
|
|
3333
3359
|
|
|
3334
|
-
fromJSON(object: any): GeneratedCodeInfo_Annotation {
|
|
3360
|
+
export function fromJSON(object: any): GeneratedCodeInfo_Annotation {
|
|
3335
3361
|
return {
|
|
3336
3362
|
path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [],
|
|
3337
3363
|
sourceFile: isSet(object.sourceFile) ? String(object.sourceFile) : "",
|
|
3338
3364
|
begin: isSet(object.begin) ? Number(object.begin) : 0,
|
|
3339
3365
|
end: isSet(object.end) ? Number(object.end) : 0,
|
|
3340
3366
|
};
|
|
3341
|
-
}
|
|
3367
|
+
}
|
|
3342
3368
|
|
|
3343
|
-
toJSON(message: GeneratedCodeInfo_Annotation): unknown {
|
|
3369
|
+
export function toJSON(message: GeneratedCodeInfo_Annotation): unknown {
|
|
3344
3370
|
const obj: any = {};
|
|
3345
3371
|
if (message.path) {
|
|
3346
3372
|
obj.path = message.path.map((e) => Math.round(e));
|
|
@@ -3351,26 +3377,30 @@ export const GeneratedCodeInfo_Annotation = {
|
|
|
3351
3377
|
message.begin !== undefined && (obj.begin = Math.round(message.begin));
|
|
3352
3378
|
message.end !== undefined && (obj.end = Math.round(message.end));
|
|
3353
3379
|
return obj;
|
|
3354
|
-
}
|
|
3380
|
+
}
|
|
3355
3381
|
|
|
3356
|
-
create<I extends Exact<DeepPartial<GeneratedCodeInfo_Annotation>, I>>(
|
|
3382
|
+
export function create<I extends Exact<DeepPartial<GeneratedCodeInfo_Annotation>, I>>(
|
|
3383
|
+
base?: I,
|
|
3384
|
+
): GeneratedCodeInfo_Annotation {
|
|
3357
3385
|
return GeneratedCodeInfo_Annotation.fromPartial(base ?? {});
|
|
3358
|
-
}
|
|
3386
|
+
}
|
|
3359
3387
|
|
|
3360
|
-
fromPartial<I extends Exact<DeepPartial<GeneratedCodeInfo_Annotation>, I>>(
|
|
3388
|
+
export function fromPartial<I extends Exact<DeepPartial<GeneratedCodeInfo_Annotation>, I>>(
|
|
3389
|
+
object: I,
|
|
3390
|
+
): GeneratedCodeInfo_Annotation {
|
|
3361
3391
|
const message = createBaseGeneratedCodeInfo_Annotation();
|
|
3362
3392
|
message.path = object.path?.map((e) => e) || [];
|
|
3363
3393
|
message.sourceFile = object.sourceFile ?? "";
|
|
3364
3394
|
message.begin = object.begin ?? 0;
|
|
3365
3395
|
message.end = object.end ?? 0;
|
|
3366
3396
|
return message;
|
|
3367
|
-
}
|
|
3368
|
-
}
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3369
3399
|
|
|
3370
|
-
declare
|
|
3371
|
-
declare
|
|
3372
|
-
declare
|
|
3373
|
-
|
|
3400
|
+
declare const self: any | undefined;
|
|
3401
|
+
declare const window: any | undefined;
|
|
3402
|
+
declare const global: any | undefined;
|
|
3403
|
+
const tsProtoGlobalThis: any = (() => {
|
|
3374
3404
|
if (typeof globalThis !== "undefined") {
|
|
3375
3405
|
return globalThis;
|
|
3376
3406
|
}
|