@nimiplatform/sdk 0.22.1 → 0.24.0-rc.10
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/CHANGELOG.md +218 -0
- package/README.md +30 -1
- package/dist/core/ai/capability-configuration.d.ts +35 -1
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +58 -3
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/ai/index.d.ts +1 -0
- package/dist/core/ai/index.d.ts.map +1 -1
- package/dist/core/ai/index.js +1 -0
- package/dist/core/ai/index.js.map +1 -1
- package/dist/core/ai/local-app-model.d.ts +3 -0
- package/dist/core/ai/local-app-model.d.ts.map +1 -1
- package/dist/core/ai/local-app-model.js +7 -7
- package/dist/core/ai/local-app-model.js.map +1 -1
- package/dist/core/ai/reasoning.d.ts +3 -1
- package/dist/core/ai/reasoning.d.ts.map +1 -1
- package/dist/core/ai/reasoning.js +2 -1
- package/dist/core/ai/reasoning.js.map +1 -1
- package/dist/core/app/desktop-open.d.ts +17 -4
- package/dist/core/app/desktop-open.d.ts.map +1 -1
- package/dist/core/app/desktop-open.js +46 -6
- package/dist/core/app/desktop-open.js.map +1 -1
- package/dist/core/app/index.d.ts +8 -2
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +3 -0
- package/dist/core/app/index.js.map +1 -1
- package/dist/core/app/local-app-agent-work-input.d.ts +1 -1
- package/dist/core/app/local-app-agent-work-input.d.ts.map +1 -1
- package/dist/core/app/local-app-agent-work-input.js +5 -2
- package/dist/core/app/local-app-agent-work-input.js.map +1 -1
- package/dist/core/app/local-app-character-discovery.d.ts +44 -0
- package/dist/core/app/local-app-character-discovery.d.ts.map +1 -0
- package/dist/core/app/local-app-character-discovery.js +82 -0
- package/dist/core/app/local-app-character-discovery.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-activity-view.js +4 -1
- package/dist/core/app/local-app-runtime-platform-activity-view.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-activity.d.ts +2 -2
- package/dist/core/app/local-app-runtime-platform-activity.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-activity.js +2 -0
- package/dist/core/app/local-app-runtime-platform-activity.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-work.js +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-work.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.d.ts +3 -3
- package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js +19 -7
- package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts +28 -2
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +112 -25
- package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-assets.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.js +5 -2
- package/dist/core/app/local-app-runtime-platform-assets.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-ai-realtime.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-ai-realtime.js +33 -4
- package/dist/core/app/local-app-runtime-platform-direct-ai-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.js +1 -0
- package/dist/core/app/local-app-runtime-platform-direct-realtime-shared.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-integration.d.ts +13 -0
- package/dist/core/app/local-app-runtime-platform-integration.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-integration.js +89 -15
- package/dist/core/app/local-app-runtime-platform-integration.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js +1 -1
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-realtime.d.ts +55 -10
- package/dist/core/app/local-app-runtime-platform-realtime.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-realtime.js +66 -23
- package/dist/core/app/local-app-runtime-platform-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-utopia.d.ts +208 -0
- package/dist/core/app/local-app-runtime-platform-utopia.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-utopia.js +629 -0
- package/dist/core/app/local-app-runtime-platform-utopia.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-world-creator.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-world-creator.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-world-creator.js +8 -6
- package/dist/core/app/local-app-runtime-platform-world-creator.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform.d.ts +7 -3
- package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform.js +23 -113
- package/dist/core/app/local-app-runtime-platform.js.map +1 -1
- package/dist/core/app/local-app-text-candidate.d.ts +3 -0
- package/dist/core/app/local-app-text-candidate.d.ts.map +1 -0
- package/dist/core/app/local-app-text-candidate.js +100 -0
- package/dist/core/app/local-app-text-candidate.js.map +1 -0
- package/dist/core/app/local-app-text.d.ts +6 -0
- package/dist/core/app/local-app-text.d.ts.map +1 -1
- package/dist/core/app/local-app-text.js +19 -4
- package/dist/core/app/local-app-text.js.map +1 -1
- package/dist/core/app/portable-client.d.ts +17 -0
- package/dist/core/app/portable-client.d.ts.map +1 -0
- package/dist/core/app/portable-client.js +2 -0
- package/dist/core/app/portable-client.js.map +1 -0
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts +2 -2
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts.map +1 -1
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js +11 -1
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js.map +1 -1
- package/dist/core/contracts/primitives.d.ts +8 -0
- package/dist/core/contracts/primitives.d.ts.map +1 -1
- package/dist/core/contracts/primitives.js.map +1 -1
- package/dist/core-client/index.d.ts +3 -1
- package/dist/core-client/index.d.ts.map +1 -1
- package/dist/core-client/index.js +13 -2
- package/dist/core-client/index.js.map +1 -1
- package/dist/core-generated/realm-client.d.ts.map +1 -1
- package/dist/core-generated/realm-client.js +166 -4
- package/dist/core-generated/realm-client.js.map +1 -1
- package/dist/core-generated/realm-typed-client.d.ts +712 -28
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +333 -6
- package/dist/core-generated/realm-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-client.js +112 -0
- package/dist/core-generated/runtime-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts +137 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js +314 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +154 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js +343 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_utopia.d.ts +985 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_utopia.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_utopia.js +2132 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_utopia.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +315 -3
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +569 -7
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai_realtime.d.ts +229 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai_realtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai_realtime.js +432 -7
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai_realtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +33 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +74 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.d.ts +31 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.js +62 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts +33 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js +76 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +151 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +281 -5
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +31 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +30 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts +298 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js +611 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts +146 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js +296 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +12 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +25 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realtime_control.d.ts +5 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realtime_control.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realtime_control.js +4 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/realtime_control.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/remote_access.d.ts +552 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/remote_access.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/remote_access.js +1097 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/remote_access.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts +4 -3
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js.map +1 -1
- package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-client.js +104 -0
- package/dist/core-generated/runtime-public-client.js.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.js +13 -0
- package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.d.ts +18 -3
- package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.js +18 -3
- package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.js +14 -0
- package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +37 -18
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-typed-client.js +159 -8
- package/dist/core-generated/runtime-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.d.ts +20 -4
- package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.js +20 -4
- package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
- package/dist/features/generation/runtime-image-generation.d.ts +8 -1
- package/dist/features/generation/runtime-image-generation.d.ts.map +1 -1
- package/dist/features/generation/runtime-image-generation.js +7 -0
- package/dist/features/generation/runtime-image-generation.js.map +1 -1
- package/dist/features/generation/runtime-scenarios.d.ts +8 -1
- package/dist/features/generation/runtime-scenarios.d.ts.map +1 -1
- package/dist/features/generation/runtime-scenarios.js +17 -1
- package/dist/features/generation/runtime-scenarios.js.map +1 -1
- package/dist/realm/account-settings.d.ts +2 -2
- package/dist/realm/account-settings.d.ts.map +1 -1
- package/dist/realm/auth.d.ts.map +1 -1
- package/dist/realm/auth.js +1 -0
- package/dist/realm/auth.js.map +1 -1
- package/dist/realm/index.d.ts +5 -4
- package/dist/realm/index.d.ts.map +1 -1
- package/dist/realm/index.js +7 -1
- package/dist/realm/index.js.map +1 -1
- package/dist/realm/media-delivery.d.ts.map +1 -1
- package/dist/realm/media-delivery.js +15 -7
- package/dist/realm/media-delivery.js.map +1 -1
- package/dist/realm/notifications.d.ts +2 -0
- package/dist/realm/notifications.d.ts.map +1 -1
- package/dist/realm/notifications.js +8 -3
- package/dist/realm/notifications.js.map +1 -1
- package/dist/realm/resource-upload.d.ts +13 -0
- package/dist/realm/resource-upload.d.ts.map +1 -1
- package/dist/realm/resource-upload.js +35 -21
- package/dist/realm/resource-upload.js.map +1 -1
- package/dist/realm/runtime-client.d.ts +57 -0
- package/dist/realm/runtime-client.d.ts.map +1 -0
- package/dist/realm/runtime-client.js +241 -0
- package/dist/realm/runtime-client.js.map +1 -0
- package/dist/realm/social-types.d.ts +1 -1
- package/dist/realm/social-types.d.ts.map +1 -1
- package/dist/realm/social.d.ts +17 -3
- package/dist/realm/social.d.ts.map +1 -1
- package/dist/realm/social.js +66 -114
- package/dist/realm/social.js.map +1 -1
- package/dist/runtime/config-projections.d.ts +25 -0
- package/dist/runtime/config-projections.d.ts.map +1 -1
- package/dist/runtime/config-projections.js +4 -0
- package/dist/runtime/config-projections.js.map +1 -1
- package/dist/runtime/connector-inventory.d.ts +14 -3
- package/dist/runtime/connector-inventory.d.ts.map +1 -1
- package/dist/runtime/connector-inventory.js +13 -0
- package/dist/runtime/connector-inventory.js.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.d.ts +2 -0
- package/dist/runtime/desktop-first-party-runtime.d.ts.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.js +12 -0
- package/dist/runtime/desktop-first-party-runtime.js.map +1 -1
- package/dist/runtime/electron-ipc.d.ts.map +1 -1
- package/dist/runtime/electron-ipc.js +61 -26
- package/dist/runtime/electron-ipc.js.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +275 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js +74 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/reason-messages.d.ts +5 -0
- package/dist/runtime/reason-messages.d.ts.map +1 -1
- package/dist/runtime/reason-messages.js +10 -0
- package/dist/runtime/reason-messages.js.map +1 -1
- package/dist/runtime/remote-app.d.ts +63 -0
- package/dist/runtime/remote-app.d.ts.map +1 -0
- package/dist/runtime/remote-app.js +184 -0
- package/dist/runtime/remote-app.js.map +1 -0
- package/dist/runtime/remote-data-channel.d.ts +25 -0
- package/dist/runtime/remote-data-channel.d.ts.map +1 -0
- package/dist/runtime/remote-data-channel.js +406 -0
- package/dist/runtime/remote-data-channel.js.map +1 -0
- package/dist/runtime/remote-realm.d.ts +9 -0
- package/dist/runtime/remote-realm.d.ts.map +1 -0
- package/dist/runtime/remote-realm.js +82 -0
- package/dist/runtime/remote-realm.js.map +1 -0
- package/dist/runtime/remote.d.ts +114 -0
- package/dist/runtime/remote.d.ts.map +1 -0
- package/dist/runtime/remote.js +177 -0
- package/dist/runtime/remote.js.map +1 -0
- package/dist/runtime/runtime-agent-consume-streams.d.ts.map +1 -1
- package/dist/runtime/runtime-agent-consume-streams.js +37 -15
- package/dist/runtime/runtime-agent-consume-streams.js.map +1 -1
- package/dist/runtime/runtime-agent-context-projections.d.ts +1 -1
- package/dist/runtime/runtime-agent-context-projections.d.ts.map +1 -1
- package/dist/runtime/runtime-agent-context-projections.js +5 -1
- package/dist/runtime/runtime-agent-context-projections.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-types.d.ts +4 -2
- package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts +58 -4
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +60 -0
- package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-types.d.ts +10 -8
- package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +8 -8
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts +8 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +7 -0
- package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +1 -0
- package/dist/types/errors.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/reason-code.d.ts +5 -0
- package/dist/types/reason-code.d.ts.map +1 -1
- package/dist/types/reason-code.js +5 -0
- package/dist/types/reason-code.js.map +1 -1
- package/package.json +12 -2
|
@@ -0,0 +1,2132 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter long_type_string,ts_nocheck,client_none
|
|
2
|
+
// @generated from protobuf file "runtime/v1/agent_utopia.proto" (package "nimi.runtime.v1", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
6
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
7
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
8
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
9
|
+
import { Timestamp } from "../../google/protobuf/timestamp.js";
|
|
10
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
11
|
+
class GetLocalAppAgentUtopiaSnapshotRequest$Type extends MessageType {
|
|
12
|
+
constructor() {
|
|
13
|
+
super("nimi.runtime.v1.GetLocalAppAgentUtopiaSnapshotRequest", []);
|
|
14
|
+
}
|
|
15
|
+
create(value) {
|
|
16
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
17
|
+
if (value !== undefined)
|
|
18
|
+
reflectionMergePartial(this, message, value);
|
|
19
|
+
return message;
|
|
20
|
+
}
|
|
21
|
+
internalBinaryRead(reader, length, options, target) {
|
|
22
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
23
|
+
while (reader.pos < end) {
|
|
24
|
+
let [fieldNo, wireType] = reader.tag();
|
|
25
|
+
switch (fieldNo) {
|
|
26
|
+
default:
|
|
27
|
+
let u = options.readUnknownField;
|
|
28
|
+
if (u === "throw")
|
|
29
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
30
|
+
let d = reader.skip(wireType);
|
|
31
|
+
if (u !== false)
|
|
32
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
}
|
|
37
|
+
internalBinaryWrite(message, writer, options) {
|
|
38
|
+
let u = options.writeUnknownFields;
|
|
39
|
+
if (u !== false)
|
|
40
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
41
|
+
return writer;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentUtopiaSnapshotRequest
|
|
46
|
+
*/
|
|
47
|
+
export const GetLocalAppAgentUtopiaSnapshotRequest = new GetLocalAppAgentUtopiaSnapshotRequest$Type();
|
|
48
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
49
|
+
class LocalAppUtopiaParameterCondition$Type extends MessageType {
|
|
50
|
+
constructor() {
|
|
51
|
+
super("nimi.runtime.v1.LocalAppUtopiaParameterCondition", [
|
|
52
|
+
{ no: 1, name: "parameter_key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
53
|
+
{ no: 2, name: "allowed_values", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
54
|
+
]);
|
|
55
|
+
}
|
|
56
|
+
create(value) {
|
|
57
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
58
|
+
message.parameterKey = "";
|
|
59
|
+
message.allowedValues = [];
|
|
60
|
+
if (value !== undefined)
|
|
61
|
+
reflectionMergePartial(this, message, value);
|
|
62
|
+
return message;
|
|
63
|
+
}
|
|
64
|
+
internalBinaryRead(reader, length, options, target) {
|
|
65
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
let [fieldNo, wireType] = reader.tag();
|
|
68
|
+
switch (fieldNo) {
|
|
69
|
+
case /* string parameter_key */ 1:
|
|
70
|
+
message.parameterKey = reader.string();
|
|
71
|
+
break;
|
|
72
|
+
case /* repeated string allowed_values */ 2:
|
|
73
|
+
message.allowedValues.push(reader.string());
|
|
74
|
+
break;
|
|
75
|
+
default:
|
|
76
|
+
let u = options.readUnknownField;
|
|
77
|
+
if (u === "throw")
|
|
78
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
79
|
+
let d = reader.skip(wireType);
|
|
80
|
+
if (u !== false)
|
|
81
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return message;
|
|
85
|
+
}
|
|
86
|
+
internalBinaryWrite(message, writer, options) {
|
|
87
|
+
/* string parameter_key = 1; */
|
|
88
|
+
if (message.parameterKey !== "")
|
|
89
|
+
writer.tag(1, WireType.LengthDelimited).string(message.parameterKey);
|
|
90
|
+
/* repeated string allowed_values = 2; */
|
|
91
|
+
for (let i = 0; i < message.allowedValues.length; i++)
|
|
92
|
+
writer.tag(2, WireType.LengthDelimited).string(message.allowedValues[i]);
|
|
93
|
+
let u = options.writeUnknownFields;
|
|
94
|
+
if (u !== false)
|
|
95
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
96
|
+
return writer;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaParameterCondition
|
|
101
|
+
*/
|
|
102
|
+
export const LocalAppUtopiaParameterCondition = new LocalAppUtopiaParameterCondition$Type();
|
|
103
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
104
|
+
class LocalAppUtopiaParameterOption$Type extends MessageType {
|
|
105
|
+
constructor() {
|
|
106
|
+
super("nimi.runtime.v1.LocalAppUtopiaParameterOption", [
|
|
107
|
+
{ no: 1, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
108
|
+
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
109
|
+
{ no: 3, name: "summary", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
110
|
+
]);
|
|
111
|
+
}
|
|
112
|
+
create(value) {
|
|
113
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
114
|
+
message.value = "";
|
|
115
|
+
message.label = "";
|
|
116
|
+
message.summary = "";
|
|
117
|
+
if (value !== undefined)
|
|
118
|
+
reflectionMergePartial(this, message, value);
|
|
119
|
+
return message;
|
|
120
|
+
}
|
|
121
|
+
internalBinaryRead(reader, length, options, target) {
|
|
122
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
123
|
+
while (reader.pos < end) {
|
|
124
|
+
let [fieldNo, wireType] = reader.tag();
|
|
125
|
+
switch (fieldNo) {
|
|
126
|
+
case /* string value */ 1:
|
|
127
|
+
message.value = reader.string();
|
|
128
|
+
break;
|
|
129
|
+
case /* string label */ 2:
|
|
130
|
+
message.label = reader.string();
|
|
131
|
+
break;
|
|
132
|
+
case /* string summary */ 3:
|
|
133
|
+
message.summary = reader.string();
|
|
134
|
+
break;
|
|
135
|
+
default:
|
|
136
|
+
let u = options.readUnknownField;
|
|
137
|
+
if (u === "throw")
|
|
138
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
139
|
+
let d = reader.skip(wireType);
|
|
140
|
+
if (u !== false)
|
|
141
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
return message;
|
|
145
|
+
}
|
|
146
|
+
internalBinaryWrite(message, writer, options) {
|
|
147
|
+
/* string value = 1; */
|
|
148
|
+
if (message.value !== "")
|
|
149
|
+
writer.tag(1, WireType.LengthDelimited).string(message.value);
|
|
150
|
+
/* string label = 2; */
|
|
151
|
+
if (message.label !== "")
|
|
152
|
+
writer.tag(2, WireType.LengthDelimited).string(message.label);
|
|
153
|
+
/* string summary = 3; */
|
|
154
|
+
if (message.summary !== "")
|
|
155
|
+
writer.tag(3, WireType.LengthDelimited).string(message.summary);
|
|
156
|
+
let u = options.writeUnknownFields;
|
|
157
|
+
if (u !== false)
|
|
158
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
159
|
+
return writer;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaParameterOption
|
|
164
|
+
*/
|
|
165
|
+
export const LocalAppUtopiaParameterOption = new LocalAppUtopiaParameterOption$Type();
|
|
166
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
167
|
+
class LocalAppUtopiaParameterSpec$Type extends MessageType {
|
|
168
|
+
constructor() {
|
|
169
|
+
super("nimi.runtime.v1.LocalAppUtopiaParameterSpec", [
|
|
170
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
171
|
+
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
172
|
+
{ no: 3, name: "default_value", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
173
|
+
{ no: 4, name: "options", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterOption }
|
|
174
|
+
]);
|
|
175
|
+
}
|
|
176
|
+
create(value) {
|
|
177
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
178
|
+
message.key = "";
|
|
179
|
+
message.label = "";
|
|
180
|
+
message.defaultValue = "";
|
|
181
|
+
message.options = [];
|
|
182
|
+
if (value !== undefined)
|
|
183
|
+
reflectionMergePartial(this, message, value);
|
|
184
|
+
return message;
|
|
185
|
+
}
|
|
186
|
+
internalBinaryRead(reader, length, options, target) {
|
|
187
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
188
|
+
while (reader.pos < end) {
|
|
189
|
+
let [fieldNo, wireType] = reader.tag();
|
|
190
|
+
switch (fieldNo) {
|
|
191
|
+
case /* string key */ 1:
|
|
192
|
+
message.key = reader.string();
|
|
193
|
+
break;
|
|
194
|
+
case /* string label */ 2:
|
|
195
|
+
message.label = reader.string();
|
|
196
|
+
break;
|
|
197
|
+
case /* string default_value */ 3:
|
|
198
|
+
message.defaultValue = reader.string();
|
|
199
|
+
break;
|
|
200
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterOption options */ 4:
|
|
201
|
+
message.options.push(LocalAppUtopiaParameterOption.internalBinaryRead(reader, reader.uint32(), options));
|
|
202
|
+
break;
|
|
203
|
+
default:
|
|
204
|
+
let u = options.readUnknownField;
|
|
205
|
+
if (u === "throw")
|
|
206
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
207
|
+
let d = reader.skip(wireType);
|
|
208
|
+
if (u !== false)
|
|
209
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
return message;
|
|
213
|
+
}
|
|
214
|
+
internalBinaryWrite(message, writer, options) {
|
|
215
|
+
/* string key = 1; */
|
|
216
|
+
if (message.key !== "")
|
|
217
|
+
writer.tag(1, WireType.LengthDelimited).string(message.key);
|
|
218
|
+
/* string label = 2; */
|
|
219
|
+
if (message.label !== "")
|
|
220
|
+
writer.tag(2, WireType.LengthDelimited).string(message.label);
|
|
221
|
+
/* string default_value = 3; */
|
|
222
|
+
if (message.defaultValue !== "")
|
|
223
|
+
writer.tag(3, WireType.LengthDelimited).string(message.defaultValue);
|
|
224
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterOption options = 4; */
|
|
225
|
+
for (let i = 0; i < message.options.length; i++)
|
|
226
|
+
LocalAppUtopiaParameterOption.internalBinaryWrite(message.options[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
227
|
+
let u = options.writeUnknownFields;
|
|
228
|
+
if (u !== false)
|
|
229
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
230
|
+
return writer;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaParameterSpec
|
|
235
|
+
*/
|
|
236
|
+
export const LocalAppUtopiaParameterSpec = new LocalAppUtopiaParameterSpec$Type();
|
|
237
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
238
|
+
class LocalAppUtopiaPersonalQuarterSpec$Type extends MessageType {
|
|
239
|
+
constructor() {
|
|
240
|
+
super("nimi.runtime.v1.LocalAppUtopiaPersonalQuarterSpec", [
|
|
241
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
242
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
243
|
+
{ no: 3, name: "sensory_traits", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
244
|
+
]);
|
|
245
|
+
}
|
|
246
|
+
create(value) {
|
|
247
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
248
|
+
message.id = "";
|
|
249
|
+
message.name = "";
|
|
250
|
+
message.sensoryTraits = "";
|
|
251
|
+
if (value !== undefined)
|
|
252
|
+
reflectionMergePartial(this, message, value);
|
|
253
|
+
return message;
|
|
254
|
+
}
|
|
255
|
+
internalBinaryRead(reader, length, options, target) {
|
|
256
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
257
|
+
while (reader.pos < end) {
|
|
258
|
+
let [fieldNo, wireType] = reader.tag();
|
|
259
|
+
switch (fieldNo) {
|
|
260
|
+
case /* string id */ 1:
|
|
261
|
+
message.id = reader.string();
|
|
262
|
+
break;
|
|
263
|
+
case /* string name */ 2:
|
|
264
|
+
message.name = reader.string();
|
|
265
|
+
break;
|
|
266
|
+
case /* string sensory_traits */ 3:
|
|
267
|
+
message.sensoryTraits = reader.string();
|
|
268
|
+
break;
|
|
269
|
+
default:
|
|
270
|
+
let u = options.readUnknownField;
|
|
271
|
+
if (u === "throw")
|
|
272
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
273
|
+
let d = reader.skip(wireType);
|
|
274
|
+
if (u !== false)
|
|
275
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return message;
|
|
279
|
+
}
|
|
280
|
+
internalBinaryWrite(message, writer, options) {
|
|
281
|
+
/* string id = 1; */
|
|
282
|
+
if (message.id !== "")
|
|
283
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
284
|
+
/* string name = 2; */
|
|
285
|
+
if (message.name !== "")
|
|
286
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
287
|
+
/* string sensory_traits = 3; */
|
|
288
|
+
if (message.sensoryTraits !== "")
|
|
289
|
+
writer.tag(3, WireType.LengthDelimited).string(message.sensoryTraits);
|
|
290
|
+
let u = options.writeUnknownFields;
|
|
291
|
+
if (u !== false)
|
|
292
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
293
|
+
return writer;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaPersonalQuarterSpec
|
|
298
|
+
*/
|
|
299
|
+
export const LocalAppUtopiaPersonalQuarterSpec = new LocalAppUtopiaPersonalQuarterSpec$Type();
|
|
300
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
301
|
+
class LocalAppUtopiaPlaceSpec$Type extends MessageType {
|
|
302
|
+
constructor() {
|
|
303
|
+
super("nimi.runtime.v1.LocalAppUtopiaPlaceSpec", [
|
|
304
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
305
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
306
|
+
{ no: 3, name: "archetype", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
307
|
+
{ no: 4, name: "indoor", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
308
|
+
{ no: 5, name: "sensory_traits", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
309
|
+
{ no: 6, name: "open_when", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterCondition }
|
|
310
|
+
]);
|
|
311
|
+
}
|
|
312
|
+
create(value) {
|
|
313
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
314
|
+
message.id = "";
|
|
315
|
+
message.name = "";
|
|
316
|
+
message.archetype = "";
|
|
317
|
+
message.indoor = false;
|
|
318
|
+
message.sensoryTraits = "";
|
|
319
|
+
message.openWhen = [];
|
|
320
|
+
if (value !== undefined)
|
|
321
|
+
reflectionMergePartial(this, message, value);
|
|
322
|
+
return message;
|
|
323
|
+
}
|
|
324
|
+
internalBinaryRead(reader, length, options, target) {
|
|
325
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
326
|
+
while (reader.pos < end) {
|
|
327
|
+
let [fieldNo, wireType] = reader.tag();
|
|
328
|
+
switch (fieldNo) {
|
|
329
|
+
case /* string id */ 1:
|
|
330
|
+
message.id = reader.string();
|
|
331
|
+
break;
|
|
332
|
+
case /* string name */ 2:
|
|
333
|
+
message.name = reader.string();
|
|
334
|
+
break;
|
|
335
|
+
case /* string archetype */ 3:
|
|
336
|
+
message.archetype = reader.string();
|
|
337
|
+
break;
|
|
338
|
+
case /* bool indoor */ 4:
|
|
339
|
+
message.indoor = reader.bool();
|
|
340
|
+
break;
|
|
341
|
+
case /* string sensory_traits */ 5:
|
|
342
|
+
message.sensoryTraits = reader.string();
|
|
343
|
+
break;
|
|
344
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterCondition open_when */ 6:
|
|
345
|
+
message.openWhen.push(LocalAppUtopiaParameterCondition.internalBinaryRead(reader, reader.uint32(), options));
|
|
346
|
+
break;
|
|
347
|
+
default:
|
|
348
|
+
let u = options.readUnknownField;
|
|
349
|
+
if (u === "throw")
|
|
350
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
351
|
+
let d = reader.skip(wireType);
|
|
352
|
+
if (u !== false)
|
|
353
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return message;
|
|
357
|
+
}
|
|
358
|
+
internalBinaryWrite(message, writer, options) {
|
|
359
|
+
/* string id = 1; */
|
|
360
|
+
if (message.id !== "")
|
|
361
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
362
|
+
/* string name = 2; */
|
|
363
|
+
if (message.name !== "")
|
|
364
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
365
|
+
/* string archetype = 3; */
|
|
366
|
+
if (message.archetype !== "")
|
|
367
|
+
writer.tag(3, WireType.LengthDelimited).string(message.archetype);
|
|
368
|
+
/* bool indoor = 4; */
|
|
369
|
+
if (message.indoor !== false)
|
|
370
|
+
writer.tag(4, WireType.Varint).bool(message.indoor);
|
|
371
|
+
/* string sensory_traits = 5; */
|
|
372
|
+
if (message.sensoryTraits !== "")
|
|
373
|
+
writer.tag(5, WireType.LengthDelimited).string(message.sensoryTraits);
|
|
374
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterCondition open_when = 6; */
|
|
375
|
+
for (let i = 0; i < message.openWhen.length; i++)
|
|
376
|
+
LocalAppUtopiaParameterCondition.internalBinaryWrite(message.openWhen[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
377
|
+
let u = options.writeUnknownFields;
|
|
378
|
+
if (u !== false)
|
|
379
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
380
|
+
return writer;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaPlaceSpec
|
|
385
|
+
*/
|
|
386
|
+
export const LocalAppUtopiaPlaceSpec = new LocalAppUtopiaPlaceSpec$Type();
|
|
387
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
388
|
+
class LocalAppUtopiaActivitySpec$Type extends MessageType {
|
|
389
|
+
constructor() {
|
|
390
|
+
super("nimi.runtime.v1.LocalAppUtopiaActivitySpec", [
|
|
391
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
392
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
393
|
+
{ no: 3, name: "place_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
394
|
+
{ no: 4, name: "social_mode", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
395
|
+
{ no: 5, name: "allowed_dayparts", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
396
|
+
{ no: 6, name: "when", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterCondition },
|
|
397
|
+
{ no: 7, name: "min_duration_minutes", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
398
|
+
{ no: 8, name: "max_duration_minutes", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
399
|
+
{ no: 9, name: "scene_hint", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
400
|
+
]);
|
|
401
|
+
}
|
|
402
|
+
create(value) {
|
|
403
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
404
|
+
message.id = "";
|
|
405
|
+
message.name = "";
|
|
406
|
+
message.placeIds = [];
|
|
407
|
+
message.socialMode = "";
|
|
408
|
+
message.allowedDayparts = [];
|
|
409
|
+
message.when = [];
|
|
410
|
+
message.minDurationMinutes = 0;
|
|
411
|
+
message.maxDurationMinutes = 0;
|
|
412
|
+
message.sceneHint = "";
|
|
413
|
+
if (value !== undefined)
|
|
414
|
+
reflectionMergePartial(this, message, value);
|
|
415
|
+
return message;
|
|
416
|
+
}
|
|
417
|
+
internalBinaryRead(reader, length, options, target) {
|
|
418
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
419
|
+
while (reader.pos < end) {
|
|
420
|
+
let [fieldNo, wireType] = reader.tag();
|
|
421
|
+
switch (fieldNo) {
|
|
422
|
+
case /* string id */ 1:
|
|
423
|
+
message.id = reader.string();
|
|
424
|
+
break;
|
|
425
|
+
case /* string name */ 2:
|
|
426
|
+
message.name = reader.string();
|
|
427
|
+
break;
|
|
428
|
+
case /* repeated string place_ids */ 3:
|
|
429
|
+
message.placeIds.push(reader.string());
|
|
430
|
+
break;
|
|
431
|
+
case /* string social_mode */ 4:
|
|
432
|
+
message.socialMode = reader.string();
|
|
433
|
+
break;
|
|
434
|
+
case /* repeated string allowed_dayparts */ 5:
|
|
435
|
+
message.allowedDayparts.push(reader.string());
|
|
436
|
+
break;
|
|
437
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterCondition when */ 6:
|
|
438
|
+
message.when.push(LocalAppUtopiaParameterCondition.internalBinaryRead(reader, reader.uint32(), options));
|
|
439
|
+
break;
|
|
440
|
+
case /* int32 min_duration_minutes */ 7:
|
|
441
|
+
message.minDurationMinutes = reader.int32();
|
|
442
|
+
break;
|
|
443
|
+
case /* int32 max_duration_minutes */ 8:
|
|
444
|
+
message.maxDurationMinutes = reader.int32();
|
|
445
|
+
break;
|
|
446
|
+
case /* string scene_hint */ 9:
|
|
447
|
+
message.sceneHint = reader.string();
|
|
448
|
+
break;
|
|
449
|
+
default:
|
|
450
|
+
let u = options.readUnknownField;
|
|
451
|
+
if (u === "throw")
|
|
452
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
453
|
+
let d = reader.skip(wireType);
|
|
454
|
+
if (u !== false)
|
|
455
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
return message;
|
|
459
|
+
}
|
|
460
|
+
internalBinaryWrite(message, writer, options) {
|
|
461
|
+
/* string id = 1; */
|
|
462
|
+
if (message.id !== "")
|
|
463
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
464
|
+
/* string name = 2; */
|
|
465
|
+
if (message.name !== "")
|
|
466
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
|
467
|
+
/* repeated string place_ids = 3; */
|
|
468
|
+
for (let i = 0; i < message.placeIds.length; i++)
|
|
469
|
+
writer.tag(3, WireType.LengthDelimited).string(message.placeIds[i]);
|
|
470
|
+
/* string social_mode = 4; */
|
|
471
|
+
if (message.socialMode !== "")
|
|
472
|
+
writer.tag(4, WireType.LengthDelimited).string(message.socialMode);
|
|
473
|
+
/* repeated string allowed_dayparts = 5; */
|
|
474
|
+
for (let i = 0; i < message.allowedDayparts.length; i++)
|
|
475
|
+
writer.tag(5, WireType.LengthDelimited).string(message.allowedDayparts[i]);
|
|
476
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterCondition when = 6; */
|
|
477
|
+
for (let i = 0; i < message.when.length; i++)
|
|
478
|
+
LocalAppUtopiaParameterCondition.internalBinaryWrite(message.when[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
479
|
+
/* int32 min_duration_minutes = 7; */
|
|
480
|
+
if (message.minDurationMinutes !== 0)
|
|
481
|
+
writer.tag(7, WireType.Varint).int32(message.minDurationMinutes);
|
|
482
|
+
/* int32 max_duration_minutes = 8; */
|
|
483
|
+
if (message.maxDurationMinutes !== 0)
|
|
484
|
+
writer.tag(8, WireType.Varint).int32(message.maxDurationMinutes);
|
|
485
|
+
/* string scene_hint = 9; */
|
|
486
|
+
if (message.sceneHint !== "")
|
|
487
|
+
writer.tag(9, WireType.LengthDelimited).string(message.sceneHint);
|
|
488
|
+
let u = options.writeUnknownFields;
|
|
489
|
+
if (u !== false)
|
|
490
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
491
|
+
return writer;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaActivitySpec
|
|
496
|
+
*/
|
|
497
|
+
export const LocalAppUtopiaActivitySpec = new LocalAppUtopiaActivitySpec$Type();
|
|
498
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
499
|
+
class LocalAppUtopiaEventPresetSpec$Type extends MessageType {
|
|
500
|
+
constructor() {
|
|
501
|
+
super("nimi.runtime.v1.LocalAppUtopiaEventPresetSpec", [
|
|
502
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
503
|
+
{ no: 2, name: "scenery_kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
504
|
+
{ no: 3, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
505
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
506
|
+
{ no: 5, name: "place_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
507
|
+
{ no: 6, name: "default_duration_minutes", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
508
|
+
]);
|
|
509
|
+
}
|
|
510
|
+
create(value) {
|
|
511
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
512
|
+
message.id = "";
|
|
513
|
+
message.sceneryKind = "";
|
|
514
|
+
message.label = "";
|
|
515
|
+
message.description = "";
|
|
516
|
+
message.defaultDurationMinutes = 0;
|
|
517
|
+
if (value !== undefined)
|
|
518
|
+
reflectionMergePartial(this, message, value);
|
|
519
|
+
return message;
|
|
520
|
+
}
|
|
521
|
+
internalBinaryRead(reader, length, options, target) {
|
|
522
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
523
|
+
while (reader.pos < end) {
|
|
524
|
+
let [fieldNo, wireType] = reader.tag();
|
|
525
|
+
switch (fieldNo) {
|
|
526
|
+
case /* string id */ 1:
|
|
527
|
+
message.id = reader.string();
|
|
528
|
+
break;
|
|
529
|
+
case /* string scenery_kind */ 2:
|
|
530
|
+
message.sceneryKind = reader.string();
|
|
531
|
+
break;
|
|
532
|
+
case /* string label */ 3:
|
|
533
|
+
message.label = reader.string();
|
|
534
|
+
break;
|
|
535
|
+
case /* string description */ 4:
|
|
536
|
+
message.description = reader.string();
|
|
537
|
+
break;
|
|
538
|
+
case /* optional string place_id */ 5:
|
|
539
|
+
message.placeId = reader.string();
|
|
540
|
+
break;
|
|
541
|
+
case /* int32 default_duration_minutes */ 6:
|
|
542
|
+
message.defaultDurationMinutes = reader.int32();
|
|
543
|
+
break;
|
|
544
|
+
default:
|
|
545
|
+
let u = options.readUnknownField;
|
|
546
|
+
if (u === "throw")
|
|
547
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
548
|
+
let d = reader.skip(wireType);
|
|
549
|
+
if (u !== false)
|
|
550
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
return message;
|
|
554
|
+
}
|
|
555
|
+
internalBinaryWrite(message, writer, options) {
|
|
556
|
+
/* string id = 1; */
|
|
557
|
+
if (message.id !== "")
|
|
558
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
|
559
|
+
/* string scenery_kind = 2; */
|
|
560
|
+
if (message.sceneryKind !== "")
|
|
561
|
+
writer.tag(2, WireType.LengthDelimited).string(message.sceneryKind);
|
|
562
|
+
/* string label = 3; */
|
|
563
|
+
if (message.label !== "")
|
|
564
|
+
writer.tag(3, WireType.LengthDelimited).string(message.label);
|
|
565
|
+
/* string description = 4; */
|
|
566
|
+
if (message.description !== "")
|
|
567
|
+
writer.tag(4, WireType.LengthDelimited).string(message.description);
|
|
568
|
+
/* optional string place_id = 5; */
|
|
569
|
+
if (message.placeId !== undefined)
|
|
570
|
+
writer.tag(5, WireType.LengthDelimited).string(message.placeId);
|
|
571
|
+
/* int32 default_duration_minutes = 6; */
|
|
572
|
+
if (message.defaultDurationMinutes !== 0)
|
|
573
|
+
writer.tag(6, WireType.Varint).int32(message.defaultDurationMinutes);
|
|
574
|
+
let u = options.writeUnknownFields;
|
|
575
|
+
if (u !== false)
|
|
576
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
577
|
+
return writer;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaEventPresetSpec
|
|
582
|
+
*/
|
|
583
|
+
export const LocalAppUtopiaEventPresetSpec = new LocalAppUtopiaEventPresetSpec$Type();
|
|
584
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
585
|
+
class LocalAppUtopiaHabitatSpec$Type extends MessageType {
|
|
586
|
+
constructor() {
|
|
587
|
+
super("nimi.runtime.v1.LocalAppUtopiaHabitatSpec", [
|
|
588
|
+
{ no: 1, name: "schema_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
589
|
+
{ no: 2, name: "habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
590
|
+
{ no: 3, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
591
|
+
{ no: 4, name: "theme_tag", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
592
|
+
{ no: 5, name: "backdrop_summary", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
593
|
+
{ no: 6, name: "personal_quarter", kind: "message", T: () => LocalAppUtopiaPersonalQuarterSpec },
|
|
594
|
+
{ no: 7, name: "places", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaPlaceSpec },
|
|
595
|
+
{ no: 8, name: "activities", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaActivitySpec },
|
|
596
|
+
{ no: 9, name: "parameters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterSpec },
|
|
597
|
+
{ no: 10, name: "event_presets", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaEventPresetSpec }
|
|
598
|
+
]);
|
|
599
|
+
}
|
|
600
|
+
create(value) {
|
|
601
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
602
|
+
message.schemaVersion = "";
|
|
603
|
+
message.habitatId = "";
|
|
604
|
+
message.title = "";
|
|
605
|
+
message.themeTag = "";
|
|
606
|
+
message.backdropSummary = "";
|
|
607
|
+
message.places = [];
|
|
608
|
+
message.activities = [];
|
|
609
|
+
message.parameters = [];
|
|
610
|
+
message.eventPresets = [];
|
|
611
|
+
if (value !== undefined)
|
|
612
|
+
reflectionMergePartial(this, message, value);
|
|
613
|
+
return message;
|
|
614
|
+
}
|
|
615
|
+
internalBinaryRead(reader, length, options, target) {
|
|
616
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
617
|
+
while (reader.pos < end) {
|
|
618
|
+
let [fieldNo, wireType] = reader.tag();
|
|
619
|
+
switch (fieldNo) {
|
|
620
|
+
case /* string schema_version */ 1:
|
|
621
|
+
message.schemaVersion = reader.string();
|
|
622
|
+
break;
|
|
623
|
+
case /* string habitat_id */ 2:
|
|
624
|
+
message.habitatId = reader.string();
|
|
625
|
+
break;
|
|
626
|
+
case /* string title */ 3:
|
|
627
|
+
message.title = reader.string();
|
|
628
|
+
break;
|
|
629
|
+
case /* string theme_tag */ 4:
|
|
630
|
+
message.themeTag = reader.string();
|
|
631
|
+
break;
|
|
632
|
+
case /* string backdrop_summary */ 5:
|
|
633
|
+
message.backdropSummary = reader.string();
|
|
634
|
+
break;
|
|
635
|
+
case /* nimi.runtime.v1.LocalAppUtopiaPersonalQuarterSpec personal_quarter */ 6:
|
|
636
|
+
message.personalQuarter = LocalAppUtopiaPersonalQuarterSpec.internalBinaryRead(reader, reader.uint32(), options, message.personalQuarter);
|
|
637
|
+
break;
|
|
638
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaPlaceSpec places */ 7:
|
|
639
|
+
message.places.push(LocalAppUtopiaPlaceSpec.internalBinaryRead(reader, reader.uint32(), options));
|
|
640
|
+
break;
|
|
641
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaActivitySpec activities */ 8:
|
|
642
|
+
message.activities.push(LocalAppUtopiaActivitySpec.internalBinaryRead(reader, reader.uint32(), options));
|
|
643
|
+
break;
|
|
644
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterSpec parameters */ 9:
|
|
645
|
+
message.parameters.push(LocalAppUtopiaParameterSpec.internalBinaryRead(reader, reader.uint32(), options));
|
|
646
|
+
break;
|
|
647
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaEventPresetSpec event_presets */ 10:
|
|
648
|
+
message.eventPresets.push(LocalAppUtopiaEventPresetSpec.internalBinaryRead(reader, reader.uint32(), options));
|
|
649
|
+
break;
|
|
650
|
+
default:
|
|
651
|
+
let u = options.readUnknownField;
|
|
652
|
+
if (u === "throw")
|
|
653
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
654
|
+
let d = reader.skip(wireType);
|
|
655
|
+
if (u !== false)
|
|
656
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
return message;
|
|
660
|
+
}
|
|
661
|
+
internalBinaryWrite(message, writer, options) {
|
|
662
|
+
/* string schema_version = 1; */
|
|
663
|
+
if (message.schemaVersion !== "")
|
|
664
|
+
writer.tag(1, WireType.LengthDelimited).string(message.schemaVersion);
|
|
665
|
+
/* string habitat_id = 2; */
|
|
666
|
+
if (message.habitatId !== "")
|
|
667
|
+
writer.tag(2, WireType.LengthDelimited).string(message.habitatId);
|
|
668
|
+
/* string title = 3; */
|
|
669
|
+
if (message.title !== "")
|
|
670
|
+
writer.tag(3, WireType.LengthDelimited).string(message.title);
|
|
671
|
+
/* string theme_tag = 4; */
|
|
672
|
+
if (message.themeTag !== "")
|
|
673
|
+
writer.tag(4, WireType.LengthDelimited).string(message.themeTag);
|
|
674
|
+
/* string backdrop_summary = 5; */
|
|
675
|
+
if (message.backdropSummary !== "")
|
|
676
|
+
writer.tag(5, WireType.LengthDelimited).string(message.backdropSummary);
|
|
677
|
+
/* nimi.runtime.v1.LocalAppUtopiaPersonalQuarterSpec personal_quarter = 6; */
|
|
678
|
+
if (message.personalQuarter)
|
|
679
|
+
LocalAppUtopiaPersonalQuarterSpec.internalBinaryWrite(message.personalQuarter, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
680
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaPlaceSpec places = 7; */
|
|
681
|
+
for (let i = 0; i < message.places.length; i++)
|
|
682
|
+
LocalAppUtopiaPlaceSpec.internalBinaryWrite(message.places[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
683
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaActivitySpec activities = 8; */
|
|
684
|
+
for (let i = 0; i < message.activities.length; i++)
|
|
685
|
+
LocalAppUtopiaActivitySpec.internalBinaryWrite(message.activities[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
686
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterSpec parameters = 9; */
|
|
687
|
+
for (let i = 0; i < message.parameters.length; i++)
|
|
688
|
+
LocalAppUtopiaParameterSpec.internalBinaryWrite(message.parameters[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
689
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaEventPresetSpec event_presets = 10; */
|
|
690
|
+
for (let i = 0; i < message.eventPresets.length; i++)
|
|
691
|
+
LocalAppUtopiaEventPresetSpec.internalBinaryWrite(message.eventPresets[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
692
|
+
let u = options.writeUnknownFields;
|
|
693
|
+
if (u !== false)
|
|
694
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
695
|
+
return writer;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaHabitatSpec
|
|
700
|
+
*/
|
|
701
|
+
export const LocalAppUtopiaHabitatSpec = new LocalAppUtopiaHabitatSpec$Type();
|
|
702
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
703
|
+
class LocalAppUtopiaParameterEntry$Type extends MessageType {
|
|
704
|
+
constructor() {
|
|
705
|
+
super("nimi.runtime.v1.LocalAppUtopiaParameterEntry", [
|
|
706
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
707
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
708
|
+
]);
|
|
709
|
+
}
|
|
710
|
+
create(value) {
|
|
711
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
712
|
+
message.key = "";
|
|
713
|
+
message.value = "";
|
|
714
|
+
if (value !== undefined)
|
|
715
|
+
reflectionMergePartial(this, message, value);
|
|
716
|
+
return message;
|
|
717
|
+
}
|
|
718
|
+
internalBinaryRead(reader, length, options, target) {
|
|
719
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
720
|
+
while (reader.pos < end) {
|
|
721
|
+
let [fieldNo, wireType] = reader.tag();
|
|
722
|
+
switch (fieldNo) {
|
|
723
|
+
case /* string key */ 1:
|
|
724
|
+
message.key = reader.string();
|
|
725
|
+
break;
|
|
726
|
+
case /* string value */ 2:
|
|
727
|
+
message.value = reader.string();
|
|
728
|
+
break;
|
|
729
|
+
default:
|
|
730
|
+
let u = options.readUnknownField;
|
|
731
|
+
if (u === "throw")
|
|
732
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
733
|
+
let d = reader.skip(wireType);
|
|
734
|
+
if (u !== false)
|
|
735
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
return message;
|
|
739
|
+
}
|
|
740
|
+
internalBinaryWrite(message, writer, options) {
|
|
741
|
+
/* string key = 1; */
|
|
742
|
+
if (message.key !== "")
|
|
743
|
+
writer.tag(1, WireType.LengthDelimited).string(message.key);
|
|
744
|
+
/* string value = 2; */
|
|
745
|
+
if (message.value !== "")
|
|
746
|
+
writer.tag(2, WireType.LengthDelimited).string(message.value);
|
|
747
|
+
let u = options.writeUnknownFields;
|
|
748
|
+
if (u !== false)
|
|
749
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
750
|
+
return writer;
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaParameterEntry
|
|
755
|
+
*/
|
|
756
|
+
export const LocalAppUtopiaParameterEntry = new LocalAppUtopiaParameterEntry$Type();
|
|
757
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
758
|
+
class LocalAppUtopiaActiveEvent$Type extends MessageType {
|
|
759
|
+
constructor() {
|
|
760
|
+
super("nimi.runtime.v1.LocalAppUtopiaActiveEvent", [
|
|
761
|
+
{ no: 1, name: "event_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
762
|
+
{ no: 2, name: "slot", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
763
|
+
{ no: 3, name: "scenery_kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
764
|
+
{ no: 4, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
765
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
766
|
+
{ no: 6, name: "place_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
767
|
+
{ no: 7, name: "starts_at", kind: "message", T: () => Timestamp },
|
|
768
|
+
{ no: 8, name: "expires_at", kind: "message", T: () => Timestamp }
|
|
769
|
+
]);
|
|
770
|
+
}
|
|
771
|
+
create(value) {
|
|
772
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
773
|
+
message.eventId = "";
|
|
774
|
+
message.slot = "";
|
|
775
|
+
message.sceneryKind = "";
|
|
776
|
+
message.label = "";
|
|
777
|
+
message.description = "";
|
|
778
|
+
if (value !== undefined)
|
|
779
|
+
reflectionMergePartial(this, message, value);
|
|
780
|
+
return message;
|
|
781
|
+
}
|
|
782
|
+
internalBinaryRead(reader, length, options, target) {
|
|
783
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
784
|
+
while (reader.pos < end) {
|
|
785
|
+
let [fieldNo, wireType] = reader.tag();
|
|
786
|
+
switch (fieldNo) {
|
|
787
|
+
case /* string event_id */ 1:
|
|
788
|
+
message.eventId = reader.string();
|
|
789
|
+
break;
|
|
790
|
+
case /* string slot */ 2:
|
|
791
|
+
message.slot = reader.string();
|
|
792
|
+
break;
|
|
793
|
+
case /* string scenery_kind */ 3:
|
|
794
|
+
message.sceneryKind = reader.string();
|
|
795
|
+
break;
|
|
796
|
+
case /* string label */ 4:
|
|
797
|
+
message.label = reader.string();
|
|
798
|
+
break;
|
|
799
|
+
case /* string description */ 5:
|
|
800
|
+
message.description = reader.string();
|
|
801
|
+
break;
|
|
802
|
+
case /* optional string place_id */ 6:
|
|
803
|
+
message.placeId = reader.string();
|
|
804
|
+
break;
|
|
805
|
+
case /* google.protobuf.Timestamp starts_at */ 7:
|
|
806
|
+
message.startsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.startsAt);
|
|
807
|
+
break;
|
|
808
|
+
case /* google.protobuf.Timestamp expires_at */ 8:
|
|
809
|
+
message.expiresAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);
|
|
810
|
+
break;
|
|
811
|
+
default:
|
|
812
|
+
let u = options.readUnknownField;
|
|
813
|
+
if (u === "throw")
|
|
814
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
815
|
+
let d = reader.skip(wireType);
|
|
816
|
+
if (u !== false)
|
|
817
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
return message;
|
|
821
|
+
}
|
|
822
|
+
internalBinaryWrite(message, writer, options) {
|
|
823
|
+
/* string event_id = 1; */
|
|
824
|
+
if (message.eventId !== "")
|
|
825
|
+
writer.tag(1, WireType.LengthDelimited).string(message.eventId);
|
|
826
|
+
/* string slot = 2; */
|
|
827
|
+
if (message.slot !== "")
|
|
828
|
+
writer.tag(2, WireType.LengthDelimited).string(message.slot);
|
|
829
|
+
/* string scenery_kind = 3; */
|
|
830
|
+
if (message.sceneryKind !== "")
|
|
831
|
+
writer.tag(3, WireType.LengthDelimited).string(message.sceneryKind);
|
|
832
|
+
/* string label = 4; */
|
|
833
|
+
if (message.label !== "")
|
|
834
|
+
writer.tag(4, WireType.LengthDelimited).string(message.label);
|
|
835
|
+
/* string description = 5; */
|
|
836
|
+
if (message.description !== "")
|
|
837
|
+
writer.tag(5, WireType.LengthDelimited).string(message.description);
|
|
838
|
+
/* optional string place_id = 6; */
|
|
839
|
+
if (message.placeId !== undefined)
|
|
840
|
+
writer.tag(6, WireType.LengthDelimited).string(message.placeId);
|
|
841
|
+
/* google.protobuf.Timestamp starts_at = 7; */
|
|
842
|
+
if (message.startsAt)
|
|
843
|
+
Timestamp.internalBinaryWrite(message.startsAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
844
|
+
/* google.protobuf.Timestamp expires_at = 8; */
|
|
845
|
+
if (message.expiresAt)
|
|
846
|
+
Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
847
|
+
let u = options.writeUnknownFields;
|
|
848
|
+
if (u !== false)
|
|
849
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
850
|
+
return writer;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaActiveEvent
|
|
855
|
+
*/
|
|
856
|
+
export const LocalAppUtopiaActiveEvent = new LocalAppUtopiaActiveEvent$Type();
|
|
857
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
858
|
+
class LocalAppUtopiaFrame$Type extends MessageType {
|
|
859
|
+
constructor() {
|
|
860
|
+
super("nimi.runtime.v1.LocalAppUtopiaFrame", [
|
|
861
|
+
{ no: 1, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
862
|
+
{ no: 2, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
863
|
+
{ no: 3, name: "habitat_activation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
864
|
+
{ no: 4, name: "habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
865
|
+
{ no: 5, name: "habitat_title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
866
|
+
{ no: 6, name: "place_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
867
|
+
{ no: 7, name: "place_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
868
|
+
{ no: 8, name: "starts_at", kind: "message", T: () => Timestamp },
|
|
869
|
+
{ no: 9, name: "ends_at", kind: "message", T: () => Timestamp },
|
|
870
|
+
{ no: 10, name: "interaction", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
871
|
+
]);
|
|
872
|
+
}
|
|
873
|
+
create(value) {
|
|
874
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
875
|
+
message.activityId = "";
|
|
876
|
+
message.title = "";
|
|
877
|
+
message.habitatActivationId = "";
|
|
878
|
+
message.habitatId = "";
|
|
879
|
+
message.habitatTitle = "";
|
|
880
|
+
message.placeId = "";
|
|
881
|
+
message.placeLabel = "";
|
|
882
|
+
message.interaction = false;
|
|
883
|
+
if (value !== undefined)
|
|
884
|
+
reflectionMergePartial(this, message, value);
|
|
885
|
+
return message;
|
|
886
|
+
}
|
|
887
|
+
internalBinaryRead(reader, length, options, target) {
|
|
888
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
889
|
+
while (reader.pos < end) {
|
|
890
|
+
let [fieldNo, wireType] = reader.tag();
|
|
891
|
+
switch (fieldNo) {
|
|
892
|
+
case /* string activity_id */ 1:
|
|
893
|
+
message.activityId = reader.string();
|
|
894
|
+
break;
|
|
895
|
+
case /* string title */ 2:
|
|
896
|
+
message.title = reader.string();
|
|
897
|
+
break;
|
|
898
|
+
case /* string habitat_activation_id */ 3:
|
|
899
|
+
message.habitatActivationId = reader.string();
|
|
900
|
+
break;
|
|
901
|
+
case /* string habitat_id */ 4:
|
|
902
|
+
message.habitatId = reader.string();
|
|
903
|
+
break;
|
|
904
|
+
case /* string habitat_title */ 5:
|
|
905
|
+
message.habitatTitle = reader.string();
|
|
906
|
+
break;
|
|
907
|
+
case /* string place_id */ 6:
|
|
908
|
+
message.placeId = reader.string();
|
|
909
|
+
break;
|
|
910
|
+
case /* string place_label */ 7:
|
|
911
|
+
message.placeLabel = reader.string();
|
|
912
|
+
break;
|
|
913
|
+
case /* google.protobuf.Timestamp starts_at */ 8:
|
|
914
|
+
message.startsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.startsAt);
|
|
915
|
+
break;
|
|
916
|
+
case /* google.protobuf.Timestamp ends_at */ 9:
|
|
917
|
+
message.endsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.endsAt);
|
|
918
|
+
break;
|
|
919
|
+
case /* bool interaction */ 10:
|
|
920
|
+
message.interaction = reader.bool();
|
|
921
|
+
break;
|
|
922
|
+
default:
|
|
923
|
+
let u = options.readUnknownField;
|
|
924
|
+
if (u === "throw")
|
|
925
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
926
|
+
let d = reader.skip(wireType);
|
|
927
|
+
if (u !== false)
|
|
928
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return message;
|
|
932
|
+
}
|
|
933
|
+
internalBinaryWrite(message, writer, options) {
|
|
934
|
+
/* string activity_id = 1; */
|
|
935
|
+
if (message.activityId !== "")
|
|
936
|
+
writer.tag(1, WireType.LengthDelimited).string(message.activityId);
|
|
937
|
+
/* string title = 2; */
|
|
938
|
+
if (message.title !== "")
|
|
939
|
+
writer.tag(2, WireType.LengthDelimited).string(message.title);
|
|
940
|
+
/* string habitat_activation_id = 3; */
|
|
941
|
+
if (message.habitatActivationId !== "")
|
|
942
|
+
writer.tag(3, WireType.LengthDelimited).string(message.habitatActivationId);
|
|
943
|
+
/* string habitat_id = 4; */
|
|
944
|
+
if (message.habitatId !== "")
|
|
945
|
+
writer.tag(4, WireType.LengthDelimited).string(message.habitatId);
|
|
946
|
+
/* string habitat_title = 5; */
|
|
947
|
+
if (message.habitatTitle !== "")
|
|
948
|
+
writer.tag(5, WireType.LengthDelimited).string(message.habitatTitle);
|
|
949
|
+
/* string place_id = 6; */
|
|
950
|
+
if (message.placeId !== "")
|
|
951
|
+
writer.tag(6, WireType.LengthDelimited).string(message.placeId);
|
|
952
|
+
/* string place_label = 7; */
|
|
953
|
+
if (message.placeLabel !== "")
|
|
954
|
+
writer.tag(7, WireType.LengthDelimited).string(message.placeLabel);
|
|
955
|
+
/* google.protobuf.Timestamp starts_at = 8; */
|
|
956
|
+
if (message.startsAt)
|
|
957
|
+
Timestamp.internalBinaryWrite(message.startsAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
958
|
+
/* google.protobuf.Timestamp ends_at = 9; */
|
|
959
|
+
if (message.endsAt)
|
|
960
|
+
Timestamp.internalBinaryWrite(message.endsAt, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
961
|
+
/* bool interaction = 10; */
|
|
962
|
+
if (message.interaction !== false)
|
|
963
|
+
writer.tag(10, WireType.Varint).bool(message.interaction);
|
|
964
|
+
let u = options.writeUnknownFields;
|
|
965
|
+
if (u !== false)
|
|
966
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
967
|
+
return writer;
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
/**
|
|
971
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaFrame
|
|
972
|
+
*/
|
|
973
|
+
export const LocalAppUtopiaFrame = new LocalAppUtopiaFrame$Type();
|
|
974
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
975
|
+
class LocalAppUtopiaResident$Type extends MessageType {
|
|
976
|
+
constructor() {
|
|
977
|
+
super("nimi.runtime.v1.LocalAppUtopiaResident", [
|
|
978
|
+
{ no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
979
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
980
|
+
{ no: 3, name: "solitary", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
981
|
+
{ no: 4, name: "current", kind: "message", T: () => LocalAppUtopiaFrame },
|
|
982
|
+
{ no: 5, name: "recent", kind: "message", T: () => LocalAppUtopiaFrame },
|
|
983
|
+
{ no: 6, name: "next", kind: "message", T: () => LocalAppUtopiaFrame }
|
|
984
|
+
]);
|
|
985
|
+
}
|
|
986
|
+
create(value) {
|
|
987
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
988
|
+
message.agentHandle = "";
|
|
989
|
+
message.displayName = "";
|
|
990
|
+
message.solitary = false;
|
|
991
|
+
if (value !== undefined)
|
|
992
|
+
reflectionMergePartial(this, message, value);
|
|
993
|
+
return message;
|
|
994
|
+
}
|
|
995
|
+
internalBinaryRead(reader, length, options, target) {
|
|
996
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
997
|
+
while (reader.pos < end) {
|
|
998
|
+
let [fieldNo, wireType] = reader.tag();
|
|
999
|
+
switch (fieldNo) {
|
|
1000
|
+
case /* string agent_handle */ 1:
|
|
1001
|
+
message.agentHandle = reader.string();
|
|
1002
|
+
break;
|
|
1003
|
+
case /* string display_name */ 2:
|
|
1004
|
+
message.displayName = reader.string();
|
|
1005
|
+
break;
|
|
1006
|
+
case /* bool solitary */ 3:
|
|
1007
|
+
message.solitary = reader.bool();
|
|
1008
|
+
break;
|
|
1009
|
+
case /* nimi.runtime.v1.LocalAppUtopiaFrame current */ 4:
|
|
1010
|
+
message.current = LocalAppUtopiaFrame.internalBinaryRead(reader, reader.uint32(), options, message.current);
|
|
1011
|
+
break;
|
|
1012
|
+
case /* nimi.runtime.v1.LocalAppUtopiaFrame recent */ 5:
|
|
1013
|
+
message.recent = LocalAppUtopiaFrame.internalBinaryRead(reader, reader.uint32(), options, message.recent);
|
|
1014
|
+
break;
|
|
1015
|
+
case /* nimi.runtime.v1.LocalAppUtopiaFrame next */ 6:
|
|
1016
|
+
message.next = LocalAppUtopiaFrame.internalBinaryRead(reader, reader.uint32(), options, message.next);
|
|
1017
|
+
break;
|
|
1018
|
+
default:
|
|
1019
|
+
let u = options.readUnknownField;
|
|
1020
|
+
if (u === "throw")
|
|
1021
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1022
|
+
let d = reader.skip(wireType);
|
|
1023
|
+
if (u !== false)
|
|
1024
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
return message;
|
|
1028
|
+
}
|
|
1029
|
+
internalBinaryWrite(message, writer, options) {
|
|
1030
|
+
/* string agent_handle = 1; */
|
|
1031
|
+
if (message.agentHandle !== "")
|
|
1032
|
+
writer.tag(1, WireType.LengthDelimited).string(message.agentHandle);
|
|
1033
|
+
/* string display_name = 2; */
|
|
1034
|
+
if (message.displayName !== "")
|
|
1035
|
+
writer.tag(2, WireType.LengthDelimited).string(message.displayName);
|
|
1036
|
+
/* bool solitary = 3; */
|
|
1037
|
+
if (message.solitary !== false)
|
|
1038
|
+
writer.tag(3, WireType.Varint).bool(message.solitary);
|
|
1039
|
+
/* nimi.runtime.v1.LocalAppUtopiaFrame current = 4; */
|
|
1040
|
+
if (message.current)
|
|
1041
|
+
LocalAppUtopiaFrame.internalBinaryWrite(message.current, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1042
|
+
/* nimi.runtime.v1.LocalAppUtopiaFrame recent = 5; */
|
|
1043
|
+
if (message.recent)
|
|
1044
|
+
LocalAppUtopiaFrame.internalBinaryWrite(message.recent, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
1045
|
+
/* nimi.runtime.v1.LocalAppUtopiaFrame next = 6; */
|
|
1046
|
+
if (message.next)
|
|
1047
|
+
LocalAppUtopiaFrame.internalBinaryWrite(message.next, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
1048
|
+
let u = options.writeUnknownFields;
|
|
1049
|
+
if (u !== false)
|
|
1050
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1051
|
+
return writer;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaResident
|
|
1056
|
+
*/
|
|
1057
|
+
export const LocalAppUtopiaResident = new LocalAppUtopiaResident$Type();
|
|
1058
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1059
|
+
class LocalAppUtopiaPlaceOccupancy$Type extends MessageType {
|
|
1060
|
+
constructor() {
|
|
1061
|
+
super("nimi.runtime.v1.LocalAppUtopiaPlaceOccupancy", [
|
|
1062
|
+
{ no: 1, name: "place_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1063
|
+
{ no: 2, name: "agent_handles", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
1064
|
+
]);
|
|
1065
|
+
}
|
|
1066
|
+
create(value) {
|
|
1067
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1068
|
+
message.placeId = "";
|
|
1069
|
+
message.agentHandles = [];
|
|
1070
|
+
if (value !== undefined)
|
|
1071
|
+
reflectionMergePartial(this, message, value);
|
|
1072
|
+
return message;
|
|
1073
|
+
}
|
|
1074
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1075
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1076
|
+
while (reader.pos < end) {
|
|
1077
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1078
|
+
switch (fieldNo) {
|
|
1079
|
+
case /* string place_id */ 1:
|
|
1080
|
+
message.placeId = reader.string();
|
|
1081
|
+
break;
|
|
1082
|
+
case /* repeated string agent_handles */ 2:
|
|
1083
|
+
message.agentHandles.push(reader.string());
|
|
1084
|
+
break;
|
|
1085
|
+
default:
|
|
1086
|
+
let u = options.readUnknownField;
|
|
1087
|
+
if (u === "throw")
|
|
1088
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1089
|
+
let d = reader.skip(wireType);
|
|
1090
|
+
if (u !== false)
|
|
1091
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
return message;
|
|
1095
|
+
}
|
|
1096
|
+
internalBinaryWrite(message, writer, options) {
|
|
1097
|
+
/* string place_id = 1; */
|
|
1098
|
+
if (message.placeId !== "")
|
|
1099
|
+
writer.tag(1, WireType.LengthDelimited).string(message.placeId);
|
|
1100
|
+
/* repeated string agent_handles = 2; */
|
|
1101
|
+
for (let i = 0; i < message.agentHandles.length; i++)
|
|
1102
|
+
writer.tag(2, WireType.LengthDelimited).string(message.agentHandles[i]);
|
|
1103
|
+
let u = options.writeUnknownFields;
|
|
1104
|
+
if (u !== false)
|
|
1105
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1106
|
+
return writer;
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaPlaceOccupancy
|
|
1111
|
+
*/
|
|
1112
|
+
export const LocalAppUtopiaPlaceOccupancy = new LocalAppUtopiaPlaceOccupancy$Type();
|
|
1113
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1114
|
+
class LocalAppUtopiaSharedActivity$Type extends MessageType {
|
|
1115
|
+
constructor() {
|
|
1116
|
+
super("nimi.runtime.v1.LocalAppUtopiaSharedActivity", [
|
|
1117
|
+
{ no: 1, name: "activity_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1118
|
+
{ no: 2, name: "habitat_activation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1119
|
+
{ no: 3, name: "habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1120
|
+
{ no: 4, name: "habitat_title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1121
|
+
{ no: 5, name: "initiator_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1122
|
+
{ no: 6, name: "recipient_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1123
|
+
{ no: 7, name: "place_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1124
|
+
{ no: 8, name: "place_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1125
|
+
{ no: 9, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1126
|
+
{ no: 10, name: "activity_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1127
|
+
{ no: 11, name: "state", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1128
|
+
{ no: 12, name: "starts_at", kind: "message", T: () => Timestamp },
|
|
1129
|
+
{ no: 13, name: "ends_at", kind: "message", T: () => Timestamp },
|
|
1130
|
+
{ no: 14, name: "accepted_at", kind: "message", T: () => Timestamp }
|
|
1131
|
+
]);
|
|
1132
|
+
}
|
|
1133
|
+
create(value) {
|
|
1134
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1135
|
+
message.activityRef = "";
|
|
1136
|
+
message.habitatActivationId = "";
|
|
1137
|
+
message.habitatId = "";
|
|
1138
|
+
message.habitatTitle = "";
|
|
1139
|
+
message.initiatorHandle = "";
|
|
1140
|
+
message.recipientHandle = "";
|
|
1141
|
+
message.placeId = "";
|
|
1142
|
+
message.placeLabel = "";
|
|
1143
|
+
message.activityId = "";
|
|
1144
|
+
message.activityLabel = "";
|
|
1145
|
+
message.state = "";
|
|
1146
|
+
if (value !== undefined)
|
|
1147
|
+
reflectionMergePartial(this, message, value);
|
|
1148
|
+
return message;
|
|
1149
|
+
}
|
|
1150
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1151
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1152
|
+
while (reader.pos < end) {
|
|
1153
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1154
|
+
switch (fieldNo) {
|
|
1155
|
+
case /* string activity_ref */ 1:
|
|
1156
|
+
message.activityRef = reader.string();
|
|
1157
|
+
break;
|
|
1158
|
+
case /* string habitat_activation_id */ 2:
|
|
1159
|
+
message.habitatActivationId = reader.string();
|
|
1160
|
+
break;
|
|
1161
|
+
case /* string habitat_id */ 3:
|
|
1162
|
+
message.habitatId = reader.string();
|
|
1163
|
+
break;
|
|
1164
|
+
case /* string habitat_title */ 4:
|
|
1165
|
+
message.habitatTitle = reader.string();
|
|
1166
|
+
break;
|
|
1167
|
+
case /* string initiator_handle */ 5:
|
|
1168
|
+
message.initiatorHandle = reader.string();
|
|
1169
|
+
break;
|
|
1170
|
+
case /* string recipient_handle */ 6:
|
|
1171
|
+
message.recipientHandle = reader.string();
|
|
1172
|
+
break;
|
|
1173
|
+
case /* string place_id */ 7:
|
|
1174
|
+
message.placeId = reader.string();
|
|
1175
|
+
break;
|
|
1176
|
+
case /* string place_label */ 8:
|
|
1177
|
+
message.placeLabel = reader.string();
|
|
1178
|
+
break;
|
|
1179
|
+
case /* string activity_id */ 9:
|
|
1180
|
+
message.activityId = reader.string();
|
|
1181
|
+
break;
|
|
1182
|
+
case /* string activity_label */ 10:
|
|
1183
|
+
message.activityLabel = reader.string();
|
|
1184
|
+
break;
|
|
1185
|
+
case /* string state */ 11:
|
|
1186
|
+
message.state = reader.string();
|
|
1187
|
+
break;
|
|
1188
|
+
case /* google.protobuf.Timestamp starts_at */ 12:
|
|
1189
|
+
message.startsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.startsAt);
|
|
1190
|
+
break;
|
|
1191
|
+
case /* google.protobuf.Timestamp ends_at */ 13:
|
|
1192
|
+
message.endsAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.endsAt);
|
|
1193
|
+
break;
|
|
1194
|
+
case /* google.protobuf.Timestamp accepted_at */ 14:
|
|
1195
|
+
message.acceptedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.acceptedAt);
|
|
1196
|
+
break;
|
|
1197
|
+
default:
|
|
1198
|
+
let u = options.readUnknownField;
|
|
1199
|
+
if (u === "throw")
|
|
1200
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1201
|
+
let d = reader.skip(wireType);
|
|
1202
|
+
if (u !== false)
|
|
1203
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
return message;
|
|
1207
|
+
}
|
|
1208
|
+
internalBinaryWrite(message, writer, options) {
|
|
1209
|
+
/* string activity_ref = 1; */
|
|
1210
|
+
if (message.activityRef !== "")
|
|
1211
|
+
writer.tag(1, WireType.LengthDelimited).string(message.activityRef);
|
|
1212
|
+
/* string habitat_activation_id = 2; */
|
|
1213
|
+
if (message.habitatActivationId !== "")
|
|
1214
|
+
writer.tag(2, WireType.LengthDelimited).string(message.habitatActivationId);
|
|
1215
|
+
/* string habitat_id = 3; */
|
|
1216
|
+
if (message.habitatId !== "")
|
|
1217
|
+
writer.tag(3, WireType.LengthDelimited).string(message.habitatId);
|
|
1218
|
+
/* string habitat_title = 4; */
|
|
1219
|
+
if (message.habitatTitle !== "")
|
|
1220
|
+
writer.tag(4, WireType.LengthDelimited).string(message.habitatTitle);
|
|
1221
|
+
/* string initiator_handle = 5; */
|
|
1222
|
+
if (message.initiatorHandle !== "")
|
|
1223
|
+
writer.tag(5, WireType.LengthDelimited).string(message.initiatorHandle);
|
|
1224
|
+
/* string recipient_handle = 6; */
|
|
1225
|
+
if (message.recipientHandle !== "")
|
|
1226
|
+
writer.tag(6, WireType.LengthDelimited).string(message.recipientHandle);
|
|
1227
|
+
/* string place_id = 7; */
|
|
1228
|
+
if (message.placeId !== "")
|
|
1229
|
+
writer.tag(7, WireType.LengthDelimited).string(message.placeId);
|
|
1230
|
+
/* string place_label = 8; */
|
|
1231
|
+
if (message.placeLabel !== "")
|
|
1232
|
+
writer.tag(8, WireType.LengthDelimited).string(message.placeLabel);
|
|
1233
|
+
/* string activity_id = 9; */
|
|
1234
|
+
if (message.activityId !== "")
|
|
1235
|
+
writer.tag(9, WireType.LengthDelimited).string(message.activityId);
|
|
1236
|
+
/* string activity_label = 10; */
|
|
1237
|
+
if (message.activityLabel !== "")
|
|
1238
|
+
writer.tag(10, WireType.LengthDelimited).string(message.activityLabel);
|
|
1239
|
+
/* string state = 11; */
|
|
1240
|
+
if (message.state !== "")
|
|
1241
|
+
writer.tag(11, WireType.LengthDelimited).string(message.state);
|
|
1242
|
+
/* google.protobuf.Timestamp starts_at = 12; */
|
|
1243
|
+
if (message.startsAt)
|
|
1244
|
+
Timestamp.internalBinaryWrite(message.startsAt, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
1245
|
+
/* google.protobuf.Timestamp ends_at = 13; */
|
|
1246
|
+
if (message.endsAt)
|
|
1247
|
+
Timestamp.internalBinaryWrite(message.endsAt, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
1248
|
+
/* google.protobuf.Timestamp accepted_at = 14; */
|
|
1249
|
+
if (message.acceptedAt)
|
|
1250
|
+
Timestamp.internalBinaryWrite(message.acceptedAt, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
1251
|
+
let u = options.writeUnknownFields;
|
|
1252
|
+
if (u !== false)
|
|
1253
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1254
|
+
return writer;
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaSharedActivity
|
|
1259
|
+
*/
|
|
1260
|
+
export const LocalAppUtopiaSharedActivity = new LocalAppUtopiaSharedActivity$Type();
|
|
1261
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1262
|
+
class LocalAppUtopiaRelocationSummary$Type extends MessageType {
|
|
1263
|
+
constructor() {
|
|
1264
|
+
super("nimi.runtime.v1.LocalAppUtopiaRelocationSummary", [
|
|
1265
|
+
{ no: 1, name: "from_habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1266
|
+
{ no: 2, name: "from_habitat_title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1267
|
+
{ no: 3, name: "to_habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1268
|
+
{ no: 4, name: "to_habitat_title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1269
|
+
{ no: 5, name: "relocated_at", kind: "message", T: () => Timestamp }
|
|
1270
|
+
]);
|
|
1271
|
+
}
|
|
1272
|
+
create(value) {
|
|
1273
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1274
|
+
message.fromHabitatId = "";
|
|
1275
|
+
message.fromHabitatTitle = "";
|
|
1276
|
+
message.toHabitatId = "";
|
|
1277
|
+
message.toHabitatTitle = "";
|
|
1278
|
+
if (value !== undefined)
|
|
1279
|
+
reflectionMergePartial(this, message, value);
|
|
1280
|
+
return message;
|
|
1281
|
+
}
|
|
1282
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1283
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1284
|
+
while (reader.pos < end) {
|
|
1285
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1286
|
+
switch (fieldNo) {
|
|
1287
|
+
case /* string from_habitat_id */ 1:
|
|
1288
|
+
message.fromHabitatId = reader.string();
|
|
1289
|
+
break;
|
|
1290
|
+
case /* string from_habitat_title */ 2:
|
|
1291
|
+
message.fromHabitatTitle = reader.string();
|
|
1292
|
+
break;
|
|
1293
|
+
case /* string to_habitat_id */ 3:
|
|
1294
|
+
message.toHabitatId = reader.string();
|
|
1295
|
+
break;
|
|
1296
|
+
case /* string to_habitat_title */ 4:
|
|
1297
|
+
message.toHabitatTitle = reader.string();
|
|
1298
|
+
break;
|
|
1299
|
+
case /* google.protobuf.Timestamp relocated_at */ 5:
|
|
1300
|
+
message.relocatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.relocatedAt);
|
|
1301
|
+
break;
|
|
1302
|
+
default:
|
|
1303
|
+
let u = options.readUnknownField;
|
|
1304
|
+
if (u === "throw")
|
|
1305
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1306
|
+
let d = reader.skip(wireType);
|
|
1307
|
+
if (u !== false)
|
|
1308
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
return message;
|
|
1312
|
+
}
|
|
1313
|
+
internalBinaryWrite(message, writer, options) {
|
|
1314
|
+
/* string from_habitat_id = 1; */
|
|
1315
|
+
if (message.fromHabitatId !== "")
|
|
1316
|
+
writer.tag(1, WireType.LengthDelimited).string(message.fromHabitatId);
|
|
1317
|
+
/* string from_habitat_title = 2; */
|
|
1318
|
+
if (message.fromHabitatTitle !== "")
|
|
1319
|
+
writer.tag(2, WireType.LengthDelimited).string(message.fromHabitatTitle);
|
|
1320
|
+
/* string to_habitat_id = 3; */
|
|
1321
|
+
if (message.toHabitatId !== "")
|
|
1322
|
+
writer.tag(3, WireType.LengthDelimited).string(message.toHabitatId);
|
|
1323
|
+
/* string to_habitat_title = 4; */
|
|
1324
|
+
if (message.toHabitatTitle !== "")
|
|
1325
|
+
writer.tag(4, WireType.LengthDelimited).string(message.toHabitatTitle);
|
|
1326
|
+
/* google.protobuf.Timestamp relocated_at = 5; */
|
|
1327
|
+
if (message.relocatedAt)
|
|
1328
|
+
Timestamp.internalBinaryWrite(message.relocatedAt, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
1329
|
+
let u = options.writeUnknownFields;
|
|
1330
|
+
if (u !== false)
|
|
1331
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1332
|
+
return writer;
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaRelocationSummary
|
|
1337
|
+
*/
|
|
1338
|
+
export const LocalAppUtopiaRelocationSummary = new LocalAppUtopiaRelocationSummary$Type();
|
|
1339
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1340
|
+
class GetLocalAppAgentUtopiaSnapshotResponse$Type extends MessageType {
|
|
1341
|
+
constructor() {
|
|
1342
|
+
super("nimi.runtime.v1.GetLocalAppAgentUtopiaSnapshotResponse", [
|
|
1343
|
+
{ no: 1, name: "revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
1344
|
+
{ no: 2, name: "observed_at", kind: "message", T: () => Timestamp },
|
|
1345
|
+
{ no: 3, name: "habitat_activation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1346
|
+
{ no: 4, name: "content_digest", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1347
|
+
{ no: 5, name: "timezone", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1348
|
+
{ no: 6, name: "public_participation", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1349
|
+
{ no: 7, name: "habitat", kind: "message", T: () => LocalAppUtopiaHabitatSpec },
|
|
1350
|
+
{ no: 8, name: "parameter_values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterEntry },
|
|
1351
|
+
{ no: 9, name: "open_place_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
1352
|
+
{ no: 10, name: "active_events", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaActiveEvent },
|
|
1353
|
+
{ no: 11, name: "last_relocation", kind: "message", T: () => LocalAppUtopiaRelocationSummary },
|
|
1354
|
+
{ no: 12, name: "residents", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaResident },
|
|
1355
|
+
{ no: 13, name: "occupancy", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaPlaceOccupancy },
|
|
1356
|
+
{ no: 14, name: "shared_activities", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaSharedActivity }
|
|
1357
|
+
]);
|
|
1358
|
+
}
|
|
1359
|
+
create(value) {
|
|
1360
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1361
|
+
message.revision = "0";
|
|
1362
|
+
message.habitatActivationId = "";
|
|
1363
|
+
message.contentDigest = "";
|
|
1364
|
+
message.timezone = "";
|
|
1365
|
+
message.publicParticipation = false;
|
|
1366
|
+
message.parameterValues = [];
|
|
1367
|
+
message.openPlaceIds = [];
|
|
1368
|
+
message.activeEvents = [];
|
|
1369
|
+
message.residents = [];
|
|
1370
|
+
message.occupancy = [];
|
|
1371
|
+
message.sharedActivities = [];
|
|
1372
|
+
if (value !== undefined)
|
|
1373
|
+
reflectionMergePartial(this, message, value);
|
|
1374
|
+
return message;
|
|
1375
|
+
}
|
|
1376
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1377
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1378
|
+
while (reader.pos < end) {
|
|
1379
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1380
|
+
switch (fieldNo) {
|
|
1381
|
+
case /* uint64 revision */ 1:
|
|
1382
|
+
message.revision = reader.uint64().toString();
|
|
1383
|
+
break;
|
|
1384
|
+
case /* google.protobuf.Timestamp observed_at */ 2:
|
|
1385
|
+
message.observedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.observedAt);
|
|
1386
|
+
break;
|
|
1387
|
+
case /* string habitat_activation_id */ 3:
|
|
1388
|
+
message.habitatActivationId = reader.string();
|
|
1389
|
+
break;
|
|
1390
|
+
case /* string content_digest */ 4:
|
|
1391
|
+
message.contentDigest = reader.string();
|
|
1392
|
+
break;
|
|
1393
|
+
case /* string timezone */ 5:
|
|
1394
|
+
message.timezone = reader.string();
|
|
1395
|
+
break;
|
|
1396
|
+
case /* bool public_participation */ 6:
|
|
1397
|
+
message.publicParticipation = reader.bool();
|
|
1398
|
+
break;
|
|
1399
|
+
case /* nimi.runtime.v1.LocalAppUtopiaHabitatSpec habitat */ 7:
|
|
1400
|
+
message.habitat = LocalAppUtopiaHabitatSpec.internalBinaryRead(reader, reader.uint32(), options, message.habitat);
|
|
1401
|
+
break;
|
|
1402
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameter_values */ 8:
|
|
1403
|
+
message.parameterValues.push(LocalAppUtopiaParameterEntry.internalBinaryRead(reader, reader.uint32(), options));
|
|
1404
|
+
break;
|
|
1405
|
+
case /* repeated string open_place_ids */ 9:
|
|
1406
|
+
message.openPlaceIds.push(reader.string());
|
|
1407
|
+
break;
|
|
1408
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaActiveEvent active_events */ 10:
|
|
1409
|
+
message.activeEvents.push(LocalAppUtopiaActiveEvent.internalBinaryRead(reader, reader.uint32(), options));
|
|
1410
|
+
break;
|
|
1411
|
+
case /* nimi.runtime.v1.LocalAppUtopiaRelocationSummary last_relocation */ 11:
|
|
1412
|
+
message.lastRelocation = LocalAppUtopiaRelocationSummary.internalBinaryRead(reader, reader.uint32(), options, message.lastRelocation);
|
|
1413
|
+
break;
|
|
1414
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaResident residents */ 12:
|
|
1415
|
+
message.residents.push(LocalAppUtopiaResident.internalBinaryRead(reader, reader.uint32(), options));
|
|
1416
|
+
break;
|
|
1417
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaPlaceOccupancy occupancy */ 13:
|
|
1418
|
+
message.occupancy.push(LocalAppUtopiaPlaceOccupancy.internalBinaryRead(reader, reader.uint32(), options));
|
|
1419
|
+
break;
|
|
1420
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaSharedActivity shared_activities */ 14:
|
|
1421
|
+
message.sharedActivities.push(LocalAppUtopiaSharedActivity.internalBinaryRead(reader, reader.uint32(), options));
|
|
1422
|
+
break;
|
|
1423
|
+
default:
|
|
1424
|
+
let u = options.readUnknownField;
|
|
1425
|
+
if (u === "throw")
|
|
1426
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1427
|
+
let d = reader.skip(wireType);
|
|
1428
|
+
if (u !== false)
|
|
1429
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
return message;
|
|
1433
|
+
}
|
|
1434
|
+
internalBinaryWrite(message, writer, options) {
|
|
1435
|
+
/* uint64 revision = 1; */
|
|
1436
|
+
if (message.revision !== "0")
|
|
1437
|
+
writer.tag(1, WireType.Varint).uint64(message.revision);
|
|
1438
|
+
/* google.protobuf.Timestamp observed_at = 2; */
|
|
1439
|
+
if (message.observedAt)
|
|
1440
|
+
Timestamp.internalBinaryWrite(message.observedAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1441
|
+
/* string habitat_activation_id = 3; */
|
|
1442
|
+
if (message.habitatActivationId !== "")
|
|
1443
|
+
writer.tag(3, WireType.LengthDelimited).string(message.habitatActivationId);
|
|
1444
|
+
/* string content_digest = 4; */
|
|
1445
|
+
if (message.contentDigest !== "")
|
|
1446
|
+
writer.tag(4, WireType.LengthDelimited).string(message.contentDigest);
|
|
1447
|
+
/* string timezone = 5; */
|
|
1448
|
+
if (message.timezone !== "")
|
|
1449
|
+
writer.tag(5, WireType.LengthDelimited).string(message.timezone);
|
|
1450
|
+
/* bool public_participation = 6; */
|
|
1451
|
+
if (message.publicParticipation !== false)
|
|
1452
|
+
writer.tag(6, WireType.Varint).bool(message.publicParticipation);
|
|
1453
|
+
/* nimi.runtime.v1.LocalAppUtopiaHabitatSpec habitat = 7; */
|
|
1454
|
+
if (message.habitat)
|
|
1455
|
+
LocalAppUtopiaHabitatSpec.internalBinaryWrite(message.habitat, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
1456
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameter_values = 8; */
|
|
1457
|
+
for (let i = 0; i < message.parameterValues.length; i++)
|
|
1458
|
+
LocalAppUtopiaParameterEntry.internalBinaryWrite(message.parameterValues[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
1459
|
+
/* repeated string open_place_ids = 9; */
|
|
1460
|
+
for (let i = 0; i < message.openPlaceIds.length; i++)
|
|
1461
|
+
writer.tag(9, WireType.LengthDelimited).string(message.openPlaceIds[i]);
|
|
1462
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaActiveEvent active_events = 10; */
|
|
1463
|
+
for (let i = 0; i < message.activeEvents.length; i++)
|
|
1464
|
+
LocalAppUtopiaActiveEvent.internalBinaryWrite(message.activeEvents[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
1465
|
+
/* nimi.runtime.v1.LocalAppUtopiaRelocationSummary last_relocation = 11; */
|
|
1466
|
+
if (message.lastRelocation)
|
|
1467
|
+
LocalAppUtopiaRelocationSummary.internalBinaryWrite(message.lastRelocation, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
1468
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaResident residents = 12; */
|
|
1469
|
+
for (let i = 0; i < message.residents.length; i++)
|
|
1470
|
+
LocalAppUtopiaResident.internalBinaryWrite(message.residents[i], writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
1471
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaPlaceOccupancy occupancy = 13; */
|
|
1472
|
+
for (let i = 0; i < message.occupancy.length; i++)
|
|
1473
|
+
LocalAppUtopiaPlaceOccupancy.internalBinaryWrite(message.occupancy[i], writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
1474
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaSharedActivity shared_activities = 14; */
|
|
1475
|
+
for (let i = 0; i < message.sharedActivities.length; i++)
|
|
1476
|
+
LocalAppUtopiaSharedActivity.internalBinaryWrite(message.sharedActivities[i], writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
1477
|
+
let u = options.writeUnknownFields;
|
|
1478
|
+
if (u !== false)
|
|
1479
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1480
|
+
return writer;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
/**
|
|
1484
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.GetLocalAppAgentUtopiaSnapshotResponse
|
|
1485
|
+
*/
|
|
1486
|
+
export const GetLocalAppAgentUtopiaSnapshotResponse = new GetLocalAppAgentUtopiaSnapshotResponse$Type();
|
|
1487
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1488
|
+
class LocalAppUtopiaActivateHabitatChange$Type extends MessageType {
|
|
1489
|
+
constructor() {
|
|
1490
|
+
super("nimi.runtime.v1.LocalAppUtopiaActivateHabitatChange", [
|
|
1491
|
+
{ no: 1, name: "habitat", kind: "message", T: () => LocalAppUtopiaHabitatSpec },
|
|
1492
|
+
{ no: 2, name: "initial_parameters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterEntry },
|
|
1493
|
+
{ no: 3, name: "timezone", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
1494
|
+
]);
|
|
1495
|
+
}
|
|
1496
|
+
create(value) {
|
|
1497
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1498
|
+
message.initialParameters = [];
|
|
1499
|
+
if (value !== undefined)
|
|
1500
|
+
reflectionMergePartial(this, message, value);
|
|
1501
|
+
return message;
|
|
1502
|
+
}
|
|
1503
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1504
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1505
|
+
while (reader.pos < end) {
|
|
1506
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1507
|
+
switch (fieldNo) {
|
|
1508
|
+
case /* nimi.runtime.v1.LocalAppUtopiaHabitatSpec habitat */ 1:
|
|
1509
|
+
message.habitat = LocalAppUtopiaHabitatSpec.internalBinaryRead(reader, reader.uint32(), options, message.habitat);
|
|
1510
|
+
break;
|
|
1511
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry initial_parameters */ 2:
|
|
1512
|
+
message.initialParameters.push(LocalAppUtopiaParameterEntry.internalBinaryRead(reader, reader.uint32(), options));
|
|
1513
|
+
break;
|
|
1514
|
+
case /* optional string timezone */ 3:
|
|
1515
|
+
message.timezone = reader.string();
|
|
1516
|
+
break;
|
|
1517
|
+
default:
|
|
1518
|
+
let u = options.readUnknownField;
|
|
1519
|
+
if (u === "throw")
|
|
1520
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1521
|
+
let d = reader.skip(wireType);
|
|
1522
|
+
if (u !== false)
|
|
1523
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
return message;
|
|
1527
|
+
}
|
|
1528
|
+
internalBinaryWrite(message, writer, options) {
|
|
1529
|
+
/* nimi.runtime.v1.LocalAppUtopiaHabitatSpec habitat = 1; */
|
|
1530
|
+
if (message.habitat)
|
|
1531
|
+
LocalAppUtopiaHabitatSpec.internalBinaryWrite(message.habitat, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1532
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry initial_parameters = 2; */
|
|
1533
|
+
for (let i = 0; i < message.initialParameters.length; i++)
|
|
1534
|
+
LocalAppUtopiaParameterEntry.internalBinaryWrite(message.initialParameters[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1535
|
+
/* optional string timezone = 3; */
|
|
1536
|
+
if (message.timezone !== undefined)
|
|
1537
|
+
writer.tag(3, WireType.LengthDelimited).string(message.timezone);
|
|
1538
|
+
let u = options.writeUnknownFields;
|
|
1539
|
+
if (u !== false)
|
|
1540
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1541
|
+
return writer;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaActivateHabitatChange
|
|
1546
|
+
*/
|
|
1547
|
+
export const LocalAppUtopiaActivateHabitatChange = new LocalAppUtopiaActivateHabitatChange$Type();
|
|
1548
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1549
|
+
class LocalAppUtopiaRestoreDefaultChange$Type extends MessageType {
|
|
1550
|
+
constructor() {
|
|
1551
|
+
super("nimi.runtime.v1.LocalAppUtopiaRestoreDefaultChange", [
|
|
1552
|
+
{ no: 1, name: "timezone", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
1553
|
+
]);
|
|
1554
|
+
}
|
|
1555
|
+
create(value) {
|
|
1556
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1557
|
+
if (value !== undefined)
|
|
1558
|
+
reflectionMergePartial(this, message, value);
|
|
1559
|
+
return message;
|
|
1560
|
+
}
|
|
1561
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1562
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1563
|
+
while (reader.pos < end) {
|
|
1564
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1565
|
+
switch (fieldNo) {
|
|
1566
|
+
case /* optional string timezone */ 1:
|
|
1567
|
+
message.timezone = reader.string();
|
|
1568
|
+
break;
|
|
1569
|
+
default:
|
|
1570
|
+
let u = options.readUnknownField;
|
|
1571
|
+
if (u === "throw")
|
|
1572
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1573
|
+
let d = reader.skip(wireType);
|
|
1574
|
+
if (u !== false)
|
|
1575
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
return message;
|
|
1579
|
+
}
|
|
1580
|
+
internalBinaryWrite(message, writer, options) {
|
|
1581
|
+
/* optional string timezone = 1; */
|
|
1582
|
+
if (message.timezone !== undefined)
|
|
1583
|
+
writer.tag(1, WireType.LengthDelimited).string(message.timezone);
|
|
1584
|
+
let u = options.writeUnknownFields;
|
|
1585
|
+
if (u !== false)
|
|
1586
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1587
|
+
return writer;
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaRestoreDefaultChange
|
|
1592
|
+
*/
|
|
1593
|
+
export const LocalAppUtopiaRestoreDefaultChange = new LocalAppUtopiaRestoreDefaultChange$Type();
|
|
1594
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1595
|
+
class LocalAppUtopiaPresetEventTrigger$Type extends MessageType {
|
|
1596
|
+
constructor() {
|
|
1597
|
+
super("nimi.runtime.v1.LocalAppUtopiaPresetEventTrigger", [
|
|
1598
|
+
{ no: 1, name: "preset_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1599
|
+
{ no: 2, name: "duration_minutes", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
|
1600
|
+
]);
|
|
1601
|
+
}
|
|
1602
|
+
create(value) {
|
|
1603
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1604
|
+
message.presetId = "";
|
|
1605
|
+
if (value !== undefined)
|
|
1606
|
+
reflectionMergePartial(this, message, value);
|
|
1607
|
+
return message;
|
|
1608
|
+
}
|
|
1609
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1610
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1611
|
+
while (reader.pos < end) {
|
|
1612
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1613
|
+
switch (fieldNo) {
|
|
1614
|
+
case /* string preset_id */ 1:
|
|
1615
|
+
message.presetId = reader.string();
|
|
1616
|
+
break;
|
|
1617
|
+
case /* optional int32 duration_minutes */ 2:
|
|
1618
|
+
message.durationMinutes = reader.int32();
|
|
1619
|
+
break;
|
|
1620
|
+
default:
|
|
1621
|
+
let u = options.readUnknownField;
|
|
1622
|
+
if (u === "throw")
|
|
1623
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1624
|
+
let d = reader.skip(wireType);
|
|
1625
|
+
if (u !== false)
|
|
1626
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
return message;
|
|
1630
|
+
}
|
|
1631
|
+
internalBinaryWrite(message, writer, options) {
|
|
1632
|
+
/* string preset_id = 1; */
|
|
1633
|
+
if (message.presetId !== "")
|
|
1634
|
+
writer.tag(1, WireType.LengthDelimited).string(message.presetId);
|
|
1635
|
+
/* optional int32 duration_minutes = 2; */
|
|
1636
|
+
if (message.durationMinutes !== undefined)
|
|
1637
|
+
writer.tag(2, WireType.Varint).int32(message.durationMinutes);
|
|
1638
|
+
let u = options.writeUnknownFields;
|
|
1639
|
+
if (u !== false)
|
|
1640
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1641
|
+
return writer;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaPresetEventTrigger
|
|
1646
|
+
*/
|
|
1647
|
+
export const LocalAppUtopiaPresetEventTrigger = new LocalAppUtopiaPresetEventTrigger$Type();
|
|
1648
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1649
|
+
class LocalAppUtopiaCustomEventTrigger$Type extends MessageType {
|
|
1650
|
+
constructor() {
|
|
1651
|
+
super("nimi.runtime.v1.LocalAppUtopiaCustomEventTrigger", [
|
|
1652
|
+
{ no: 1, name: "scenery_kind", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1653
|
+
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1654
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1655
|
+
{ no: 4, name: "place_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
1656
|
+
{ no: 5, name: "duration_minutes", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
1657
|
+
]);
|
|
1658
|
+
}
|
|
1659
|
+
create(value) {
|
|
1660
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1661
|
+
message.sceneryKind = "";
|
|
1662
|
+
message.label = "";
|
|
1663
|
+
message.description = "";
|
|
1664
|
+
message.durationMinutes = 0;
|
|
1665
|
+
if (value !== undefined)
|
|
1666
|
+
reflectionMergePartial(this, message, value);
|
|
1667
|
+
return message;
|
|
1668
|
+
}
|
|
1669
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1670
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1671
|
+
while (reader.pos < end) {
|
|
1672
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1673
|
+
switch (fieldNo) {
|
|
1674
|
+
case /* string scenery_kind */ 1:
|
|
1675
|
+
message.sceneryKind = reader.string();
|
|
1676
|
+
break;
|
|
1677
|
+
case /* string label */ 2:
|
|
1678
|
+
message.label = reader.string();
|
|
1679
|
+
break;
|
|
1680
|
+
case /* string description */ 3:
|
|
1681
|
+
message.description = reader.string();
|
|
1682
|
+
break;
|
|
1683
|
+
case /* optional string place_id */ 4:
|
|
1684
|
+
message.placeId = reader.string();
|
|
1685
|
+
break;
|
|
1686
|
+
case /* int32 duration_minutes */ 5:
|
|
1687
|
+
message.durationMinutes = reader.int32();
|
|
1688
|
+
break;
|
|
1689
|
+
default:
|
|
1690
|
+
let u = options.readUnknownField;
|
|
1691
|
+
if (u === "throw")
|
|
1692
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1693
|
+
let d = reader.skip(wireType);
|
|
1694
|
+
if (u !== false)
|
|
1695
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
return message;
|
|
1699
|
+
}
|
|
1700
|
+
internalBinaryWrite(message, writer, options) {
|
|
1701
|
+
/* string scenery_kind = 1; */
|
|
1702
|
+
if (message.sceneryKind !== "")
|
|
1703
|
+
writer.tag(1, WireType.LengthDelimited).string(message.sceneryKind);
|
|
1704
|
+
/* string label = 2; */
|
|
1705
|
+
if (message.label !== "")
|
|
1706
|
+
writer.tag(2, WireType.LengthDelimited).string(message.label);
|
|
1707
|
+
/* string description = 3; */
|
|
1708
|
+
if (message.description !== "")
|
|
1709
|
+
writer.tag(3, WireType.LengthDelimited).string(message.description);
|
|
1710
|
+
/* optional string place_id = 4; */
|
|
1711
|
+
if (message.placeId !== undefined)
|
|
1712
|
+
writer.tag(4, WireType.LengthDelimited).string(message.placeId);
|
|
1713
|
+
/* int32 duration_minutes = 5; */
|
|
1714
|
+
if (message.durationMinutes !== 0)
|
|
1715
|
+
writer.tag(5, WireType.Varint).int32(message.durationMinutes);
|
|
1716
|
+
let u = options.writeUnknownFields;
|
|
1717
|
+
if (u !== false)
|
|
1718
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1719
|
+
return writer;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
/**
|
|
1723
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaCustomEventTrigger
|
|
1724
|
+
*/
|
|
1725
|
+
export const LocalAppUtopiaCustomEventTrigger = new LocalAppUtopiaCustomEventTrigger$Type();
|
|
1726
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1727
|
+
class LocalAppUtopiaEventMutation$Type extends MessageType {
|
|
1728
|
+
constructor() {
|
|
1729
|
+
super("nimi.runtime.v1.LocalAppUtopiaEventMutation", [
|
|
1730
|
+
{ no: 1, name: "trigger_preset", kind: "message", oneof: "action", T: () => LocalAppUtopiaPresetEventTrigger },
|
|
1731
|
+
{ no: 2, name: "put_custom", kind: "message", oneof: "action", T: () => LocalAppUtopiaCustomEventTrigger },
|
|
1732
|
+
{ no: 3, name: "clear_event_id", kind: "scalar", oneof: "action", T: 9 /*ScalarType.STRING*/ }
|
|
1733
|
+
]);
|
|
1734
|
+
}
|
|
1735
|
+
create(value) {
|
|
1736
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1737
|
+
message.action = { oneofKind: undefined };
|
|
1738
|
+
if (value !== undefined)
|
|
1739
|
+
reflectionMergePartial(this, message, value);
|
|
1740
|
+
return message;
|
|
1741
|
+
}
|
|
1742
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1743
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1744
|
+
while (reader.pos < end) {
|
|
1745
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1746
|
+
switch (fieldNo) {
|
|
1747
|
+
case /* nimi.runtime.v1.LocalAppUtopiaPresetEventTrigger trigger_preset */ 1:
|
|
1748
|
+
message.action = {
|
|
1749
|
+
oneofKind: "triggerPreset",
|
|
1750
|
+
triggerPreset: LocalAppUtopiaPresetEventTrigger.internalBinaryRead(reader, reader.uint32(), options, message.action.triggerPreset)
|
|
1751
|
+
};
|
|
1752
|
+
break;
|
|
1753
|
+
case /* nimi.runtime.v1.LocalAppUtopiaCustomEventTrigger put_custom */ 2:
|
|
1754
|
+
message.action = {
|
|
1755
|
+
oneofKind: "putCustom",
|
|
1756
|
+
putCustom: LocalAppUtopiaCustomEventTrigger.internalBinaryRead(reader, reader.uint32(), options, message.action.putCustom)
|
|
1757
|
+
};
|
|
1758
|
+
break;
|
|
1759
|
+
case /* string clear_event_id */ 3:
|
|
1760
|
+
message.action = {
|
|
1761
|
+
oneofKind: "clearEventId",
|
|
1762
|
+
clearEventId: reader.string()
|
|
1763
|
+
};
|
|
1764
|
+
break;
|
|
1765
|
+
default:
|
|
1766
|
+
let u = options.readUnknownField;
|
|
1767
|
+
if (u === "throw")
|
|
1768
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1769
|
+
let d = reader.skip(wireType);
|
|
1770
|
+
if (u !== false)
|
|
1771
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
return message;
|
|
1775
|
+
}
|
|
1776
|
+
internalBinaryWrite(message, writer, options) {
|
|
1777
|
+
/* nimi.runtime.v1.LocalAppUtopiaPresetEventTrigger trigger_preset = 1; */
|
|
1778
|
+
if (message.action.oneofKind === "triggerPreset")
|
|
1779
|
+
LocalAppUtopiaPresetEventTrigger.internalBinaryWrite(message.action.triggerPreset, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1780
|
+
/* nimi.runtime.v1.LocalAppUtopiaCustomEventTrigger put_custom = 2; */
|
|
1781
|
+
if (message.action.oneofKind === "putCustom")
|
|
1782
|
+
LocalAppUtopiaCustomEventTrigger.internalBinaryWrite(message.action.putCustom, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1783
|
+
/* string clear_event_id = 3; */
|
|
1784
|
+
if (message.action.oneofKind === "clearEventId")
|
|
1785
|
+
writer.tag(3, WireType.LengthDelimited).string(message.action.clearEventId);
|
|
1786
|
+
let u = options.writeUnknownFields;
|
|
1787
|
+
if (u !== false)
|
|
1788
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1789
|
+
return writer;
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
/**
|
|
1793
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaEventMutation
|
|
1794
|
+
*/
|
|
1795
|
+
export const LocalAppUtopiaEventMutation = new LocalAppUtopiaEventMutation$Type();
|
|
1796
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1797
|
+
class LocalAppUtopiaApplyTuningChange$Type extends MessageType {
|
|
1798
|
+
constructor() {
|
|
1799
|
+
super("nimi.runtime.v1.LocalAppUtopiaApplyTuningChange", [
|
|
1800
|
+
{ no: 1, name: "parameters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterEntry },
|
|
1801
|
+
{ no: 2, name: "event_mutation", kind: "message", T: () => LocalAppUtopiaEventMutation }
|
|
1802
|
+
]);
|
|
1803
|
+
}
|
|
1804
|
+
create(value) {
|
|
1805
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1806
|
+
message.parameters = [];
|
|
1807
|
+
if (value !== undefined)
|
|
1808
|
+
reflectionMergePartial(this, message, value);
|
|
1809
|
+
return message;
|
|
1810
|
+
}
|
|
1811
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1812
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1813
|
+
while (reader.pos < end) {
|
|
1814
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1815
|
+
switch (fieldNo) {
|
|
1816
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameters */ 1:
|
|
1817
|
+
message.parameters.push(LocalAppUtopiaParameterEntry.internalBinaryRead(reader, reader.uint32(), options));
|
|
1818
|
+
break;
|
|
1819
|
+
case /* nimi.runtime.v1.LocalAppUtopiaEventMutation event_mutation */ 2:
|
|
1820
|
+
message.eventMutation = LocalAppUtopiaEventMutation.internalBinaryRead(reader, reader.uint32(), options, message.eventMutation);
|
|
1821
|
+
break;
|
|
1822
|
+
default:
|
|
1823
|
+
let u = options.readUnknownField;
|
|
1824
|
+
if (u === "throw")
|
|
1825
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1826
|
+
let d = reader.skip(wireType);
|
|
1827
|
+
if (u !== false)
|
|
1828
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
return message;
|
|
1832
|
+
}
|
|
1833
|
+
internalBinaryWrite(message, writer, options) {
|
|
1834
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameters = 1; */
|
|
1835
|
+
for (let i = 0; i < message.parameters.length; i++)
|
|
1836
|
+
LocalAppUtopiaParameterEntry.internalBinaryWrite(message.parameters[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1837
|
+
/* nimi.runtime.v1.LocalAppUtopiaEventMutation event_mutation = 2; */
|
|
1838
|
+
if (message.eventMutation)
|
|
1839
|
+
LocalAppUtopiaEventMutation.internalBinaryWrite(message.eventMutation, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1840
|
+
let u = options.writeUnknownFields;
|
|
1841
|
+
if (u !== false)
|
|
1842
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1843
|
+
return writer;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaApplyTuningChange
|
|
1848
|
+
*/
|
|
1849
|
+
export const LocalAppUtopiaApplyTuningChange = new LocalAppUtopiaApplyTuningChange$Type();
|
|
1850
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1851
|
+
class LocalAppUtopiaSolitudeChange$Type extends MessageType {
|
|
1852
|
+
constructor() {
|
|
1853
|
+
super("nimi.runtime.v1.LocalAppUtopiaSolitudeChange", [
|
|
1854
|
+
{ no: 1, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1855
|
+
{ no: 2, name: "solitary", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1856
|
+
]);
|
|
1857
|
+
}
|
|
1858
|
+
create(value) {
|
|
1859
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1860
|
+
message.agentHandle = "";
|
|
1861
|
+
message.solitary = false;
|
|
1862
|
+
if (value !== undefined)
|
|
1863
|
+
reflectionMergePartial(this, message, value);
|
|
1864
|
+
return message;
|
|
1865
|
+
}
|
|
1866
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1867
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1868
|
+
while (reader.pos < end) {
|
|
1869
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1870
|
+
switch (fieldNo) {
|
|
1871
|
+
case /* string agent_handle */ 1:
|
|
1872
|
+
message.agentHandle = reader.string();
|
|
1873
|
+
break;
|
|
1874
|
+
case /* bool solitary */ 2:
|
|
1875
|
+
message.solitary = reader.bool();
|
|
1876
|
+
break;
|
|
1877
|
+
default:
|
|
1878
|
+
let u = options.readUnknownField;
|
|
1879
|
+
if (u === "throw")
|
|
1880
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1881
|
+
let d = reader.skip(wireType);
|
|
1882
|
+
if (u !== false)
|
|
1883
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
return message;
|
|
1887
|
+
}
|
|
1888
|
+
internalBinaryWrite(message, writer, options) {
|
|
1889
|
+
/* string agent_handle = 1; */
|
|
1890
|
+
if (message.agentHandle !== "")
|
|
1891
|
+
writer.tag(1, WireType.LengthDelimited).string(message.agentHandle);
|
|
1892
|
+
/* bool solitary = 2; */
|
|
1893
|
+
if (message.solitary !== false)
|
|
1894
|
+
writer.tag(2, WireType.Varint).bool(message.solitary);
|
|
1895
|
+
let u = options.writeUnknownFields;
|
|
1896
|
+
if (u !== false)
|
|
1897
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1898
|
+
return writer;
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.LocalAppUtopiaSolitudeChange
|
|
1903
|
+
*/
|
|
1904
|
+
export const LocalAppUtopiaSolitudeChange = new LocalAppUtopiaSolitudeChange$Type();
|
|
1905
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1906
|
+
class UpdateLocalAppAgentUtopiaSettingsRequest$Type extends MessageType {
|
|
1907
|
+
constructor() {
|
|
1908
|
+
super("nimi.runtime.v1.UpdateLocalAppAgentUtopiaSettingsRequest", [
|
|
1909
|
+
{ no: 1, name: "expected_revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
1910
|
+
{ no: 2, name: "activate_habitat", kind: "message", oneof: "change", T: () => LocalAppUtopiaActivateHabitatChange },
|
|
1911
|
+
{ no: 3, name: "restore_default", kind: "message", oneof: "change", T: () => LocalAppUtopiaRestoreDefaultChange },
|
|
1912
|
+
{ no: 4, name: "apply_tuning", kind: "message", oneof: "change", T: () => LocalAppUtopiaApplyTuningChange },
|
|
1913
|
+
{ no: 5, name: "public_participation", kind: "scalar", oneof: "change", T: 8 /*ScalarType.BOOL*/ },
|
|
1914
|
+
{ no: 6, name: "solitude", kind: "message", oneof: "change", T: () => LocalAppUtopiaSolitudeChange },
|
|
1915
|
+
{ no: 7, name: "timezone", kind: "scalar", oneof: "change", T: 9 /*ScalarType.STRING*/ }
|
|
1916
|
+
]);
|
|
1917
|
+
}
|
|
1918
|
+
create(value) {
|
|
1919
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1920
|
+
message.expectedRevision = "0";
|
|
1921
|
+
message.change = { oneofKind: undefined };
|
|
1922
|
+
if (value !== undefined)
|
|
1923
|
+
reflectionMergePartial(this, message, value);
|
|
1924
|
+
return message;
|
|
1925
|
+
}
|
|
1926
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1927
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1928
|
+
while (reader.pos < end) {
|
|
1929
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1930
|
+
switch (fieldNo) {
|
|
1931
|
+
case /* uint64 expected_revision */ 1:
|
|
1932
|
+
message.expectedRevision = reader.uint64().toString();
|
|
1933
|
+
break;
|
|
1934
|
+
case /* nimi.runtime.v1.LocalAppUtopiaActivateHabitatChange activate_habitat */ 2:
|
|
1935
|
+
message.change = {
|
|
1936
|
+
oneofKind: "activateHabitat",
|
|
1937
|
+
activateHabitat: LocalAppUtopiaActivateHabitatChange.internalBinaryRead(reader, reader.uint32(), options, message.change.activateHabitat)
|
|
1938
|
+
};
|
|
1939
|
+
break;
|
|
1940
|
+
case /* nimi.runtime.v1.LocalAppUtopiaRestoreDefaultChange restore_default */ 3:
|
|
1941
|
+
message.change = {
|
|
1942
|
+
oneofKind: "restoreDefault",
|
|
1943
|
+
restoreDefault: LocalAppUtopiaRestoreDefaultChange.internalBinaryRead(reader, reader.uint32(), options, message.change.restoreDefault)
|
|
1944
|
+
};
|
|
1945
|
+
break;
|
|
1946
|
+
case /* nimi.runtime.v1.LocalAppUtopiaApplyTuningChange apply_tuning */ 4:
|
|
1947
|
+
message.change = {
|
|
1948
|
+
oneofKind: "applyTuning",
|
|
1949
|
+
applyTuning: LocalAppUtopiaApplyTuningChange.internalBinaryRead(reader, reader.uint32(), options, message.change.applyTuning)
|
|
1950
|
+
};
|
|
1951
|
+
break;
|
|
1952
|
+
case /* bool public_participation */ 5:
|
|
1953
|
+
message.change = {
|
|
1954
|
+
oneofKind: "publicParticipation",
|
|
1955
|
+
publicParticipation: reader.bool()
|
|
1956
|
+
};
|
|
1957
|
+
break;
|
|
1958
|
+
case /* nimi.runtime.v1.LocalAppUtopiaSolitudeChange solitude */ 6:
|
|
1959
|
+
message.change = {
|
|
1960
|
+
oneofKind: "solitude",
|
|
1961
|
+
solitude: LocalAppUtopiaSolitudeChange.internalBinaryRead(reader, reader.uint32(), options, message.change.solitude)
|
|
1962
|
+
};
|
|
1963
|
+
break;
|
|
1964
|
+
case /* string timezone */ 7:
|
|
1965
|
+
message.change = {
|
|
1966
|
+
oneofKind: "timezone",
|
|
1967
|
+
timezone: reader.string()
|
|
1968
|
+
};
|
|
1969
|
+
break;
|
|
1970
|
+
default:
|
|
1971
|
+
let u = options.readUnknownField;
|
|
1972
|
+
if (u === "throw")
|
|
1973
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1974
|
+
let d = reader.skip(wireType);
|
|
1975
|
+
if (u !== false)
|
|
1976
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
return message;
|
|
1980
|
+
}
|
|
1981
|
+
internalBinaryWrite(message, writer, options) {
|
|
1982
|
+
/* uint64 expected_revision = 1; */
|
|
1983
|
+
if (message.expectedRevision !== "0")
|
|
1984
|
+
writer.tag(1, WireType.Varint).uint64(message.expectedRevision);
|
|
1985
|
+
/* nimi.runtime.v1.LocalAppUtopiaActivateHabitatChange activate_habitat = 2; */
|
|
1986
|
+
if (message.change.oneofKind === "activateHabitat")
|
|
1987
|
+
LocalAppUtopiaActivateHabitatChange.internalBinaryWrite(message.change.activateHabitat, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1988
|
+
/* nimi.runtime.v1.LocalAppUtopiaRestoreDefaultChange restore_default = 3; */
|
|
1989
|
+
if (message.change.oneofKind === "restoreDefault")
|
|
1990
|
+
LocalAppUtopiaRestoreDefaultChange.internalBinaryWrite(message.change.restoreDefault, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
1991
|
+
/* nimi.runtime.v1.LocalAppUtopiaApplyTuningChange apply_tuning = 4; */
|
|
1992
|
+
if (message.change.oneofKind === "applyTuning")
|
|
1993
|
+
LocalAppUtopiaApplyTuningChange.internalBinaryWrite(message.change.applyTuning, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1994
|
+
/* bool public_participation = 5; */
|
|
1995
|
+
if (message.change.oneofKind === "publicParticipation")
|
|
1996
|
+
writer.tag(5, WireType.Varint).bool(message.change.publicParticipation);
|
|
1997
|
+
/* nimi.runtime.v1.LocalAppUtopiaSolitudeChange solitude = 6; */
|
|
1998
|
+
if (message.change.oneofKind === "solitude")
|
|
1999
|
+
LocalAppUtopiaSolitudeChange.internalBinaryWrite(message.change.solitude, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
2000
|
+
/* string timezone = 7; */
|
|
2001
|
+
if (message.change.oneofKind === "timezone")
|
|
2002
|
+
writer.tag(7, WireType.LengthDelimited).string(message.change.timezone);
|
|
2003
|
+
let u = options.writeUnknownFields;
|
|
2004
|
+
if (u !== false)
|
|
2005
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2006
|
+
return writer;
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.UpdateLocalAppAgentUtopiaSettingsRequest
|
|
2011
|
+
*/
|
|
2012
|
+
export const UpdateLocalAppAgentUtopiaSettingsRequest = new UpdateLocalAppAgentUtopiaSettingsRequest$Type();
|
|
2013
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
2014
|
+
class UpdateLocalAppAgentUtopiaSettingsResponse$Type extends MessageType {
|
|
2015
|
+
constructor() {
|
|
2016
|
+
super("nimi.runtime.v1.UpdateLocalAppAgentUtopiaSettingsResponse", [
|
|
2017
|
+
{ no: 1, name: "revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
2018
|
+
{ no: 2, name: "habitat_activation_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2019
|
+
{ no: 3, name: "habitat_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2020
|
+
{ no: 4, name: "habitat_title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2021
|
+
{ no: 5, name: "content_digest", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2022
|
+
{ no: 6, name: "timezone", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2023
|
+
{ no: 7, name: "public_participation", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
2024
|
+
{ no: 8, name: "parameter_values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaParameterEntry },
|
|
2025
|
+
{ no: 9, name: "open_place_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
2026
|
+
{ no: 10, name: "active_events", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => LocalAppUtopiaActiveEvent }
|
|
2027
|
+
]);
|
|
2028
|
+
}
|
|
2029
|
+
create(value) {
|
|
2030
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
2031
|
+
message.revision = "0";
|
|
2032
|
+
message.habitatActivationId = "";
|
|
2033
|
+
message.habitatId = "";
|
|
2034
|
+
message.habitatTitle = "";
|
|
2035
|
+
message.contentDigest = "";
|
|
2036
|
+
message.timezone = "";
|
|
2037
|
+
message.publicParticipation = false;
|
|
2038
|
+
message.parameterValues = [];
|
|
2039
|
+
message.openPlaceIds = [];
|
|
2040
|
+
message.activeEvents = [];
|
|
2041
|
+
if (value !== undefined)
|
|
2042
|
+
reflectionMergePartial(this, message, value);
|
|
2043
|
+
return message;
|
|
2044
|
+
}
|
|
2045
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2046
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2047
|
+
while (reader.pos < end) {
|
|
2048
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2049
|
+
switch (fieldNo) {
|
|
2050
|
+
case /* uint64 revision */ 1:
|
|
2051
|
+
message.revision = reader.uint64().toString();
|
|
2052
|
+
break;
|
|
2053
|
+
case /* string habitat_activation_id */ 2:
|
|
2054
|
+
message.habitatActivationId = reader.string();
|
|
2055
|
+
break;
|
|
2056
|
+
case /* string habitat_id */ 3:
|
|
2057
|
+
message.habitatId = reader.string();
|
|
2058
|
+
break;
|
|
2059
|
+
case /* string habitat_title */ 4:
|
|
2060
|
+
message.habitatTitle = reader.string();
|
|
2061
|
+
break;
|
|
2062
|
+
case /* string content_digest */ 5:
|
|
2063
|
+
message.contentDigest = reader.string();
|
|
2064
|
+
break;
|
|
2065
|
+
case /* string timezone */ 6:
|
|
2066
|
+
message.timezone = reader.string();
|
|
2067
|
+
break;
|
|
2068
|
+
case /* bool public_participation */ 7:
|
|
2069
|
+
message.publicParticipation = reader.bool();
|
|
2070
|
+
break;
|
|
2071
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameter_values */ 8:
|
|
2072
|
+
message.parameterValues.push(LocalAppUtopiaParameterEntry.internalBinaryRead(reader, reader.uint32(), options));
|
|
2073
|
+
break;
|
|
2074
|
+
case /* repeated string open_place_ids */ 9:
|
|
2075
|
+
message.openPlaceIds.push(reader.string());
|
|
2076
|
+
break;
|
|
2077
|
+
case /* repeated nimi.runtime.v1.LocalAppUtopiaActiveEvent active_events */ 10:
|
|
2078
|
+
message.activeEvents.push(LocalAppUtopiaActiveEvent.internalBinaryRead(reader, reader.uint32(), options));
|
|
2079
|
+
break;
|
|
2080
|
+
default:
|
|
2081
|
+
let u = options.readUnknownField;
|
|
2082
|
+
if (u === "throw")
|
|
2083
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2084
|
+
let d = reader.skip(wireType);
|
|
2085
|
+
if (u !== false)
|
|
2086
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
return message;
|
|
2090
|
+
}
|
|
2091
|
+
internalBinaryWrite(message, writer, options) {
|
|
2092
|
+
/* uint64 revision = 1; */
|
|
2093
|
+
if (message.revision !== "0")
|
|
2094
|
+
writer.tag(1, WireType.Varint).uint64(message.revision);
|
|
2095
|
+
/* string habitat_activation_id = 2; */
|
|
2096
|
+
if (message.habitatActivationId !== "")
|
|
2097
|
+
writer.tag(2, WireType.LengthDelimited).string(message.habitatActivationId);
|
|
2098
|
+
/* string habitat_id = 3; */
|
|
2099
|
+
if (message.habitatId !== "")
|
|
2100
|
+
writer.tag(3, WireType.LengthDelimited).string(message.habitatId);
|
|
2101
|
+
/* string habitat_title = 4; */
|
|
2102
|
+
if (message.habitatTitle !== "")
|
|
2103
|
+
writer.tag(4, WireType.LengthDelimited).string(message.habitatTitle);
|
|
2104
|
+
/* string content_digest = 5; */
|
|
2105
|
+
if (message.contentDigest !== "")
|
|
2106
|
+
writer.tag(5, WireType.LengthDelimited).string(message.contentDigest);
|
|
2107
|
+
/* string timezone = 6; */
|
|
2108
|
+
if (message.timezone !== "")
|
|
2109
|
+
writer.tag(6, WireType.LengthDelimited).string(message.timezone);
|
|
2110
|
+
/* bool public_participation = 7; */
|
|
2111
|
+
if (message.publicParticipation !== false)
|
|
2112
|
+
writer.tag(7, WireType.Varint).bool(message.publicParticipation);
|
|
2113
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaParameterEntry parameter_values = 8; */
|
|
2114
|
+
for (let i = 0; i < message.parameterValues.length; i++)
|
|
2115
|
+
LocalAppUtopiaParameterEntry.internalBinaryWrite(message.parameterValues[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
2116
|
+
/* repeated string open_place_ids = 9; */
|
|
2117
|
+
for (let i = 0; i < message.openPlaceIds.length; i++)
|
|
2118
|
+
writer.tag(9, WireType.LengthDelimited).string(message.openPlaceIds[i]);
|
|
2119
|
+
/* repeated nimi.runtime.v1.LocalAppUtopiaActiveEvent active_events = 10; */
|
|
2120
|
+
for (let i = 0; i < message.activeEvents.length; i++)
|
|
2121
|
+
LocalAppUtopiaActiveEvent.internalBinaryWrite(message.activeEvents[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
2122
|
+
let u = options.writeUnknownFields;
|
|
2123
|
+
if (u !== false)
|
|
2124
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2125
|
+
return writer;
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.UpdateLocalAppAgentUtopiaSettingsResponse
|
|
2130
|
+
*/
|
|
2131
|
+
export const UpdateLocalAppAgentUtopiaSettingsResponse = new UpdateLocalAppAgentUtopiaSettingsResponse$Type();
|
|
2132
|
+
//# sourceMappingURL=agent_utopia.js.map
|