@githolon/dsl 0.108.7 → 0.110.1
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/assets/operation-contract.wasm +0 -0
- package/check_package.mjs +12 -15
- package/compile_package.mjs +17 -18
- package/compile_proof.mjs +16 -1
- package/dart/CHANGELOG.md +80 -1
- package/dart/README.md +25 -2
- package/dart/lib/src/admission_decision.dart +41 -0
- package/dart/lib/src/application_framework_calls.dart +52 -2
- package/dart/lib/src/application_model_adoption.dart +187 -0
- package/dart/lib/src/application_status.dart +73 -0
- package/dart/lib/src/console_enrolment.dart +271 -0
- package/dart/lib/src/console_http_io.dart +26 -0
- package/dart/lib/src/console_http_stub.dart +7 -0
- package/dart/lib/src/dev_cloud.dart +69 -22
- package/dart/lib/src/generated_call.dart +83 -23
- package/dart/lib/src/kernel_primitives.dart +119 -0
- package/dart/lib/src/nms_conformance_runtime.dart +1 -1
- package/dart/lib/src/nms_generated_runtime.dart +32 -10
- package/dart/lib/src/nms_test_environment.dart +1 -1
- package/dart/lib/src/node_runner_transport.dart +41 -46
- package/dart/lib/src/observed_session_directory.dart +70 -0
- package/dart/lib/src/operation_receipts.dart +112 -0
- package/dart/lib/src/peer_application_streams.dart +103 -0
- package/dart/lib/src/reception/dart_reception.dart +4280 -0
- package/dart/lib/src/reception/event_desk.dart +214 -0
- package/dart/lib/src/reception/extremum_read.dart +46 -0
- package/dart/lib/src/reception/local_copies.dart +371 -0
- package/dart/lib/src/reception/peer_office_connection.dart +11 -0
- package/dart/lib/src/reception/progress_desk.dart +268 -0
- package/dart/lib/src/reception/reception_contract.dart +11 -0
- package/dart/lib/src/reception/reception_session.dart +284 -0
- package/dart/lib/src/reception/sync_diagnostics.dart +26 -0
- package/dart/lib/src/reception/workspace_preparation_report.dart +126 -0
- package/dart/lib/src/replica_readiness.dart +123 -0
- package/dart/lib/src/runner/node-entry.mjs +23950 -15776
- package/dart/lib/src/runtime_v2_gateway.dart +56 -3
- package/dart/lib/src/runtime_v2_transport.dart +544 -3
- package/dart/lib/src/session_bound.dart +200 -311
- package/dart/lib/src/signing_identity_kernel.dart +84 -0
- package/dart/lib/src/sync_status_projection.dart +550 -0
- package/dart/lib/src/sync_status_reducer.dart +170 -0
- package/dart/lib/src/test_harness.dart +809 -1153
- package/dart/lib/src/testing/test_custody.dart +66 -0
- package/dart/lib/src/testing/test_peer.dart +328 -0
- package/dart/lib/src/typed_watch_registry.dart +169 -0
- package/dart/lib/src/workspace_open_progress.dart +27 -0
- package/dart/pubspec.lock +24 -1
- package/dart/pubspec.yaml +7 -2
- package/dart/pubspec_overrides.yaml +2 -0
- package/dart/test/admission_decision_test.dart +48 -0
- package/dart/test/background_model_adoption_test.dart +228 -0
- package/dart/test/bundle_version_pairing_test.dart +4 -4
- package/dart/test/child_authentication_repair_test.dart +359 -0
- package/dart/test/cloud_bound_local_shell_test.dart +119 -0
- package/dart/test/console_enrolment_refusal_test.dart +52 -0
- package/dart/test/console_enrolment_test.dart +227 -0
- package/dart/test/errors_test.dart +5 -5
- package/dart/test/event_plane_seam_test.dart +50 -164
- package/dart/test/extremum_read_test.dart +58 -0
- package/dart/test/fixtures/wedge/wedge-entry.mjs +3 -21
- package/dart/test/generated_query_test.dart +32 -0
- package/dart/test/harness_phase_timeout_test.dart +18 -23
- package/dart/test/kernel_author_after_read_test.dart +242 -0
- package/dart/test/kernel_fence_test.dart +137 -0
- package/dart/test/local_copies_test.dart +222 -0
- package/dart/test/model_adoption_test.dart +198 -0
- package/dart/test/node_peer_local_custody_test.dart +153 -0
- package/dart/test/offer_authentication_proof_test.dart +352 -52
- package/dart/test/operation_compatibility_test.dart +151 -0
- package/dart/test/platform_credential_effect_test.dart +386 -0
- package/dart/test/receiving_group_open_test.dart +213 -0
- package/dart/test/reception/workspace_preparation_report_test.dart +103 -0
- package/dart/test/reception_event_desk_close_test.dart +16 -0
- package/dart/test/reception_span_trace_test.dart +23 -0
- package/dart/test/replica_readiness_test.dart +156 -0
- package/dart/test/runtime_projections_test.dart +92 -0
- package/dart/test/runtime_v2_gateway_test.dart +131 -0
- package/dart/test/signing_identity_kernel_test.dart +75 -0
- package/dart/test/sync_status_preparation_report_test.dart +29 -0
- package/dart/test/sync_status_reducer_test.dart +419 -0
- package/dart/test/test_harness_test.dart +71 -95
- package/dart/test/typed_query_watch_test.dart +170 -0
- package/dart/test/typed_watch_registry_test.dart +249 -0
- package/dart_lints/README.md +18 -0
- package/dart_lints/lib/nomos_lints.dart +70 -0
- package/dart_lints/pubspec.lock +580 -0
- package/dart_lints/pubspec.yaml +12 -0
- package/dart_lints/test/reference_identity_test.dart +75 -0
- package/dart_types/CHANGELOG.md +18 -0
- package/dart_types/lib/nomos_kernel_protocol.dart +21 -1
- package/dart_types/lib/nomos_types.dart +9 -1
- package/dart_types/lib/src/admission_decision.dart +37 -0
- package/dart_types/lib/src/aggregate_meta.dart +1 -1
- package/dart_types/lib/src/approved_model.dart +65 -0
- package/dart_types/lib/src/custody.dart +10 -18
- package/dart_types/lib/src/error_info.dart +4 -4
- package/dart_types/lib/src/errors.dart +29 -29
- package/dart_types/lib/src/foreign_ref.dart +62 -33
- package/dart_types/lib/src/local_work_rejected.dart +3 -3
- package/dart_types/lib/src/nomos_ref.dart +3 -1
- package/dart_types/lib/src/principal.dart +2 -2
- package/dart_types/lib/src/proto/google/protobuf/any.pb.dart +163 -0
- package/dart_types/lib/src/proto/google/protobuf/any.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/discovery/v1/workspace_placement.pb.dart +137 -0
- package/dart_types/lib/src/proto/nomos/discovery/v1/workspace_placement.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pb.dart +20721 -10433
- package/dart_types/lib/src/proto/nomos/kernel/v1/kernel.pbenum.dart +555 -27
- package/dart_types/lib/src/proto/nomos/runtime/v2/application_desk.pb.dart +387 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/application_desk.pbenum.dart +46 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/application_readiness_desk.pb.dart +295 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/application_readiness_desk.pbenum.dart +139 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/authentication_desk.pb.dart +269 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/authentication_desk.pbenum.dart +103 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/compatibility_desk.pb.dart +417 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/compatibility_desk.pbenum.dart +62 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/correspondence_desk.pb.dart +9968 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/correspondence_desk.pbenum.dart +133 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/credentials_desk.pb.dart +204 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/credentials_desk.pbenum.dart +54 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/custody_desk.pb.dart +1550 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/custody_desk.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/framework.pb.dart +710 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/framework.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/identity_desk.pb.dart +845 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/identity_desk.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/interaction_desk.pb.dart +198 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/interaction_desk.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/law_desk.pb.dart +369 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/law_desk.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/maintenance_desk.pb.dart +609 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/maintenance_desk.pbenum.dart +65 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/model_adoption_desk.pb.dart +358 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/model_adoption_desk.pbenum.dart +100 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/observability_desk.pb.dart +2231 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/observability_desk.pbenum.dart +271 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/placement_desk.pb.dart +1286 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/placement_desk.pbenum.dart +11 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/receiving_group_desk.pb.dart +636 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/receiving_group_desk.pbenum.dart +116 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/records_desk.pb.dart +1637 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/records_desk.pbenum.dart +175 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/recovery_desk.pb.dart +1269 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/recovery_desk.pbenum.dart +129 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/residency_desk.pb.dart +2782 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/residency_desk.pbenum.dart +97 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/runtime.pb.dart +2232 -8627
- package/dart_types/lib/src/proto/nomos/runtime/v2/runtime.pbenum.dart +0 -358
- package/dart_types/lib/src/proto/nomos/runtime/v2/sealing_desk.pb.dart +1639 -0
- package/dart_types/lib/src/proto/nomos/runtime/v2/sealing_desk.pbenum.dart +46 -0
- package/dart_types/lib/src/runtime_outcome.dart +133 -0
- package/dart_types/lib/src/subscriptions.dart +116 -23
- package/dart_types/pubspec.yaml +1 -1
- package/dart_types/test/extremum_subscriptions_test.dart +40 -0
- package/dart_types/test/foreign_ref_resolution_test.dart +75 -0
- package/dart_types/test/nomos_ref_address_test.dart +25 -0
- package/dart_types/test/ordered_subscriptions_test.dart +34 -0
- package/operation_contract_check.mjs +24 -0
- package/package.json +11 -6
- package/src/aggregate.ts +70 -10
- package/src/application_topology.ts +18 -11
- package/src/attested.ts +3 -0
- package/src/attested_core.ts +46 -3
- package/src/birth_meter_ensure.ts +19 -7
- package/src/births.ts +29 -4
- package/src/build_package.ts +140 -13
- package/src/business_birth.ts +181 -4
- package/src/codegen_call_proto.ts +1276 -0
- package/src/codegen_call_usda.ts +49 -6
- package/src/codegen_dart.ts +83 -44
- package/src/codegen_dart_client.ts +458 -800
- package/src/{codegen_dart_application.ts → codegen_dart_facade.ts} +331 -582
- package/src/codegen_dart_framework_calls.ts +320 -37
- package/src/codegen_dart_indexed_variant.ts +159 -0
- package/src/codegen_dart_scenario.ts +42 -13
- package/src/codegen_proof.ts +3 -3
- package/src/codegen_provider_dart.ts +5 -0
- package/src/codegen_query_proto.ts +158 -0
- package/src/codegen_refusal.ts +189 -0
- package/src/codegen_result_proto.ts +931 -0
- package/src/codegen_result_usda.ts +4 -0
- package/src/codegen_ts.ts +464 -616
- package/src/codegen_workspace_access.ts +105 -0
- package/src/compatibility_graph.ts +759 -0
- package/src/compatibility_usda.ts +264 -0
- package/src/compile_package_main.ts +2017 -1195
- package/src/custody_placement.ts +156 -0
- package/src/custody_placement_usda.ts +91 -0
- package/src/decl_shapes.ts +21 -2
- package/src/describe_model.ts +1 -0
- package/src/directive.ts +59 -2
- package/src/drivers.ts +51 -0
- package/src/engine_entry.ts +52 -8
- package/src/evolve_preview.ts +11 -4
- package/src/exists.ts +2 -0
- package/src/fields.ts +75 -11
- package/src/flow_gate.ts +2 -1
- package/src/framework/application_home.ts +170 -18
- package/src/framework/attested_receipts.ts +8 -3
- package/src/framework/auth_provider_law.ts +169 -9
- package/src/framework/birth_certificate_law.ts +4 -0
- package/src/framework/capability.ts +34 -3
- package/src/framework/child_authentication.ts +346 -0
- package/src/framework/console_governance.ts +295 -0
- package/src/framework/delegated_roles.ts +301 -0
- package/src/framework/domain_lifecycle.ts +26 -13
- package/src/framework/founding_genesis.ts +193 -0
- package/src/framework/framework_aggregates.ts +1 -1
- package/src/framework/genesis.ts +6 -1
- package/src/framework/governance_relations.ts +19 -0
- package/src/framework/home.ts +5 -734
- package/src/framework/legacy/child_auth_provider_epoch.ts +73 -0
- package/src/framework/model_authority_repair.ts +116 -0
- package/src/framework/model_authority_seed.ts +185 -0
- package/src/framework/model_transition.ts +211 -0
- package/src/framework/owned_custody.ts +1 -1
- package/src/framework/principal_enrollment.ts +302 -0
- package/src/framework/receiving_group.ts +857 -0
- package/src/framework/receiving_group_recovery.ts +314 -0
- package/src/framework/relations.ts +4 -8
- package/src/framework/signing_identity.ts +242 -95
- package/src/framework/source_roster.ts +11 -5
- package/src/framework/workspace_access.ts +149 -0
- package/src/framework/workspace_invariant.ts +73 -52
- package/src/framework/workspaces.ts +407 -40
- package/src/framework_call_definitions.ts +32 -3
- package/src/generated_client_bundle_boundary.ts +97 -0
- package/src/generated_client_names.ts +1 -0
- package/src/identity_usda.ts +27 -0
- package/src/index.ts +183 -12
- package/src/indexed_variant.ts +83 -0
- package/src/intent.ts +173 -45
- package/src/law_check.ts +8 -5
- package/src/law_dependency_index.ts +231 -0
- package/src/law_graph.ts +508 -71
- package/src/law_graph_usda.ts +170 -24
- package/src/law_identity.ts +119 -81
- package/src/law_source_map.ts +4 -1
- package/src/law_units.ts +498 -0
- package/src/law_value_type.ts +7 -3
- package/src/member_authentication.ts +302 -0
- package/src/null_meta.ts +1 -1
- package/src/openusd_compiled_layer.ts +132 -0
- package/src/operation_contract_check.ts +31 -0
- package/src/ordered_read.ts +2 -1
- package/src/package_config.ts +33 -12
- package/src/package_dependencies.ts +1 -0
- package/src/plan_source_slice.ts +30 -1
- package/src/protobuf_field_number.ts +36 -0
- package/src/provenance_wire.ts +6 -0
- package/src/query.ts +2 -1
- package/src/read.ts +50 -0
- package/src/relation.ts +4 -1
- package/src/relation_schema.ts +15 -2
- package/src/report.ts +2 -2
- package/src/sqlite_computation_bundle.ts +78 -0
- package/src/sqlite_computed.ts +102 -0
- package/src/sqlite_counts.ts +154 -0
- package/src/sqlite_layout.ts +823 -0
- package/src/sqlite_reads.ts +275 -0
- package/src/sqlite_samples.ts +185 -0
- package/src/stable_id_identity_bridge.ts +1 -1
- package/src/stable_ids_for_module.ts +16 -4
- package/src/test_call_usda.ts +6 -6
- package/src/usda_relationship_integrity.ts +20 -3
- package/src/usda_text.ts +21 -1
- package/src/value_object.ts +81 -11
- package/src/wire.ts +22 -0
- package/src/wire_encode.ts +227 -20
- package/src/workspace_sharding.ts +15 -6
- package/src/workspace_sharing.ts +51 -49
- package/src/zod_introspection.ts +2 -0
- package/compat_package.mjs +0 -46
- package/dart/lib/src/home.dart +0 -15
- package/dart/lib/src/runner/offline-install.mjs +0 -15367
- package/dart/lib/src/source_trust.dart +0 -51
- package/dart/lib/src/webview_bridge.dart +0 -6540
- package/dart/lib/src/workspace_name.dart +0 -30
- package/dart/test/acquire_session_credentials_test.dart +0 -150
- package/dart/test/acquire_session_test.dart +0 -534
- package/dart/test/adv_realm_interference_test.dart +0 -600
- package/dart/test/cloud_bound_topology_test.dart +0 -168
- package/dart/test/cluster_births_test.dart +0 -202
- package/dart/test/cluster_device_keyed_acceptance_test.dart +0 -105
- package/dart/test/cluster_local_autosync_test.dart +0 -123
- package/dart/test/cluster_scale_test.dart +0 -122
- package/dart/test/compat_test.dart +0 -61
- package/dart/test/dlq_session_surface_test.dart +0 -222
- package/dart/test/first_app_gauntlet_test.dart +0 -386
- package/dart/test/fixtures/wedge/fake-install.mjs +0 -11
- package/dart/test/four_layer_nested_topology_test.dart +0 -290
- package/dart/test/home_parity_test.dart +0 -13
- package/dart/test/local_sync_inert_test.dart +0 -107
- package/dart/test/node_runner_transport_test.dart +0 -78
- package/dart/test/parent_signer_recovery_test.dart +0 -155
- package/dart/test/residency_refusal_test.dart +0 -49
- package/dart/test/sealing_client_test.dart +0 -181
- package/dart/test/session_bound_test.dart +0 -285
- package/dart/test/stale_bundle_test.dart +0 -80
- package/dart/test/vo_read_typing_test.dart +0 -131
- package/dart/test/watch_after_offer_stall_test.dart +0 -100
- package/dart/test/webview_bridge_test.dart +0 -1930
- package/dart/test/workspace_name_test.dart +0 -24
- package/runtime/generated-application-host.js +0 -22860
- package/src/codegen_query_usda.ts +0 -214
- package/src/compat_manifest.ts +0 -26
- package/src/compat_package_main.ts +0 -224
- package/src/shape_compat.ts +0 -352
- package/src/usd_state.ts +0 -505
|
@@ -0,0 +1,2782 @@
|
|
|
1
|
+
// This is a generated file - do not edit.
|
|
2
|
+
//
|
|
3
|
+
// Generated from nomos/runtime/v2/residency_desk.proto.
|
|
4
|
+
|
|
5
|
+
// @dart = 3.3
|
|
6
|
+
|
|
7
|
+
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
8
|
+
// ignore_for_file: constant_identifier_names
|
|
9
|
+
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
10
|
+
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
11
|
+
// ignore_for_file: non_constant_identifier_names
|
|
12
|
+
|
|
13
|
+
import 'dart:core' as $core;
|
|
14
|
+
|
|
15
|
+
import 'package:fixnum/fixnum.dart' as $fixnum;
|
|
16
|
+
import 'package:protobuf/protobuf.dart' as $pb;
|
|
17
|
+
|
|
18
|
+
import '../../kernel/v1/kernel.pb.dart' as $0;
|
|
19
|
+
import 'custody_desk.pb.dart' as $1;
|
|
20
|
+
import 'residency_desk.pbenum.dart';
|
|
21
|
+
|
|
22
|
+
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
23
|
+
|
|
24
|
+
export 'residency_desk.pbenum.dart';
|
|
25
|
+
|
|
26
|
+
/// A platform shell reports physical memory pressure; it never chooses which
|
|
27
|
+
/// workspace to evict. The peer office applies the shared warm-lease policy and
|
|
28
|
+
/// preserves Git custody while releasing only kernel residency.
|
|
29
|
+
class ResidencyPressureRequest extends $pb.GeneratedMessage {
|
|
30
|
+
factory ResidencyPressureRequest() => create();
|
|
31
|
+
|
|
32
|
+
ResidencyPressureRequest._();
|
|
33
|
+
|
|
34
|
+
factory ResidencyPressureRequest.fromBuffer($core.List<$core.int> data,
|
|
35
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
36
|
+
create()..mergeFromBuffer(data, registry);
|
|
37
|
+
factory ResidencyPressureRequest.fromJson($core.String json,
|
|
38
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
39
|
+
create()..mergeFromJson(json, registry);
|
|
40
|
+
|
|
41
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
42
|
+
_omitMessageNames ? '' : 'ResidencyPressureRequest',
|
|
43
|
+
package:
|
|
44
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
45
|
+
createEmptyInstance: create)
|
|
46
|
+
..hasRequiredFields = false;
|
|
47
|
+
|
|
48
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
49
|
+
ResidencyPressureRequest clone() => deepCopy();
|
|
50
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
51
|
+
ResidencyPressureRequest copyWith(
|
|
52
|
+
void Function(ResidencyPressureRequest) updates) =>
|
|
53
|
+
super.copyWith((message) => updates(message as ResidencyPressureRequest))
|
|
54
|
+
as ResidencyPressureRequest;
|
|
55
|
+
|
|
56
|
+
@$core.override
|
|
57
|
+
$pb.BuilderInfo get info_ => _i;
|
|
58
|
+
|
|
59
|
+
@$core.pragma('dart2js:noInline')
|
|
60
|
+
static ResidencyPressureRequest create() => ResidencyPressureRequest._();
|
|
61
|
+
@$core.override
|
|
62
|
+
ResidencyPressureRequest createEmptyInstance() => create();
|
|
63
|
+
@$core.pragma('dart2js:noInline')
|
|
64
|
+
static ResidencyPressureRequest getDefault() => _defaultInstance ??=
|
|
65
|
+
$pb.GeneratedMessage.$_defaultFor<ResidencyPressureRequest>(create);
|
|
66
|
+
static ResidencyPressureRequest? _defaultInstance;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/// Internal Peer Runtime paper used by its background scheduler. The shell
|
|
70
|
+
/// never authors this request; it only executes the resulting physical effect.
|
|
71
|
+
class RetainFrontierRequest extends $pb.GeneratedMessage {
|
|
72
|
+
factory RetainFrontierRequest({
|
|
73
|
+
$core.String? workspace,
|
|
74
|
+
$core.String? branch,
|
|
75
|
+
$core.String? head,
|
|
76
|
+
}) {
|
|
77
|
+
final result = create();
|
|
78
|
+
if (workspace != null) result.workspace = workspace;
|
|
79
|
+
if (branch != null) result.branch = branch;
|
|
80
|
+
if (head != null) result.head = head;
|
|
81
|
+
return result;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
RetainFrontierRequest._();
|
|
85
|
+
|
|
86
|
+
factory RetainFrontierRequest.fromBuffer($core.List<$core.int> data,
|
|
87
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
88
|
+
create()..mergeFromBuffer(data, registry);
|
|
89
|
+
factory RetainFrontierRequest.fromJson($core.String json,
|
|
90
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
91
|
+
create()..mergeFromJson(json, registry);
|
|
92
|
+
|
|
93
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
94
|
+
_omitMessageNames ? '' : 'RetainFrontierRequest',
|
|
95
|
+
package:
|
|
96
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
97
|
+
createEmptyInstance: create)
|
|
98
|
+
..aOS(1, _omitFieldNames ? '' : 'workspace')
|
|
99
|
+
..aOS(2, _omitFieldNames ? '' : 'branch')
|
|
100
|
+
..aOS(3, _omitFieldNames ? '' : 'head')
|
|
101
|
+
..hasRequiredFields = false;
|
|
102
|
+
|
|
103
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
104
|
+
RetainFrontierRequest clone() => deepCopy();
|
|
105
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
106
|
+
RetainFrontierRequest copyWith(
|
|
107
|
+
void Function(RetainFrontierRequest) updates) =>
|
|
108
|
+
super.copyWith((message) => updates(message as RetainFrontierRequest))
|
|
109
|
+
as RetainFrontierRequest;
|
|
110
|
+
|
|
111
|
+
@$core.override
|
|
112
|
+
$pb.BuilderInfo get info_ => _i;
|
|
113
|
+
|
|
114
|
+
@$core.pragma('dart2js:noInline')
|
|
115
|
+
static RetainFrontierRequest create() => RetainFrontierRequest._();
|
|
116
|
+
@$core.override
|
|
117
|
+
RetainFrontierRequest createEmptyInstance() => create();
|
|
118
|
+
@$core.pragma('dart2js:noInline')
|
|
119
|
+
static RetainFrontierRequest getDefault() => _defaultInstance ??=
|
|
120
|
+
$pb.GeneratedMessage.$_defaultFor<RetainFrontierRequest>(create);
|
|
121
|
+
static RetainFrontierRequest? _defaultInstance;
|
|
122
|
+
|
|
123
|
+
@$pb.TagNumber(1)
|
|
124
|
+
$core.String get workspace => $_getSZ(0);
|
|
125
|
+
@$pb.TagNumber(1)
|
|
126
|
+
set workspace($core.String value) => $_setString(0, value);
|
|
127
|
+
@$pb.TagNumber(1)
|
|
128
|
+
$core.bool hasWorkspace() => $_has(0);
|
|
129
|
+
@$pb.TagNumber(1)
|
|
130
|
+
void clearWorkspace() => $_clearField(1);
|
|
131
|
+
|
|
132
|
+
@$pb.TagNumber(2)
|
|
133
|
+
$core.String get branch => $_getSZ(1);
|
|
134
|
+
@$pb.TagNumber(2)
|
|
135
|
+
set branch($core.String value) => $_setString(1, value);
|
|
136
|
+
@$pb.TagNumber(2)
|
|
137
|
+
$core.bool hasBranch() => $_has(1);
|
|
138
|
+
@$pb.TagNumber(2)
|
|
139
|
+
void clearBranch() => $_clearField(2);
|
|
140
|
+
|
|
141
|
+
@$pb.TagNumber(3)
|
|
142
|
+
$core.String get head => $_getSZ(2);
|
|
143
|
+
@$pb.TagNumber(3)
|
|
144
|
+
set head($core.String value) => $_setString(2, value);
|
|
145
|
+
@$pb.TagNumber(3)
|
|
146
|
+
$core.bool hasHead() => $_has(2);
|
|
147
|
+
@$pb.TagNumber(3)
|
|
148
|
+
void clearHead() => $_clearField(3);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
class ResidencyPressureRelieved extends $pb.GeneratedMessage {
|
|
152
|
+
factory ResidencyPressureRelieved({
|
|
153
|
+
$core.Iterable<$core.String>? evictedWorkspaces,
|
|
154
|
+
$core.Iterable<$core.String>? warmWorkspaces,
|
|
155
|
+
$fixnum.Int64? warmResidencyMillis,
|
|
156
|
+
}) {
|
|
157
|
+
final result = create();
|
|
158
|
+
if (evictedWorkspaces != null)
|
|
159
|
+
result.evictedWorkspaces.addAll(evictedWorkspaces);
|
|
160
|
+
if (warmWorkspaces != null) result.warmWorkspaces.addAll(warmWorkspaces);
|
|
161
|
+
if (warmResidencyMillis != null)
|
|
162
|
+
result.warmResidencyMillis = warmResidencyMillis;
|
|
163
|
+
return result;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
ResidencyPressureRelieved._();
|
|
167
|
+
|
|
168
|
+
factory ResidencyPressureRelieved.fromBuffer($core.List<$core.int> data,
|
|
169
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
170
|
+
create()..mergeFromBuffer(data, registry);
|
|
171
|
+
factory ResidencyPressureRelieved.fromJson($core.String json,
|
|
172
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
173
|
+
create()..mergeFromJson(json, registry);
|
|
174
|
+
|
|
175
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
176
|
+
_omitMessageNames ? '' : 'ResidencyPressureRelieved',
|
|
177
|
+
package:
|
|
178
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
179
|
+
createEmptyInstance: create)
|
|
180
|
+
..pPS(1, _omitFieldNames ? '' : 'evictedWorkspaces')
|
|
181
|
+
..pPS(2, _omitFieldNames ? '' : 'warmWorkspaces')
|
|
182
|
+
..a<$fixnum.Int64>(
|
|
183
|
+
3, _omitFieldNames ? '' : 'warmResidencyMillis', $pb.PbFieldType.OU6,
|
|
184
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
185
|
+
..hasRequiredFields = false;
|
|
186
|
+
|
|
187
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
188
|
+
ResidencyPressureRelieved clone() => deepCopy();
|
|
189
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
190
|
+
ResidencyPressureRelieved copyWith(
|
|
191
|
+
void Function(ResidencyPressureRelieved) updates) =>
|
|
192
|
+
super.copyWith((message) => updates(message as ResidencyPressureRelieved))
|
|
193
|
+
as ResidencyPressureRelieved;
|
|
194
|
+
|
|
195
|
+
@$core.override
|
|
196
|
+
$pb.BuilderInfo get info_ => _i;
|
|
197
|
+
|
|
198
|
+
@$core.pragma('dart2js:noInline')
|
|
199
|
+
static ResidencyPressureRelieved create() => ResidencyPressureRelieved._();
|
|
200
|
+
@$core.override
|
|
201
|
+
ResidencyPressureRelieved createEmptyInstance() => create();
|
|
202
|
+
@$core.pragma('dart2js:noInline')
|
|
203
|
+
static ResidencyPressureRelieved getDefault() => _defaultInstance ??=
|
|
204
|
+
$pb.GeneratedMessage.$_defaultFor<ResidencyPressureRelieved>(create);
|
|
205
|
+
static ResidencyPressureRelieved? _defaultInstance;
|
|
206
|
+
|
|
207
|
+
@$pb.TagNumber(1)
|
|
208
|
+
$pb.PbList<$core.String> get evictedWorkspaces => $_getList(0);
|
|
209
|
+
|
|
210
|
+
@$pb.TagNumber(2)
|
|
211
|
+
$pb.PbList<$core.String> get warmWorkspaces => $_getList(1);
|
|
212
|
+
|
|
213
|
+
@$pb.TagNumber(3)
|
|
214
|
+
$fixnum.Int64 get warmResidencyMillis => $_getI64(2);
|
|
215
|
+
@$pb.TagNumber(3)
|
|
216
|
+
set warmResidencyMillis($fixnum.Int64 value) => $_setInt64(2, value);
|
|
217
|
+
@$pb.TagNumber(3)
|
|
218
|
+
$core.bool hasWarmResidencyMillis() => $_has(2);
|
|
219
|
+
@$pb.TagNumber(3)
|
|
220
|
+
void clearWarmResidencyMillis() => $_clearField(3);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/// ── Physical host telemetry ───────────────────────────────────────────────────
|
|
224
|
+
/// A platform-shell process describes itself. This is operator telemetry with no
|
|
225
|
+
/// authority: nothing here admits an effect, selects a kernel or moves custody.
|
|
226
|
+
/// It is the ONE contract for a host's /health and /kernel/refresh answers,
|
|
227
|
+
/// the edge's /v1/ops/residency aggregate, placement headroom, peer restarts and the
|
|
228
|
+
/// kernel-release swap proof. Until 2026-09-07 each of those hand-rolled its own
|
|
229
|
+
/// JSON and a renamed field (pid/booted → replica) silently broke kernel releases.
|
|
230
|
+
/// Physical detail about ONE resident workspace, keyed by a name in
|
|
231
|
+
/// HostHealth.resident_workspaces. Telemetry only: it ranks candidates for an operator or a
|
|
232
|
+
/// shedding policy and admits nothing.
|
|
233
|
+
class ResidentWorkspaceDetail extends $pb.GeneratedMessage {
|
|
234
|
+
factory ResidentWorkspaceDetail({
|
|
235
|
+
$core.String? workspace,
|
|
236
|
+
$fixnum.Int64? idleMillis,
|
|
237
|
+
$fixnum.Int64? repositoryBytes,
|
|
238
|
+
$fixnum.Int64? materializedFrontierBytes,
|
|
239
|
+
ResidentWorkspaceReadiness? readiness,
|
|
240
|
+
$core.String? sqliteHead,
|
|
241
|
+
$core.String? gitHead,
|
|
242
|
+
LocalHistoryPosture? historyPosture,
|
|
243
|
+
$core.int? shallowBoundaries,
|
|
244
|
+
$fixnum.Int64? repositoryMeasuredAtUnixMillis,
|
|
245
|
+
$fixnum.Int64? frontierMeasuredAtUnixMillis,
|
|
246
|
+
ResidentPlacement? placement,
|
|
247
|
+
ResidentOutbox? outbox,
|
|
248
|
+
ResidentAggregateCensus? census,
|
|
249
|
+
$core.String? fullReplayHead,
|
|
250
|
+
}) {
|
|
251
|
+
final result = create();
|
|
252
|
+
if (workspace != null) result.workspace = workspace;
|
|
253
|
+
if (idleMillis != null) result.idleMillis = idleMillis;
|
|
254
|
+
if (repositoryBytes != null) result.repositoryBytes = repositoryBytes;
|
|
255
|
+
if (materializedFrontierBytes != null)
|
|
256
|
+
result.materializedFrontierBytes = materializedFrontierBytes;
|
|
257
|
+
if (readiness != null) result.readiness = readiness;
|
|
258
|
+
if (sqliteHead != null) result.sqliteHead = sqliteHead;
|
|
259
|
+
if (gitHead != null) result.gitHead = gitHead;
|
|
260
|
+
if (historyPosture != null) result.historyPosture = historyPosture;
|
|
261
|
+
if (shallowBoundaries != null) result.shallowBoundaries = shallowBoundaries;
|
|
262
|
+
if (repositoryMeasuredAtUnixMillis != null)
|
|
263
|
+
result.repositoryMeasuredAtUnixMillis = repositoryMeasuredAtUnixMillis;
|
|
264
|
+
if (frontierMeasuredAtUnixMillis != null)
|
|
265
|
+
result.frontierMeasuredAtUnixMillis = frontierMeasuredAtUnixMillis;
|
|
266
|
+
if (placement != null) result.placement = placement;
|
|
267
|
+
if (outbox != null) result.outbox = outbox;
|
|
268
|
+
if (census != null) result.census = census;
|
|
269
|
+
if (fullReplayHead != null) result.fullReplayHead = fullReplayHead;
|
|
270
|
+
return result;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
ResidentWorkspaceDetail._();
|
|
274
|
+
|
|
275
|
+
factory ResidentWorkspaceDetail.fromBuffer($core.List<$core.int> data,
|
|
276
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
277
|
+
create()..mergeFromBuffer(data, registry);
|
|
278
|
+
factory ResidentWorkspaceDetail.fromJson($core.String json,
|
|
279
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
280
|
+
create()..mergeFromJson(json, registry);
|
|
281
|
+
|
|
282
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
283
|
+
_omitMessageNames ? '' : 'ResidentWorkspaceDetail',
|
|
284
|
+
package:
|
|
285
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
286
|
+
createEmptyInstance: create)
|
|
287
|
+
..aOS(1, _omitFieldNames ? '' : 'workspace')
|
|
288
|
+
..a<$fixnum.Int64>(
|
|
289
|
+
2, _omitFieldNames ? '' : 'idleMillis', $pb.PbFieldType.OU6,
|
|
290
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
291
|
+
..a<$fixnum.Int64>(
|
|
292
|
+
3, _omitFieldNames ? '' : 'repositoryBytes', $pb.PbFieldType.OU6,
|
|
293
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
294
|
+
..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'materializedFrontierBytes',
|
|
295
|
+
$pb.PbFieldType.OU6,
|
|
296
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
297
|
+
..aE<ResidentWorkspaceReadiness>(5, _omitFieldNames ? '' : 'readiness',
|
|
298
|
+
enumValues: ResidentWorkspaceReadiness.values)
|
|
299
|
+
..aOS(6, _omitFieldNames ? '' : 'sqliteHead')
|
|
300
|
+
..aOS(7, _omitFieldNames ? '' : 'gitHead')
|
|
301
|
+
..aE<LocalHistoryPosture>(8, _omitFieldNames ? '' : 'historyPosture',
|
|
302
|
+
enumValues: LocalHistoryPosture.values)
|
|
303
|
+
..aI(9, _omitFieldNames ? '' : 'shallowBoundaries',
|
|
304
|
+
fieldType: $pb.PbFieldType.OU3)
|
|
305
|
+
..a<$fixnum.Int64>(
|
|
306
|
+
10,
|
|
307
|
+
_omitFieldNames ? '' : 'repositoryMeasuredAtUnixMillis',
|
|
308
|
+
$pb.PbFieldType.OU6,
|
|
309
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
310
|
+
..a<$fixnum.Int64>(
|
|
311
|
+
11,
|
|
312
|
+
_omitFieldNames ? '' : 'frontierMeasuredAtUnixMillis',
|
|
313
|
+
$pb.PbFieldType.OU6,
|
|
314
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
315
|
+
..aOM<ResidentPlacement>(12, _omitFieldNames ? '' : 'placement',
|
|
316
|
+
subBuilder: ResidentPlacement.create)
|
|
317
|
+
..aOM<ResidentOutbox>(13, _omitFieldNames ? '' : 'outbox',
|
|
318
|
+
subBuilder: ResidentOutbox.create)
|
|
319
|
+
..aOM<ResidentAggregateCensus>(14, _omitFieldNames ? '' : 'census',
|
|
320
|
+
subBuilder: ResidentAggregateCensus.create)
|
|
321
|
+
..aOS(15, _omitFieldNames ? '' : 'fullReplayHead')
|
|
322
|
+
..hasRequiredFields = false;
|
|
323
|
+
|
|
324
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
325
|
+
ResidentWorkspaceDetail clone() => deepCopy();
|
|
326
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
327
|
+
ResidentWorkspaceDetail copyWith(
|
|
328
|
+
void Function(ResidentWorkspaceDetail) updates) =>
|
|
329
|
+
super.copyWith((message) => updates(message as ResidentWorkspaceDetail))
|
|
330
|
+
as ResidentWorkspaceDetail;
|
|
331
|
+
|
|
332
|
+
@$core.override
|
|
333
|
+
$pb.BuilderInfo get info_ => _i;
|
|
334
|
+
|
|
335
|
+
@$core.pragma('dart2js:noInline')
|
|
336
|
+
static ResidentWorkspaceDetail create() => ResidentWorkspaceDetail._();
|
|
337
|
+
@$core.override
|
|
338
|
+
ResidentWorkspaceDetail createEmptyInstance() => create();
|
|
339
|
+
@$core.pragma('dart2js:noInline')
|
|
340
|
+
static ResidentWorkspaceDetail getDefault() => _defaultInstance ??=
|
|
341
|
+
$pb.GeneratedMessage.$_defaultFor<ResidentWorkspaceDetail>(create);
|
|
342
|
+
static ResidentWorkspaceDetail? _defaultInstance;
|
|
343
|
+
|
|
344
|
+
@$pb.TagNumber(1)
|
|
345
|
+
$core.String get workspace => $_getSZ(0);
|
|
346
|
+
@$pb.TagNumber(1)
|
|
347
|
+
set workspace($core.String value) => $_setString(0, value);
|
|
348
|
+
@$pb.TagNumber(1)
|
|
349
|
+
$core.bool hasWorkspace() => $_has(0);
|
|
350
|
+
@$pb.TagNumber(1)
|
|
351
|
+
void clearWorkspace() => $_clearField(1);
|
|
352
|
+
|
|
353
|
+
/// Milliseconds since this host last carried work for this workspace. A host that has not
|
|
354
|
+
/// observed it since starting reports its own uptime, never zero.
|
|
355
|
+
@$pb.TagNumber(2)
|
|
356
|
+
$fixnum.Int64 get idleMillis => $_getI64(1);
|
|
357
|
+
@$pb.TagNumber(2)
|
|
358
|
+
set idleMillis($fixnum.Int64 value) => $_setInt64(1, value);
|
|
359
|
+
@$pb.TagNumber(2)
|
|
360
|
+
$core.bool hasIdleMillis() => $_has(1);
|
|
361
|
+
@$pb.TagNumber(2)
|
|
362
|
+
void clearIdleMillis() => $_clearField(2);
|
|
363
|
+
|
|
364
|
+
/// Bytes of retained Git custody in the kernel's preopened filesystem. This is the only
|
|
365
|
+
/// per-workspace magnitude a peer can state honestly — the kernel's linear memory is one
|
|
366
|
+
/// allocator shared by every resident — so it is a FLOOR on a workspace's footprint, not its total.
|
|
367
|
+
@$pb.TagNumber(3)
|
|
368
|
+
$fixnum.Int64 get repositoryBytes => $_getI64(2);
|
|
369
|
+
@$pb.TagNumber(3)
|
|
370
|
+
set repositoryBytes($fixnum.Int64 value) => $_setInt64(2, value);
|
|
371
|
+
@$pb.TagNumber(3)
|
|
372
|
+
$core.bool hasRepositoryBytes() => $_has(2);
|
|
373
|
+
@$pb.TagNumber(3)
|
|
374
|
+
void clearRepositoryBytes() => $_clearField(3);
|
|
375
|
+
|
|
376
|
+
/// Exact resident SQLite image (`page_count x page_size`) for this workspace's current `main`
|
|
377
|
+
/// projection. This is a useful operational proxy for materialized frontier size, not canonical
|
|
378
|
+
/// application-state bytes and not total resident memory. Absent means not measured.
|
|
379
|
+
@$pb.TagNumber(4)
|
|
380
|
+
$fixnum.Int64 get materializedFrontierBytes => $_getI64(3);
|
|
381
|
+
@$pb.TagNumber(4)
|
|
382
|
+
set materializedFrontierBytes($fixnum.Int64 value) => $_setInt64(3, value);
|
|
383
|
+
@$pb.TagNumber(4)
|
|
384
|
+
$core.bool hasMaterializedFrontierBytes() => $_has(3);
|
|
385
|
+
@$pb.TagNumber(4)
|
|
386
|
+
void clearMaterializedFrontierBytes() => $_clearField(4);
|
|
387
|
+
|
|
388
|
+
/// One exhaustive operator posture derived from the typed facts below. A consumer never infers
|
|
389
|
+
/// readiness from non-zero byte counts, and aligned means the SQLite accelerator and Git custody
|
|
390
|
+
/// name the SAME authenticated head.
|
|
391
|
+
@$pb.TagNumber(5)
|
|
392
|
+
ResidentWorkspaceReadiness get readiness => $_getN(4);
|
|
393
|
+
@$pb.TagNumber(5)
|
|
394
|
+
set readiness(ResidentWorkspaceReadiness value) => $_setField(5, value);
|
|
395
|
+
@$pb.TagNumber(5)
|
|
396
|
+
$core.bool hasReadiness() => $_has(4);
|
|
397
|
+
@$pb.TagNumber(5)
|
|
398
|
+
void clearReadiness() => $_clearField(5);
|
|
399
|
+
|
|
400
|
+
/// Exact Git head whose verified SQLite accelerator can currently answer reads. Absent means no
|
|
401
|
+
/// read-ready projection is attached; it does not mean an on-disk accelerator is impossible.
|
|
402
|
+
@$pb.TagNumber(6)
|
|
403
|
+
$core.String get sqliteHead => $_getSZ(5);
|
|
404
|
+
@$pb.TagNumber(6)
|
|
405
|
+
set sqliteHead($core.String value) => $_setString(5, value);
|
|
406
|
+
@$pb.TagNumber(6)
|
|
407
|
+
$core.bool hasSqliteHead() => $_has(5);
|
|
408
|
+
@$pb.TagNumber(6)
|
|
409
|
+
void clearSqliteHead() => $_clearField(6);
|
|
410
|
+
|
|
411
|
+
/// Exact refs/heads/main currently mounted as local Git custody. Absent is compatible with
|
|
412
|
+
/// SQLITE_ONLY: a disposable cloud process may serve a retained verified accelerator before it
|
|
413
|
+
/// has reason to reopen shallow Git custody.
|
|
414
|
+
@$pb.TagNumber(7)
|
|
415
|
+
$core.String get gitHead => $_getSZ(6);
|
|
416
|
+
@$pb.TagNumber(7)
|
|
417
|
+
set gitHead($core.String value) => $_setString(6, value);
|
|
418
|
+
@$pb.TagNumber(7)
|
|
419
|
+
$core.bool hasGitHead() => $_has(6);
|
|
420
|
+
@$pb.TagNumber(7)
|
|
421
|
+
void clearGitHead() => $_clearField(7);
|
|
422
|
+
|
|
423
|
+
@$pb.TagNumber(8)
|
|
424
|
+
LocalHistoryPosture get historyPosture => $_getN(7);
|
|
425
|
+
@$pb.TagNumber(8)
|
|
426
|
+
set historyPosture(LocalHistoryPosture value) => $_setField(8, value);
|
|
427
|
+
@$pb.TagNumber(8)
|
|
428
|
+
$core.bool hasHistoryPosture() => $_has(7);
|
|
429
|
+
@$pb.TagNumber(8)
|
|
430
|
+
void clearHistoryPosture() => $_clearField(8);
|
|
431
|
+
|
|
432
|
+
/// Exact number of Git shallow boundaries when history posture is PARTIAL.
|
|
433
|
+
@$pb.TagNumber(9)
|
|
434
|
+
$core.int get shallowBoundaries => $_getIZ(8);
|
|
435
|
+
@$pb.TagNumber(9)
|
|
436
|
+
set shallowBoundaries($core.int value) => $_setUnsignedInt32(8, value);
|
|
437
|
+
@$pb.TagNumber(9)
|
|
438
|
+
$core.bool hasShallowBoundaries() => $_has(8);
|
|
439
|
+
@$pb.TagNumber(9)
|
|
440
|
+
void clearShallowBoundaries() => $_clearField(9);
|
|
441
|
+
|
|
442
|
+
/// Host times of the independently amortised physical byte samples. Heads and lifecycle posture
|
|
443
|
+
/// are refreshed by their own transitions and do not inherit these ages.
|
|
444
|
+
@$pb.TagNumber(10)
|
|
445
|
+
$fixnum.Int64 get repositoryMeasuredAtUnixMillis => $_getI64(9);
|
|
446
|
+
@$pb.TagNumber(10)
|
|
447
|
+
set repositoryMeasuredAtUnixMillis($fixnum.Int64 value) =>
|
|
448
|
+
$_setInt64(9, value);
|
|
449
|
+
@$pb.TagNumber(10)
|
|
450
|
+
$core.bool hasRepositoryMeasuredAtUnixMillis() => $_has(9);
|
|
451
|
+
@$pb.TagNumber(10)
|
|
452
|
+
void clearRepositoryMeasuredAtUnixMillis() => $_clearField(10);
|
|
453
|
+
|
|
454
|
+
@$pb.TagNumber(11)
|
|
455
|
+
$fixnum.Int64 get frontierMeasuredAtUnixMillis => $_getI64(10);
|
|
456
|
+
@$pb.TagNumber(11)
|
|
457
|
+
set frontierMeasuredAtUnixMillis($fixnum.Int64 value) =>
|
|
458
|
+
$_setInt64(10, value);
|
|
459
|
+
@$pb.TagNumber(11)
|
|
460
|
+
$core.bool hasFrontierMeasuredAtUnixMillis() => $_has(10);
|
|
461
|
+
@$pb.TagNumber(11)
|
|
462
|
+
void clearFrontierMeasuredAtUnixMillis() => $_clearField(11);
|
|
463
|
+
|
|
464
|
+
/// The placement this host last resolved for the workspace. A cached observation from the
|
|
465
|
+
/// placement desk's own reads, never a kernel read at health time. Absent means the host has
|
|
466
|
+
/// not resolved placement for it since the process started — UNKNOWN, not "no policy".
|
|
467
|
+
@$pb.TagNumber(12)
|
|
468
|
+
ResidentPlacement get placement => $_getN(11);
|
|
469
|
+
@$pb.TagNumber(12)
|
|
470
|
+
set placement(ResidentPlacement value) => $_setField(12, value);
|
|
471
|
+
@$pb.TagNumber(12)
|
|
472
|
+
$core.bool hasPlacement() => $_has(11);
|
|
473
|
+
@$pb.TagNumber(12)
|
|
474
|
+
void clearPlacement() => $_clearField(12);
|
|
475
|
+
@$pb.TagNumber(12)
|
|
476
|
+
ResidentPlacement ensurePlacement() => $_ensure(11);
|
|
477
|
+
|
|
478
|
+
/// What the host's last inspection of this workspace's durable outbox found. Cached from the
|
|
479
|
+
/// correspondence desk's own inventory; absent means not inspected since the process started.
|
|
480
|
+
@$pb.TagNumber(13)
|
|
481
|
+
ResidentOutbox get outbox => $_getN(12);
|
|
482
|
+
@$pb.TagNumber(13)
|
|
483
|
+
set outbox(ResidentOutbox value) => $_setField(13, value);
|
|
484
|
+
@$pb.TagNumber(13)
|
|
485
|
+
$core.bool hasOutbox() => $_has(12);
|
|
486
|
+
@$pb.TagNumber(13)
|
|
487
|
+
void clearOutbox() => $_clearField(13);
|
|
488
|
+
@$pb.TagNumber(13)
|
|
489
|
+
ResidentOutbox ensureOutbox() => $_ensure(12);
|
|
490
|
+
|
|
491
|
+
/// How much state the workspace holds, and of what, at its last census. Sampled on the idle
|
|
492
|
+
/// lane only when the head moved; absent when never taken or the kernel predates the census.
|
|
493
|
+
@$pb.TagNumber(14)
|
|
494
|
+
ResidentAggregateCensus get census => $_getN(13);
|
|
495
|
+
@$pb.TagNumber(14)
|
|
496
|
+
set census(ResidentAggregateCensus value) => $_setField(14, value);
|
|
497
|
+
@$pb.TagNumber(14)
|
|
498
|
+
$core.bool hasCensus() => $_has(13);
|
|
499
|
+
@$pb.TagNumber(14)
|
|
500
|
+
void clearCensus() => $_clearField(14);
|
|
501
|
+
@$pb.TagNumber(14)
|
|
502
|
+
ResidentAggregateCensus ensureCensus() => $_ensure(13);
|
|
503
|
+
|
|
504
|
+
/// Last exact head this process's kernel fully replayed from genesis for this workspace.
|
|
505
|
+
/// HostHealth copies the kernel's idle-lane observation; consumers must match git_head.
|
|
506
|
+
@$pb.TagNumber(15)
|
|
507
|
+
$core.String get fullReplayHead => $_getSZ(14);
|
|
508
|
+
@$pb.TagNumber(15)
|
|
509
|
+
set fullReplayHead($core.String value) => $_setString(14, value);
|
|
510
|
+
@$pb.TagNumber(15)
|
|
511
|
+
$core.bool hasFullReplayHead() => $_has(14);
|
|
512
|
+
@$pb.TagNumber(15)
|
|
513
|
+
void clearFullReplayHead() => $_clearField(15);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/// The frontier's authenticated aggregate count, and the most numerous types from the resident
|
|
517
|
+
/// read accelerator. `top_types` describe the head's state only when `types_state_root` equals
|
|
518
|
+
/// `state_root`; otherwise they describe the (named) older state the accelerator is bound to.
|
|
519
|
+
class ResidentAggregateCensus extends $pb.GeneratedMessage {
|
|
520
|
+
factory ResidentAggregateCensus({
|
|
521
|
+
$core.String? head,
|
|
522
|
+
$fixnum.Int64? aggregateCount,
|
|
523
|
+
$core.String? stateRoot,
|
|
524
|
+
$core.Iterable<$0.AggregateTypeCount>? topTypes,
|
|
525
|
+
$core.String? typesStateRoot,
|
|
526
|
+
$fixnum.Int64? observedUnixMillis,
|
|
527
|
+
}) {
|
|
528
|
+
final result = create();
|
|
529
|
+
if (head != null) result.head = head;
|
|
530
|
+
if (aggregateCount != null) result.aggregateCount = aggregateCount;
|
|
531
|
+
if (stateRoot != null) result.stateRoot = stateRoot;
|
|
532
|
+
if (topTypes != null) result.topTypes.addAll(topTypes);
|
|
533
|
+
if (typesStateRoot != null) result.typesStateRoot = typesStateRoot;
|
|
534
|
+
if (observedUnixMillis != null)
|
|
535
|
+
result.observedUnixMillis = observedUnixMillis;
|
|
536
|
+
return result;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
ResidentAggregateCensus._();
|
|
540
|
+
|
|
541
|
+
factory ResidentAggregateCensus.fromBuffer($core.List<$core.int> data,
|
|
542
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
543
|
+
create()..mergeFromBuffer(data, registry);
|
|
544
|
+
factory ResidentAggregateCensus.fromJson($core.String json,
|
|
545
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
546
|
+
create()..mergeFromJson(json, registry);
|
|
547
|
+
|
|
548
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
549
|
+
_omitMessageNames ? '' : 'ResidentAggregateCensus',
|
|
550
|
+
package:
|
|
551
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
552
|
+
createEmptyInstance: create)
|
|
553
|
+
..aOS(1, _omitFieldNames ? '' : 'head')
|
|
554
|
+
..a<$fixnum.Int64>(
|
|
555
|
+
2, _omitFieldNames ? '' : 'aggregateCount', $pb.PbFieldType.OU6,
|
|
556
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
557
|
+
..aOS(3, _omitFieldNames ? '' : 'stateRoot')
|
|
558
|
+
..pPM<$0.AggregateTypeCount>(4, _omitFieldNames ? '' : 'topTypes',
|
|
559
|
+
subBuilder: $0.AggregateTypeCount.create)
|
|
560
|
+
..aOS(5, _omitFieldNames ? '' : 'typesStateRoot')
|
|
561
|
+
..a<$fixnum.Int64>(
|
|
562
|
+
6, _omitFieldNames ? '' : 'observedUnixMillis', $pb.PbFieldType.OU6,
|
|
563
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
564
|
+
..hasRequiredFields = false;
|
|
565
|
+
|
|
566
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
567
|
+
ResidentAggregateCensus clone() => deepCopy();
|
|
568
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
569
|
+
ResidentAggregateCensus copyWith(
|
|
570
|
+
void Function(ResidentAggregateCensus) updates) =>
|
|
571
|
+
super.copyWith((message) => updates(message as ResidentAggregateCensus))
|
|
572
|
+
as ResidentAggregateCensus;
|
|
573
|
+
|
|
574
|
+
@$core.override
|
|
575
|
+
$pb.BuilderInfo get info_ => _i;
|
|
576
|
+
|
|
577
|
+
@$core.pragma('dart2js:noInline')
|
|
578
|
+
static ResidentAggregateCensus create() => ResidentAggregateCensus._();
|
|
579
|
+
@$core.override
|
|
580
|
+
ResidentAggregateCensus createEmptyInstance() => create();
|
|
581
|
+
@$core.pragma('dart2js:noInline')
|
|
582
|
+
static ResidentAggregateCensus getDefault() => _defaultInstance ??=
|
|
583
|
+
$pb.GeneratedMessage.$_defaultFor<ResidentAggregateCensus>(create);
|
|
584
|
+
static ResidentAggregateCensus? _defaultInstance;
|
|
585
|
+
|
|
586
|
+
@$pb.TagNumber(1)
|
|
587
|
+
$core.String get head => $_getSZ(0);
|
|
588
|
+
@$pb.TagNumber(1)
|
|
589
|
+
set head($core.String value) => $_setString(0, value);
|
|
590
|
+
@$pb.TagNumber(1)
|
|
591
|
+
$core.bool hasHead() => $_has(0);
|
|
592
|
+
@$pb.TagNumber(1)
|
|
593
|
+
void clearHead() => $_clearField(1);
|
|
594
|
+
|
|
595
|
+
@$pb.TagNumber(2)
|
|
596
|
+
$fixnum.Int64 get aggregateCount => $_getI64(1);
|
|
597
|
+
@$pb.TagNumber(2)
|
|
598
|
+
set aggregateCount($fixnum.Int64 value) => $_setInt64(1, value);
|
|
599
|
+
@$pb.TagNumber(2)
|
|
600
|
+
$core.bool hasAggregateCount() => $_has(1);
|
|
601
|
+
@$pb.TagNumber(2)
|
|
602
|
+
void clearAggregateCount() => $_clearField(2);
|
|
603
|
+
|
|
604
|
+
@$pb.TagNumber(3)
|
|
605
|
+
$core.String get stateRoot => $_getSZ(2);
|
|
606
|
+
@$pb.TagNumber(3)
|
|
607
|
+
set stateRoot($core.String value) => $_setString(2, value);
|
|
608
|
+
@$pb.TagNumber(3)
|
|
609
|
+
$core.bool hasStateRoot() => $_has(2);
|
|
610
|
+
@$pb.TagNumber(3)
|
|
611
|
+
void clearStateRoot() => $_clearField(3);
|
|
612
|
+
|
|
613
|
+
@$pb.TagNumber(4)
|
|
614
|
+
$pb.PbList<$0.AggregateTypeCount> get topTypes => $_getList(3);
|
|
615
|
+
|
|
616
|
+
@$pb.TagNumber(5)
|
|
617
|
+
$core.String get typesStateRoot => $_getSZ(4);
|
|
618
|
+
@$pb.TagNumber(5)
|
|
619
|
+
set typesStateRoot($core.String value) => $_setString(4, value);
|
|
620
|
+
@$pb.TagNumber(5)
|
|
621
|
+
$core.bool hasTypesStateRoot() => $_has(4);
|
|
622
|
+
@$pb.TagNumber(5)
|
|
623
|
+
void clearTypesStateRoot() => $_clearField(5);
|
|
624
|
+
|
|
625
|
+
@$pb.TagNumber(6)
|
|
626
|
+
$fixnum.Int64 get observedUnixMillis => $_getI64(5);
|
|
627
|
+
@$pb.TagNumber(6)
|
|
628
|
+
set observedUnixMillis($fixnum.Int64 value) => $_setInt64(5, value);
|
|
629
|
+
@$pb.TagNumber(6)
|
|
630
|
+
$core.bool hasObservedUnixMillis() => $_has(5);
|
|
631
|
+
@$pb.TagNumber(6)
|
|
632
|
+
void clearObservedUnixMillis() => $_clearField(6);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
/// One peer-class rule of a declared placement policy. A class whose custody retention is NONE
|
|
636
|
+
/// holds no replica: it reaches the workspace through the named remotes only.
|
|
637
|
+
class ResidentPlacementRule extends $pb.GeneratedMessage {
|
|
638
|
+
factory ResidentPlacementRule({
|
|
639
|
+
$core.String? peerClass,
|
|
640
|
+
$0.KernelResidencyIntent? kernelResidency,
|
|
641
|
+
$0.CustodyRetentionIntent? custodyRetention,
|
|
642
|
+
}) {
|
|
643
|
+
final result = create();
|
|
644
|
+
if (peerClass != null) result.peerClass = peerClass;
|
|
645
|
+
if (kernelResidency != null) result.kernelResidency = kernelResidency;
|
|
646
|
+
if (custodyRetention != null) result.custodyRetention = custodyRetention;
|
|
647
|
+
return result;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
ResidentPlacementRule._();
|
|
651
|
+
|
|
652
|
+
factory ResidentPlacementRule.fromBuffer($core.List<$core.int> data,
|
|
653
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
654
|
+
create()..mergeFromBuffer(data, registry);
|
|
655
|
+
factory ResidentPlacementRule.fromJson($core.String json,
|
|
656
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
657
|
+
create()..mergeFromJson(json, registry);
|
|
658
|
+
|
|
659
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
660
|
+
_omitMessageNames ? '' : 'ResidentPlacementRule',
|
|
661
|
+
package:
|
|
662
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
663
|
+
createEmptyInstance: create)
|
|
664
|
+
..aOS(1, _omitFieldNames ? '' : 'peerClass')
|
|
665
|
+
..aE<$0.KernelResidencyIntent>(2, _omitFieldNames ? '' : 'kernelResidency',
|
|
666
|
+
enumValues: $0.KernelResidencyIntent.values)
|
|
667
|
+
..aE<$0.CustodyRetentionIntent>(
|
|
668
|
+
3, _omitFieldNames ? '' : 'custodyRetention',
|
|
669
|
+
enumValues: $0.CustodyRetentionIntent.values)
|
|
670
|
+
..hasRequiredFields = false;
|
|
671
|
+
|
|
672
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
673
|
+
ResidentPlacementRule clone() => deepCopy();
|
|
674
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
675
|
+
ResidentPlacementRule copyWith(
|
|
676
|
+
void Function(ResidentPlacementRule) updates) =>
|
|
677
|
+
super.copyWith((message) => updates(message as ResidentPlacementRule))
|
|
678
|
+
as ResidentPlacementRule;
|
|
679
|
+
|
|
680
|
+
@$core.override
|
|
681
|
+
$pb.BuilderInfo get info_ => _i;
|
|
682
|
+
|
|
683
|
+
@$core.pragma('dart2js:noInline')
|
|
684
|
+
static ResidentPlacementRule create() => ResidentPlacementRule._();
|
|
685
|
+
@$core.override
|
|
686
|
+
ResidentPlacementRule createEmptyInstance() => create();
|
|
687
|
+
@$core.pragma('dart2js:noInline')
|
|
688
|
+
static ResidentPlacementRule getDefault() => _defaultInstance ??=
|
|
689
|
+
$pb.GeneratedMessage.$_defaultFor<ResidentPlacementRule>(create);
|
|
690
|
+
static ResidentPlacementRule? _defaultInstance;
|
|
691
|
+
|
|
692
|
+
@$pb.TagNumber(1)
|
|
693
|
+
$core.String get peerClass => $_getSZ(0);
|
|
694
|
+
@$pb.TagNumber(1)
|
|
695
|
+
set peerClass($core.String value) => $_setString(0, value);
|
|
696
|
+
@$pb.TagNumber(1)
|
|
697
|
+
$core.bool hasPeerClass() => $_has(0);
|
|
698
|
+
@$pb.TagNumber(1)
|
|
699
|
+
void clearPeerClass() => $_clearField(1);
|
|
700
|
+
|
|
701
|
+
@$pb.TagNumber(2)
|
|
702
|
+
$0.KernelResidencyIntent get kernelResidency => $_getN(1);
|
|
703
|
+
@$pb.TagNumber(2)
|
|
704
|
+
set kernelResidency($0.KernelResidencyIntent value) => $_setField(2, value);
|
|
705
|
+
@$pb.TagNumber(2)
|
|
706
|
+
$core.bool hasKernelResidency() => $_has(1);
|
|
707
|
+
@$pb.TagNumber(2)
|
|
708
|
+
void clearKernelResidency() => $_clearField(2);
|
|
709
|
+
|
|
710
|
+
@$pb.TagNumber(3)
|
|
711
|
+
$0.CustodyRetentionIntent get custodyRetention => $_getN(2);
|
|
712
|
+
@$pb.TagNumber(3)
|
|
713
|
+
set custodyRetention($0.CustodyRetentionIntent value) => $_setField(3, value);
|
|
714
|
+
@$pb.TagNumber(3)
|
|
715
|
+
$core.bool hasCustodyRetention() => $_has(2);
|
|
716
|
+
@$pb.TagNumber(3)
|
|
717
|
+
void clearCustodyRetention() => $_clearField(3);
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/// Operator view of one workspace's custody placement. Remote and mailbox URLs are deliberately
|
|
721
|
+
/// reduced to names and a presence bit: this report is served unauthenticated.
|
|
722
|
+
class ResidentPlacement extends $pb.GeneratedMessage {
|
|
723
|
+
factory ResidentPlacement({
|
|
724
|
+
$core.String? frontier,
|
|
725
|
+
$core.String? declaration,
|
|
726
|
+
$core.String? adoptedBy,
|
|
727
|
+
$core.Iterable<ResidentPlacementRule>? rules,
|
|
728
|
+
$core.Iterable<$core.String>? remoteNames,
|
|
729
|
+
$core.bool? recipientMailboxDeclared,
|
|
730
|
+
$0.KernelResidencyIntent? effectiveKernelResidency,
|
|
731
|
+
$0.CustodyRetentionIntent? effectiveCustodyRetention,
|
|
732
|
+
$core.Iterable<$core.String>? effectiveRemoteNames,
|
|
733
|
+
$fixnum.Int64? observedUnixMillis,
|
|
734
|
+
}) {
|
|
735
|
+
final result = create();
|
|
736
|
+
if (frontier != null) result.frontier = frontier;
|
|
737
|
+
if (declaration != null) result.declaration = declaration;
|
|
738
|
+
if (adoptedBy != null) result.adoptedBy = adoptedBy;
|
|
739
|
+
if (rules != null) result.rules.addAll(rules);
|
|
740
|
+
if (remoteNames != null) result.remoteNames.addAll(remoteNames);
|
|
741
|
+
if (recipientMailboxDeclared != null)
|
|
742
|
+
result.recipientMailboxDeclared = recipientMailboxDeclared;
|
|
743
|
+
if (effectiveKernelResidency != null)
|
|
744
|
+
result.effectiveKernelResidency = effectiveKernelResidency;
|
|
745
|
+
if (effectiveCustodyRetention != null)
|
|
746
|
+
result.effectiveCustodyRetention = effectiveCustodyRetention;
|
|
747
|
+
if (effectiveRemoteNames != null)
|
|
748
|
+
result.effectiveRemoteNames.addAll(effectiveRemoteNames);
|
|
749
|
+
if (observedUnixMillis != null)
|
|
750
|
+
result.observedUnixMillis = observedUnixMillis;
|
|
751
|
+
return result;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
ResidentPlacement._();
|
|
755
|
+
|
|
756
|
+
factory ResidentPlacement.fromBuffer($core.List<$core.int> data,
|
|
757
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
758
|
+
create()..mergeFromBuffer(data, registry);
|
|
759
|
+
factory ResidentPlacement.fromJson($core.String json,
|
|
760
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
761
|
+
create()..mergeFromJson(json, registry);
|
|
762
|
+
|
|
763
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
764
|
+
_omitMessageNames ? '' : 'ResidentPlacement',
|
|
765
|
+
package:
|
|
766
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
767
|
+
createEmptyInstance: create)
|
|
768
|
+
..aOS(1, _omitFieldNames ? '' : 'frontier')
|
|
769
|
+
..aOS(2, _omitFieldNames ? '' : 'declaration')
|
|
770
|
+
..aOS(3, _omitFieldNames ? '' : 'adoptedBy')
|
|
771
|
+
..pPM<ResidentPlacementRule>(4, _omitFieldNames ? '' : 'rules',
|
|
772
|
+
subBuilder: ResidentPlacementRule.create)
|
|
773
|
+
..pPS(5, _omitFieldNames ? '' : 'remoteNames')
|
|
774
|
+
..aOB(6, _omitFieldNames ? '' : 'recipientMailboxDeclared')
|
|
775
|
+
..aE<$0.KernelResidencyIntent>(
|
|
776
|
+
7, _omitFieldNames ? '' : 'effectiveKernelResidency',
|
|
777
|
+
enumValues: $0.KernelResidencyIntent.values)
|
|
778
|
+
..aE<$0.CustodyRetentionIntent>(
|
|
779
|
+
8, _omitFieldNames ? '' : 'effectiveCustodyRetention',
|
|
780
|
+
enumValues: $0.CustodyRetentionIntent.values)
|
|
781
|
+
..pPS(9, _omitFieldNames ? '' : 'effectiveRemoteNames')
|
|
782
|
+
..a<$fixnum.Int64>(
|
|
783
|
+
10, _omitFieldNames ? '' : 'observedUnixMillis', $pb.PbFieldType.OU6,
|
|
784
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
785
|
+
..hasRequiredFields = false;
|
|
786
|
+
|
|
787
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
788
|
+
ResidentPlacement clone() => deepCopy();
|
|
789
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
790
|
+
ResidentPlacement copyWith(void Function(ResidentPlacement) updates) =>
|
|
791
|
+
super.copyWith((message) => updates(message as ResidentPlacement))
|
|
792
|
+
as ResidentPlacement;
|
|
793
|
+
|
|
794
|
+
@$core.override
|
|
795
|
+
$pb.BuilderInfo get info_ => _i;
|
|
796
|
+
|
|
797
|
+
@$core.pragma('dart2js:noInline')
|
|
798
|
+
static ResidentPlacement create() => ResidentPlacement._();
|
|
799
|
+
@$core.override
|
|
800
|
+
ResidentPlacement createEmptyInstance() => create();
|
|
801
|
+
@$core.pragma('dart2js:noInline')
|
|
802
|
+
static ResidentPlacement getDefault() => _defaultInstance ??=
|
|
803
|
+
$pb.GeneratedMessage.$_defaultFor<ResidentPlacement>(create);
|
|
804
|
+
static ResidentPlacement? _defaultInstance;
|
|
805
|
+
|
|
806
|
+
/// The workspace's independent placement frontier. Absent means no policy was ever adopted,
|
|
807
|
+
/// and every other declared field below is empty.
|
|
808
|
+
@$pb.TagNumber(1)
|
|
809
|
+
$core.String get frontier => $_getSZ(0);
|
|
810
|
+
@$pb.TagNumber(1)
|
|
811
|
+
set frontier($core.String value) => $_setString(0, value);
|
|
812
|
+
@$pb.TagNumber(1)
|
|
813
|
+
$core.bool hasFrontier() => $_has(0);
|
|
814
|
+
@$pb.TagNumber(1)
|
|
815
|
+
void clearFrontier() => $_clearField(1);
|
|
816
|
+
|
|
817
|
+
@$pb.TagNumber(2)
|
|
818
|
+
$core.String get declaration => $_getSZ(1);
|
|
819
|
+
@$pb.TagNumber(2)
|
|
820
|
+
set declaration($core.String value) => $_setString(1, value);
|
|
821
|
+
@$pb.TagNumber(2)
|
|
822
|
+
$core.bool hasDeclaration() => $_has(1);
|
|
823
|
+
@$pb.TagNumber(2)
|
|
824
|
+
void clearDeclaration() => $_clearField(2);
|
|
825
|
+
|
|
826
|
+
@$pb.TagNumber(3)
|
|
827
|
+
$core.String get adoptedBy => $_getSZ(2);
|
|
828
|
+
@$pb.TagNumber(3)
|
|
829
|
+
set adoptedBy($core.String value) => $_setString(2, value);
|
|
830
|
+
@$pb.TagNumber(3)
|
|
831
|
+
$core.bool hasAdoptedBy() => $_has(2);
|
|
832
|
+
@$pb.TagNumber(3)
|
|
833
|
+
void clearAdoptedBy() => $_clearField(3);
|
|
834
|
+
|
|
835
|
+
@$pb.TagNumber(4)
|
|
836
|
+
$pb.PbList<ResidentPlacementRule> get rules => $_getList(3);
|
|
837
|
+
|
|
838
|
+
@$pb.TagNumber(5)
|
|
839
|
+
$pb.PbList<$core.String> get remoteNames => $_getList(4);
|
|
840
|
+
|
|
841
|
+
@$pb.TagNumber(6)
|
|
842
|
+
$core.bool get recipientMailboxDeclared => $_getBF(5);
|
|
843
|
+
@$pb.TagNumber(6)
|
|
844
|
+
set recipientMailboxDeclared($core.bool value) => $_setBool(5, value);
|
|
845
|
+
@$pb.TagNumber(6)
|
|
846
|
+
$core.bool hasRecipientMailboxDeclared() => $_has(5);
|
|
847
|
+
@$pb.TagNumber(6)
|
|
848
|
+
void clearRecipientMailboxDeclared() => $_clearField(6);
|
|
849
|
+
|
|
850
|
+
/// This host's interpretation of the policy for its own peer classes.
|
|
851
|
+
@$pb.TagNumber(7)
|
|
852
|
+
$0.KernelResidencyIntent get effectiveKernelResidency => $_getN(6);
|
|
853
|
+
@$pb.TagNumber(7)
|
|
854
|
+
set effectiveKernelResidency($0.KernelResidencyIntent value) =>
|
|
855
|
+
$_setField(7, value);
|
|
856
|
+
@$pb.TagNumber(7)
|
|
857
|
+
$core.bool hasEffectiveKernelResidency() => $_has(6);
|
|
858
|
+
@$pb.TagNumber(7)
|
|
859
|
+
void clearEffectiveKernelResidency() => $_clearField(7);
|
|
860
|
+
|
|
861
|
+
@$pb.TagNumber(8)
|
|
862
|
+
$0.CustodyRetentionIntent get effectiveCustodyRetention => $_getN(7);
|
|
863
|
+
@$pb.TagNumber(8)
|
|
864
|
+
set effectiveCustodyRetention($0.CustodyRetentionIntent value) =>
|
|
865
|
+
$_setField(8, value);
|
|
866
|
+
@$pb.TagNumber(8)
|
|
867
|
+
$core.bool hasEffectiveCustodyRetention() => $_has(7);
|
|
868
|
+
@$pb.TagNumber(8)
|
|
869
|
+
void clearEffectiveCustodyRetention() => $_clearField(8);
|
|
870
|
+
|
|
871
|
+
@$pb.TagNumber(9)
|
|
872
|
+
$pb.PbList<$core.String> get effectiveRemoteNames => $_getList(8);
|
|
873
|
+
|
|
874
|
+
@$pb.TagNumber(10)
|
|
875
|
+
$fixnum.Int64 get observedUnixMillis => $_getI64(9);
|
|
876
|
+
@$pb.TagNumber(10)
|
|
877
|
+
set observedUnixMillis($fixnum.Int64 value) => $_setInt64(9, value);
|
|
878
|
+
@$pb.TagNumber(10)
|
|
879
|
+
$core.bool hasObservedUnixMillis() => $_has(9);
|
|
880
|
+
@$pb.TagNumber(10)
|
|
881
|
+
void clearObservedUnixMillis() => $_clearField(10);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/// Undelivered outbound commitments at the last outbox inspection. Inventory only: the durable
|
|
885
|
+
/// outbox in Git is the work; this is the host's latest look at it.
|
|
886
|
+
class ResidentOutbox extends $pb.GeneratedMessage {
|
|
887
|
+
factory ResidentOutbox({
|
|
888
|
+
$core.int? entries,
|
|
889
|
+
$core.bool? workPending,
|
|
890
|
+
$fixnum.Int64? nextDueUnixMillis,
|
|
891
|
+
$fixnum.Int64? observedUnixMillis,
|
|
892
|
+
}) {
|
|
893
|
+
final result = create();
|
|
894
|
+
if (entries != null) result.entries = entries;
|
|
895
|
+
if (workPending != null) result.workPending = workPending;
|
|
896
|
+
if (nextDueUnixMillis != null) result.nextDueUnixMillis = nextDueUnixMillis;
|
|
897
|
+
if (observedUnixMillis != null)
|
|
898
|
+
result.observedUnixMillis = observedUnixMillis;
|
|
899
|
+
return result;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
ResidentOutbox._();
|
|
903
|
+
|
|
904
|
+
factory ResidentOutbox.fromBuffer($core.List<$core.int> data,
|
|
905
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
906
|
+
create()..mergeFromBuffer(data, registry);
|
|
907
|
+
factory ResidentOutbox.fromJson($core.String json,
|
|
908
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
909
|
+
create()..mergeFromJson(json, registry);
|
|
910
|
+
|
|
911
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
912
|
+
_omitMessageNames ? '' : 'ResidentOutbox',
|
|
913
|
+
package:
|
|
914
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
915
|
+
createEmptyInstance: create)
|
|
916
|
+
..aI(1, _omitFieldNames ? '' : 'entries', fieldType: $pb.PbFieldType.OU3)
|
|
917
|
+
..aOB(2, _omitFieldNames ? '' : 'workPending')
|
|
918
|
+
..a<$fixnum.Int64>(
|
|
919
|
+
3, _omitFieldNames ? '' : 'nextDueUnixMillis', $pb.PbFieldType.OU6,
|
|
920
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
921
|
+
..a<$fixnum.Int64>(
|
|
922
|
+
4, _omitFieldNames ? '' : 'observedUnixMillis', $pb.PbFieldType.OU6,
|
|
923
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
924
|
+
..hasRequiredFields = false;
|
|
925
|
+
|
|
926
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
927
|
+
ResidentOutbox clone() => deepCopy();
|
|
928
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
929
|
+
ResidentOutbox copyWith(void Function(ResidentOutbox) updates) =>
|
|
930
|
+
super.copyWith((message) => updates(message as ResidentOutbox))
|
|
931
|
+
as ResidentOutbox;
|
|
932
|
+
|
|
933
|
+
@$core.override
|
|
934
|
+
$pb.BuilderInfo get info_ => _i;
|
|
935
|
+
|
|
936
|
+
@$core.pragma('dart2js:noInline')
|
|
937
|
+
static ResidentOutbox create() => ResidentOutbox._();
|
|
938
|
+
@$core.override
|
|
939
|
+
ResidentOutbox createEmptyInstance() => create();
|
|
940
|
+
@$core.pragma('dart2js:noInline')
|
|
941
|
+
static ResidentOutbox getDefault() => _defaultInstance ??=
|
|
942
|
+
$pb.GeneratedMessage.$_defaultFor<ResidentOutbox>(create);
|
|
943
|
+
static ResidentOutbox? _defaultInstance;
|
|
944
|
+
|
|
945
|
+
@$pb.TagNumber(1)
|
|
946
|
+
$core.int get entries => $_getIZ(0);
|
|
947
|
+
@$pb.TagNumber(1)
|
|
948
|
+
set entries($core.int value) => $_setUnsignedInt32(0, value);
|
|
949
|
+
@$pb.TagNumber(1)
|
|
950
|
+
$core.bool hasEntries() => $_has(0);
|
|
951
|
+
@$pb.TagNumber(1)
|
|
952
|
+
void clearEntries() => $_clearField(1);
|
|
953
|
+
|
|
954
|
+
/// The kernel still has preparation work before the outbox can be judged complete.
|
|
955
|
+
@$pb.TagNumber(2)
|
|
956
|
+
$core.bool get workPending => $_getBF(1);
|
|
957
|
+
@$pb.TagNumber(2)
|
|
958
|
+
set workPending($core.bool value) => $_setBool(1, value);
|
|
959
|
+
@$pb.TagNumber(2)
|
|
960
|
+
$core.bool hasWorkPending() => $_has(1);
|
|
961
|
+
@$pb.TagNumber(2)
|
|
962
|
+
void clearWorkPending() => $_clearField(2);
|
|
963
|
+
|
|
964
|
+
/// Earliest future commitment the kernel reported. Absent when none is scheduled.
|
|
965
|
+
@$pb.TagNumber(3)
|
|
966
|
+
$fixnum.Int64 get nextDueUnixMillis => $_getI64(2);
|
|
967
|
+
@$pb.TagNumber(3)
|
|
968
|
+
set nextDueUnixMillis($fixnum.Int64 value) => $_setInt64(2, value);
|
|
969
|
+
@$pb.TagNumber(3)
|
|
970
|
+
$core.bool hasNextDueUnixMillis() => $_has(2);
|
|
971
|
+
@$pb.TagNumber(3)
|
|
972
|
+
void clearNextDueUnixMillis() => $_clearField(3);
|
|
973
|
+
|
|
974
|
+
@$pb.TagNumber(4)
|
|
975
|
+
$fixnum.Int64 get observedUnixMillis => $_getI64(3);
|
|
976
|
+
@$pb.TagNumber(4)
|
|
977
|
+
set observedUnixMillis($fixnum.Int64 value) => $_setInt64(3, value);
|
|
978
|
+
@$pb.TagNumber(4)
|
|
979
|
+
$core.bool hasObservedUnixMillis() => $_has(3);
|
|
980
|
+
@$pb.TagNumber(4)
|
|
981
|
+
void clearObservedUnixMillis() => $_clearField(4);
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/// One exclusive top-level class of kernel ABI work. Counters are cumulative for
|
|
985
|
+
/// the installed kernel in this process; Prometheus treats a process/kernel swap
|
|
986
|
+
/// as an ordinary counter reset. `family` is the bounded dashboard vocabulary,
|
|
987
|
+
/// while `operation` is the exact generated oneof path (also bounded by the ABI).
|
|
988
|
+
/// Neither field contains a workspace, law identity, intent or tenant value.
|
|
989
|
+
class KernelWorkCounter extends $pb.GeneratedMessage {
|
|
990
|
+
factory KernelWorkCounter({
|
|
991
|
+
$core.String? family,
|
|
992
|
+
$core.String? operation,
|
|
993
|
+
$fixnum.Int64? calls,
|
|
994
|
+
$fixnum.Int64? failures,
|
|
995
|
+
$fixnum.Int64? cpuMicros,
|
|
996
|
+
$fixnum.Int64? wallMicros,
|
|
997
|
+
$core.Iterable<KernelWorkCpuBucket>? cpuBuckets,
|
|
998
|
+
$fixnum.Int64? lastCompletedUnixMillis,
|
|
999
|
+
}) {
|
|
1000
|
+
final result = create();
|
|
1001
|
+
if (family != null) result.family = family;
|
|
1002
|
+
if (operation != null) result.operation = operation;
|
|
1003
|
+
if (calls != null) result.calls = calls;
|
|
1004
|
+
if (failures != null) result.failures = failures;
|
|
1005
|
+
if (cpuMicros != null) result.cpuMicros = cpuMicros;
|
|
1006
|
+
if (wallMicros != null) result.wallMicros = wallMicros;
|
|
1007
|
+
if (cpuBuckets != null) result.cpuBuckets.addAll(cpuBuckets);
|
|
1008
|
+
if (lastCompletedUnixMillis != null)
|
|
1009
|
+
result.lastCompletedUnixMillis = lastCompletedUnixMillis;
|
|
1010
|
+
return result;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
KernelWorkCounter._();
|
|
1014
|
+
|
|
1015
|
+
factory KernelWorkCounter.fromBuffer($core.List<$core.int> data,
|
|
1016
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1017
|
+
create()..mergeFromBuffer(data, registry);
|
|
1018
|
+
factory KernelWorkCounter.fromJson($core.String json,
|
|
1019
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1020
|
+
create()..mergeFromJson(json, registry);
|
|
1021
|
+
|
|
1022
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1023
|
+
_omitMessageNames ? '' : 'KernelWorkCounter',
|
|
1024
|
+
package:
|
|
1025
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1026
|
+
createEmptyInstance: create)
|
|
1027
|
+
..aOS(1, _omitFieldNames ? '' : 'family')
|
|
1028
|
+
..aOS(2, _omitFieldNames ? '' : 'operation')
|
|
1029
|
+
..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'calls', $pb.PbFieldType.OU6,
|
|
1030
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1031
|
+
..a<$fixnum.Int64>(
|
|
1032
|
+
4, _omitFieldNames ? '' : 'failures', $pb.PbFieldType.OU6,
|
|
1033
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1034
|
+
..a<$fixnum.Int64>(
|
|
1035
|
+
5, _omitFieldNames ? '' : 'cpuMicros', $pb.PbFieldType.OU6,
|
|
1036
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1037
|
+
..a<$fixnum.Int64>(
|
|
1038
|
+
6, _omitFieldNames ? '' : 'wallMicros', $pb.PbFieldType.OU6,
|
|
1039
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1040
|
+
..pPM<KernelWorkCpuBucket>(7, _omitFieldNames ? '' : 'cpuBuckets',
|
|
1041
|
+
subBuilder: KernelWorkCpuBucket.create)
|
|
1042
|
+
..a<$fixnum.Int64>(8, _omitFieldNames ? '' : 'lastCompletedUnixMillis',
|
|
1043
|
+
$pb.PbFieldType.OU6,
|
|
1044
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1045
|
+
..hasRequiredFields = false;
|
|
1046
|
+
|
|
1047
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1048
|
+
KernelWorkCounter clone() => deepCopy();
|
|
1049
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1050
|
+
KernelWorkCounter copyWith(void Function(KernelWorkCounter) updates) =>
|
|
1051
|
+
super.copyWith((message) => updates(message as KernelWorkCounter))
|
|
1052
|
+
as KernelWorkCounter;
|
|
1053
|
+
|
|
1054
|
+
@$core.override
|
|
1055
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1056
|
+
|
|
1057
|
+
@$core.pragma('dart2js:noInline')
|
|
1058
|
+
static KernelWorkCounter create() => KernelWorkCounter._();
|
|
1059
|
+
@$core.override
|
|
1060
|
+
KernelWorkCounter createEmptyInstance() => create();
|
|
1061
|
+
@$core.pragma('dart2js:noInline')
|
|
1062
|
+
static KernelWorkCounter getDefault() => _defaultInstance ??=
|
|
1063
|
+
$pb.GeneratedMessage.$_defaultFor<KernelWorkCounter>(create);
|
|
1064
|
+
static KernelWorkCounter? _defaultInstance;
|
|
1065
|
+
|
|
1066
|
+
@$pb.TagNumber(1)
|
|
1067
|
+
$core.String get family => $_getSZ(0);
|
|
1068
|
+
@$pb.TagNumber(1)
|
|
1069
|
+
set family($core.String value) => $_setString(0, value);
|
|
1070
|
+
@$pb.TagNumber(1)
|
|
1071
|
+
$core.bool hasFamily() => $_has(0);
|
|
1072
|
+
@$pb.TagNumber(1)
|
|
1073
|
+
void clearFamily() => $_clearField(1);
|
|
1074
|
+
|
|
1075
|
+
@$pb.TagNumber(2)
|
|
1076
|
+
$core.String get operation => $_getSZ(1);
|
|
1077
|
+
@$pb.TagNumber(2)
|
|
1078
|
+
set operation($core.String value) => $_setString(1, value);
|
|
1079
|
+
@$pb.TagNumber(2)
|
|
1080
|
+
$core.bool hasOperation() => $_has(1);
|
|
1081
|
+
@$pb.TagNumber(2)
|
|
1082
|
+
void clearOperation() => $_clearField(2);
|
|
1083
|
+
|
|
1084
|
+
@$pb.TagNumber(3)
|
|
1085
|
+
$fixnum.Int64 get calls => $_getI64(2);
|
|
1086
|
+
@$pb.TagNumber(3)
|
|
1087
|
+
set calls($fixnum.Int64 value) => $_setInt64(2, value);
|
|
1088
|
+
@$pb.TagNumber(3)
|
|
1089
|
+
$core.bool hasCalls() => $_has(2);
|
|
1090
|
+
@$pb.TagNumber(3)
|
|
1091
|
+
void clearCalls() => $_clearField(3);
|
|
1092
|
+
|
|
1093
|
+
@$pb.TagNumber(4)
|
|
1094
|
+
$fixnum.Int64 get failures => $_getI64(3);
|
|
1095
|
+
@$pb.TagNumber(4)
|
|
1096
|
+
set failures($fixnum.Int64 value) => $_setInt64(3, value);
|
|
1097
|
+
@$pb.TagNumber(4)
|
|
1098
|
+
$core.bool hasFailures() => $_has(3);
|
|
1099
|
+
@$pb.TagNumber(4)
|
|
1100
|
+
void clearFailures() => $_clearField(4);
|
|
1101
|
+
|
|
1102
|
+
@$pb.TagNumber(5)
|
|
1103
|
+
$fixnum.Int64 get cpuMicros => $_getI64(4);
|
|
1104
|
+
@$pb.TagNumber(5)
|
|
1105
|
+
set cpuMicros($fixnum.Int64 value) => $_setInt64(4, value);
|
|
1106
|
+
@$pb.TagNumber(5)
|
|
1107
|
+
$core.bool hasCpuMicros() => $_has(4);
|
|
1108
|
+
@$pb.TagNumber(5)
|
|
1109
|
+
void clearCpuMicros() => $_clearField(5);
|
|
1110
|
+
|
|
1111
|
+
@$pb.TagNumber(6)
|
|
1112
|
+
$fixnum.Int64 get wallMicros => $_getI64(5);
|
|
1113
|
+
@$pb.TagNumber(6)
|
|
1114
|
+
set wallMicros($fixnum.Int64 value) => $_setInt64(5, value);
|
|
1115
|
+
@$pb.TagNumber(6)
|
|
1116
|
+
$core.bool hasWallMicros() => $_has(5);
|
|
1117
|
+
@$pb.TagNumber(6)
|
|
1118
|
+
void clearWallMicros() => $_clearField(6);
|
|
1119
|
+
|
|
1120
|
+
@$pb.TagNumber(7)
|
|
1121
|
+
$pb.PbList<KernelWorkCpuBucket> get cpuBuckets => $_getList(6);
|
|
1122
|
+
|
|
1123
|
+
@$pb.TagNumber(8)
|
|
1124
|
+
$fixnum.Int64 get lastCompletedUnixMillis => $_getI64(7);
|
|
1125
|
+
@$pb.TagNumber(8)
|
|
1126
|
+
set lastCompletedUnixMillis($fixnum.Int64 value) => $_setInt64(7, value);
|
|
1127
|
+
@$pb.TagNumber(8)
|
|
1128
|
+
$core.bool hasLastCompletedUnixMillis() => $_has(7);
|
|
1129
|
+
@$pb.TagNumber(8)
|
|
1130
|
+
void clearLastCompletedUnixMillis() => $_clearField(8);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/// Cumulative histogram bucket for one KernelWorkCounter. The bounds are fixed
|
|
1134
|
+
/// by the peer runtime and cumulative, matching the Prometheus histogram model.
|
|
1135
|
+
class KernelWorkCpuBucket extends $pb.GeneratedMessage {
|
|
1136
|
+
factory KernelWorkCpuBucket({
|
|
1137
|
+
$fixnum.Int64? leMicros,
|
|
1138
|
+
$fixnum.Int64? calls,
|
|
1139
|
+
}) {
|
|
1140
|
+
final result = create();
|
|
1141
|
+
if (leMicros != null) result.leMicros = leMicros;
|
|
1142
|
+
if (calls != null) result.calls = calls;
|
|
1143
|
+
return result;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
KernelWorkCpuBucket._();
|
|
1147
|
+
|
|
1148
|
+
factory KernelWorkCpuBucket.fromBuffer($core.List<$core.int> data,
|
|
1149
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1150
|
+
create()..mergeFromBuffer(data, registry);
|
|
1151
|
+
factory KernelWorkCpuBucket.fromJson($core.String json,
|
|
1152
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1153
|
+
create()..mergeFromJson(json, registry);
|
|
1154
|
+
|
|
1155
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1156
|
+
_omitMessageNames ? '' : 'KernelWorkCpuBucket',
|
|
1157
|
+
package:
|
|
1158
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1159
|
+
createEmptyInstance: create)
|
|
1160
|
+
..a<$fixnum.Int64>(
|
|
1161
|
+
1, _omitFieldNames ? '' : 'leMicros', $pb.PbFieldType.OU6,
|
|
1162
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1163
|
+
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'calls', $pb.PbFieldType.OU6,
|
|
1164
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1165
|
+
..hasRequiredFields = false;
|
|
1166
|
+
|
|
1167
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1168
|
+
KernelWorkCpuBucket clone() => deepCopy();
|
|
1169
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1170
|
+
KernelWorkCpuBucket copyWith(void Function(KernelWorkCpuBucket) updates) =>
|
|
1171
|
+
super.copyWith((message) => updates(message as KernelWorkCpuBucket))
|
|
1172
|
+
as KernelWorkCpuBucket;
|
|
1173
|
+
|
|
1174
|
+
@$core.override
|
|
1175
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1176
|
+
|
|
1177
|
+
@$core.pragma('dart2js:noInline')
|
|
1178
|
+
static KernelWorkCpuBucket create() => KernelWorkCpuBucket._();
|
|
1179
|
+
@$core.override
|
|
1180
|
+
KernelWorkCpuBucket createEmptyInstance() => create();
|
|
1181
|
+
@$core.pragma('dart2js:noInline')
|
|
1182
|
+
static KernelWorkCpuBucket getDefault() => _defaultInstance ??=
|
|
1183
|
+
$pb.GeneratedMessage.$_defaultFor<KernelWorkCpuBucket>(create);
|
|
1184
|
+
static KernelWorkCpuBucket? _defaultInstance;
|
|
1185
|
+
|
|
1186
|
+
@$pb.TagNumber(1)
|
|
1187
|
+
$fixnum.Int64 get leMicros => $_getI64(0);
|
|
1188
|
+
@$pb.TagNumber(1)
|
|
1189
|
+
set leMicros($fixnum.Int64 value) => $_setInt64(0, value);
|
|
1190
|
+
@$pb.TagNumber(1)
|
|
1191
|
+
$core.bool hasLeMicros() => $_has(0);
|
|
1192
|
+
@$pb.TagNumber(1)
|
|
1193
|
+
void clearLeMicros() => $_clearField(1);
|
|
1194
|
+
|
|
1195
|
+
@$pb.TagNumber(2)
|
|
1196
|
+
$fixnum.Int64 get calls => $_getI64(1);
|
|
1197
|
+
@$pb.TagNumber(2)
|
|
1198
|
+
set calls($fixnum.Int64 value) => $_setInt64(1, value);
|
|
1199
|
+
@$pb.TagNumber(2)
|
|
1200
|
+
$core.bool hasCalls() => $_has(1);
|
|
1201
|
+
@$pb.TagNumber(2)
|
|
1202
|
+
void clearCalls() => $_clearField(2);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/// A call which is executing at the instant /health is observed. This is useful
|
|
1206
|
+
/// for a genuinely long replay or index rebuild; most calls complete between
|
|
1207
|
+
/// scrapes and are represented by the cumulative counters above.
|
|
1208
|
+
class ActiveKernelWork extends $pb.GeneratedMessage {
|
|
1209
|
+
factory ActiveKernelWork({
|
|
1210
|
+
$core.String? family,
|
|
1211
|
+
$core.String? operation,
|
|
1212
|
+
$fixnum.Int64? startedUnixMillis,
|
|
1213
|
+
}) {
|
|
1214
|
+
final result = create();
|
|
1215
|
+
if (family != null) result.family = family;
|
|
1216
|
+
if (operation != null) result.operation = operation;
|
|
1217
|
+
if (startedUnixMillis != null) result.startedUnixMillis = startedUnixMillis;
|
|
1218
|
+
return result;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
ActiveKernelWork._();
|
|
1222
|
+
|
|
1223
|
+
factory ActiveKernelWork.fromBuffer($core.List<$core.int> data,
|
|
1224
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1225
|
+
create()..mergeFromBuffer(data, registry);
|
|
1226
|
+
factory ActiveKernelWork.fromJson($core.String json,
|
|
1227
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1228
|
+
create()..mergeFromJson(json, registry);
|
|
1229
|
+
|
|
1230
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1231
|
+
_omitMessageNames ? '' : 'ActiveKernelWork',
|
|
1232
|
+
package:
|
|
1233
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1234
|
+
createEmptyInstance: create)
|
|
1235
|
+
..aOS(1, _omitFieldNames ? '' : 'family')
|
|
1236
|
+
..aOS(2, _omitFieldNames ? '' : 'operation')
|
|
1237
|
+
..a<$fixnum.Int64>(
|
|
1238
|
+
3, _omitFieldNames ? '' : 'startedUnixMillis', $pb.PbFieldType.OU6,
|
|
1239
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1240
|
+
..hasRequiredFields = false;
|
|
1241
|
+
|
|
1242
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1243
|
+
ActiveKernelWork clone() => deepCopy();
|
|
1244
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1245
|
+
ActiveKernelWork copyWith(void Function(ActiveKernelWork) updates) =>
|
|
1246
|
+
super.copyWith((message) => updates(message as ActiveKernelWork))
|
|
1247
|
+
as ActiveKernelWork;
|
|
1248
|
+
|
|
1249
|
+
@$core.override
|
|
1250
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1251
|
+
|
|
1252
|
+
@$core.pragma('dart2js:noInline')
|
|
1253
|
+
static ActiveKernelWork create() => ActiveKernelWork._();
|
|
1254
|
+
@$core.override
|
|
1255
|
+
ActiveKernelWork createEmptyInstance() => create();
|
|
1256
|
+
@$core.pragma('dart2js:noInline')
|
|
1257
|
+
static ActiveKernelWork getDefault() => _defaultInstance ??=
|
|
1258
|
+
$pb.GeneratedMessage.$_defaultFor<ActiveKernelWork>(create);
|
|
1259
|
+
static ActiveKernelWork? _defaultInstance;
|
|
1260
|
+
|
|
1261
|
+
@$pb.TagNumber(1)
|
|
1262
|
+
$core.String get family => $_getSZ(0);
|
|
1263
|
+
@$pb.TagNumber(1)
|
|
1264
|
+
set family($core.String value) => $_setString(0, value);
|
|
1265
|
+
@$pb.TagNumber(1)
|
|
1266
|
+
$core.bool hasFamily() => $_has(0);
|
|
1267
|
+
@$pb.TagNumber(1)
|
|
1268
|
+
void clearFamily() => $_clearField(1);
|
|
1269
|
+
|
|
1270
|
+
@$pb.TagNumber(2)
|
|
1271
|
+
$core.String get operation => $_getSZ(1);
|
|
1272
|
+
@$pb.TagNumber(2)
|
|
1273
|
+
set operation($core.String value) => $_setString(1, value);
|
|
1274
|
+
@$pb.TagNumber(2)
|
|
1275
|
+
$core.bool hasOperation() => $_has(1);
|
|
1276
|
+
@$pb.TagNumber(2)
|
|
1277
|
+
void clearOperation() => $_clearField(2);
|
|
1278
|
+
|
|
1279
|
+
@$pb.TagNumber(3)
|
|
1280
|
+
$fixnum.Int64 get startedUnixMillis => $_getI64(2);
|
|
1281
|
+
@$pb.TagNumber(3)
|
|
1282
|
+
set startedUnixMillis($fixnum.Int64 value) => $_setInt64(2, value);
|
|
1283
|
+
@$pb.TagNumber(3)
|
|
1284
|
+
$core.bool hasStartedUnixMillis() => $_has(2);
|
|
1285
|
+
@$pb.TagNumber(3)
|
|
1286
|
+
void clearStartedUnixMillis() => $_clearField(3);
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/// Operator telemetry only. Top-level families are mutually exclusive so their
|
|
1290
|
+
/// CPU totals form one honest 100% partition. Kernel-owned nested phase timings
|
|
1291
|
+
/// remain separate drill-down evidence and must never be added to these totals.
|
|
1292
|
+
class KernelWorkSnapshot extends $pb.GeneratedMessage {
|
|
1293
|
+
factory KernelWorkSnapshot({
|
|
1294
|
+
$fixnum.Int64? startedUnixMillis,
|
|
1295
|
+
$fixnum.Int64? observedUnixMillis,
|
|
1296
|
+
$core.Iterable<KernelWorkCounter>? counters,
|
|
1297
|
+
ActiveKernelWork? active,
|
|
1298
|
+
}) {
|
|
1299
|
+
final result = create();
|
|
1300
|
+
if (startedUnixMillis != null) result.startedUnixMillis = startedUnixMillis;
|
|
1301
|
+
if (observedUnixMillis != null)
|
|
1302
|
+
result.observedUnixMillis = observedUnixMillis;
|
|
1303
|
+
if (counters != null) result.counters.addAll(counters);
|
|
1304
|
+
if (active != null) result.active = active;
|
|
1305
|
+
return result;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
KernelWorkSnapshot._();
|
|
1309
|
+
|
|
1310
|
+
factory KernelWorkSnapshot.fromBuffer($core.List<$core.int> data,
|
|
1311
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1312
|
+
create()..mergeFromBuffer(data, registry);
|
|
1313
|
+
factory KernelWorkSnapshot.fromJson($core.String json,
|
|
1314
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1315
|
+
create()..mergeFromJson(json, registry);
|
|
1316
|
+
|
|
1317
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1318
|
+
_omitMessageNames ? '' : 'KernelWorkSnapshot',
|
|
1319
|
+
package:
|
|
1320
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1321
|
+
createEmptyInstance: create)
|
|
1322
|
+
..a<$fixnum.Int64>(
|
|
1323
|
+
1, _omitFieldNames ? '' : 'startedUnixMillis', $pb.PbFieldType.OU6,
|
|
1324
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1325
|
+
..a<$fixnum.Int64>(
|
|
1326
|
+
2, _omitFieldNames ? '' : 'observedUnixMillis', $pb.PbFieldType.OU6,
|
|
1327
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1328
|
+
..pPM<KernelWorkCounter>(3, _omitFieldNames ? '' : 'counters',
|
|
1329
|
+
subBuilder: KernelWorkCounter.create)
|
|
1330
|
+
..aOM<ActiveKernelWork>(4, _omitFieldNames ? '' : 'active',
|
|
1331
|
+
subBuilder: ActiveKernelWork.create)
|
|
1332
|
+
..hasRequiredFields = false;
|
|
1333
|
+
|
|
1334
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1335
|
+
KernelWorkSnapshot clone() => deepCopy();
|
|
1336
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1337
|
+
KernelWorkSnapshot copyWith(void Function(KernelWorkSnapshot) updates) =>
|
|
1338
|
+
super.copyWith((message) => updates(message as KernelWorkSnapshot))
|
|
1339
|
+
as KernelWorkSnapshot;
|
|
1340
|
+
|
|
1341
|
+
@$core.override
|
|
1342
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1343
|
+
|
|
1344
|
+
@$core.pragma('dart2js:noInline')
|
|
1345
|
+
static KernelWorkSnapshot create() => KernelWorkSnapshot._();
|
|
1346
|
+
@$core.override
|
|
1347
|
+
KernelWorkSnapshot createEmptyInstance() => create();
|
|
1348
|
+
@$core.pragma('dart2js:noInline')
|
|
1349
|
+
static KernelWorkSnapshot getDefault() => _defaultInstance ??=
|
|
1350
|
+
$pb.GeneratedMessage.$_defaultFor<KernelWorkSnapshot>(create);
|
|
1351
|
+
static KernelWorkSnapshot? _defaultInstance;
|
|
1352
|
+
|
|
1353
|
+
@$pb.TagNumber(1)
|
|
1354
|
+
$fixnum.Int64 get startedUnixMillis => $_getI64(0);
|
|
1355
|
+
@$pb.TagNumber(1)
|
|
1356
|
+
set startedUnixMillis($fixnum.Int64 value) => $_setInt64(0, value);
|
|
1357
|
+
@$pb.TagNumber(1)
|
|
1358
|
+
$core.bool hasStartedUnixMillis() => $_has(0);
|
|
1359
|
+
@$pb.TagNumber(1)
|
|
1360
|
+
void clearStartedUnixMillis() => $_clearField(1);
|
|
1361
|
+
|
|
1362
|
+
@$pb.TagNumber(2)
|
|
1363
|
+
$fixnum.Int64 get observedUnixMillis => $_getI64(1);
|
|
1364
|
+
@$pb.TagNumber(2)
|
|
1365
|
+
set observedUnixMillis($fixnum.Int64 value) => $_setInt64(1, value);
|
|
1366
|
+
@$pb.TagNumber(2)
|
|
1367
|
+
$core.bool hasObservedUnixMillis() => $_has(1);
|
|
1368
|
+
@$pb.TagNumber(2)
|
|
1369
|
+
void clearObservedUnixMillis() => $_clearField(2);
|
|
1370
|
+
|
|
1371
|
+
@$pb.TagNumber(3)
|
|
1372
|
+
$pb.PbList<KernelWorkCounter> get counters => $_getList(2);
|
|
1373
|
+
|
|
1374
|
+
@$pb.TagNumber(4)
|
|
1375
|
+
ActiveKernelWork get active => $_getN(3);
|
|
1376
|
+
@$pb.TagNumber(4)
|
|
1377
|
+
set active(ActiveKernelWork value) => $_setField(4, value);
|
|
1378
|
+
@$pb.TagNumber(4)
|
|
1379
|
+
$core.bool hasActive() => $_has(3);
|
|
1380
|
+
@$pb.TagNumber(4)
|
|
1381
|
+
void clearActive() => $_clearField(4);
|
|
1382
|
+
@$pb.TagNumber(4)
|
|
1383
|
+
ActiveKernelWork ensureActive() => $_ensure(3);
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
class HostHealth extends $pb.GeneratedMessage {
|
|
1387
|
+
factory HostHealth({
|
|
1388
|
+
$fixnum.Int64? replica,
|
|
1389
|
+
$core.String? kernelSha256,
|
|
1390
|
+
$core.Iterable<$core.String>? residentWorkspaces,
|
|
1391
|
+
$core.double? wasmLinearMemMb,
|
|
1392
|
+
$core.double? processRssMb,
|
|
1393
|
+
$core.int? rssCriticalMb,
|
|
1394
|
+
$core.Iterable<ResidentWorkspaceDetail>? residents,
|
|
1395
|
+
KernelWorkSnapshot? kernelWork,
|
|
1396
|
+
$core.Iterable<$1.CustodyOpening>? openings,
|
|
1397
|
+
ArtifactsTransportSnapshot? artifacts,
|
|
1398
|
+
$core.Iterable<RetentionOutcomeCounter>? retention,
|
|
1399
|
+
$core.Iterable<CorrespondenceHold>? correspondenceHolds,
|
|
1400
|
+
}) {
|
|
1401
|
+
final result = create();
|
|
1402
|
+
if (replica != null) result.replica = replica;
|
|
1403
|
+
if (kernelSha256 != null) result.kernelSha256 = kernelSha256;
|
|
1404
|
+
if (residentWorkspaces != null)
|
|
1405
|
+
result.residentWorkspaces.addAll(residentWorkspaces);
|
|
1406
|
+
if (wasmLinearMemMb != null) result.wasmLinearMemMb = wasmLinearMemMb;
|
|
1407
|
+
if (processRssMb != null) result.processRssMb = processRssMb;
|
|
1408
|
+
if (rssCriticalMb != null) result.rssCriticalMb = rssCriticalMb;
|
|
1409
|
+
if (residents != null) result.residents.addAll(residents);
|
|
1410
|
+
if (kernelWork != null) result.kernelWork = kernelWork;
|
|
1411
|
+
if (openings != null) result.openings.addAll(openings);
|
|
1412
|
+
if (artifacts != null) result.artifacts = artifacts;
|
|
1413
|
+
if (retention != null) result.retention.addAll(retention);
|
|
1414
|
+
if (correspondenceHolds != null)
|
|
1415
|
+
result.correspondenceHolds.addAll(correspondenceHolds);
|
|
1416
|
+
return result;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
HostHealth._();
|
|
1420
|
+
|
|
1421
|
+
factory HostHealth.fromBuffer($core.List<$core.int> data,
|
|
1422
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1423
|
+
create()..mergeFromBuffer(data, registry);
|
|
1424
|
+
factory HostHealth.fromJson($core.String json,
|
|
1425
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1426
|
+
create()..mergeFromJson(json, registry);
|
|
1427
|
+
|
|
1428
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1429
|
+
_omitMessageNames ? '' : 'HostHealth',
|
|
1430
|
+
package:
|
|
1431
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1432
|
+
createEmptyInstance: create)
|
|
1433
|
+
..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'replica', $pb.PbFieldType.OU6,
|
|
1434
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1435
|
+
..aOS(2, _omitFieldNames ? '' : 'kernelSha256')
|
|
1436
|
+
..pPS(3, _omitFieldNames ? '' : 'residentWorkspaces')
|
|
1437
|
+
..aD(4, _omitFieldNames ? '' : 'wasmLinearMemMb')
|
|
1438
|
+
..aD(5, _omitFieldNames ? '' : 'processRssMb')
|
|
1439
|
+
..aI(6, _omitFieldNames ? '' : 'rssCriticalMb',
|
|
1440
|
+
fieldType: $pb.PbFieldType.OU3)
|
|
1441
|
+
..pPM<ResidentWorkspaceDetail>(7, _omitFieldNames ? '' : 'residents',
|
|
1442
|
+
subBuilder: ResidentWorkspaceDetail.create)
|
|
1443
|
+
..aOM<KernelWorkSnapshot>(8, _omitFieldNames ? '' : 'kernelWork',
|
|
1444
|
+
subBuilder: KernelWorkSnapshot.create)
|
|
1445
|
+
..pPM<$1.CustodyOpening>(9, _omitFieldNames ? '' : 'openings',
|
|
1446
|
+
subBuilder: $1.CustodyOpening.create)
|
|
1447
|
+
..aOM<ArtifactsTransportSnapshot>(10, _omitFieldNames ? '' : 'artifacts',
|
|
1448
|
+
subBuilder: ArtifactsTransportSnapshot.create)
|
|
1449
|
+
..pPM<RetentionOutcomeCounter>(11, _omitFieldNames ? '' : 'retention',
|
|
1450
|
+
subBuilder: RetentionOutcomeCounter.create)
|
|
1451
|
+
..pPM<CorrespondenceHold>(12, _omitFieldNames ? '' : 'correspondenceHolds',
|
|
1452
|
+
subBuilder: CorrespondenceHold.create)
|
|
1453
|
+
..hasRequiredFields = false;
|
|
1454
|
+
|
|
1455
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1456
|
+
HostHealth clone() => deepCopy();
|
|
1457
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1458
|
+
HostHealth copyWith(void Function(HostHealth) updates) =>
|
|
1459
|
+
super.copyWith((message) => updates(message as HostHealth)) as HostHealth;
|
|
1460
|
+
|
|
1461
|
+
@$core.override
|
|
1462
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1463
|
+
|
|
1464
|
+
@$core.pragma('dart2js:noInline')
|
|
1465
|
+
static HostHealth create() => HostHealth._();
|
|
1466
|
+
@$core.override
|
|
1467
|
+
HostHealth createEmptyInstance() => create();
|
|
1468
|
+
@$core.pragma('dart2js:noInline')
|
|
1469
|
+
static HostHealth getDefault() => _defaultInstance ??=
|
|
1470
|
+
$pb.GeneratedMessage.$_defaultFor<HostHealth>(create);
|
|
1471
|
+
static HostHealth? _defaultInstance;
|
|
1472
|
+
|
|
1473
|
+
/// Process identity of the shell. A swap in place keeps it; a replacement changes it.
|
|
1474
|
+
@$pb.TagNumber(1)
|
|
1475
|
+
$fixnum.Int64 get replica => $_getI64(0);
|
|
1476
|
+
@$pb.TagNumber(1)
|
|
1477
|
+
set replica($fixnum.Int64 value) => $_setInt64(0, value);
|
|
1478
|
+
@$pb.TagNumber(1)
|
|
1479
|
+
$core.bool hasReplica() => $_has(0);
|
|
1480
|
+
@$pb.TagNumber(1)
|
|
1481
|
+
void clearReplica() => $_clearField(1);
|
|
1482
|
+
|
|
1483
|
+
/// SHA-256 of the installed kernel wasm, lowercase hex.
|
|
1484
|
+
@$pb.TagNumber(2)
|
|
1485
|
+
$core.String get kernelSha256 => $_getSZ(1);
|
|
1486
|
+
@$pb.TagNumber(2)
|
|
1487
|
+
set kernelSha256($core.String value) => $_setString(1, value);
|
|
1488
|
+
@$pb.TagNumber(2)
|
|
1489
|
+
$core.bool hasKernelSha256() => $_has(1);
|
|
1490
|
+
@$pb.TagNumber(2)
|
|
1491
|
+
void clearKernelSha256() => $_clearField(2);
|
|
1492
|
+
|
|
1493
|
+
/// Workspaces the kernel currently has mounted (empty between operations). THIS remains the
|
|
1494
|
+
/// membership answer: a host predating `residents` still answers it, and placement reads it to
|
|
1495
|
+
/// decide colocation during a rollout, when old and new container images serve side by side.
|
|
1496
|
+
@$pb.TagNumber(3)
|
|
1497
|
+
$pb.PbList<$core.String> get residentWorkspaces => $_getList(2);
|
|
1498
|
+
|
|
1499
|
+
@$pb.TagNumber(4)
|
|
1500
|
+
$core.double get wasmLinearMemMb => $_getN(3);
|
|
1501
|
+
@$pb.TagNumber(4)
|
|
1502
|
+
set wasmLinearMemMb($core.double value) => $_setDouble(3, value);
|
|
1503
|
+
@$pb.TagNumber(4)
|
|
1504
|
+
$core.bool hasWasmLinearMemMb() => $_has(3);
|
|
1505
|
+
@$pb.TagNumber(4)
|
|
1506
|
+
void clearWasmLinearMemMb() => $_clearField(4);
|
|
1507
|
+
|
|
1508
|
+
@$pb.TagNumber(5)
|
|
1509
|
+
$core.double get processRssMb => $_getN(4);
|
|
1510
|
+
@$pb.TagNumber(5)
|
|
1511
|
+
set processRssMb($core.double value) => $_setDouble(4, value);
|
|
1512
|
+
@$pb.TagNumber(5)
|
|
1513
|
+
$core.bool hasProcessRssMb() => $_has(4);
|
|
1514
|
+
@$pb.TagNumber(5)
|
|
1515
|
+
void clearProcessRssMb() => $_clearField(5);
|
|
1516
|
+
|
|
1517
|
+
/// RSS ceiling the placement policy reserves fold-spike headroom below.
|
|
1518
|
+
@$pb.TagNumber(6)
|
|
1519
|
+
$core.int get rssCriticalMb => $_getIZ(5);
|
|
1520
|
+
@$pb.TagNumber(6)
|
|
1521
|
+
set rssCriticalMb($core.int value) => $_setUnsignedInt32(5, value);
|
|
1522
|
+
@$pb.TagNumber(6)
|
|
1523
|
+
$core.bool hasRssCriticalMb() => $_has(5);
|
|
1524
|
+
@$pb.TagNumber(6)
|
|
1525
|
+
void clearRssCriticalMb() => $_clearField(6);
|
|
1526
|
+
|
|
1527
|
+
/// Per-resident detail for the names above. Empty from a host that predates it; a reader must
|
|
1528
|
+
/// treat absent detail as UNKNOWN, never as an idle or empty workspace.
|
|
1529
|
+
@$pb.TagNumber(7)
|
|
1530
|
+
$pb.PbList<ResidentWorkspaceDetail> get residents => $_getList(6);
|
|
1531
|
+
|
|
1532
|
+
/// Complete work accounting for the dedicated kernel execution thread. Empty
|
|
1533
|
+
/// from a host which predates this contract; absence means UNKNOWN, not idle.
|
|
1534
|
+
@$pb.TagNumber(8)
|
|
1535
|
+
KernelWorkSnapshot get kernelWork => $_getN(7);
|
|
1536
|
+
@$pb.TagNumber(8)
|
|
1537
|
+
set kernelWork(KernelWorkSnapshot value) => $_setField(8, value);
|
|
1538
|
+
@$pb.TagNumber(8)
|
|
1539
|
+
$core.bool hasKernelWork() => $_has(7);
|
|
1540
|
+
@$pb.TagNumber(8)
|
|
1541
|
+
void clearKernelWork() => $_clearField(8);
|
|
1542
|
+
@$pb.TagNumber(8)
|
|
1543
|
+
KernelWorkSnapshot ensureKernelWork() => $_ensure(7);
|
|
1544
|
+
|
|
1545
|
+
/// Custody opens this host is performing right now. An open is mostly waiting on the Git
|
|
1546
|
+
/// provider, which no CPU or kernel-work figure shows. Empty means none in progress on a host
|
|
1547
|
+
/// that reports `artifacts`; a host predating this contract reports neither.
|
|
1548
|
+
@$pb.TagNumber(9)
|
|
1549
|
+
$pb.PbList<$1.CustodyOpening> get openings => $_getList(8);
|
|
1550
|
+
|
|
1551
|
+
/// Every Git HTTP request this host made to its custody provider since the process started.
|
|
1552
|
+
@$pb.TagNumber(10)
|
|
1553
|
+
ArtifactsTransportSnapshot get artifacts => $_getN(9);
|
|
1554
|
+
@$pb.TagNumber(10)
|
|
1555
|
+
set artifacts(ArtifactsTransportSnapshot value) => $_setField(10, value);
|
|
1556
|
+
@$pb.TagNumber(10)
|
|
1557
|
+
$core.bool hasArtifacts() => $_has(9);
|
|
1558
|
+
@$pb.TagNumber(10)
|
|
1559
|
+
void clearArtifacts() => $_clearField(10);
|
|
1560
|
+
@$pb.TagNumber(10)
|
|
1561
|
+
ArtifactsTransportSnapshot ensureArtifacts() => $_ensure(9);
|
|
1562
|
+
|
|
1563
|
+
/// Physical retention publications by settled outcome since the process started.
|
|
1564
|
+
@$pb.TagNumber(11)
|
|
1565
|
+
$pb.PbList<RetentionOutcomeCounter> get retention => $_getList(10);
|
|
1566
|
+
|
|
1567
|
+
/// Outbound correspondence this host is holding back, and WHY. Idle outbox work is paid for
|
|
1568
|
+
/// by these: a letter that stays retryable is re-inspected on its backoff forever, so an
|
|
1569
|
+
/// outbox that never empties never lets the host go quiet. The reason names the event the
|
|
1570
|
+
/// letter is actually waiting on, which is what lets it become event driven.
|
|
1571
|
+
@$pb.TagNumber(12)
|
|
1572
|
+
$pb.PbList<CorrespondenceHold> get correspondenceHolds => $_getList(11);
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/// Cumulative counters for one (operation, outcome) pair of provider Git HTTP requests.
|
|
1576
|
+
/// operation: info-refs-upload | info-refs-receive | upload-pack | receive-pack | other
|
|
1577
|
+
/// outcome: 2xx | 3xx | 4xx | 5xx | timeout | transport
|
|
1578
|
+
/// Wall time runs until the response body is fully read or the request fails, so a slow pack
|
|
1579
|
+
/// download counts in full, not just its headers.
|
|
1580
|
+
class ArtifactsRequestCounter extends $pb.GeneratedMessage {
|
|
1581
|
+
factory ArtifactsRequestCounter({
|
|
1582
|
+
$core.String? operation,
|
|
1583
|
+
$core.String? outcome,
|
|
1584
|
+
$fixnum.Int64? requests,
|
|
1585
|
+
$fixnum.Int64? wallMicros,
|
|
1586
|
+
$fixnum.Int64? responseBytes,
|
|
1587
|
+
$core.Iterable<ArtifactsLatencyBucket>? latencyBuckets,
|
|
1588
|
+
}) {
|
|
1589
|
+
final result = create();
|
|
1590
|
+
if (operation != null) result.operation = operation;
|
|
1591
|
+
if (outcome != null) result.outcome = outcome;
|
|
1592
|
+
if (requests != null) result.requests = requests;
|
|
1593
|
+
if (wallMicros != null) result.wallMicros = wallMicros;
|
|
1594
|
+
if (responseBytes != null) result.responseBytes = responseBytes;
|
|
1595
|
+
if (latencyBuckets != null) result.latencyBuckets.addAll(latencyBuckets);
|
|
1596
|
+
return result;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
ArtifactsRequestCounter._();
|
|
1600
|
+
|
|
1601
|
+
factory ArtifactsRequestCounter.fromBuffer($core.List<$core.int> data,
|
|
1602
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1603
|
+
create()..mergeFromBuffer(data, registry);
|
|
1604
|
+
factory ArtifactsRequestCounter.fromJson($core.String json,
|
|
1605
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1606
|
+
create()..mergeFromJson(json, registry);
|
|
1607
|
+
|
|
1608
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1609
|
+
_omitMessageNames ? '' : 'ArtifactsRequestCounter',
|
|
1610
|
+
package:
|
|
1611
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1612
|
+
createEmptyInstance: create)
|
|
1613
|
+
..aOS(1, _omitFieldNames ? '' : 'operation')
|
|
1614
|
+
..aOS(2, _omitFieldNames ? '' : 'outcome')
|
|
1615
|
+
..a<$fixnum.Int64>(
|
|
1616
|
+
3, _omitFieldNames ? '' : 'requests', $pb.PbFieldType.OU6,
|
|
1617
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1618
|
+
..a<$fixnum.Int64>(
|
|
1619
|
+
4, _omitFieldNames ? '' : 'wallMicros', $pb.PbFieldType.OU6,
|
|
1620
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1621
|
+
..a<$fixnum.Int64>(
|
|
1622
|
+
5, _omitFieldNames ? '' : 'responseBytes', $pb.PbFieldType.OU6,
|
|
1623
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1624
|
+
..pPM<ArtifactsLatencyBucket>(6, _omitFieldNames ? '' : 'latencyBuckets',
|
|
1625
|
+
subBuilder: ArtifactsLatencyBucket.create)
|
|
1626
|
+
..hasRequiredFields = false;
|
|
1627
|
+
|
|
1628
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1629
|
+
ArtifactsRequestCounter clone() => deepCopy();
|
|
1630
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1631
|
+
ArtifactsRequestCounter copyWith(
|
|
1632
|
+
void Function(ArtifactsRequestCounter) updates) =>
|
|
1633
|
+
super.copyWith((message) => updates(message as ArtifactsRequestCounter))
|
|
1634
|
+
as ArtifactsRequestCounter;
|
|
1635
|
+
|
|
1636
|
+
@$core.override
|
|
1637
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1638
|
+
|
|
1639
|
+
@$core.pragma('dart2js:noInline')
|
|
1640
|
+
static ArtifactsRequestCounter create() => ArtifactsRequestCounter._();
|
|
1641
|
+
@$core.override
|
|
1642
|
+
ArtifactsRequestCounter createEmptyInstance() => create();
|
|
1643
|
+
@$core.pragma('dart2js:noInline')
|
|
1644
|
+
static ArtifactsRequestCounter getDefault() => _defaultInstance ??=
|
|
1645
|
+
$pb.GeneratedMessage.$_defaultFor<ArtifactsRequestCounter>(create);
|
|
1646
|
+
static ArtifactsRequestCounter? _defaultInstance;
|
|
1647
|
+
|
|
1648
|
+
@$pb.TagNumber(1)
|
|
1649
|
+
$core.String get operation => $_getSZ(0);
|
|
1650
|
+
@$pb.TagNumber(1)
|
|
1651
|
+
set operation($core.String value) => $_setString(0, value);
|
|
1652
|
+
@$pb.TagNumber(1)
|
|
1653
|
+
$core.bool hasOperation() => $_has(0);
|
|
1654
|
+
@$pb.TagNumber(1)
|
|
1655
|
+
void clearOperation() => $_clearField(1);
|
|
1656
|
+
|
|
1657
|
+
@$pb.TagNumber(2)
|
|
1658
|
+
$core.String get outcome => $_getSZ(1);
|
|
1659
|
+
@$pb.TagNumber(2)
|
|
1660
|
+
set outcome($core.String value) => $_setString(1, value);
|
|
1661
|
+
@$pb.TagNumber(2)
|
|
1662
|
+
$core.bool hasOutcome() => $_has(1);
|
|
1663
|
+
@$pb.TagNumber(2)
|
|
1664
|
+
void clearOutcome() => $_clearField(2);
|
|
1665
|
+
|
|
1666
|
+
@$pb.TagNumber(3)
|
|
1667
|
+
$fixnum.Int64 get requests => $_getI64(2);
|
|
1668
|
+
@$pb.TagNumber(3)
|
|
1669
|
+
set requests($fixnum.Int64 value) => $_setInt64(2, value);
|
|
1670
|
+
@$pb.TagNumber(3)
|
|
1671
|
+
$core.bool hasRequests() => $_has(2);
|
|
1672
|
+
@$pb.TagNumber(3)
|
|
1673
|
+
void clearRequests() => $_clearField(3);
|
|
1674
|
+
|
|
1675
|
+
@$pb.TagNumber(4)
|
|
1676
|
+
$fixnum.Int64 get wallMicros => $_getI64(3);
|
|
1677
|
+
@$pb.TagNumber(4)
|
|
1678
|
+
set wallMicros($fixnum.Int64 value) => $_setInt64(3, value);
|
|
1679
|
+
@$pb.TagNumber(4)
|
|
1680
|
+
$core.bool hasWallMicros() => $_has(3);
|
|
1681
|
+
@$pb.TagNumber(4)
|
|
1682
|
+
void clearWallMicros() => $_clearField(4);
|
|
1683
|
+
|
|
1684
|
+
@$pb.TagNumber(5)
|
|
1685
|
+
$fixnum.Int64 get responseBytes => $_getI64(4);
|
|
1686
|
+
@$pb.TagNumber(5)
|
|
1687
|
+
set responseBytes($fixnum.Int64 value) => $_setInt64(4, value);
|
|
1688
|
+
@$pb.TagNumber(5)
|
|
1689
|
+
$core.bool hasResponseBytes() => $_has(4);
|
|
1690
|
+
@$pb.TagNumber(5)
|
|
1691
|
+
void clearResponseBytes() => $_clearField(5);
|
|
1692
|
+
|
|
1693
|
+
@$pb.TagNumber(6)
|
|
1694
|
+
$pb.PbList<ArtifactsLatencyBucket> get latencyBuckets => $_getList(5);
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
/// Cumulative wall-time histogram bucket, Prometheus model, fixed bounds.
|
|
1698
|
+
class ArtifactsLatencyBucket extends $pb.GeneratedMessage {
|
|
1699
|
+
factory ArtifactsLatencyBucket({
|
|
1700
|
+
$fixnum.Int64? leMicros,
|
|
1701
|
+
$fixnum.Int64? requests,
|
|
1702
|
+
}) {
|
|
1703
|
+
final result = create();
|
|
1704
|
+
if (leMicros != null) result.leMicros = leMicros;
|
|
1705
|
+
if (requests != null) result.requests = requests;
|
|
1706
|
+
return result;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
ArtifactsLatencyBucket._();
|
|
1710
|
+
|
|
1711
|
+
factory ArtifactsLatencyBucket.fromBuffer($core.List<$core.int> data,
|
|
1712
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1713
|
+
create()..mergeFromBuffer(data, registry);
|
|
1714
|
+
factory ArtifactsLatencyBucket.fromJson($core.String json,
|
|
1715
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1716
|
+
create()..mergeFromJson(json, registry);
|
|
1717
|
+
|
|
1718
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1719
|
+
_omitMessageNames ? '' : 'ArtifactsLatencyBucket',
|
|
1720
|
+
package:
|
|
1721
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1722
|
+
createEmptyInstance: create)
|
|
1723
|
+
..a<$fixnum.Int64>(
|
|
1724
|
+
1, _omitFieldNames ? '' : 'leMicros', $pb.PbFieldType.OU6,
|
|
1725
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1726
|
+
..a<$fixnum.Int64>(
|
|
1727
|
+
2, _omitFieldNames ? '' : 'requests', $pb.PbFieldType.OU6,
|
|
1728
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1729
|
+
..hasRequiredFields = false;
|
|
1730
|
+
|
|
1731
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1732
|
+
ArtifactsLatencyBucket clone() => deepCopy();
|
|
1733
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1734
|
+
ArtifactsLatencyBucket copyWith(
|
|
1735
|
+
void Function(ArtifactsLatencyBucket) updates) =>
|
|
1736
|
+
super.copyWith((message) => updates(message as ArtifactsLatencyBucket))
|
|
1737
|
+
as ArtifactsLatencyBucket;
|
|
1738
|
+
|
|
1739
|
+
@$core.override
|
|
1740
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1741
|
+
|
|
1742
|
+
@$core.pragma('dart2js:noInline')
|
|
1743
|
+
static ArtifactsLatencyBucket create() => ArtifactsLatencyBucket._();
|
|
1744
|
+
@$core.override
|
|
1745
|
+
ArtifactsLatencyBucket createEmptyInstance() => create();
|
|
1746
|
+
@$core.pragma('dart2js:noInline')
|
|
1747
|
+
static ArtifactsLatencyBucket getDefault() => _defaultInstance ??=
|
|
1748
|
+
$pb.GeneratedMessage.$_defaultFor<ArtifactsLatencyBucket>(create);
|
|
1749
|
+
static ArtifactsLatencyBucket? _defaultInstance;
|
|
1750
|
+
|
|
1751
|
+
@$pb.TagNumber(1)
|
|
1752
|
+
$fixnum.Int64 get leMicros => $_getI64(0);
|
|
1753
|
+
@$pb.TagNumber(1)
|
|
1754
|
+
set leMicros($fixnum.Int64 value) => $_setInt64(0, value);
|
|
1755
|
+
@$pb.TagNumber(1)
|
|
1756
|
+
$core.bool hasLeMicros() => $_has(0);
|
|
1757
|
+
@$pb.TagNumber(1)
|
|
1758
|
+
void clearLeMicros() => $_clearField(1);
|
|
1759
|
+
|
|
1760
|
+
@$pb.TagNumber(2)
|
|
1761
|
+
$fixnum.Int64 get requests => $_getI64(1);
|
|
1762
|
+
@$pb.TagNumber(2)
|
|
1763
|
+
set requests($fixnum.Int64 value) => $_setInt64(1, value);
|
|
1764
|
+
@$pb.TagNumber(2)
|
|
1765
|
+
$core.bool hasRequests() => $_has(1);
|
|
1766
|
+
@$pb.TagNumber(2)
|
|
1767
|
+
void clearRequests() => $_clearField(2);
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
class ArtifactsTransportSnapshot extends $pb.GeneratedMessage {
|
|
1771
|
+
factory ArtifactsTransportSnapshot({
|
|
1772
|
+
$fixnum.Int64? startedUnixMillis,
|
|
1773
|
+
$core.Iterable<ArtifactsRequestCounter>? counters,
|
|
1774
|
+
$core.int? inFlight,
|
|
1775
|
+
$fixnum.Int64? oldestInFlightStartedUnixMillis,
|
|
1776
|
+
}) {
|
|
1777
|
+
final result = create();
|
|
1778
|
+
if (startedUnixMillis != null) result.startedUnixMillis = startedUnixMillis;
|
|
1779
|
+
if (counters != null) result.counters.addAll(counters);
|
|
1780
|
+
if (inFlight != null) result.inFlight = inFlight;
|
|
1781
|
+
if (oldestInFlightStartedUnixMillis != null)
|
|
1782
|
+
result.oldestInFlightStartedUnixMillis = oldestInFlightStartedUnixMillis;
|
|
1783
|
+
return result;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
ArtifactsTransportSnapshot._();
|
|
1787
|
+
|
|
1788
|
+
factory ArtifactsTransportSnapshot.fromBuffer($core.List<$core.int> data,
|
|
1789
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1790
|
+
create()..mergeFromBuffer(data, registry);
|
|
1791
|
+
factory ArtifactsTransportSnapshot.fromJson($core.String json,
|
|
1792
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1793
|
+
create()..mergeFromJson(json, registry);
|
|
1794
|
+
|
|
1795
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1796
|
+
_omitMessageNames ? '' : 'ArtifactsTransportSnapshot',
|
|
1797
|
+
package:
|
|
1798
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1799
|
+
createEmptyInstance: create)
|
|
1800
|
+
..a<$fixnum.Int64>(
|
|
1801
|
+
1, _omitFieldNames ? '' : 'startedUnixMillis', $pb.PbFieldType.OU6,
|
|
1802
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1803
|
+
..pPM<ArtifactsRequestCounter>(2, _omitFieldNames ? '' : 'counters',
|
|
1804
|
+
subBuilder: ArtifactsRequestCounter.create)
|
|
1805
|
+
..aI(3, _omitFieldNames ? '' : 'inFlight', fieldType: $pb.PbFieldType.OU3)
|
|
1806
|
+
..a<$fixnum.Int64>(
|
|
1807
|
+
4,
|
|
1808
|
+
_omitFieldNames ? '' : 'oldestInFlightStartedUnixMillis',
|
|
1809
|
+
$pb.PbFieldType.OU6,
|
|
1810
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1811
|
+
..hasRequiredFields = false;
|
|
1812
|
+
|
|
1813
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1814
|
+
ArtifactsTransportSnapshot clone() => deepCopy();
|
|
1815
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1816
|
+
ArtifactsTransportSnapshot copyWith(
|
|
1817
|
+
void Function(ArtifactsTransportSnapshot) updates) =>
|
|
1818
|
+
super.copyWith(
|
|
1819
|
+
(message) => updates(message as ArtifactsTransportSnapshot))
|
|
1820
|
+
as ArtifactsTransportSnapshot;
|
|
1821
|
+
|
|
1822
|
+
@$core.override
|
|
1823
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1824
|
+
|
|
1825
|
+
@$core.pragma('dart2js:noInline')
|
|
1826
|
+
static ArtifactsTransportSnapshot create() => ArtifactsTransportSnapshot._();
|
|
1827
|
+
@$core.override
|
|
1828
|
+
ArtifactsTransportSnapshot createEmptyInstance() => create();
|
|
1829
|
+
@$core.pragma('dart2js:noInline')
|
|
1830
|
+
static ArtifactsTransportSnapshot getDefault() => _defaultInstance ??=
|
|
1831
|
+
$pb.GeneratedMessage.$_defaultFor<ArtifactsTransportSnapshot>(create);
|
|
1832
|
+
static ArtifactsTransportSnapshot? _defaultInstance;
|
|
1833
|
+
|
|
1834
|
+
@$pb.TagNumber(1)
|
|
1835
|
+
$fixnum.Int64 get startedUnixMillis => $_getI64(0);
|
|
1836
|
+
@$pb.TagNumber(1)
|
|
1837
|
+
set startedUnixMillis($fixnum.Int64 value) => $_setInt64(0, value);
|
|
1838
|
+
@$pb.TagNumber(1)
|
|
1839
|
+
$core.bool hasStartedUnixMillis() => $_has(0);
|
|
1840
|
+
@$pb.TagNumber(1)
|
|
1841
|
+
void clearStartedUnixMillis() => $_clearField(1);
|
|
1842
|
+
|
|
1843
|
+
@$pb.TagNumber(2)
|
|
1844
|
+
$pb.PbList<ArtifactsRequestCounter> get counters => $_getList(1);
|
|
1845
|
+
|
|
1846
|
+
/// Requests started and not yet settled at observation time.
|
|
1847
|
+
@$pb.TagNumber(3)
|
|
1848
|
+
$core.int get inFlight => $_getIZ(2);
|
|
1849
|
+
@$pb.TagNumber(3)
|
|
1850
|
+
set inFlight($core.int value) => $_setUnsignedInt32(2, value);
|
|
1851
|
+
@$pb.TagNumber(3)
|
|
1852
|
+
$core.bool hasInFlight() => $_has(2);
|
|
1853
|
+
@$pb.TagNumber(3)
|
|
1854
|
+
void clearInFlight() => $_clearField(3);
|
|
1855
|
+
|
|
1856
|
+
/// Start time of the oldest unsettled request; 0 when none is in flight.
|
|
1857
|
+
@$pb.TagNumber(4)
|
|
1858
|
+
$fixnum.Int64 get oldestInFlightStartedUnixMillis => $_getI64(3);
|
|
1859
|
+
@$pb.TagNumber(4)
|
|
1860
|
+
set oldestInFlightStartedUnixMillis($fixnum.Int64 value) =>
|
|
1861
|
+
$_setInt64(3, value);
|
|
1862
|
+
@$pb.TagNumber(4)
|
|
1863
|
+
$core.bool hasOldestInFlightStartedUnixMillis() => $_has(3);
|
|
1864
|
+
@$pb.TagNumber(4)
|
|
1865
|
+
void clearOldestInFlightStartedUnixMillis() => $_clearField(4);
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
/// outcome: retained | superseded | failed
|
|
1869
|
+
class RetentionOutcomeCounter extends $pb.GeneratedMessage {
|
|
1870
|
+
factory RetentionOutcomeCounter({
|
|
1871
|
+
$core.String? outcome,
|
|
1872
|
+
$fixnum.Int64? publications,
|
|
1873
|
+
$fixnum.Int64? attempts,
|
|
1874
|
+
}) {
|
|
1875
|
+
final result = create();
|
|
1876
|
+
if (outcome != null) result.outcome = outcome;
|
|
1877
|
+
if (publications != null) result.publications = publications;
|
|
1878
|
+
if (attempts != null) result.attempts = attempts;
|
|
1879
|
+
return result;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
RetentionOutcomeCounter._();
|
|
1883
|
+
|
|
1884
|
+
factory RetentionOutcomeCounter.fromBuffer($core.List<$core.int> data,
|
|
1885
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1886
|
+
create()..mergeFromBuffer(data, registry);
|
|
1887
|
+
factory RetentionOutcomeCounter.fromJson($core.String json,
|
|
1888
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1889
|
+
create()..mergeFromJson(json, registry);
|
|
1890
|
+
|
|
1891
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1892
|
+
_omitMessageNames ? '' : 'RetentionOutcomeCounter',
|
|
1893
|
+
package:
|
|
1894
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1895
|
+
createEmptyInstance: create)
|
|
1896
|
+
..aOS(1, _omitFieldNames ? '' : 'outcome')
|
|
1897
|
+
..a<$fixnum.Int64>(
|
|
1898
|
+
2, _omitFieldNames ? '' : 'publications', $pb.PbFieldType.OU6,
|
|
1899
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1900
|
+
..a<$fixnum.Int64>(
|
|
1901
|
+
3, _omitFieldNames ? '' : 'attempts', $pb.PbFieldType.OU6,
|
|
1902
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
1903
|
+
..hasRequiredFields = false;
|
|
1904
|
+
|
|
1905
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1906
|
+
RetentionOutcomeCounter clone() => deepCopy();
|
|
1907
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1908
|
+
RetentionOutcomeCounter copyWith(
|
|
1909
|
+
void Function(RetentionOutcomeCounter) updates) =>
|
|
1910
|
+
super.copyWith((message) => updates(message as RetentionOutcomeCounter))
|
|
1911
|
+
as RetentionOutcomeCounter;
|
|
1912
|
+
|
|
1913
|
+
@$core.override
|
|
1914
|
+
$pb.BuilderInfo get info_ => _i;
|
|
1915
|
+
|
|
1916
|
+
@$core.pragma('dart2js:noInline')
|
|
1917
|
+
static RetentionOutcomeCounter create() => RetentionOutcomeCounter._();
|
|
1918
|
+
@$core.override
|
|
1919
|
+
RetentionOutcomeCounter createEmptyInstance() => create();
|
|
1920
|
+
@$core.pragma('dart2js:noInline')
|
|
1921
|
+
static RetentionOutcomeCounter getDefault() => _defaultInstance ??=
|
|
1922
|
+
$pb.GeneratedMessage.$_defaultFor<RetentionOutcomeCounter>(create);
|
|
1923
|
+
static RetentionOutcomeCounter? _defaultInstance;
|
|
1924
|
+
|
|
1925
|
+
@$pb.TagNumber(1)
|
|
1926
|
+
$core.String get outcome => $_getSZ(0);
|
|
1927
|
+
@$pb.TagNumber(1)
|
|
1928
|
+
set outcome($core.String value) => $_setString(0, value);
|
|
1929
|
+
@$pb.TagNumber(1)
|
|
1930
|
+
$core.bool hasOutcome() => $_has(0);
|
|
1931
|
+
@$pb.TagNumber(1)
|
|
1932
|
+
void clearOutcome() => $_clearField(1);
|
|
1933
|
+
|
|
1934
|
+
@$pb.TagNumber(2)
|
|
1935
|
+
$fixnum.Int64 get publications => $_getI64(1);
|
|
1936
|
+
@$pb.TagNumber(2)
|
|
1937
|
+
set publications($fixnum.Int64 value) => $_setInt64(1, value);
|
|
1938
|
+
@$pb.TagNumber(2)
|
|
1939
|
+
$core.bool hasPublications() => $_has(1);
|
|
1940
|
+
@$pb.TagNumber(2)
|
|
1941
|
+
void clearPublications() => $_clearField(2);
|
|
1942
|
+
|
|
1943
|
+
/// Physical attempts spent across those publications.
|
|
1944
|
+
@$pb.TagNumber(3)
|
|
1945
|
+
$fixnum.Int64 get attempts => $_getI64(2);
|
|
1946
|
+
@$pb.TagNumber(3)
|
|
1947
|
+
set attempts($fixnum.Int64 value) => $_setInt64(2, value);
|
|
1948
|
+
@$pb.TagNumber(3)
|
|
1949
|
+
$core.bool hasAttempts() => $_has(2);
|
|
1950
|
+
@$pb.TagNumber(3)
|
|
1951
|
+
void clearAttempts() => $_clearField(3);
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/// Outcome of asking a shell to reconcile to the provider-selected kernel in place.
|
|
1955
|
+
class KernelRefreshOutcome extends $pb.GeneratedMessage {
|
|
1956
|
+
factory KernelRefreshOutcome({
|
|
1957
|
+
HostHealth? host,
|
|
1958
|
+
$core.bool? changed,
|
|
1959
|
+
$core.String? previousSha256,
|
|
1960
|
+
$core.String? sha256,
|
|
1961
|
+
}) {
|
|
1962
|
+
final result = create();
|
|
1963
|
+
if (host != null) result.host = host;
|
|
1964
|
+
if (changed != null) result.changed = changed;
|
|
1965
|
+
if (previousSha256 != null) result.previousSha256 = previousSha256;
|
|
1966
|
+
if (sha256 != null) result.sha256 = sha256;
|
|
1967
|
+
return result;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
KernelRefreshOutcome._();
|
|
1971
|
+
|
|
1972
|
+
factory KernelRefreshOutcome.fromBuffer($core.List<$core.int> data,
|
|
1973
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1974
|
+
create()..mergeFromBuffer(data, registry);
|
|
1975
|
+
factory KernelRefreshOutcome.fromJson($core.String json,
|
|
1976
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
1977
|
+
create()..mergeFromJson(json, registry);
|
|
1978
|
+
|
|
1979
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
1980
|
+
_omitMessageNames ? '' : 'KernelRefreshOutcome',
|
|
1981
|
+
package:
|
|
1982
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
1983
|
+
createEmptyInstance: create)
|
|
1984
|
+
..aOM<HostHealth>(1, _omitFieldNames ? '' : 'host',
|
|
1985
|
+
subBuilder: HostHealth.create)
|
|
1986
|
+
..aOB(2, _omitFieldNames ? '' : 'changed')
|
|
1987
|
+
..aOS(3, _omitFieldNames ? '' : 'previousSha256')
|
|
1988
|
+
..aOS(4, _omitFieldNames ? '' : 'sha256')
|
|
1989
|
+
..hasRequiredFields = false;
|
|
1990
|
+
|
|
1991
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1992
|
+
KernelRefreshOutcome clone() => deepCopy();
|
|
1993
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
1994
|
+
KernelRefreshOutcome copyWith(void Function(KernelRefreshOutcome) updates) =>
|
|
1995
|
+
super.copyWith((message) => updates(message as KernelRefreshOutcome))
|
|
1996
|
+
as KernelRefreshOutcome;
|
|
1997
|
+
|
|
1998
|
+
@$core.override
|
|
1999
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2000
|
+
|
|
2001
|
+
@$core.pragma('dart2js:noInline')
|
|
2002
|
+
static KernelRefreshOutcome create() => KernelRefreshOutcome._();
|
|
2003
|
+
@$core.override
|
|
2004
|
+
KernelRefreshOutcome createEmptyInstance() => create();
|
|
2005
|
+
@$core.pragma('dart2js:noInline')
|
|
2006
|
+
static KernelRefreshOutcome getDefault() => _defaultInstance ??=
|
|
2007
|
+
$pb.GeneratedMessage.$_defaultFor<KernelRefreshOutcome>(create);
|
|
2008
|
+
static KernelRefreshOutcome? _defaultInstance;
|
|
2009
|
+
|
|
2010
|
+
@$pb.TagNumber(1)
|
|
2011
|
+
HostHealth get host => $_getN(0);
|
|
2012
|
+
@$pb.TagNumber(1)
|
|
2013
|
+
set host(HostHealth value) => $_setField(1, value);
|
|
2014
|
+
@$pb.TagNumber(1)
|
|
2015
|
+
$core.bool hasHost() => $_has(0);
|
|
2016
|
+
@$pb.TagNumber(1)
|
|
2017
|
+
void clearHost() => $_clearField(1);
|
|
2018
|
+
@$pb.TagNumber(1)
|
|
2019
|
+
HostHealth ensureHost() => $_ensure(0);
|
|
2020
|
+
|
|
2021
|
+
@$pb.TagNumber(2)
|
|
2022
|
+
$core.bool get changed => $_getBF(1);
|
|
2023
|
+
@$pb.TagNumber(2)
|
|
2024
|
+
set changed($core.bool value) => $_setBool(1, value);
|
|
2025
|
+
@$pb.TagNumber(2)
|
|
2026
|
+
$core.bool hasChanged() => $_has(1);
|
|
2027
|
+
@$pb.TagNumber(2)
|
|
2028
|
+
void clearChanged() => $_clearField(2);
|
|
2029
|
+
|
|
2030
|
+
@$pb.TagNumber(3)
|
|
2031
|
+
$core.String get previousSha256 => $_getSZ(2);
|
|
2032
|
+
@$pb.TagNumber(3)
|
|
2033
|
+
set previousSha256($core.String value) => $_setString(2, value);
|
|
2034
|
+
@$pb.TagNumber(3)
|
|
2035
|
+
$core.bool hasPreviousSha256() => $_has(2);
|
|
2036
|
+
@$pb.TagNumber(3)
|
|
2037
|
+
void clearPreviousSha256() => $_clearField(3);
|
|
2038
|
+
|
|
2039
|
+
@$pb.TagNumber(4)
|
|
2040
|
+
$core.String get sha256 => $_getSZ(3);
|
|
2041
|
+
@$pb.TagNumber(4)
|
|
2042
|
+
set sha256($core.String value) => $_setString(3, value);
|
|
2043
|
+
@$pb.TagNumber(4)
|
|
2044
|
+
$core.bool hasSha256() => $_has(3);
|
|
2045
|
+
@$pb.TagNumber(4)
|
|
2046
|
+
void clearSha256() => $_clearField(4);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/// One physical Peer Runtime host as the provider adapter sees it.
|
|
2050
|
+
/// One outbound letter — or a whole correspondent, when the route itself is down — that this
|
|
2051
|
+
/// host is holding back rather than delivering, with the last reason it could not settle.
|
|
2052
|
+
class CorrespondenceHold extends $pb.GeneratedMessage {
|
|
2053
|
+
factory CorrespondenceHold({
|
|
2054
|
+
$core.String? sourceWorkspace,
|
|
2055
|
+
$core.String? targetWorkspace,
|
|
2056
|
+
$core.String? sourceOfferPath,
|
|
2057
|
+
$core.String? reason,
|
|
2058
|
+
$core.String? detail,
|
|
2059
|
+
$core.int? failures,
|
|
2060
|
+
$fixnum.Int64? retryAtMillis,
|
|
2061
|
+
$fixnum.Int64? heldSinceMillis,
|
|
2062
|
+
}) {
|
|
2063
|
+
final result = create();
|
|
2064
|
+
if (sourceWorkspace != null) result.sourceWorkspace = sourceWorkspace;
|
|
2065
|
+
if (targetWorkspace != null) result.targetWorkspace = targetWorkspace;
|
|
2066
|
+
if (sourceOfferPath != null) result.sourceOfferPath = sourceOfferPath;
|
|
2067
|
+
if (reason != null) result.reason = reason;
|
|
2068
|
+
if (detail != null) result.detail = detail;
|
|
2069
|
+
if (failures != null) result.failures = failures;
|
|
2070
|
+
if (retryAtMillis != null) result.retryAtMillis = retryAtMillis;
|
|
2071
|
+
if (heldSinceMillis != null) result.heldSinceMillis = heldSinceMillis;
|
|
2072
|
+
return result;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
CorrespondenceHold._();
|
|
2076
|
+
|
|
2077
|
+
factory CorrespondenceHold.fromBuffer($core.List<$core.int> data,
|
|
2078
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2079
|
+
create()..mergeFromBuffer(data, registry);
|
|
2080
|
+
factory CorrespondenceHold.fromJson($core.String json,
|
|
2081
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2082
|
+
create()..mergeFromJson(json, registry);
|
|
2083
|
+
|
|
2084
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2085
|
+
_omitMessageNames ? '' : 'CorrespondenceHold',
|
|
2086
|
+
package:
|
|
2087
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2088
|
+
createEmptyInstance: create)
|
|
2089
|
+
..aOS(1, _omitFieldNames ? '' : 'sourceWorkspace')
|
|
2090
|
+
..aOS(2, _omitFieldNames ? '' : 'targetWorkspace')
|
|
2091
|
+
..aOS(3, _omitFieldNames ? '' : 'sourceOfferPath')
|
|
2092
|
+
..aOS(4, _omitFieldNames ? '' : 'reason')
|
|
2093
|
+
..aOS(5, _omitFieldNames ? '' : 'detail')
|
|
2094
|
+
..aI(6, _omitFieldNames ? '' : 'failures', fieldType: $pb.PbFieldType.OU3)
|
|
2095
|
+
..a<$fixnum.Int64>(
|
|
2096
|
+
7, _omitFieldNames ? '' : 'retryAtMillis', $pb.PbFieldType.OU6,
|
|
2097
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
2098
|
+
..a<$fixnum.Int64>(
|
|
2099
|
+
8, _omitFieldNames ? '' : 'heldSinceMillis', $pb.PbFieldType.OU6,
|
|
2100
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
2101
|
+
..hasRequiredFields = false;
|
|
2102
|
+
|
|
2103
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2104
|
+
CorrespondenceHold clone() => deepCopy();
|
|
2105
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2106
|
+
CorrespondenceHold copyWith(void Function(CorrespondenceHold) updates) =>
|
|
2107
|
+
super.copyWith((message) => updates(message as CorrespondenceHold))
|
|
2108
|
+
as CorrespondenceHold;
|
|
2109
|
+
|
|
2110
|
+
@$core.override
|
|
2111
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2112
|
+
|
|
2113
|
+
@$core.pragma('dart2js:noInline')
|
|
2114
|
+
static CorrespondenceHold create() => CorrespondenceHold._();
|
|
2115
|
+
@$core.override
|
|
2116
|
+
CorrespondenceHold createEmptyInstance() => create();
|
|
2117
|
+
@$core.pragma('dart2js:noInline')
|
|
2118
|
+
static CorrespondenceHold getDefault() => _defaultInstance ??=
|
|
2119
|
+
$pb.GeneratedMessage.$_defaultFor<CorrespondenceHold>(create);
|
|
2120
|
+
static CorrespondenceHold? _defaultInstance;
|
|
2121
|
+
|
|
2122
|
+
@$pb.TagNumber(1)
|
|
2123
|
+
$core.String get sourceWorkspace => $_getSZ(0);
|
|
2124
|
+
@$pb.TagNumber(1)
|
|
2125
|
+
set sourceWorkspace($core.String value) => $_setString(0, value);
|
|
2126
|
+
@$pb.TagNumber(1)
|
|
2127
|
+
$core.bool hasSourceWorkspace() => $_has(0);
|
|
2128
|
+
@$pb.TagNumber(1)
|
|
2129
|
+
void clearSourceWorkspace() => $_clearField(1);
|
|
2130
|
+
|
|
2131
|
+
@$pb.TagNumber(2)
|
|
2132
|
+
$core.String get targetWorkspace => $_getSZ(1);
|
|
2133
|
+
@$pb.TagNumber(2)
|
|
2134
|
+
set targetWorkspace($core.String value) => $_setString(1, value);
|
|
2135
|
+
@$pb.TagNumber(2)
|
|
2136
|
+
$core.bool hasTargetWorkspace() => $_has(1);
|
|
2137
|
+
@$pb.TagNumber(2)
|
|
2138
|
+
void clearTargetWorkspace() => $_clearField(2);
|
|
2139
|
+
|
|
2140
|
+
/// Empty when the hold covers every letter to this target (a route, mailbox or transport
|
|
2141
|
+
/// outage applies to the correspondent, not to one letter).
|
|
2142
|
+
@$pb.TagNumber(3)
|
|
2143
|
+
$core.String get sourceOfferPath => $_getSZ(2);
|
|
2144
|
+
@$pb.TagNumber(3)
|
|
2145
|
+
set sourceOfferPath($core.String value) => $_setString(2, value);
|
|
2146
|
+
@$pb.TagNumber(3)
|
|
2147
|
+
$core.bool hasSourceOfferPath() => $_has(2);
|
|
2148
|
+
@$pb.TagNumber(3)
|
|
2149
|
+
void clearSourceOfferPath() => $_clearField(3);
|
|
2150
|
+
|
|
2151
|
+
/// Stable machine code: the failure code the target or transport returned, or one of
|
|
2152
|
+
/// nomos.correspondence.{identity_mismatch,target_deferred,no_settlement,
|
|
2153
|
+
/// outcome_not_recorded,outcome_not_durable}.
|
|
2154
|
+
@$pb.TagNumber(4)
|
|
2155
|
+
$core.String get reason => $_getSZ(3);
|
|
2156
|
+
@$pb.TagNumber(4)
|
|
2157
|
+
set reason($core.String value) => $_setString(3, value);
|
|
2158
|
+
@$pb.TagNumber(4)
|
|
2159
|
+
$core.bool hasReason() => $_has(3);
|
|
2160
|
+
@$pb.TagNumber(4)
|
|
2161
|
+
void clearReason() => $_clearField(4);
|
|
2162
|
+
|
|
2163
|
+
/// Human detail for the reason, truncated. Never payload bytes.
|
|
2164
|
+
@$pb.TagNumber(5)
|
|
2165
|
+
$core.String get detail => $_getSZ(4);
|
|
2166
|
+
@$pb.TagNumber(5)
|
|
2167
|
+
set detail($core.String value) => $_setString(4, value);
|
|
2168
|
+
@$pb.TagNumber(5)
|
|
2169
|
+
$core.bool hasDetail() => $_has(4);
|
|
2170
|
+
@$pb.TagNumber(5)
|
|
2171
|
+
void clearDetail() => $_clearField(5);
|
|
2172
|
+
|
|
2173
|
+
/// Consecutive unsettled attempts behind the current hold.
|
|
2174
|
+
@$pb.TagNumber(6)
|
|
2175
|
+
$core.int get failures => $_getIZ(5);
|
|
2176
|
+
@$pb.TagNumber(6)
|
|
2177
|
+
set failures($core.int value) => $_setUnsignedInt32(5, value);
|
|
2178
|
+
@$pb.TagNumber(6)
|
|
2179
|
+
$core.bool hasFailures() => $_has(5);
|
|
2180
|
+
@$pb.TagNumber(6)
|
|
2181
|
+
void clearFailures() => $_clearField(6);
|
|
2182
|
+
|
|
2183
|
+
@$pb.TagNumber(7)
|
|
2184
|
+
$fixnum.Int64 get retryAtMillis => $_getI64(6);
|
|
2185
|
+
@$pb.TagNumber(7)
|
|
2186
|
+
set retryAtMillis($fixnum.Int64 value) => $_setInt64(6, value);
|
|
2187
|
+
@$pb.TagNumber(7)
|
|
2188
|
+
$core.bool hasRetryAtMillis() => $_has(6);
|
|
2189
|
+
@$pb.TagNumber(7)
|
|
2190
|
+
void clearRetryAtMillis() => $_clearField(7);
|
|
2191
|
+
|
|
2192
|
+
/// When this letter (or correspondent) was first held without an intervening settlement.
|
|
2193
|
+
@$pb.TagNumber(8)
|
|
2194
|
+
$fixnum.Int64 get heldSinceMillis => $_getI64(7);
|
|
2195
|
+
@$pb.TagNumber(8)
|
|
2196
|
+
set heldSinceMillis($fixnum.Int64 value) => $_setInt64(7, value);
|
|
2197
|
+
@$pb.TagNumber(8)
|
|
2198
|
+
$core.bool hasHeldSinceMillis() => $_has(7);
|
|
2199
|
+
@$pb.TagNumber(8)
|
|
2200
|
+
void clearHeldSinceMillis() => $_clearField(8);
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
class ResidencyHost extends $pb.GeneratedMessage {
|
|
2204
|
+
factory ResidencyHost({
|
|
2205
|
+
$core.String? hostId,
|
|
2206
|
+
$core.String? status,
|
|
2207
|
+
$core.bool? live,
|
|
2208
|
+
$fixnum.Int64? lastChangeMillis,
|
|
2209
|
+
HostHealth? host,
|
|
2210
|
+
KernelRefreshOutcome? refresh,
|
|
2211
|
+
$core.String? error,
|
|
2212
|
+
}) {
|
|
2213
|
+
final result = create();
|
|
2214
|
+
if (hostId != null) result.hostId = hostId;
|
|
2215
|
+
if (status != null) result.status = status;
|
|
2216
|
+
if (live != null) result.live = live;
|
|
2217
|
+
if (lastChangeMillis != null) result.lastChangeMillis = lastChangeMillis;
|
|
2218
|
+
if (host != null) result.host = host;
|
|
2219
|
+
if (refresh != null) result.refresh = refresh;
|
|
2220
|
+
if (error != null) result.error = error;
|
|
2221
|
+
return result;
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
ResidencyHost._();
|
|
2225
|
+
|
|
2226
|
+
factory ResidencyHost.fromBuffer($core.List<$core.int> data,
|
|
2227
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2228
|
+
create()..mergeFromBuffer(data, registry);
|
|
2229
|
+
factory ResidencyHost.fromJson($core.String json,
|
|
2230
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2231
|
+
create()..mergeFromJson(json, registry);
|
|
2232
|
+
|
|
2233
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2234
|
+
_omitMessageNames ? '' : 'ResidencyHost',
|
|
2235
|
+
package:
|
|
2236
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2237
|
+
createEmptyInstance: create)
|
|
2238
|
+
..aOS(1, _omitFieldNames ? '' : 'hostId')
|
|
2239
|
+
..aOS(2, _omitFieldNames ? '' : 'status')
|
|
2240
|
+
..aOB(3, _omitFieldNames ? '' : 'live')
|
|
2241
|
+
..a<$fixnum.Int64>(
|
|
2242
|
+
4, _omitFieldNames ? '' : 'lastChangeMillis', $pb.PbFieldType.OU6,
|
|
2243
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
2244
|
+
..aOM<HostHealth>(5, _omitFieldNames ? '' : 'host',
|
|
2245
|
+
subBuilder: HostHealth.create)
|
|
2246
|
+
..aOM<KernelRefreshOutcome>(6, _omitFieldNames ? '' : 'refresh',
|
|
2247
|
+
subBuilder: KernelRefreshOutcome.create)
|
|
2248
|
+
..aOS(7, _omitFieldNames ? '' : 'error')
|
|
2249
|
+
..hasRequiredFields = false;
|
|
2250
|
+
|
|
2251
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2252
|
+
ResidencyHost clone() => deepCopy();
|
|
2253
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2254
|
+
ResidencyHost copyWith(void Function(ResidencyHost) updates) =>
|
|
2255
|
+
super.copyWith((message) => updates(message as ResidencyHost))
|
|
2256
|
+
as ResidencyHost;
|
|
2257
|
+
|
|
2258
|
+
@$core.override
|
|
2259
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2260
|
+
|
|
2261
|
+
@$core.pragma('dart2js:noInline')
|
|
2262
|
+
static ResidencyHost create() => ResidencyHost._();
|
|
2263
|
+
@$core.override
|
|
2264
|
+
ResidencyHost createEmptyInstance() => create();
|
|
2265
|
+
@$core.pragma('dart2js:noInline')
|
|
2266
|
+
static ResidencyHost getDefault() => _defaultInstance ??=
|
|
2267
|
+
$pb.GeneratedMessage.$_defaultFor<ResidencyHost>(create);
|
|
2268
|
+
static ResidencyHost? _defaultInstance;
|
|
2269
|
+
|
|
2270
|
+
@$pb.TagNumber(1)
|
|
2271
|
+
$core.String get hostId => $_getSZ(0);
|
|
2272
|
+
@$pb.TagNumber(1)
|
|
2273
|
+
set hostId($core.String value) => $_setString(0, value);
|
|
2274
|
+
@$pb.TagNumber(1)
|
|
2275
|
+
$core.bool hasHostId() => $_has(0);
|
|
2276
|
+
@$pb.TagNumber(1)
|
|
2277
|
+
void clearHostId() => $_clearField(1);
|
|
2278
|
+
|
|
2279
|
+
/// Provider instance state: running, healthy, stopped, …
|
|
2280
|
+
@$pb.TagNumber(2)
|
|
2281
|
+
$core.String get status => $_getSZ(1);
|
|
2282
|
+
@$pb.TagNumber(2)
|
|
2283
|
+
set status($core.String value) => $_setString(1, value);
|
|
2284
|
+
@$pb.TagNumber(2)
|
|
2285
|
+
$core.bool hasStatus() => $_has(1);
|
|
2286
|
+
@$pb.TagNumber(2)
|
|
2287
|
+
void clearStatus() => $_clearField(2);
|
|
2288
|
+
|
|
2289
|
+
@$pb.TagNumber(3)
|
|
2290
|
+
$core.bool get live => $_getBF(2);
|
|
2291
|
+
@$pb.TagNumber(3)
|
|
2292
|
+
set live($core.bool value) => $_setBool(2, value);
|
|
2293
|
+
@$pb.TagNumber(3)
|
|
2294
|
+
$core.bool hasLive() => $_has(2);
|
|
2295
|
+
@$pb.TagNumber(3)
|
|
2296
|
+
void clearLive() => $_clearField(3);
|
|
2297
|
+
|
|
2298
|
+
@$pb.TagNumber(4)
|
|
2299
|
+
$fixnum.Int64 get lastChangeMillis => $_getI64(3);
|
|
2300
|
+
@$pb.TagNumber(4)
|
|
2301
|
+
set lastChangeMillis($fixnum.Int64 value) => $_setInt64(3, value);
|
|
2302
|
+
@$pb.TagNumber(4)
|
|
2303
|
+
$core.bool hasLastChangeMillis() => $_has(3);
|
|
2304
|
+
@$pb.TagNumber(4)
|
|
2305
|
+
void clearLastChangeMillis() => $_clearField(4);
|
|
2306
|
+
|
|
2307
|
+
@$pb.TagNumber(5)
|
|
2308
|
+
HostHealth get host => $_getN(4);
|
|
2309
|
+
@$pb.TagNumber(5)
|
|
2310
|
+
set host(HostHealth value) => $_setField(5, value);
|
|
2311
|
+
@$pb.TagNumber(5)
|
|
2312
|
+
$core.bool hasHost() => $_has(4);
|
|
2313
|
+
@$pb.TagNumber(5)
|
|
2314
|
+
void clearHost() => $_clearField(5);
|
|
2315
|
+
@$pb.TagNumber(5)
|
|
2316
|
+
HostHealth ensureHost() => $_ensure(4);
|
|
2317
|
+
|
|
2318
|
+
@$pb.TagNumber(6)
|
|
2319
|
+
KernelRefreshOutcome get refresh => $_getN(5);
|
|
2320
|
+
@$pb.TagNumber(6)
|
|
2321
|
+
set refresh(KernelRefreshOutcome value) => $_setField(6, value);
|
|
2322
|
+
@$pb.TagNumber(6)
|
|
2323
|
+
$core.bool hasRefresh() => $_has(5);
|
|
2324
|
+
@$pb.TagNumber(6)
|
|
2325
|
+
void clearRefresh() => $_clearField(6);
|
|
2326
|
+
@$pb.TagNumber(6)
|
|
2327
|
+
KernelRefreshOutcome ensureRefresh() => $_ensure(5);
|
|
2328
|
+
|
|
2329
|
+
/// Set when the plane is registered live but could not be reached.
|
|
2330
|
+
@$pb.TagNumber(7)
|
|
2331
|
+
$core.String get error => $_getSZ(6);
|
|
2332
|
+
@$pb.TagNumber(7)
|
|
2333
|
+
set error($core.String value) => $_setString(6, value);
|
|
2334
|
+
@$pb.TagNumber(7)
|
|
2335
|
+
$core.bool hasError() => $_has(6);
|
|
2336
|
+
@$pb.TagNumber(7)
|
|
2337
|
+
void clearError() => $_clearField(7);
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
class ResidencyReport extends $pb.GeneratedMessage {
|
|
2341
|
+
factory ResidencyReport({
|
|
2342
|
+
$core.bool? ok,
|
|
2343
|
+
$fixnum.Int64? nowMillis,
|
|
2344
|
+
$core.int? hostCapacity,
|
|
2345
|
+
$core.int? liveHosts,
|
|
2346
|
+
$core.int? residentWorkspaces,
|
|
2347
|
+
$core.Iterable<ResidencyHost>? hosts,
|
|
2348
|
+
}) {
|
|
2349
|
+
final result = create();
|
|
2350
|
+
if (ok != null) result.ok = ok;
|
|
2351
|
+
if (nowMillis != null) result.nowMillis = nowMillis;
|
|
2352
|
+
if (hostCapacity != null) result.hostCapacity = hostCapacity;
|
|
2353
|
+
if (liveHosts != null) result.liveHosts = liveHosts;
|
|
2354
|
+
if (residentWorkspaces != null)
|
|
2355
|
+
result.residentWorkspaces = residentWorkspaces;
|
|
2356
|
+
if (hosts != null) result.hosts.addAll(hosts);
|
|
2357
|
+
return result;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
ResidencyReport._();
|
|
2361
|
+
|
|
2362
|
+
factory ResidencyReport.fromBuffer($core.List<$core.int> data,
|
|
2363
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2364
|
+
create()..mergeFromBuffer(data, registry);
|
|
2365
|
+
factory ResidencyReport.fromJson($core.String json,
|
|
2366
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2367
|
+
create()..mergeFromJson(json, registry);
|
|
2368
|
+
|
|
2369
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2370
|
+
_omitMessageNames ? '' : 'ResidencyReport',
|
|
2371
|
+
package:
|
|
2372
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2373
|
+
createEmptyInstance: create)
|
|
2374
|
+
..aOB(1, _omitFieldNames ? '' : 'ok')
|
|
2375
|
+
..a<$fixnum.Int64>(
|
|
2376
|
+
2, _omitFieldNames ? '' : 'nowMillis', $pb.PbFieldType.OU6,
|
|
2377
|
+
defaultOrMaker: $fixnum.Int64.ZERO)
|
|
2378
|
+
..aI(3, _omitFieldNames ? '' : 'hostCapacity',
|
|
2379
|
+
fieldType: $pb.PbFieldType.OU3)
|
|
2380
|
+
..aI(4, _omitFieldNames ? '' : 'liveHosts', fieldType: $pb.PbFieldType.OU3)
|
|
2381
|
+
..aI(5, _omitFieldNames ? '' : 'residentWorkspaces',
|
|
2382
|
+
fieldType: $pb.PbFieldType.OU3)
|
|
2383
|
+
..pPM<ResidencyHost>(6, _omitFieldNames ? '' : 'hosts',
|
|
2384
|
+
subBuilder: ResidencyHost.create)
|
|
2385
|
+
..hasRequiredFields = false;
|
|
2386
|
+
|
|
2387
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2388
|
+
ResidencyReport clone() => deepCopy();
|
|
2389
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2390
|
+
ResidencyReport copyWith(void Function(ResidencyReport) updates) =>
|
|
2391
|
+
super.copyWith((message) => updates(message as ResidencyReport))
|
|
2392
|
+
as ResidencyReport;
|
|
2393
|
+
|
|
2394
|
+
@$core.override
|
|
2395
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2396
|
+
|
|
2397
|
+
@$core.pragma('dart2js:noInline')
|
|
2398
|
+
static ResidencyReport create() => ResidencyReport._();
|
|
2399
|
+
@$core.override
|
|
2400
|
+
ResidencyReport createEmptyInstance() => create();
|
|
2401
|
+
@$core.pragma('dart2js:noInline')
|
|
2402
|
+
static ResidencyReport getDefault() => _defaultInstance ??=
|
|
2403
|
+
$pb.GeneratedMessage.$_defaultFor<ResidencyReport>(create);
|
|
2404
|
+
static ResidencyReport? _defaultInstance;
|
|
2405
|
+
|
|
2406
|
+
@$pb.TagNumber(1)
|
|
2407
|
+
$core.bool get ok => $_getBF(0);
|
|
2408
|
+
@$pb.TagNumber(1)
|
|
2409
|
+
set ok($core.bool value) => $_setBool(0, value);
|
|
2410
|
+
@$pb.TagNumber(1)
|
|
2411
|
+
$core.bool hasOk() => $_has(0);
|
|
2412
|
+
@$pb.TagNumber(1)
|
|
2413
|
+
void clearOk() => $_clearField(1);
|
|
2414
|
+
|
|
2415
|
+
@$pb.TagNumber(2)
|
|
2416
|
+
$fixnum.Int64 get nowMillis => $_getI64(1);
|
|
2417
|
+
@$pb.TagNumber(2)
|
|
2418
|
+
set nowMillis($fixnum.Int64 value) => $_setInt64(1, value);
|
|
2419
|
+
@$pb.TagNumber(2)
|
|
2420
|
+
$core.bool hasNowMillis() => $_has(1);
|
|
2421
|
+
@$pb.TagNumber(2)
|
|
2422
|
+
void clearNowMillis() => $_clearField(2);
|
|
2423
|
+
|
|
2424
|
+
@$pb.TagNumber(3)
|
|
2425
|
+
$core.int get hostCapacity => $_getIZ(2);
|
|
2426
|
+
@$pb.TagNumber(3)
|
|
2427
|
+
set hostCapacity($core.int value) => $_setUnsignedInt32(2, value);
|
|
2428
|
+
@$pb.TagNumber(3)
|
|
2429
|
+
$core.bool hasHostCapacity() => $_has(2);
|
|
2430
|
+
@$pb.TagNumber(3)
|
|
2431
|
+
void clearHostCapacity() => $_clearField(3);
|
|
2432
|
+
|
|
2433
|
+
@$pb.TagNumber(4)
|
|
2434
|
+
$core.int get liveHosts => $_getIZ(3);
|
|
2435
|
+
@$pb.TagNumber(4)
|
|
2436
|
+
set liveHosts($core.int value) => $_setUnsignedInt32(3, value);
|
|
2437
|
+
@$pb.TagNumber(4)
|
|
2438
|
+
$core.bool hasLiveHosts() => $_has(3);
|
|
2439
|
+
@$pb.TagNumber(4)
|
|
2440
|
+
void clearLiveHosts() => $_clearField(4);
|
|
2441
|
+
|
|
2442
|
+
@$pb.TagNumber(5)
|
|
2443
|
+
$core.int get residentWorkspaces => $_getIZ(4);
|
|
2444
|
+
@$pb.TagNumber(5)
|
|
2445
|
+
set residentWorkspaces($core.int value) => $_setUnsignedInt32(4, value);
|
|
2446
|
+
@$pb.TagNumber(5)
|
|
2447
|
+
$core.bool hasResidentWorkspaces() => $_has(4);
|
|
2448
|
+
@$pb.TagNumber(5)
|
|
2449
|
+
void clearResidentWorkspaces() => $_clearField(5);
|
|
2450
|
+
|
|
2451
|
+
@$pb.TagNumber(6)
|
|
2452
|
+
$pb.PbList<ResidencyHost> get hosts => $_getList(5);
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
/// The deploy canary's view of one workspace: its Peer Office custody status beside the
|
|
2456
|
+
/// physical health of the host currently serving it (GET /v2/workspaces/<ws>/peer-status).
|
|
2457
|
+
class PeerStatusReport extends $pb.GeneratedMessage {
|
|
2458
|
+
factory PeerStatusReport({
|
|
2459
|
+
$core.bool? ok,
|
|
2460
|
+
$core.String? workspace,
|
|
2461
|
+
$1.WorkspaceStatus? peerOffice,
|
|
2462
|
+
HostHealth? physical,
|
|
2463
|
+
}) {
|
|
2464
|
+
final result = create();
|
|
2465
|
+
if (ok != null) result.ok = ok;
|
|
2466
|
+
if (workspace != null) result.workspace = workspace;
|
|
2467
|
+
if (peerOffice != null) result.peerOffice = peerOffice;
|
|
2468
|
+
if (physical != null) result.physical = physical;
|
|
2469
|
+
return result;
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
PeerStatusReport._();
|
|
2473
|
+
|
|
2474
|
+
factory PeerStatusReport.fromBuffer($core.List<$core.int> data,
|
|
2475
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2476
|
+
create()..mergeFromBuffer(data, registry);
|
|
2477
|
+
factory PeerStatusReport.fromJson($core.String json,
|
|
2478
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2479
|
+
create()..mergeFromJson(json, registry);
|
|
2480
|
+
|
|
2481
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2482
|
+
_omitMessageNames ? '' : 'PeerStatusReport',
|
|
2483
|
+
package:
|
|
2484
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2485
|
+
createEmptyInstance: create)
|
|
2486
|
+
..aOB(1, _omitFieldNames ? '' : 'ok')
|
|
2487
|
+
..aOS(2, _omitFieldNames ? '' : 'workspace')
|
|
2488
|
+
..aOM<$1.WorkspaceStatus>(3, _omitFieldNames ? '' : 'peerOffice',
|
|
2489
|
+
subBuilder: $1.WorkspaceStatus.create)
|
|
2490
|
+
..aOM<HostHealth>(4, _omitFieldNames ? '' : 'physical',
|
|
2491
|
+
subBuilder: HostHealth.create)
|
|
2492
|
+
..hasRequiredFields = false;
|
|
2493
|
+
|
|
2494
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2495
|
+
PeerStatusReport clone() => deepCopy();
|
|
2496
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2497
|
+
PeerStatusReport copyWith(void Function(PeerStatusReport) updates) =>
|
|
2498
|
+
super.copyWith((message) => updates(message as PeerStatusReport))
|
|
2499
|
+
as PeerStatusReport;
|
|
2500
|
+
|
|
2501
|
+
@$core.override
|
|
2502
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2503
|
+
|
|
2504
|
+
@$core.pragma('dart2js:noInline')
|
|
2505
|
+
static PeerStatusReport create() => PeerStatusReport._();
|
|
2506
|
+
@$core.override
|
|
2507
|
+
PeerStatusReport createEmptyInstance() => create();
|
|
2508
|
+
@$core.pragma('dart2js:noInline')
|
|
2509
|
+
static PeerStatusReport getDefault() => _defaultInstance ??=
|
|
2510
|
+
$pb.GeneratedMessage.$_defaultFor<PeerStatusReport>(create);
|
|
2511
|
+
static PeerStatusReport? _defaultInstance;
|
|
2512
|
+
|
|
2513
|
+
@$pb.TagNumber(1)
|
|
2514
|
+
$core.bool get ok => $_getBF(0);
|
|
2515
|
+
@$pb.TagNumber(1)
|
|
2516
|
+
set ok($core.bool value) => $_setBool(0, value);
|
|
2517
|
+
@$pb.TagNumber(1)
|
|
2518
|
+
$core.bool hasOk() => $_has(0);
|
|
2519
|
+
@$pb.TagNumber(1)
|
|
2520
|
+
void clearOk() => $_clearField(1);
|
|
2521
|
+
|
|
2522
|
+
@$pb.TagNumber(2)
|
|
2523
|
+
$core.String get workspace => $_getSZ(1);
|
|
2524
|
+
@$pb.TagNumber(2)
|
|
2525
|
+
set workspace($core.String value) => $_setString(1, value);
|
|
2526
|
+
@$pb.TagNumber(2)
|
|
2527
|
+
$core.bool hasWorkspace() => $_has(1);
|
|
2528
|
+
@$pb.TagNumber(2)
|
|
2529
|
+
void clearWorkspace() => $_clearField(2);
|
|
2530
|
+
|
|
2531
|
+
@$pb.TagNumber(3)
|
|
2532
|
+
$1.WorkspaceStatus get peerOffice => $_getN(2);
|
|
2533
|
+
@$pb.TagNumber(3)
|
|
2534
|
+
set peerOffice($1.WorkspaceStatus value) => $_setField(3, value);
|
|
2535
|
+
@$pb.TagNumber(3)
|
|
2536
|
+
$core.bool hasPeerOffice() => $_has(2);
|
|
2537
|
+
@$pb.TagNumber(3)
|
|
2538
|
+
void clearPeerOffice() => $_clearField(3);
|
|
2539
|
+
@$pb.TagNumber(3)
|
|
2540
|
+
$1.WorkspaceStatus ensurePeerOffice() => $_ensure(2);
|
|
2541
|
+
|
|
2542
|
+
@$pb.TagNumber(4)
|
|
2543
|
+
HostHealth get physical => $_getN(3);
|
|
2544
|
+
@$pb.TagNumber(4)
|
|
2545
|
+
set physical(HostHealth value) => $_setField(4, value);
|
|
2546
|
+
@$pb.TagNumber(4)
|
|
2547
|
+
$core.bool hasPhysical() => $_has(3);
|
|
2548
|
+
@$pb.TagNumber(4)
|
|
2549
|
+
void clearPhysical() => $_clearField(4);
|
|
2550
|
+
@$pb.TagNumber(4)
|
|
2551
|
+
HostHealth ensurePhysical() => $_ensure(3);
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2554
|
+
/// A host restart (POST /v1/ops/restart-peers): every selected Peer Runtime host restarted.
|
|
2555
|
+
class RestartedHost extends $pb.GeneratedMessage {
|
|
2556
|
+
factory RestartedHost({
|
|
2557
|
+
$core.String? hostId,
|
|
2558
|
+
$core.bool? live,
|
|
2559
|
+
$core.String? kernelSha256,
|
|
2560
|
+
}) {
|
|
2561
|
+
final result = create();
|
|
2562
|
+
if (hostId != null) result.hostId = hostId;
|
|
2563
|
+
if (live != null) result.live = live;
|
|
2564
|
+
if (kernelSha256 != null) result.kernelSha256 = kernelSha256;
|
|
2565
|
+
return result;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
RestartedHost._();
|
|
2569
|
+
|
|
2570
|
+
factory RestartedHost.fromBuffer($core.List<$core.int> data,
|
|
2571
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2572
|
+
create()..mergeFromBuffer(data, registry);
|
|
2573
|
+
factory RestartedHost.fromJson($core.String json,
|
|
2574
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2575
|
+
create()..mergeFromJson(json, registry);
|
|
2576
|
+
|
|
2577
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2578
|
+
_omitMessageNames ? '' : 'RestartedHost',
|
|
2579
|
+
package:
|
|
2580
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2581
|
+
createEmptyInstance: create)
|
|
2582
|
+
..aOS(1, _omitFieldNames ? '' : 'hostId')
|
|
2583
|
+
..aOB(2, _omitFieldNames ? '' : 'live')
|
|
2584
|
+
..aOS(3, _omitFieldNames ? '' : 'kernelSha256')
|
|
2585
|
+
..hasRequiredFields = false;
|
|
2586
|
+
|
|
2587
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2588
|
+
RestartedHost clone() => deepCopy();
|
|
2589
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2590
|
+
RestartedHost copyWith(void Function(RestartedHost) updates) =>
|
|
2591
|
+
super.copyWith((message) => updates(message as RestartedHost))
|
|
2592
|
+
as RestartedHost;
|
|
2593
|
+
|
|
2594
|
+
@$core.override
|
|
2595
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2596
|
+
|
|
2597
|
+
@$core.pragma('dart2js:noInline')
|
|
2598
|
+
static RestartedHost create() => RestartedHost._();
|
|
2599
|
+
@$core.override
|
|
2600
|
+
RestartedHost createEmptyInstance() => create();
|
|
2601
|
+
@$core.pragma('dart2js:noInline')
|
|
2602
|
+
static RestartedHost getDefault() => _defaultInstance ??=
|
|
2603
|
+
$pb.GeneratedMessage.$_defaultFor<RestartedHost>(create);
|
|
2604
|
+
static RestartedHost? _defaultInstance;
|
|
2605
|
+
|
|
2606
|
+
@$pb.TagNumber(1)
|
|
2607
|
+
$core.String get hostId => $_getSZ(0);
|
|
2608
|
+
@$pb.TagNumber(1)
|
|
2609
|
+
set hostId($core.String value) => $_setString(0, value);
|
|
2610
|
+
@$pb.TagNumber(1)
|
|
2611
|
+
$core.bool hasHostId() => $_has(0);
|
|
2612
|
+
@$pb.TagNumber(1)
|
|
2613
|
+
void clearHostId() => $_clearField(1);
|
|
2614
|
+
|
|
2615
|
+
/// True only when a previously-live host's replacement answered typed health.
|
|
2616
|
+
@$pb.TagNumber(2)
|
|
2617
|
+
$core.bool get live => $_getBF(1);
|
|
2618
|
+
@$pb.TagNumber(2)
|
|
2619
|
+
set live($core.bool value) => $_setBool(1, value);
|
|
2620
|
+
@$pb.TagNumber(2)
|
|
2621
|
+
$core.bool hasLive() => $_has(1);
|
|
2622
|
+
@$pb.TagNumber(2)
|
|
2623
|
+
void clearLive() => $_clearField(2);
|
|
2624
|
+
|
|
2625
|
+
/// Digest reported by the replacement after restart; empty for a previously stopped slot
|
|
2626
|
+
/// or when replacement verification failed.
|
|
2627
|
+
@$pb.TagNumber(3)
|
|
2628
|
+
$core.String get kernelSha256 => $_getSZ(2);
|
|
2629
|
+
@$pb.TagNumber(3)
|
|
2630
|
+
set kernelSha256($core.String value) => $_setString(2, value);
|
|
2631
|
+
@$pb.TagNumber(3)
|
|
2632
|
+
$core.bool hasKernelSha256() => $_has(2);
|
|
2633
|
+
@$pb.TagNumber(3)
|
|
2634
|
+
void clearKernelSha256() => $_clearField(3);
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
class RestartError extends $pb.GeneratedMessage {
|
|
2638
|
+
factory RestartError({
|
|
2639
|
+
$core.String? hostId,
|
|
2640
|
+
$core.String? error,
|
|
2641
|
+
}) {
|
|
2642
|
+
final result = create();
|
|
2643
|
+
if (hostId != null) result.hostId = hostId;
|
|
2644
|
+
if (error != null) result.error = error;
|
|
2645
|
+
return result;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
RestartError._();
|
|
2649
|
+
|
|
2650
|
+
factory RestartError.fromBuffer($core.List<$core.int> data,
|
|
2651
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2652
|
+
create()..mergeFromBuffer(data, registry);
|
|
2653
|
+
factory RestartError.fromJson($core.String json,
|
|
2654
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2655
|
+
create()..mergeFromJson(json, registry);
|
|
2656
|
+
|
|
2657
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2658
|
+
_omitMessageNames ? '' : 'RestartError',
|
|
2659
|
+
package:
|
|
2660
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2661
|
+
createEmptyInstance: create)
|
|
2662
|
+
..aOS(1, _omitFieldNames ? '' : 'hostId')
|
|
2663
|
+
..aOS(2, _omitFieldNames ? '' : 'error')
|
|
2664
|
+
..hasRequiredFields = false;
|
|
2665
|
+
|
|
2666
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2667
|
+
RestartError clone() => deepCopy();
|
|
2668
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2669
|
+
RestartError copyWith(void Function(RestartError) updates) =>
|
|
2670
|
+
super.copyWith((message) => updates(message as RestartError))
|
|
2671
|
+
as RestartError;
|
|
2672
|
+
|
|
2673
|
+
@$core.override
|
|
2674
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2675
|
+
|
|
2676
|
+
@$core.pragma('dart2js:noInline')
|
|
2677
|
+
static RestartError create() => RestartError._();
|
|
2678
|
+
@$core.override
|
|
2679
|
+
RestartError createEmptyInstance() => create();
|
|
2680
|
+
@$core.pragma('dart2js:noInline')
|
|
2681
|
+
static RestartError getDefault() => _defaultInstance ??=
|
|
2682
|
+
$pb.GeneratedMessage.$_defaultFor<RestartError>(create);
|
|
2683
|
+
static RestartError? _defaultInstance;
|
|
2684
|
+
|
|
2685
|
+
@$pb.TagNumber(1)
|
|
2686
|
+
$core.String get hostId => $_getSZ(0);
|
|
2687
|
+
@$pb.TagNumber(1)
|
|
2688
|
+
set hostId($core.String value) => $_setString(0, value);
|
|
2689
|
+
@$pb.TagNumber(1)
|
|
2690
|
+
$core.bool hasHostId() => $_has(0);
|
|
2691
|
+
@$pb.TagNumber(1)
|
|
2692
|
+
void clearHostId() => $_clearField(1);
|
|
2693
|
+
|
|
2694
|
+
@$pb.TagNumber(2)
|
|
2695
|
+
$core.String get error => $_getSZ(1);
|
|
2696
|
+
@$pb.TagNumber(2)
|
|
2697
|
+
set error($core.String value) => $_setString(1, value);
|
|
2698
|
+
@$pb.TagNumber(2)
|
|
2699
|
+
$core.bool hasError() => $_has(1);
|
|
2700
|
+
@$pb.TagNumber(2)
|
|
2701
|
+
void clearError() => $_clearField(2);
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
class RestartReport extends $pb.GeneratedMessage {
|
|
2705
|
+
factory RestartReport({
|
|
2706
|
+
$core.bool? ok,
|
|
2707
|
+
$core.Iterable<$core.String>? hostIds,
|
|
2708
|
+
$core.Iterable<RestartedHost>? restarted,
|
|
2709
|
+
$core.Iterable<RestartError>? errors,
|
|
2710
|
+
}) {
|
|
2711
|
+
final result = create();
|
|
2712
|
+
if (ok != null) result.ok = ok;
|
|
2713
|
+
if (hostIds != null) result.hostIds.addAll(hostIds);
|
|
2714
|
+
if (restarted != null) result.restarted.addAll(restarted);
|
|
2715
|
+
if (errors != null) result.errors.addAll(errors);
|
|
2716
|
+
return result;
|
|
2717
|
+
}
|
|
2718
|
+
|
|
2719
|
+
RestartReport._();
|
|
2720
|
+
|
|
2721
|
+
factory RestartReport.fromBuffer($core.List<$core.int> data,
|
|
2722
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2723
|
+
create()..mergeFromBuffer(data, registry);
|
|
2724
|
+
factory RestartReport.fromJson($core.String json,
|
|
2725
|
+
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
|
2726
|
+
create()..mergeFromJson(json, registry);
|
|
2727
|
+
|
|
2728
|
+
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
|
2729
|
+
_omitMessageNames ? '' : 'RestartReport',
|
|
2730
|
+
package:
|
|
2731
|
+
const $pb.PackageName(_omitMessageNames ? '' : 'nomos.runtime.v2'),
|
|
2732
|
+
createEmptyInstance: create)
|
|
2733
|
+
..aOB(1, _omitFieldNames ? '' : 'ok')
|
|
2734
|
+
..pPS(2, _omitFieldNames ? '' : 'hostIds')
|
|
2735
|
+
..pPM<RestartedHost>(3, _omitFieldNames ? '' : 'restarted',
|
|
2736
|
+
subBuilder: RestartedHost.create)
|
|
2737
|
+
..pPM<RestartError>(4, _omitFieldNames ? '' : 'errors',
|
|
2738
|
+
subBuilder: RestartError.create)
|
|
2739
|
+
..hasRequiredFields = false;
|
|
2740
|
+
|
|
2741
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2742
|
+
RestartReport clone() => deepCopy();
|
|
2743
|
+
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
2744
|
+
RestartReport copyWith(void Function(RestartReport) updates) =>
|
|
2745
|
+
super.copyWith((message) => updates(message as RestartReport))
|
|
2746
|
+
as RestartReport;
|
|
2747
|
+
|
|
2748
|
+
@$core.override
|
|
2749
|
+
$pb.BuilderInfo get info_ => _i;
|
|
2750
|
+
|
|
2751
|
+
@$core.pragma('dart2js:noInline')
|
|
2752
|
+
static RestartReport create() => RestartReport._();
|
|
2753
|
+
@$core.override
|
|
2754
|
+
RestartReport createEmptyInstance() => create();
|
|
2755
|
+
@$core.pragma('dart2js:noInline')
|
|
2756
|
+
static RestartReport getDefault() => _defaultInstance ??=
|
|
2757
|
+
$pb.GeneratedMessage.$_defaultFor<RestartReport>(create);
|
|
2758
|
+
static RestartReport? _defaultInstance;
|
|
2759
|
+
|
|
2760
|
+
@$pb.TagNumber(1)
|
|
2761
|
+
$core.bool get ok => $_getBF(0);
|
|
2762
|
+
@$pb.TagNumber(1)
|
|
2763
|
+
set ok($core.bool value) => $_setBool(0, value);
|
|
2764
|
+
@$pb.TagNumber(1)
|
|
2765
|
+
$core.bool hasOk() => $_has(0);
|
|
2766
|
+
@$pb.TagNumber(1)
|
|
2767
|
+
void clearOk() => $_clearField(1);
|
|
2768
|
+
|
|
2769
|
+
@$pb.TagNumber(2)
|
|
2770
|
+
$pb.PbList<$core.String> get hostIds => $_getList(1);
|
|
2771
|
+
|
|
2772
|
+
@$pb.TagNumber(3)
|
|
2773
|
+
$pb.PbList<RestartedHost> get restarted => $_getList(2);
|
|
2774
|
+
|
|
2775
|
+
@$pb.TagNumber(4)
|
|
2776
|
+
$pb.PbList<RestartError> get errors => $_getList(3);
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
const $core.bool _omitFieldNames =
|
|
2780
|
+
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
2781
|
+
const $core.bool _omitMessageNames =
|
|
2782
|
+
$core.bool.fromEnvironment('protobuf.omit_message_names');
|